Skip to content

sutt/agent-aider

 
 

Repository files navigation

Agent-Aider

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.

demo

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.

costly

Setup

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 available

Recommended: uv tool local install

You can use the script in the repo: ./redeploy or, manually:

uv tool uninstall agent-aider
uv tool install . --no-cache

Check 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 this

Usage Instructions:

You'll need to pass along an additional flags for full agentic mode: --yes or -y.

Resources

This fork addresses several open tickets on Aider:

Optional Setup

It can help to have a control switch to run aider vs agentaider:

touch ~/.local/bin/maider
chmod +x ~/.local/bin/maider

maider

if ["$1" == "--yolo"]; then
   echo "CAUTION: yolo mode enabled ...using agentaider"
   agentaider \
      --yes \
      "$@"
else
   aider "$@"
fi

Putting 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.

About

fork for yolo agentic behavior

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 80.2%
  • CSS 4.1%
  • Shell 4.0%
  • JavaScript 3.7%
  • Tree-sitter Query 3.2%
  • HTML 2.7%
  • Other 2.1%