An ACP-compatible coding agent powered by cursor-agent CLI (TypeScript)
npm install cursor-agent-acp
Use cursor-agent from ACP-compatible clients such as Zed!
This tool implements an ACP agent by using the cursor-agent CLI, supporting:
- Context @-mentions
- Images
- Tool calls (with permission requests)
- Following
- Edit review
- TODO lists
- Interactive (and background) terminals
- Custom Slash commands
- Client MCP servers
Learn more about the Agent Client Protocol.
The latest version of Zed can already use this adapter out of the box.
To use cursor-agent, open the Agent Panel and click "New cursor-agent Thread" from the + button menu in the top-right:
https://github.com/user-attachments/assets/ddce66c7-79ac-47a3-ad59-4a6a3ca74903
Read the docs on External Agent support.
Setup instructions for other clients are coming soon. Feel free to submit a PR to add yours!
#### Installation
Install the adapter from npm:
``bash`
$ npm install cursor-agent-acp
You can then use cursor-agent-acp as a regular ACP agent:
`bash`
$ cursor-agent-acp
Make sure you have cursor-agent CLI installed and configured first:
`bash``Install cursor-agent CLI
$ curl https://cursor.com/install -fsS | bash
Apache-2.0