AXME CODE
Set boundaries on what Claude Code can do — before it does something irreversible
Autonomous coding agents can delete files, push to wrong branches, or refactor things they shouldn't touch. Without guardrails, autonomy becomes liability.
AXME Code lets you define allowed operations, required approvals, and hard stops for your AI coding agent.
Policy before the command runs
Autonomous agents can force-push, delete paths, pipe curl to shell, or commit secrets. Prompt instructions alone fail under mistake or pressure.
AXME Code expresses policy in safety/rules.yaml — protected branches, denied commands, sensitive paths. On Claude Code, pre-tool-use hooks block before execution. On Cursor, rules are advisory unless you add host hooks; pair with axme_safety checks and review.
CAPABILITIES
How it works.
File scope
Allowed paths only.
Git scope
Branch and commit rules.
Operation allow/deny
rm, push, deploy gates.
DEEP DIVE
Production patterns.
Human approval
Required for sensitive ops.
Dry-run mode
Preview before apply.
Override log
Who bypassed what.
Scopes and overrides
File scope limits which paths may be written. Git scope controls branch and commit behavior. Operation allow/deny lists block rm -rf, release commands, and credential paths. Human approval gates can be required for sensitive operations.
Overrides are logged — who bypassed what and when — for accountability. Apply essential-safety and ai-agent-guardrails presets at setup for a proven baseline.
Common questions
- Do hooks work in Cursor?
- Harness-level blocking is Claude Code today. Cursor users rely on YAML policy + project rules + axme_safety; see /integrations/cursor/.
- Can I add custom rules?
- Yes — edit rules.yaml or use axme_update_safety; changes version with the repo if you commit policy files.
- What about dry-run?
- Use dry-run patterns in agent instructions and test suites; hook support for preview varies by host.
Related reading
Deeper dives from the AXME blog.
Related
Related links
Ship your first durable agent — in under 10 minutes.
Free tier. No credit card. Self-host or hosted — your choice.