tenuo
Cryptographic authorization primitive for AI agents.
Overview
Tenuo implements capability tokens (Warrants) for AI agent authorization:
- Offline verification in ~27μs - no network calls
- Monotonic attenuation - delegated tokens can only shrink in scope
- Proof-of-possession - stolen tokens are useless without the private key
- Constraint types -
Exact,Pattern,Range,OneOf,Regex,Wildcard
Quick Start
use ;
// Generate keys
let issuer_key = generate;
let holder_key = generate;
// Issue a warrant
let warrant = builder
.capability
.holder
.ttl_secs
.build?;
// Verify and authorize
let authorizer = new;
authorizer.verify_and_authorize?;
Features
| Feature | Description |
|---|---|
control-plane |
Warrant issuance (default) |
data-plane |
Warrant verification (default) |
python |
PyO3 bindings |
server |
HTTP server dependencies |
Use Cases
- Sidecar authorizer - Verify warrants at the edge
- Gateway integration - Envoy/Istio external authorization
- Embedded verification - In-process authorization checks
Documentation
- tenuo.ai - Full documentation
- docs.rs/tenuo - API reference
- GitHub - Source code
License
MIT OR Apache-2.0