Aider

Aider

Open-source Python AI pair-programming tool for the terminal with repository-wide AST mapping, auto-linting, and clean Git commits.

★ 50.4K

Pair-program across real Git repositories from your terminal with any cloud or local LLM

Copy-pasting code snippets back and forth from a browser chat window breaks context and leaves half-applied edits scattered across files. Aider brings AI pair programming directly into your terminal and Git workflow in Python, backed by 50.4K GitHub stars and 5,200 forks under the Apache-2.0 license. It maps your entire repository structure using Tree-sitter, applies surgical multi-file diffs, and creates clean, descriptive Git commits automatically so you can review or revert any change with standard Git commands.

Practical features that keep AI edits reliable

  • Automatic repository mapping builds a concise symbol index of classes and functions across 100+ languages so models understand large codebases without blowing token budgets.
  • Tight Git integration commits every AI edit cleanly with clear messages, making `git diff` and `git reset` effortless safety nets.
  • Built-in linter and test-runner hooks (`–auto-test`) catch syntax errors or failing assertions automatically and feed the output back to the model to fix.
  • Model-agnostic routing connects to Claude, Gemini, OpenAI, DeepSeek, OpenRouter, or local Ollama models with optional architect/editor dual-model splits.

Cost and workflow habit

Adding too many unrelated files to the active chat context inflates API token usage quickly, so keep `/add` focused on the exact files you are editing and run `/clear` between unrelated tasks. Install Aider with `uv tool install aider-chat` today and try delegating your next refactoring task from the terminal.

Ready to try Aider?

Experience the full capabilities on their official website.

Visit Official Website