# Aider Aider is an open-source [[AI Agent Harness|AI agent harness]] and pair programming CLI tool. It connects to an [[Large Language Models (LLMs)|LLM]] and lets you edit code in your local git repository through a conversational interface. Aider is model-agnostic and works with [[Claude]], [[GPT4|GPT-4]], [[Gemini]], DeepSeek, and others via API. ## Key features - Works inside any git repo — changes are committed automatically - Supports 100+ LLMs (OpenAI, Anthropic, Google, local models via Ollama, etc.) - Multi-file editing: maps the full repo and edits across files in one shot - Repo map: builds a graph of the codebase to give the model relevant context - Architect mode: separates planning (architect LLM) from editing (editor LLM) for complex tasks - Browser UI available in addition to CLI - Linter/test integration: auto-runs tests and fixes failures in a loop - Voice input support ## Installation ```sh pip install aider-chat ``` ## Usage ```sh aider --model claude-sonnet-4-5 aider --model gpt-4o aider # uses default model ``` Add files to the session: ```sh aider file1.py file2.py ``` In-session commands: - `/add <file>` — add file to context - `/drop <file>` — remove file from context - `/diff` — show last diff - `/undo` — undo last commit - `/run <cmd>` — run a shell command - `/architect` — switch to architect mode ## References - Official Website: https://aider.chat/ - GitHub: https://github.com/Aider-AI/aider ## Related - [[AI Agent Harness]] - [[Claude Code]] - [[Cline]] - [[OpenCode]] - [[Goose]]