The problem
AI agents are crossing from demos to production. Every major company is deploying agents that can execute code, access databases, call APIs, and interact with production systems. This creates a massive trust gap:- Agents can
rm -rf /your filesystem - Agents can read
.envand exfiltrate secrets - Agents can push untested code to main
- Agents can make network requests you never see
- Agents can run indefinitely without human approval
The solution
Veto provides a simple, declarative way to govern agent behavior:How it works
Veto intercepts and validates
Veto intercepts the call before execution. It evaluates deterministic conditions first (local, zero latency), then optionally uses LLM validation for semantic rules.
Key features
Deterministic-first
Static conditions run locally, zero latency, no API call. LLM validation only when you need semantic reasoning.
Provider agnostic
Works with OpenAI, Anthropic, Google, LangChain, Vercel AI SDK, and any custom tool-calling setup.
Human-in-the-loop
ask action routes sensitive decisions to an approval queue instead of auto-blocking.Audit trail
Every decision logged with tool name, arguments, rule matched, and outcome. Exportable as JSON or CSV.
Local-first
No cloud required. Fully offline. Optional Veto Cloud for team sync and dashboard.
Zero-config defaults
veto init generates sensible baseline rules. Production-hardened in under 10 minutes.Simple rules, powerful control
Rules are YAML files in./veto/rules/. Static conditions run locally with no API call. LLM validation is opt-in for semantic rules.
Actions available:
block · allow · warn · log · ask (human-in-the-loop)Packages
Next steps
Quickstart
Get started with Veto in under 5 minutes
Installation
Detailed installation and setup guide
Configuration
Learn about veto.config.yaml and rule structure
Examples
Real-world examples with LangChain, OpenAI, and more
Veto Cloud
The OSS SDK runs entirely local. Veto Cloud adds:- Natural language → policy YAML (no manual YAML writing)
- Central policy sync across all team repos
- Dashboard: decisions, blocked calls, pending approvals
- Approval workflows for human-in-the-loop at scale
- SSO, audit export, compliance reporting

