Back to products
Aider

Aider

AI Pair Programming in Your Terminal

Overview

What it is

Aider is the AI pair programmer that edits code in your local git repo via the terminal. Works with your editor, any LLM (Claude 3.5 Sonnet, DeepSeek R1, GPT-4o, local models), and many languages.

Intent

I need it when

Accelerate new project creation and existing codebase development with AI assistance

Aider enables pair programming with LLMs in the terminal, allowing developers to start new projects or build on existing codebases by conversing with AI models like Claude 3.7 Sonnet, DeepSeek, or GPT-4o. The tool maps the entire codebase to provide context, automatically commits changes with sensible messages, and integrates with git for easy undo and review.

Write and modify code across 100+ programming languages with AI support

Aider supports most popular programming languages (Python, JavaScript, Rust, Ruby, Go, C++, PHP, HTML, CSS, and 90+ others) with built-in linting and testing. The repository map feature helps the LLM understand code structure and relationships, enabling accurate multi-file edits and new code that respects existing abstractions.

Integrate AI coding assistance directly into existing IDE workflows without switching tools

Aider's --watch-files mode monitors code files for AI comments (# AI! or // AI?) added in any IDE or text editor, triggering code changes or answering questions without leaving the editor. Developers can also use /add to include files in the chat and continue work in the terminal when needed.

Maintain clean git history and easily review or undo AI-generated code changes

Aider automatically commits each change with descriptive messages following Conventional Commits, commits dirty files before applying edits to keep work separate, and provides /undo, /diff, and /git commands for full git history management. This ensures developers never lose work and can easily review what the AI changed.

Reduce API costs and maintain privacy by using local or preferred LLM providers

Aider connects to cloud LLMs (OpenAI, Anthropic, DeepSeek, Google Gemini) and local models via Ollama or OpenAI-compatible APIs. Developers can choose their preferred provider, use free tier models from OpenRouter, or run entirely local models, avoiding vendor lock-in and controlling data privacy.

Drop

Not a fit when

  • User needs a graphical IDE with visual debugging tools rather than terminal-based development
  • User requires proprietary, closed-source AI coding tools with vendor lock-in
  • User works with programming languages not in the 100+ supported languages list or lacks tree-sitter support
  • User cannot or will not use git version control in their workflow
  • User needs real-time collaborative pair programming with multiple human developers simultaneously
Commercials

Pricing

Free and open source