4 ms·
I built Plandex[1], an open source AI coding agent, partly to enable this workflow. It has `log` and `rewind` commands that allow you to easily back up to any
by danenania 2y ago
I built Plandex[1], an open source AI coding agent, partly to enable this workflow.
It has `log` and `rewind` commands that allow you to easily back up to any previous point in the conversation and start again from there with an updated prompt. Plandex also has branches, which can be helpful for not losing history when using this approach.
You’re right that it’s often a way to get superior results. Having mistakes or bad output in the conversation history tends to beget more mistakes and bad output, even if you are specifically directing the LLM to fix those things. Trial and error with a new prompt and clean context avoids this problem.
1 - https://plandex.ai https://plandex.ai
P.S. I wrote a bit about the pros and cons of this approach vs. continuing to prompt iteratively in Plandex’s docs here:
https://docs.plandex.ai/core-concepts/prompts#which-is-better https://docs.plandex.ai/core-concepts/prompts#which-is-bette...