aider
CLIAI pair programming in your terminal — edit code with LLMs.
AI-powered coding assistant that edits files in your git repo
Recipes
Curated from documentation and usage. Percentages are estimates, not measurements.
Start aider with a file
aider src/main.pyUse Claude as backend
aider --model claude-3-5-sonnet-20241022 src/Auto-commit changes
aider --auto-commits src/Common failures (1)
- No API keySet ANTHROPIC_API_KEY or OPENAI_API_KEY env var
Install
pip
pip install aider-chatAgent notes
- When to use
- Pair programming with GPT-4/Claude directly in the terminal
- Quick examples
aider src/main.pyaider --model claude-3-5-sonnet-20241022 --file *.py
Use from an agent
curl -s https://clihub.com/api/tools/aider | jq '.agentHints.provenRecipes[] | {task, command, verified}'Or call get_tool with slug aider on the MCP server at https://clihub.com/mcp.