Belay: Your safety system for agentic coding
Belay is a free, open-source CLI tool that automatically captures every file change between git commits. When an AI agent goes sideways, restore any file to any previous state in one command.
Features
- Continuous file capture: every write journaled instantly
- Session attribution: changes tagged to the AI session that made them
- Conflict detection: real-time alerts for multi-session file conflicts
- Instant recovery: restore any file to any previous state in one command
- Zero intrusion: passively observes, never modifies your tools
- Zero config: point at a directory, it works. Data stays local.
Get Started
- Run
belay init in your project
- Code with AI agents. Belay watches silently
- Run
belay restore to recover any file