Skip to main content

Aider

Install, authenticate, and resume Aider inside Daintree, including provider env vars, the --no-auto-commits launch flag, and --restore-chat-history.

Reviewed

Aider

Aider is a Git-aware AI pair programmer that edits files in your repo directly. It runs as a process in its own Daintree terminal panel with full PTY emulation, like every other built-in agent.

Commandaider --no-auto-commits
ShortcutNone by default; assign one in Keyboard Shortcuts
RenderingAider's own; Daintree leaves its screen handling alone
ResumeNot automatic; history stays in the repo for --restore-chat-history
Quit command/exit
Permission bypass--yes-always (per agent or preset only)
PlatformsmacOS, Windows, Linux

Install & Authenticate

See Aider's current setup instructions for installation and sign-in.

python -m pip install aider-install
aider-install

Or curl -LsSf https://aider.chat/install.sh | sh, or pipx install aider-chat.

python -m pip install aider-install
aider-install

Or powershell -ExecutionPolicy ByPass -c "irm https://aider.chat/install.ps1 | iex", or pipx install aider-chat. The uv-based installers land Aider in %USERPROFILE%\.local\bin.

python -m pip install aider-install
aider-install

Or curl -LsSf https://aider.chat/install.sh | sh, or pipx install aider-chat.

The aider-install shim installs Aider in its own environment, with a Python 3.12 of its own if it needs one. Aider's docs also cover uv; they warn that system package managers often install Aider with the wrong dependencies. Daintree's in-app install prompt additionally lists brew install aider on macOS, which Aider's own install guide doesn't.

Aider is provider-agnostic. It picks up keys such as OPENAI_API_KEY, ANTHROPIC_API_KEY, or GEMINI_API_KEY from your environment, from a .env file, or from .aider.conf.yml. Daintree shows Aider as ready when one of those three, DEEPSEEK_API_KEY, OPENROUTER_API_KEY, AIDER_API_KEY, AIDER_OPENAI_API_KEY or AIDER_ANTHROPIC_API_KEY is set, or when ~/.aider.conf.yml or ~/.env exists.

Warning
Daintree launches Aider with --no-auto-commits. Aider commits after every edit by default, which would clutter your worktree commit history. The flag turns that off so you decide when commits happen. The flag is part of the agent definition, so it is always passed; to get Aider's default back, add --auto-commits under Custom arguments or in a preset, which comes later on the command line.

How Daintree Launches It

Daintree passes no screen-mode flag and leaves Aider's mouse handling alone. Turning on permission bypass adds --yes-always; the global Skip permission prompts switch doesn't reach Aider, because the agent doesn't declare bypass support. Aider is not an MCP client, so Daintree hands it no MCP servers and it can't serve as the Daintree Assistant.

Resuming Sessions

Aider has no session ID. It writes .aider.chat.history.md and .aider.input.history into the repository root, and --restore-chat-history reads them back. Daintree's registry declares that flag as Aider's resume, but Daintree only resumes from a captured session ID, and Aider prints none, so a restored or restarted Aider panel launches fresh and closing one writes no entry to the Resume Sessions list. To continue where you left off, add --restore-chat-history under Custom arguments or in a preset. Quit with /exit.

Because that history lives in the project folder rather than a home-directory store, it physically travels with the code: move or rename a project and the files come with it, and the move-or-rename preview reports Conversation stays with the folder. Aider is the only built-in agent for which that is true. See Session Management for what else persists.

Launch flags, custom presets and display titles are covered in Agent Presets. What the working, waiting and exited badges on a running agent mean is covered in Agent States.

Tip
If aider isn't detected after install, confirm it's on your PATH (command -v aider on macOS/Linux, where.exe aider on Windows), then restart Daintree. Daintree also probes the uv and pipx install locations, Homebrew's bin folders, and %USERPROFILE%\.local\bin\aider.exe.

Integration reference

This guide describes Daintree's checked-in integration. Its agent definition records the launch command, install guidance, authentication probes, rendering capabilities, and resume support. Authentication badges report local evidence; the CLI still owns sign-in and provider access. After changing an installation, use Re-check in Settings > CLI agents; restart Daintree if its inherited PATH has changed.