Fork of Aider with agentic capabilities:
- Allows aider to run any shell script without manual confirmation,
- This works for when aider is in "agent mode" as a background mode.
- Allow aider to run more than max 3 relections per confirmation
- This also works for background mode.
Basically this allows aider to run fully agentically, like Claude Code in --dangerously-skip-permissions.
The primary use-case is using it with Agro, see case-studies like this and this.
Installing this repo will install a python script agentaider with the exact capabilities as aider except for the behavior listed above.
⚠️ This is a dangerous script: agent-aider may run destructive commands or run up bills on your LLM provider.
Get release version from git: Clone the repo and checkout the tag corresponding to the aider version you want. Available version can be seen on github release page here.
git clone https://github.com/sutt/agent-aider
git checkout v0.85.5 # or whatever version you want that's availableRecommended: uv tool local install
You can use the script in the repo: ./redeploy or, manually:
uv tool uninstall agent-aider
uv tool install . --no-cacheCheck install:
$ uv tool list
# agent-aider v0.86.1.dev7+g085542cc
# - agentaider
# aider-chat v0.85.5
# - aider
# agro v0.1.7
# - agro
$ agentaider --version
# agentaider 0.86.1.dev7+g085542cc # something like thisYou'll need to pass along an additional flags for full agentic mode: --yes or -y.
This fork addresses several open tickets on Aider:
- Feature request: "YOLO" mode (#3830)
- Extend aiders --yes option (#1375)
- Running with
--yes-alwaysdoesn't run shell commands (#3903) - Add ability to configure max_reflections setting (#3865)
It can help to have a control switch to run aider vs agentaider:
touch ~/.local/bin/maider
chmod +x ~/.local/bin/maidermaider
if ["$1" == "--yolo"]; then
echo "CAUTION: yolo mode enabled ...using agentaider"
agentaider \
--yes \
"$@"
else
aider "$@"
fiPutting that script on shell path, now you can call maider and pass --yolo to it optionally to run agentaider or fall back to regular aider otherwise.