Learning resourcesReviewed · Aider-AI

Aider documentation

Aider's documentation is a practical guide for developers using its AI coding assistant, but some model examples conflict and older pages describe superseded approaches. It covers installation, model connections, repository context, Git integration, testing and automation.

Researched 12 Nov 2026

In short.

Aider's documentation is a guide for beginners and experienced developers working with its AI coding assistant, but conflicting model instructions require careful reading. Its strongest material explains how to select files, supply repository context, apply model-generated edits and review changes through Git. It also documents optional test-driven repair, cloud and local model connections, and scripting. Current provider costs, model availability and operational reliability are unknown; no commands or software were run.

Researched and written by an AI model and checked by a second AI model. How it works

Covers the complete selected aider/website/docs folder at commit 5dc9490bb35f9729ef2c95d00a19ccd30c26339c, together with the supplied repository LICENSE.txt. Linked pages outside that folder, application code, website includes, leaderboard data, images, recordings and other external assets are excluded. Unresolved includes and templates limit what some pages establish. No commands, installers, model requests, tests or examples were executed. Current package compatibility, provider availability, prices and operational behavior remain unassessed.

The overview

Identity

This resource is the documentation folder at [https://github.com/Aider-AI/aider/tree/main/aider/website/docs]. It teaches use of Aider, the AI pair programming tool associated with Aider AI LLC. The documentation itself is the learning resource; the application and its dependencies are separate.

Aider's central interaction is a terminal conversation in which a developer supplies files and requests changes. The guide describes editing existing projects, creating files, asking questions about code and tracking edits through Git. These are documented capabilities, with execution unassessed.

Assessment

The guide is useful for learning a supervised coding process: add the files that need changes, discuss a bounded task, inspect edits and use project checks. It explains practical failure sources, including irrelevant context, unsupported model settings and responses that cannot be applied as file edits.

Its convenience defaults deserve attention. Automatic commits and linting are enabled, automatic testing is disabled, and Git pre-commit hooks are skipped unless explicitly enabled. A saved commit therefore provides a review point, while correctness still depends on suitable checks and human review.

Users

Beginners who can navigate a terminal and identify their project files can follow the installation and usage chapters. Familiarity with Git, API credentials and the project's test command will help them understand what Aider changes and how to inspect it.

Experienced developers get detailed configuration references, custom model settings, provider routing, read-only conventions and command-line automation. Large monorepo users should expect additional context management: the FAQ acknowledges slower performance in very large repositories and documents working within a subtree.

Capabilities

The chapters cover code and text editing, question-only discussions, architect/editor mode, Git review and undo, linting, tests and shell-output feedback. Configuration files and documentation can be edited alongside source code.

Additional interfaces include editor comments watched with --watch-files, an experimental browser UI, voice transcription, images for compatible vision models, web-page text, external prompt editors and completion notifications. Language coverage varies: Python, TypeScript and Rust have both repository-map and linter support in the table, while HTML, CSS, Vue and Svelte have linter support without repository maps.

Automation is documented through single-message command-line calls and a Python interface. The Python scripting API is explicitly described as unsupported and subject to incompatible changes.

Using it

Requirements

The installation guide recommends an isolated Python environment through aider-install, uv or pipx. Its uv route can obtain Python 3.12; the documented pip and pipx routes support Python 3.9–3.12. Git is recommended. Most hosted models require provider credentials, while local routes require a separately running model server. Local hardware requirements are unknown.

Optional features have extra dependencies, including Chromium through Playwright for more demanding web pages and PortAudio for voice capture on some systems. Docker and GitHub Codespaces are documented options. Inside Docker, /run executes in the container, so project tests may need dependencies unavailable there.

Mechanism

Aider combines selected file contents with a compact repository map describing relevant symbols and definitions. The map uses graph ranking over file dependencies to select context within a suggested token budget. Its size can expand dynamically, so the documented 1,000-token default is not a strict ceiling.

Models express edits through formats such as complete replacement files, search/replace blocks or simplified unified diffs. Complete-file responses can consume more tokens; diff formats depend on the model producing usable edit instructions. LiteLLM supplies connections to many providers. A separate weak model can receive diffs and chat history to generate commit messages.

Setup

With uv available, the installation page gives this command: uv tool install --force --python python3.12 --with pip aider-chat@latest. It installs Aider separately from project dependencies. The command selects the package available as latest when run; a package release corresponding to this documentation snapshot is not established.

Configure the chosen provider's credentials through environment variables or a .env file, then launch from the project directory with an explicit --model value and the files to edit. General YAML settings load from the home directory, repository root and current directory, with later files taking precedence. Using --config selects one configuration file. Custom model behavior and cost metadata use separate settings files.

Example

An illustrative sequence combines the documented DeepSeek connection with the factorial example. After configuring DEEPSEEK_API_KEY, launch aider --model deepseek/deepseek-chat factorial.py. Use /ask to discuss how the program should handle inputs, then /code to request the agreed implementation.

For a project already using pytest, /test pytest can return failures for a repair attempt. Inspect the resulting Git changes and commits; /undo can revert the last commit made by Aider. This sequence has not been executed, and no output or correctness result is established.

Assessment & evidence

Limitations

Readable model responses do not guarantee successful edits: the troubleshooting chapters describe formatting failures, context overload and capability limits. Aider estimates token usage and reports provider token-limit errors; it does not enforce those limits itself. Actual reliability for a particular model and project is unknown.

The FAQ limits normal operation to one repository at a time and acknowledges performance constraints in very large repositories. The browser UI is experimental, and the Python scripting API offers no compatibility guarantee.

Several documentation sources contain unresolved website includes or templates. Referenced videos, chart images, leaderboard datasets and application source are outside this folder, so the guide alone cannot establish their contents or implementation behavior.

Reasoning controls

The guide explains that reasoning effort and thinking-token budgets are model-specific settings. Aider uses accepts_settings metadata to determine which controls apply and can warn when a requested setting is unsupported. Forcing unsupported settings may produce API errors. Reasoning wrapped in configured XML tags is displayed separately and excluded from file-edit instructions and chat history.

Architect mode separates proposing a solution from expressing file edits. This can help models that struggle to perform both tasks in one response, at the cost of another model request. The documentation supports understanding that tradeoff; it does not establish a universal improvement in correctness.

Alternative ways to work

The guide offers several interaction choices: terminal chat, editor comments through --watch-files, the experimental browser interface and manual exchange with an LLM web chat. The copy/paste chapter leaves interactions with the web service manual and tells readers to check that service's terms.

Local model connections through Ollama and LM Studio offer another deployment choice, with capability and configuration tradeoffs. Third-party editor plugins and community tutorial videos are linked, but their contents and compatibility are not established. Independent comparisons with other guides or coding assistants are unavailable.

Evidence

The evidence consists of project-authored explanations, examples, benchmark descriptions and recording commentary. The older Python benchmark uses 133 Exercism exercises and allows a second attempt after test failures. It measures both solving the exercise and producing applicable edits. The author acknowledges nondeterministic API responses and possible training-data overlap.

The 89-task refactoring benchmark checks syntax and approximate structural preservation; its author explicitly says this is not rigorous proof of a correct refactor. The polyglot page describes 225 exercises across six languages, but its model-result rows depend on external data files. Historical speed figures measure API waiting time, rather than the complete development process.

Recording commentary reports unwanted changes, unsuccessful fixes and a generated TypeScript/TSX mapping error. These are useful examples of supervision needs, without establishing a general failure rate. No benchmark, installation or coding example was reproduced.

Access & freshness

Costs

The repository's Apache 2.0 license grants no-charge rights to the covered work, while model access is separate. Current API prices, free-tier quotas, subscription eligibility and typical task costs are unknown. The guide distinguishes paid API access from a ChatGPT subscription and describes subscription-backed Copilot access without supplying provider confirmation of its billing terms.

Costs can increase with extra context, edit retries, weak-model requests and architect mode's two requests. Prompt caching may reduce repeated processing for supported combinations, but savings are not quantified here. The benchmark notes explicitly describe displayed costs as historical and potentially outdated.

Rights and data

The supplied repository license is Apache 2.0. It permits reproduction, modification and redistribution subject to its conditions, including providing the license, marking modified files and preserving applicable notices. It includes warranty disclaimers and does not grant general trademark rights. The contributor agreement separately requires a signed CLA for contributions to Aider AI.

The analytics guide says tool telemetry requires opt-in and excludes code, chat messages and keys. The broader privacy policy also covers website and service information. Cloud model requests still carry coding context, and commit-message generation can send diffs and history to the weak model. Provider retention, training practices and generated-output rights are not established by these documents.

Freshness

The source snapshot identifies commit 5dc9490bb35f9729ef2c95d00a19ccd30c26339c and a capture date of 12 November 2026. Individual pages span different periods: the November model benchmark says it was updated on 14 November 2023, while the polyglot leaderboard displays 20 November 2025. Example terminal version banners do not establish the current application release.

There are concrete inconsistencies. The Gemini connection page associates --model gemini with Gemini 2.5 Pro, while the alias reference maps gemini to gemini/gemini-3-pro-preview. The Anthropic page describes manual thinking configuration, while the reasoning chapter documents dedicated controls. The ctags article explicitly says its mapping approach has been replaced, and the older editing leaderboard points to the polyglot replacement. Model names, defaults and setup details need confirmation for the installed version.

Practical next steps

Begin with installation, usage, chat modes and linting/testing. Choose an explicit model identifier, install Aider separately from project dependencies and start with one small task involving only the necessary files. Supply project conventions as a read-only file and use ask mode to clarify a complex change.

Configure the project's actual test command and enable automatic testing if desired. Enable --git-commit-verify when pre-commit hooks should run, and inspect the resulting commits. Check both main-model and weak-model destinations before sharing project context. The OpenRouter guide documents controls for provider choice, fallback and data collection; the analytics guide documents --analytics-disable. Confirm provider prices and model settings separately before relying on historical examples.

Evidence for this report

LICENSE.txtnotice · checked 2026-11-12
aider/website/docs/benchmarks-0125.mdselected · checked 2026-11-12
aider/website/docs/benchmarks-1106.mdselected · checked 2026-11-12
aider/website/docs/benchmarks-speed-1106.mdselected · checked 2026-11-12
aider/website/docs/benchmarks.mdselected · checked 2026-11-12
aider/website/docs/config.mdselected · checked 2026-11-12
aider/website/docs/config/aider_conf.mdselected · checked 2026-11-12
aider/website/docs/config/api-keys.mdselected · checked 2026-11-12
aider/website/docs/config/dotenv.mdselected · checked 2026-11-12
aider/website/docs/config/editor.mdselected · checked 2026-11-12
aider/website/docs/config/model-aliases.mdselected · checked 2026-11-12
aider/website/docs/config/options.mdselected · checked 2026-11-12
aider/website/docs/config/reasoning.mdselected · checked 2026-11-12
aider/website/docs/ctags.mdselected · checked 2026-11-12
aider/website/docs/faq.mdselected · checked 2026-11-12
aider/website/docs/git.mdselected · checked 2026-11-12
aider/website/docs/index.mdselected · checked 2026-11-12
aider/website/docs/install.mdselected · checked 2026-11-12
aider/website/docs/install/codespaces.mdselected · checked 2026-11-12
aider/website/docs/install/docker.mdselected · checked 2026-11-12
aider/website/docs/install/optional.mdselected · checked 2026-11-12
aider/website/docs/install/replit.mdselected · checked 2026-11-12
aider/website/docs/languages.mdselected · checked 2026-11-12
aider/website/docs/leaderboards/contrib.mdselected · checked 2026-11-12
aider/website/docs/leaderboards/edit.mdselected · checked 2026-11-12
aider/website/docs/leaderboards/index.mdselected · checked 2026-11-12
aider/website/docs/leaderboards/notes.mdselected · checked 2026-11-12
aider/website/docs/leaderboards/refactor.mdselected · checked 2026-11-12
aider/website/docs/legal/privacy.mdselected · checked 2026-11-12
aider/website/docs/llms.mdselected · checked 2026-11-12
aider/website/docs/llms/anthropic.mdselected · checked 2026-11-12
aider/website/docs/llms/azure.mdselected · checked 2026-11-12
aider/website/docs/llms/bedrock.mdselected · checked 2026-11-12
aider/website/docs/llms/cohere.mdselected · checked 2026-11-12
aider/website/docs/llms/deepseek.mdselected · checked 2026-11-12
aider/website/docs/llms/gemini.mdselected · checked 2026-11-12
aider/website/docs/llms/github.mdselected · checked 2026-11-12
aider/website/docs/llms/groq.mdselected · checked 2026-11-12
aider/website/docs/llms/lm-studio.mdselected · checked 2026-11-12
aider/website/docs/llms/ollama.mdselected · checked 2026-11-12
aider/website/docs/llms/openai-compat.mdselected · checked 2026-11-12
aider/website/docs/llms/openai.mdselected · checked 2026-11-12
aider/website/docs/llms/openrouter.mdselected · checked 2026-11-12
aider/website/docs/llms/other.mdselected · checked 2026-11-12
aider/website/docs/llms/vertex.mdselected · checked 2026-11-12
aider/website/docs/llms/warnings.mdselected · checked 2026-11-12
aider/website/docs/llms/xai.mdselected · checked 2026-11-12
aider/website/docs/more-info.mdselected · checked 2026-11-12
aider/website/docs/more/analytics.mdselected · checked 2026-11-12
aider/website/docs/more/edit-formats.mdselected · checked 2026-11-12
aider/website/docs/more/infinite-output.mdselected · checked 2026-11-12
aider/website/docs/recordings/index.mdselected · checked 2026-11-12
aider/website/docs/repomap.mdselected · checked 2026-11-12
aider/website/docs/scripting.mdselected · checked 2026-11-12
aider/website/docs/troubleshooting.mdselected · checked 2026-11-12
aider/website/docs/troubleshooting/imports.mdselected · checked 2026-11-12
aider/website/docs/troubleshooting/support.mdselected · checked 2026-11-12
aider/website/docs/unified-diffs.mdselected · checked 2026-11-12
aider/website/docs/usage.mdselected · checked 2026-11-12
aider/website/docs/usage/browser.mdselected · checked 2026-11-12
aider/website/docs/usage/caching.mdselected · checked 2026-11-12
aider/website/docs/usage/commands.mdselected · checked 2026-11-12
aider/website/docs/usage/conventions.mdselected · checked 2026-11-12
aider/website/docs/usage/copypaste.mdselected · checked 2026-11-12
aider/website/docs/usage/images-urls.mdselected · checked 2026-11-12
aider/website/docs/usage/lint-test.mdselected · checked 2026-11-12
aider/website/docs/usage/modes.mdselected · checked 2026-11-12
aider/website/docs/usage/not-code.mdselected · checked 2026-11-12
aider/website/docs/usage/notifications.mdselected · checked 2026-11-12
aider/website/docs/usage/tips.mdselected · checked 2026-11-12
aider/website/docs/usage/tutorials.mdselected · checked 2026-11-12
aider/website/docs/usage/voice.mdselected · checked 2026-11-12
aider/website/docs/usage/watch.mdselected · checked 2026-11-12