Prerequisites
- Asymptote CLI installed (
asymcommand) - A Factory account with Droid configured
- Logged in to your Asymptote account (
asym login)
Setup
Install hooks for Factory
Run the install command. By default, hooks are installed at the user level (To install only for the current project:
~/.factory/settings.json) and apply to all projects:How it works
Once installed, Asymptote registers four hooks in Factory’ssettings.json:
| Hook | Purpose |
|---|---|
SessionStart | Initializes the session and performs cleanup |
PostToolUse | Submits diffs for async security evaluation |
Stop | Polls results and re-prompts Droid on violations |
SessionEnd | Final cleanup |
Uninstalling
To remove the Asymptote hooks from Factory:Next steps
Cursor
Set up Asymptote for Cursor IDE.
Claude Code
Set up Asymptote for the Claude Code CLI.
GitHub Copilot
Set up Asymptote for GitHub Copilot in VS Code.
CLI reference
Full reference for the
asym factory command.
