What does HackerNews think of aider?

aider is AI pair programming in your terminal

Language: Python

My open source ai pair programming tool runs in the terminal. You can work alongside in whichever editor you prefer.

https://github.com/paul-gauthier/aider

Very cool project. How reliable are you finding your prompts? They look like good choices based on my experience prompting GPT-3.5 and 4 for code editing.

FYI, I think my open source tool aider would work out of the box to serve this use case. You would just run:

  aider file.py —msg “implement the comments”
Of course aider works with any popular language, not just python. And it can do a lot of other coding tasks. It's like pair programming with an AI.

https://github.com/paul-gauthier/aider

I use it with a tool that is wired into my terminal that changes my files for me [1]. That alone makes me several times more productive compared to copy pasting back and forth between the chat window. If the chat window makes me twice as productive the command line tool probably makes me 5x as productive. At that kind of output on a developer salary the $70-200 a month is absolute peanuts compared to what you get in return

1: https://github.com/paul-gauthier/aider

Okay this seems like the perfect project to test out the various AI repo update solutions. Anyone want to do this for fun, you can have your own agenda, I'm just bored!

https://github.com/paul-gauthier/aider https://www.mentat.codes/ https://www.gitwit.dev/ https://www.second.dev/

You can use my open source tool aider from the cli. It is integrated with your local git repo and commits each change from the AI.

Right now only GPT-3.5 and GPT-4 seem to be capable of this sort of "code editing" task. But aider has support for connecting to other/local LLMs and an active community of folks experimenting with them.

https://github.com/paul-gauthier/aider

You might find it interesting to try my open source ai coding tool “aider”.

It lets you pair program with gpt-4 like you are describing. But the source code lives in your local git repo. You can start a new project or work with an existing repo. You can fluidly switch back and forth between a coding chat where you ask gpt to edit the code and your own editor to make edits yourself.

https://github.com/paul-gauthier/aider

My open source command line tool aider [0] is specifically for this use case of working with GPT on an existing code base.

Let me know if you have a chance to try it out.

Here is a chat transcript [1] that illustrates how you can use aider to explore an existing git repo, understand it and then make changes. As another example I needed a new feature in the glow tool and was able to make a PR [2] for it, even though I don't know anything about that codebase or even how to write golang.

[0] https://github.com/paul-gauthier/aider

[1] https://aider.chat/examples/2048-game.html

[2] https://github.com/charmbracelet/glow/pull/502

This looks super interesting, thanks for sharing. I like that you're exploiting the new functions API to give GPT agent-style access to explore a codebase. I have played with that previously with gpt-3.5 and plan to do some more experiments with gpt-4 someday soon.

I am also working on an open source CLI tool in this space [0]. I've taken a different approach, more focused on chatting with GPT to have it edit the code in your local git repo.

But my tool also provides GPT with a semantic map of your repo and the ability to ask to see particular files, etc. I use it to answer questions about unknown codebases all the time, and then start asking it to make changes. I have a chat transcript that illustrates that here [1]. As another example I needed a new feature in the glow tool and was able to make a PR [2] for it, even though I don't know anything about that codebase or even how to write golang.

Also, there's a small discord [3] where a few of us working on "AI coding tools" have been sharing ideas. You might be interested in joining the conversation over there.

[0] https://github.com/paul-gauthier/aider

[1] https://aider.chat/examples/2048-game.html

[2] https://github.com/charmbracelet/glow/pull/502

[3] https://discord.gg/fHcgCRGu

This looks cool. I like that you're showing diffs and integrating the AI code and suggestions back into the original source code.

I've been focused on similar concepts with my open source AI coding tool. My tool is a command line GPT chat tool. You can ask it to write or edit code in any git repo. It displays live diffs as the AI edits stream in and automatically integrates them into your source files. I think this is similar to what your article is describing?

Folks might want to check out `aider` if they want to do the style of AI coding you're showing, but on their own git repos.

https://github.com/paul-gauthier/aider

I have also been using GPT as a force multiplier for my coding, especially in areas where I'm less comfortable like frontend.

I put together a tool called `aider` for chatting with GPT-4 about code, having it make changes and keeping track of it all in git. It's feeling like a very nice workflow.

@mazzystar you might want to give it a try if you have GPT-4 api access:

https://github.com/paul-gauthier/aider