Aider cli
ComponentUpdates related to the cli component of Aider.
All CLI Features
- Added support for all GPT-5 models.(v0.86.0)
- Added support for Grok-4 via model names `xai/grok-4` and `openrouter/x-ai/grok-4`.(v0.86.0)
- Added support for the `gemini/gemini-2.5-flash-lite-preview-06-17` model.(v0.86.0)
- Added support for the `openrouter/moonshotai/kimi-k2` model.(v0.86.0)
- Enabled display of model announcements when using the no-argument `/model` command.(v0.86.0)
- Added support for new Gemini models including gemini-2.5-pro, gemini-2.5-flash, and gemini-2.5-pro-preview-06-05 with thinking tokens support.(v0.85.0)
- Updated model aliases: 'flash' now points to gemini-2.5-flash and 'gemini' now points to gemini-2.5-pro.(v0.85.0)
- Added support for Responses API models like o1-pro and o3-pro.(v0.85.0)
- Added support for OpenAI o3-pro model across multiple providers.(v0.85.0)
- Enabled adding files listed in .gitignore to Aider's editing scope via the --add-gitignore-files flag.(v0.85.0)
- Enabled co-authored-by attribution by default for commit messages.(v0.85.0)
- Added --commit-language option to specify the language for commit messages.(v0.85.0)
- Added custom PostHog analytics configuration options using --analytics-posthog-host and --analytics-posthog-project-api-key flags.(v0.85.0)
- Added MATLAB language support for repository maps.(v0.85.0)
- Added Clojure language support for repository maps.(v0.85.0)
- Added support for new Claude models including the Sonnet 4 and Opus 4 series across various providers.(v0.84.0)
- Added support for the Vertex AI Gemini 2.5 Flash preview model.(v0.84.0)
- Updated default OpenRouter models during onboarding to `deepseek/deepseek-r1:free` for the free tier and `anthropic/claude-sonnet-4` for paid tiers.(v0.84.0)
- Enabled automatic refreshing of GitHub Copilot tokens when used as OpenAI API keys.(v0.84.0)
- Added support for `gemini-2.5-pro-preview-05-06` models.(v0.83.0)
- Added support for `qwen3-235b` models.(v0.83.0)
- Added repo-map support for OCaml and OCaml interface files.(v0.83.0)
- Introduced `--attribute-co-authored-by` option to add co-author trailer to commit messages.(v0.83.0)
- Added tracking of total tokens sent and received to benchmark statistics.(v0.83.0)
- Automatically fetch model parameters (context window, pricing) for OpenRouter models directly from their website.(v0.83.0)
- Enabled support for `thinking_tokens` and `reasoning_effort` parameters for OpenRouter models.(v0.83.0)
- Added model settings for `openrouter/google/gemini-2.5-pro-preview-03-25`.(v0.83.0)
- Added `--disable-playwright` flag to prevent Playwright installation prompts and usage.(v0.83.0)
- Enabled `reasoning_effort` for Gemini 2.5 Flash models.(v0.83.0)
- Added a `--shell-completions` argument to generate shell completion scripts (e.g., for bash, zsh).(v0.83.0)
- Explicit `--attribute-author` or `--attribute-committer` flags now override the default behavior when `--attribute-co-authored-by` is used.(v0.83.0)
- Added OpenRouter OAuth integration, offering to authenticate if no model or keys are provided.(v0.80.0)
- Enabled automatic selection of OpenRouter default model based on free/paid tier status when the API key is set but no model is specified.(v0.80.0)
- Prioritized specific Gemini and Vertex AI experimental models when no model is specified and corresponding keys are set.(v0.80.0)
- Added the `openrouter/deepseek-chat-v3-0324:free` model.(v0.80.0)
- Added `Ctrl-X Ctrl-E` keybinding to edit the current input buffer in an external editor.(v0.80.0)
- Added repomap support for the Scala language.(v0.80.0)
- Added support for the SOTA Gemini 2.5 Pro model.(v0.79.0)
- Added support for the DeepSeek V3 0324 model.(v0.79.0)
- Introduced a new /context command that automatically identifies which files need to be edited for a given request.(v0.79.0)
- Added /edit as an alias for the /editor command.(v0.79.0)
- Added an "overeager" mode for Claude 3.7 Sonnet models to help keep the model working within the requested scope.(v0.79.0)
- Added /think-tokens command to set thinking token budget with support for human-readable formats (8k, 10.5k, 0.5M).(v0.77.0)
- Added /reasoning-effort command to control model reasoning level.(v0.77.0)
- Enabled support for Cohere model cohere_chat/command-a-03-2025 and Gemini model gemini/gemma-3-27b-it.(v0.77.0)
- Added --auto-accept-architect flag to automatically accept changes from architect coder format without confirmation.(v0.77.0)
- Added ability to control token budget for reasoning models using the new `--thinking-tokens` CLI option.(v0.76.0)
- Enabled display of thinking/reasoning content returned by LLMs.(v0.76.0)
- Introduced user notifications when the LLM has completed its last request and is waiting for input via the `--notifications` flag.(v0.76.0)
- Added support for specifying a custom desktop notification command using `--notifications-command`.(v0.76.0)
- Added support for the QWQ 32B model.(v0.76.0)
- Added support for DeepSeek V3 free model on OpenRouter via `--model openrouter/deepseek/deepseek-chat:free`.(v0.76.0)
- Added support for Claude 3.7 Sonnet models across OpenRouter, Bedrock, and Vertex AI.(v0.76.0)
- Added support for the GPT-4.5-preview model.(v0.76.0)
- Added support for Claude 3.7 Sonnet:beta on OpenRouter.(v0.76.0)
- Added support for the `openrouter/anthropic/claude-3.7-sonnet` model.(v0.76.0)
- Added an offer to install necessary dependencies when using Bedrock and Vertex AI models.(v0.76.0)
- Added basic support for the Claude 3.7 Sonnet model (use --model sonnet).(v0.75.0)
- Added support for the openrouter/o3-mini-high model configuration.(v0.75.0)
- Added support for tree-sitter language packs.(v0.75.0)
- Added HCL (Terraform) syntax support.(v0.75.0)
- Enabled markdown generation for o1 & o3-mini models by sending a specific formatting string.(v0.75.0)
All CLI Bug Fixes
- Fixed an issue where new settings provided for an existing model failed to replace the old settings.(v0.86.0)
- Fixed analytics to correctly support the latest PostHog SDK event-capture API.(v0.86.0)
- Fixed Vertex AI model name prefixes in settings.(v0.85.0)
- Fixed encoding issues in git diff output and LLM history logging.(v0.85.0)
- Fixed search block regex to accept optional closing tags when working with HTML content.(v0.85.0)
- Auto-created parent directories for chat history files to prevent startup errors.(v0.85.0)
- Ensured pip is available before attempting package installation.(v0.85.0)
- Fixed an issue where files explicitly added via the command line were not correctly ignored if listed in .gitignore.(v0.84.0)
- Fixed OpenRouter token cost calculation for improved accuracy.(v0.84.0)
- Fixed linter command execution on Windows by adopting `oslex` for argument quoting.(v0.83.0)
- Fixed an issue where read-only status of files might not be preserved correctly by some commands (e.g. `/drop` after adding a read-only file).(v0.83.0)
- Fixed linting errors for filepaths containing shell metacharacters.(v0.80.0)
- Fixed a bug in the `/run` command that was preventing auto-testing.(v0.80.0)
- Fixed a bug preventing `UnboundLocalError` during git tree traversal.(v0.80.0)
- Handled `GitCommandNotFound` error if git is not installed or not in PATH.(v0.80.0)
- Handled `FileNotFoundError` if the current working directory is deleted while aider is running.(v0.80.0)
- Fixed a bug where the default model was incorrectly set by deprecated --shortcut switches even when explicitly specified on the command line.(v0.77.0)
- Fixed handling of JSONDecodeError when loading the model cache file.(v0.77.0)
- Fixed handling of GitCommandError when retrieving git user configuration.(v0.77.0)
- Fixed weak_model_name patterns to correctly match main model name patterns for certain models.(v0.76.0)
- Fixed handling of Git errors encountered when reading staged files.(v0.76.0)
- Fixed Git identity retrieval to properly respect global configuration settings.(v0.76.0)
- Fixed an issue where the continuation prompt ". " was incorrectly included for multiline input.(v0.75.0)
- Fixed a bug related to the /editor command.(v0.75.0)
Releases with CLI Changes
v0.86.05 features2 fixesThis release significantly expands model compatibility by adding support for all GPT-5 models, Grok-4, and several new preview and third-party models. Quality of life improvements include clearer feedback for the `/clear` command and cleaner output for `/undo`.
v0.85.010 features5 fixesThis release introduces significant model updates, including support for the new Gemini 2.5 series and Responses API models, alongside enhanced thinking token controls. Key new features focus on improving developer workflow, such as enabling gitignore file inclusion in scope and adding language specification for commit messages. Several fixes address encoding issues, model prefix errors, and startup stability.
v0.84.04 features2 fixesThis release significantly expands model support by adding the latest Claude 4 series models and Gemini 2.5 Flash preview. Key fixes include correcting file ignoring behavior and improving OpenRouter cost accuracy, alongside several quality-of-life enhancements like better commit message context and improved shell completion.
v0.83.012 features2 fixesThis release introduces significant model support, adding Gemini 2.5 Pro preview and Qwen models, alongside new commit attribution features like `--attribute-co-authored-by`. Enhancements include improved streaming spinners, better cross-platform command quoting via `oslex`, and automatic fetching of OpenRouter model parameters.
v0.80.06 features5 fixesThis release introduces significant integration updates, including OpenRouter OAuth support and new model availability. Several critical bugs related to filepaths, git operations, and the /run command have been resolved. Additionally, the tool now provides better startup validation for configurations and improves handling of external dependencies like git.
v0.79.05 featuresThis release focuses heavily on expanding model compatibility by adding support for Gemini 2.5 Pro and DeepSeek V3 0324. New context management features, including the /context command, improve workflow efficiency by automatically identifying necessary files for edits.
v0.77.04 features3 fixesThis release introduces powerful new configuration commands, /think-tokens and /reasoning-effort, allowing fine-grained control over model behavior and budget. It also brings massive expansion to supported programming languages via tree-sitter integration and fixes several critical bugs related to model configuration and file handling.
v0.76.011 features3 fixesThis release significantly enhances reasoning model support by adding token budget control and displaying reasoning output directly. Aider now offers user notifications when LLM responses are ready and introduces broad support for new models like QWQ 32B and Claude 3.7 Sonnet across various providers. Additionally, several Git and configuration handling bugs have been resolved.
v0.75.05 features2 fixesThis release introduces basic support for the Claude 3.7 Sonnet model and expands language support with HCL (Terraform) and tree-sitter pack integration. Several bugs were fixed, particularly concerning multiline input continuation prompts and the /editor command.