Quickstart

Governed in 5 minutes

4 steps. No API keys. No external services. Works with your existing agent framework.

Install → 30sCreate → 1mRegister → 1mEnforce → 2m
1

Install

30 seconds
ts
Zero runtime dependencies. TypeScript types included. Works in Node.js, Bun, edge runtimes.
2

Create a governance instance

1 minute
ts
No storage config needed for development — defaults to in-memory with zero setup.
3

Register your agent

1 minute
ts
Score is computed from 7 governance dimensions. Run gov.register() once at agent startup.
4

Enforce before every tool call

2 minutes
ts
enforce() runs in-process and writes to the audit trail automatically.
You're governed.

Every tool call is now policy-evaluated before execution, written to a tamper-evident audit trail, and contributing to your agent's governance score.