kvlar-core
Core policy engine for Kvlar. Evaluates agent actions against YAML-based security policies. Pure logic — no I/O, no async, fully deterministic.
Architecture
- Policy: A set of rules defining what agents can and cannot do
- Action: A description of something an agent wants to do (tool call, data access, etc.)
- Decision: The engine's verdict — Allow, Deny, or RequireApproval
- Engine: Evaluates actions against loaded policies