aider runner invokes the aider CLI binary as a subprocess, making it a flexible choice if you want to use models other than Claude — including self-hosted models via Ollama.
Requirements
- Python 3.9 or later
- pip
Model and API key configuration
Aider reads model configuration from environment variables or its own config files. Configure your preferred model before using it with RemoteAgent.~/.aider.conf.yml file to set defaults permanently. See Aider’s configuration docs for details.
Setup
aider when prompted by the interactive wizard. No API key is collected by RemoteAgent — Aider reads its own credentials from environment variables.
How it works
The runner executes:--messagepasses the prompt non-interactively--no-auto-commitsprevents Aider from committing changes automatically (you remain in control of your git history)--yesanswers any confirmation prompts automatically (required for non-interactive operation)
Aider with git
By default, Aider is designed to work inside a git repository and uses git context to understand your codebase. Make sure your project directory is a git repo, or pass--no-git in your Aider config to disable git integration.
Pros and cons
| Pros | Cons |
|---|---|
| Open-source and auditable | Beta status — edge cases in output parsing |
| Works with many model providers | Requires Python environment |
| Supports local models via Ollama | More setup steps than claude-sdk |
| No vendor lock-in | --no-auto-commits disables a key Aider feature |