code agent
Cursor
Connect your Cursor account to delegate autofix implementation to Cursor cloud agents. Polylane investigates and proposes fixes; Cursor opens the pull request on your GitHub. Bring your own Cursor API key.
Connect
Connect Cursor from the terminal. Pass --help for the flags Cursor accepts.
Terminal
polylane integration connect --type cursorAPI key from your Cursor account.
Connect Cursor to delegate autofix implementation to Cursor cloud agents. Polylane investigates and proposes the fix; Cursor opens the pull request on your GitHub. Bring your own Cursor API access.
Setup
- In Cursor, go to Settings and create an API key (it starts with
key_). - Make sure your target repositories are connected to your Cursor account.
- Paste the key into Polylane.
- Optionally turn on Use Cursor for all autofixes to route every autofix through Cursor instead of the Polylane executor. You can change this later.
Your key is encrypted before it is stored, and the agent never sees it. Your Cursor plan must include Cloud Agent access.
Disconnecting
Disconnect Cursor in Polylane, then revoke the API key in Cursor.
Automation actions
1Side effects an automation can perform with Cursor.
Hand off to Cursor
Delegates implementation to Cursor: the agent writes the plan and a Cursor cloud agent opens the pull request itself.