Aider is an AI pair programming tool that runs in the terminal and connects large language models directly to your local Git repository for chat-driven code editing, refactoring, and project development. It creates a map of your entire codebase to understand project structure and dependencies, enabling it to make accurate, multi-file edits through natural language conversation. Aider solves the problem of applying AI-generated code suggestions manually by automatically editing files in place and committing changes with sensible Git commit messages.
Aider works with leading models including Claude Sonnet, DeepSeek, GPT-4o, and dozens of other LLMs including local models, and supports most popular programming languages. It features automatic linting and error fixing after every edit using tree-sitter for AST-aware code analysis, voice-to-code commands for hands-free programming, image and webpage context injection for visual references, and markdown transcripts of all sessions. Aider automatically commits each change with descriptive messages, making it easy to review, diff, and revert AI-generated modifications using standard Git tools.
Aider is ideal for developers who want a lightweight, terminal-based AI coding assistant that respects their existing Git workflow and works with their preferred language model. It excels at adding features, writing tests, fixing bugs, and refactoring existing codebases, and is particularly effective for developers who prefer the command line over IDE-based AI integrations. Aider's model-agnostic approach and open-source license make it a flexible choice that avoids vendor lock-in while providing sophisticated AI-assisted development capabilities.