Live data from Hacker News

Aider: AI pair programming in your terminal

github.com

21–30 of 170 posts

Re: Aider: AI pair programming in your terminal

#21

I'm interested in this and will probably set it up but I wish more AI tools were better integrated to my IDE. I know GH Copilot is and other big AI tools have plugins with chat/edit features but most of the cool open source doesn't seem to support IDEA/JetBrains. I see the power of LLMs. I use GH Copilot, I use ChatGPT, but I crave deeper integration in my existing toolset. I need to force myself to try in-IDE Copilo…

Folks have developed VSCode and NeoVim integrations for aider. They're based on forks of aider, so I'm not sure how carefully their authors are keeping them up to date with aider releases.

The aider install instructions has more info:

https://aider.chat/docs/install.html#add-aider-to-your-edito...

Re: Aider: AI pair programming in your terminal

#22

Earlier quoted context omitted.

Do you have any plans to build IDE plugins for this? I understand it's open source and anyone could add that, I was just wondering if that was even on the roadmap? Having this run in my IDE would just so awesome with diff tool I'm used to, with all the other plugins/hotkeys/etc I use.

Yes, VSCode and JetBrains plugins are on the roadmap. Here's the current roadmap by the way: https://github.com/plandex-ai/plandex#roadmap-%EF%B8%8F (it's not exhaustive, but can give you a sense of where I'd like to take Plandex in the future).

And I completely missed that somehow... My apologies. Thank you for pointing that out.

Re: Aider: AI pair programming in your terminal

#23
post #17

People interested in Aider (which is an awesome tool) might also be interested in checking out my project Plandex[1]. It's terminal-based like Aider and has a somewhat comparable set of features, but is more focused on using LLMs to work on larger and more complex tasks that span many files and model responses. It also uses a git-style CLI approach with independent commands for each action vs. Aider's interactive she…

How do you situate changes in a file? That seems like the hard part to me since the LLM can't necessary count to output a patch with line numbers.

It does use line numbers, which definitely aren't infallible. That's why a `plandex changes` TUI is included to review changes before applying. Unfortunately no one has figured out a file update strategy yet that doesn't make occasional mistakes--probably we'll need either next-gen models or fine-tuning to get there.

That said, counting isn't necessarily required to use line numbers. If line numbers are included in the file when it's sent to the model, it becomes a text analysis task rather than a counting task. Here are the relevant prompts: https://github.com/plandex-ai/plandex/blob/main/app/server/m...

Re: Aider: AI pair programming in your terminal

#24
I have used this technique for months and it’s great https://x.com/arjie/status/1575201117595926530

I just have copilot in my editor and switch into my editor with C-x C-e for AI completion. I use neovim like example but you can use whatever you like.

EDIT: Oh never mind. I see what it is now. It’s a terminal based flow for editing code. Mine is for command line writing live.

Re: Aider: AI pair programming in your terminal

#25

Earlier quoted context omitted.

Yes, VSCode and JetBrains plugins are on the roadmap. Here's the current roadmap by the way: https://github.com/plandex-ai/plandex#roadmap-%EF%B8%8F (it's not exhaustive, but can give you a sense of where I'd like to take Plandex in the future).

And I completely missed that somehow... My apologies. Thank you for pointing that out.

No worries, it's pretty far down in the readme :)

Re: Aider: AI pair programming in your terminal

#28

I'm interested in this and will probably set it up but I wish more AI tools were better integrated to my IDE. I know GH Copilot is and other big AI tools have plugins with chat/edit features but most of the cool open source doesn't seem to support IDEA/JetBrains. I see the power of LLMs. I use GH Copilot, I use ChatGPT, but I crave deeper integration in my existing toolset. I need to force myself to try in-IDE Copilo…

Aider works a little different where it doesn't just code complete or focus on a function level. It can solve much bigger problems.

Re: Aider: AI pair programming in your terminal

#30
I appreciate @anotherpaulg's continual benchmarking of LLM performance with aider, for example:

> OpenAI just released GPT-4 Turbo with Vision and it performs worse on aider’s benchmark suites than all the previous GPT-4 models. In particular, it seems much more prone to “lazy coding” than the GPT-4 Turbo preview models.

https://aider.chat/2024/04/09/gpt-4-turbo.html

Post reply on HN