Aider is a command line tool that lets you pair program with LLMs, to edit code stored in your local git repository. Aider will directly edit the code in your local source files, and git commit the changes with sensible commit messages. You can start a new project or work with an existing git repo. Aider is unique in that it lets you ask for changes to pre-existing, larger codebases. Aider works well with GPT-4o, Claude 3 Opus, GPT-3.5 and supports connecting to almost any LLM.
See the installation instructions for more details, but you can get started quickly like this:
$ pip install aider-chat
# To work with GPT-4o
$ export OPENAI_API_KEY=your-key-goes-here
$ aider
# To work with Claude 3 Opus:
$ export ANTHROPIC_API_KEY=your-key-goes-here
$ aider --opus
- Chat with aider about your code by running
aider <file1> <file2> ...
- Aider will edit the content of your source files.
- Aider works with most popular languages: python, javascript, typescript, php, html, css, and more...
- Aider works well with GPT-4o, Claude 3 Opus, GPT-3.5 and supports connecting to almost any LLM.
- Request new features, changes, improvements, or bug fixes to your code.
- Ask for new test cases, updated documentation or code refactors.
- Paste in GitHub issue URLs and aider will try and solve them.
- Aider automatically git commits changes These frequent, automatic commits provide a safety net. It's easy to undo changes or use standard git workflows to manage longer sequences of changes.
- Aider can make coordinated changes across multiple files at once.
- Aider uses a map of your entire git repo, which helps it work well in larger codebases.
- You can also edit files in your editor while chatting with aider. Aider will notice your changes and always use the latest version. So you can bounce back and forth between aider and your editor, to collaboratively code with AI.
- You can add images to the chat (GPT-4o, GPT-4 Turbo, etc).
- You can add URLs to the chat and aider will read their content.
- The best AI coding assistant so far. -- Matthew Berman
- Hands down, this is the best AI coding assistant tool so far. -- IndyDevDan
- Aider ... has easily quadrupled my coding productivity. -- SOLAR_FIELDS
- It's a cool workflow... Aider's ergonomics are perfect for me. -- qup
- It's really like having your senior developer live right in your Git repo - truly amazing! -- rappster
- What an amazing tool. It's incredible. -- valyagolev
- Aider is such an astounding thing! -- cgrothaus
- It was WAY faster than I would be getting off the ground and making the first few working versions. -- Daniel Feldman
- THANK YOU for Aider! It really feels like a glimpse into the future of coding. -- derwiki
- It's just amazing. It is freeing me to do things I felt were out my comfort zone before. -- Dougie
- This project is stellar. -- funkytaco
- Amazing project, definitely the best AI coding assistant I've used. -- joshuavial
- I absolutely love using Aider ... It makes software development feel so much lighter as an experience. -- principalideal0
- I have been recovering from multiple shoulder surgeries ... and have used aider extensively. It has allowed me to continue productivity. -- codeninja
- I am an aider addict. I'm getting so much more work done, but in less time. -- dandandan
- After wasting $100 on tokens trying to find something better, I'm back to Aider. It blows everything else out of the water hands down, there's no competition whatsoever. -- SystemSculpt
- Best agent for actual dev work in existing codebases. -- Nick Dobos