Command a local coding agent in your browser
First of all, I would like to pay tribute to Badlogic, the creators of Pi. This project is a visual variant of Pi. It allows you to connect your own models and API keys, enabling the Agent to read and write code, execute commands, and manage Git branches and sessions within local repositories. All code and keys stay on your local machine throughout the entire process.

Connect a model
Add Anthropic, OpenRouter or a custom provider with your API key — stored only on your machine.
Point at a repo
Pick a local working directory; the agent reads and writes your real files.
Drive by chat
Give instructions in natural language; the agent calls tools, runs commands, edits code and opens Git worktrees.
Stays local
Sessions, keys and code stay on your machine — nothing goes through a third-party server.
$ donkey-agent ~/code/my-app
✓ 已连接 · 本地文件,用你自己的模型Why DonKey Agent
Bring your own model
Works with Anthropic, OpenRouter, Bedrock and more, plus custom providers. Keys stay local and usage stays yours.
Real tools
Reads and writes files, runs commands, manages Git branches and worktrees — with skills, plugins built in.
Local-first & private
No code upload — everything happens on your machine. Drive it from a browser, no heavy IDE required.
Up and running in four steps
From connecting a model to letting the agent act — the whole loop runs locally.
Connect a model
Add Anthropic, OpenRouter or a custom provider with your API key — stored only on your machine.
Point at a repo
Pick a local working directory; the agent reads and writes your real files.
Drive by chat
Give instructions in natural language; the agent calls tools, runs commands, edits code and opens Git worktrees.
Stays local
Sessions, keys and code stay on your machine — nothing goes through a third-party server.
Download DonKey Agent
A universal build for macOS, Windows and Linux — download, unzip and run.
Follow DonKey Agent
Still moving fast — leave your email and I will share major updates.