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

