aider

Edit code in your terminal with AI assistance, requesting changes, refactoring, and adding features, while maintaining a local git repository.
AI Pair Programming Code Editing Coding Assistance

aider offers AI pair programming right in your terminal. You can use a range of large language models (LLMs) like GPT-4o and Claude 3 Opus to edit your code in your local git repository, add new features, refactor code and more.

The tool lets you pair program with AI, editing files in your editor while chatting with aider to ensure you're always working on the latest version. You can ask aider for code changes, describe a bug, or refactor code, and aider will edit your files and commit the changes with a reasonable commit message.

Some of aider's features include:

  • Run with specific files: Run aider with the files you want to edit.
  • Request changes: Ask for changes, refactor code, or add new features.
  • Multi-language support: Supports popular languages like Python, JavaScript, TypeScript, PHP and more.
  • Edit multiple files: Edit multiple files at once for more complex requests.
  • Use different LLMs: Connect to different LLMs, including local models and free models like Google's Gemini 1.5 Pro.

To get started, you can install aider with pip and set up your API keys for the LLM you want to use:

pip install aider-chat
export OPENAI_API_KEY=your-key-goes-here
cd /to/your/git/repo
aider

aider is free and open-source, so it's a powerful AI pair programming tool for developers who want to get more out of their coding work. It's been well received by users who like its ease of use and utility for real-world coding tasks.

Published on June 14, 2024

Related Questions

Tool Suggestions

Analyzing aider...