It's pretty annoying that every project like this lately is just a wrapper for OpenAI API calls.
Show HN: Plandex – an AI coding engine for complex tasks
51–60 of 112 posts
Re: Show HN: Plandex – an AI coding engine for complex tasks
#52This approach works. I just built a SPA in 3 days with GPT-4 of which about 50% was generated. My only tooling was a bash script to list all the files in the repo (with some exceptions), including a README.md planning the project, a file list, and at the end I type my task. I run about 10-15 rounds with it. At the beginning I was using GPT more heavily, but in the middle I found it easier to just fix the code myself.…
Re: Show HN: Plandex – an AI coding engine for complex tasks
#53It seems it might be useful if it could actually try to execute the code, or somehow check for syntax errors/unimplemented functions before accepting the response from the LLM.
Re: Show HN: Plandex – an AI coding engine for complex tasks
#54This is really cool. I tried it and ran into a few syntax errors - it kept missing closing braces in PHP for some reason. It seems it might be useful if it could actually try to execute the code, or somehow check for syntax errors/unimplemented functions before accepting the response from the LLM.
"It seems it might be useful if it could actually try to execute the code, or somehow check for syntax errors/unimplemented functions before accepting the response from the LLM."
Indeed, I do have some ideas on how to add this.
Re: Show HN: Plandex – an AI coding engine for complex tasks
#55Earlier quoted context omitted.
Thanks! I tried many different ways of doing it before settling on the current approach. It's still not perfect and can make mistakes (which is why the `plandex changes` diff review TUI is essential), but it's pretty good now overall. I was able to improve reliability of line numbers by using a chain-of-thought approach where, for each change, the model first summarizes what's changing, then outputs code that starts…
Amazing work. Loved the video and looking forward to trying it Can a user ask plandex to modify a commit? Maybe the commit just needs a small change, but doesn’t need to be entirely re-written. Can the scope be reduced on the spot to focus only on a commit?
Re: Show HN: Plandex – an AI coding engine for complex tasks
#56Re: Show HN: Plandex – an AI coding engine for complex tasks
#57Re: Show HN: Plandex – an AI coding engine for complex tasks
#58Congrats on the launch. Can you please compare and contrast Plandex features with another similar solution like aider[1] which also helps solve similar problem. [1] https://github.com/paul-gauthier/aider
First I should say that it’s been a few months at least since I’ve used aider, so it’s possible my impression of it is a bit outdated. Also I’m a big fan of it and drew a lot of inspiration from it. That said:
Plandex is more focused on building larger and more complex functionality that involves multiple steps, whereas aider is more geared toward making a single change at a time.
Plandex has an isolated, version-controlled sandbox where tentative changes are accumulated. I believe with aider you have to apply or discard each change individually?
Plandex has diff review TUI where changes can be viewed side-by-side, and optionally rejected, a bit like GitHub’s PR review UI.
Plandex has branches that allow for exploring multiple approaches.
aider has cool voice input features that Plandex lacks.
aider’s maintainer Paul has done a lot of benchmarking of file update strategies. While I think Plandex’s approach is better suited to larger and more complex functionality, aider’s unified diff approach may have higher accuracy for a single change. I hope to do benchmarking work on this in the future.
aider requires Python and is installed via pip, while Plandex runs from a single binary with no dependencies, so Plandex installation is arguably easier overall, especially if you aren't a Python dev.
I’m sure I’m missing some other differences but those are the main ones that come to mind.
Re: Show HN: Plandex – an AI coding engine for complex tasks
#59Wow, this is phenomenal! I can't wait to dig in. This is almost exactly the application I've been envisioning for my own workflow. I'm excited to contribute!
Re: Show HN: Plandex – an AI coding engine for complex tasks
#60This approach works. I just built a SPA in 3 days with GPT-4 of which about 50% was generated. My only tooling was a bash script to list all the files in the repo (with some exceptions), including a README.md planning the project, a file list, and at the end I type my task. I run about 10-15 rounds with it. At the beginning I was using GPT more heavily, but in the middle I found it easier to just fix the code myself.…
Yes, well said. Doing exactly this kind of thing for months with ChatGPT is what convinced me the idea could work in the first place. I knew the underlying intelligence was there--the challenge is giving it the right prompts and supporting infra.