┌─ Getting Started ─┐
AgentLeash monitors and controls what files and resources AI coding agents access in your projects. See exactly what your agent touched, set boundaries on what it can reach, and maintain full visibility over automated changes.
The Problem
AI coding agents like Claude Code and Cursor are powerful, but they operate with broad access to your codebase. Without visibility:
[!] You don't know which files the agent actually read
[!] Sensitive files might be accessed unintentionally
[!] No audit trail for compliance or debugging
[!] Agents might modify files outside intended scope
The Solution
[1] Initialize AgentLeash in your project
[2] Define scope rules (allow, deny, warn)
[3] Run your AI agent session through AgentLeash
[4] Review the access log after the session
[5] Refine rules based on actual behavior
Quick Start
terminal
# Install the CLI $ npm install -g agentleash # Initialize in your project $ cd your-project $ leash init [/] Created .agentleash/config.yaml [/] Created .agentleash/rules.yaml # Start a monitored session $ leash watch --agent claude-code [/] Monitoring started [/] Watching: /Users/you/your-project [/] Rules loaded: 12 allow, 3 deny, 2 warn # ... run your AI agent normally ... # View the access report $ leash report [/] Session complete: 47 files accessed [/] 3 warnings triggered [/] Full report: .agentleash/reports/2026-01-28_14-32.json
Supported AI Agents
Claude CodeSupported
CursorSupported
WindsurfSupported
GitHub CopilotComing Soon
AiderSupported
ContinueComing Soon
[i] Works with any file-accessing agent
AgentLeash monitors at the filesystem level. Any tool that reads or writes files in your project directory will be tracked, regardless of native integration.