This method also works with other IDEs like VSCode, Zed, and Windsurf, etc.
Step 1: Install Cursor
- Download and install Cursor.
- Open the application.
Step 2: Add ACP Docs to Cursor
- Open Cursor settings.
- Navigate to Features → Docs.
- Click ”+ Add new doc”.
- Enter the ACP docs URL:
https://agentcommunicationprotocol.dev/llms-full.txt
- Enter a recognizable name (e.g., “ACP”) and click “Confirm”.
Cursor will index the ACP docs automatically.
Step 3: Use ACP Docs in Cursor
With ACP docs integrated, use Cursor’s assistant to get quick references. Start typing@
and select your ACP documentation (based on the name you provided).
For example:
@ACP Create a simple agent that reverses user input
Cursor’s assistant will then provide relevant answers and code examples.
Always double-check the generated code, as it might contain inaccuracies. Good
practices include:
- Breaking tasks into smaller parts.
- Writing unit tests.
- Reviewing and understanding generated code carefully.
- Referring back to these docs to thoroughly understand the ACP protocol.