AI agent self-governance framework. Guardrails born from real mistakes, skills that mature through practice, and a feedback loop that makes agents safer over time.
uv run --with pyyaml python3 engine/guardrails.py check "deploy code to production"
uv run --with pyyaml python3 engine/guardrails.py stats
uv run --with pyyaml python3 engine/skill_runner.py run <skill-name>
cd dashboard && python3 -m http.server 8077
Ships with common-sense rules. Agents add their own as they learn from mistakes — every guardrail should trace back to a real incident.
| Level | Name | Description |
|---|---|---|
| L0 | Prose | Markdown docs, memory notes |
| L1 | Recipe | Structured YAML pseudo-flow |
| L2 | Script | Python/bash with error handling |
| L3 | Native | Compiled, registered as tool |
Agent Action → Guardrails Check → Auth Gate → Execute Skill → Log Outcome → Feedback Loop
↑ ↓
└──────────── Rule weights adjusted ←──────────────────────────┘