Prerequisites
- Asymptote CLI installed (
asymcommand) - A Cursor editor with agent mode enabled
- Logged in to your Asymptote account (
asym login)
Setup
Install hooks for Cursor
Run the install command from any directory. By default, hooks are installed at the user level and apply to all projects:To install only for the current project, use the
--project flag:How it works
Once installed, Asymptote registers hooks in Cursor’shooks.json. For every file edit the AI agent makes, Asymptote:
- Captures the diff
- Evaluates it against your security policies
- Re-prompts the agent to remediate any violations before writing to disk
Uninstalling
To remove the Asymptote hooks from Cursor:Next steps
Claude Code
Set up Asymptote for the Claude Code CLI.
GitHub Copilot
Set up Asymptote for GitHub Copilot in VS Code.
Factory
Set up Asymptote for Factory’s Droid agent.
CLI reference
Full reference for the
asym cursor command.
