Connect Cursor to Anoman AI
Route Cursor's AI completions and chat through Anoman by setting the OpenAI base URL in Cursor settings. Guardrails apply to every code completion and Cmd+K request.
Prerequisites
- An Anoman AI account with an active API key
- Cursor installed (cursor.sh)
Step 1: Open Cursor Settings
Go to Cursor Settings → Models → OpenAI API Key. Cursor supports a custom base URL on the OpenAI provider.
Step 2: Set the Anoman endpoint
Enter your Anoman API key and set the base URL to Anoman's OpenAI-compatible endpoint:
Step 3: Select a model
Choose any model available on Anoman. Cursor passes the model name directly to the base URL — Anoman routes it to the correct provider.
Alternative: environment variables
If Cursor reads from environment variables in your shell, you can set these instead:
Guardrail transparency headers
Every response includes guardrail result headers. Check these in your Anoman dashboard traces to confirm the pipeline is active on Cursor requests.
Need help with your integration?
Join the Founding 50 for early access and direct support from the Anoman team.