Tenuo is a system that provides task-level authorization for AI agents. It lets each task receive only the permissions it needs, with permissions traveling with the workflow, only narrowing at handoffs, and being checked where actions are executed. Tenuo works with existing identity and policy systems.
Purpose
Tenuo addresses the problem of permission control for AI agents during delegation and tool invocation. Traditional IAM answers "who are you"; Tenuo answers "what can this workload do right now in the current task". Agents can still freely plan and choose tools, but credentials remain in effect after they make their choices.
Key Capabilities
- Cryptographic Credentials (Warrant): A signed authorization that lists the tools an agent can invoke, parameter constraints, and validity period. Like a prepaid card for a single task. Sensitive operations can also require signed human approval.
- Holder Binding: Each credential specifies a public key, and every invocation carries a signature from that key over the credential, tool, exact parameters, and a short time window. Copying the credential without the key is useless.
- Offline Verification: Credentials carry their own authorization and signatures, and checks require no lookups or network, take less than 50 microseconds, and can still be performed when the control plane is down.
- Monotonic Attenuation: During delegation, child credentials are generated that are signed by the holder of the parent credential. Verifiers traverse the entire chain from trusted root to leaf, and each link can only drop tools, tighten constraints, or shorten the validity period; child credentials cannot exceed parent credentials. Tenuo calls this "subtractive delegation".
- Resistance to Prompt Injection: Checks occur at the tool boundary, based on the actual parameters after the model chooses an invocation, without asking the model. A hijacked agent can only initiate invocations that its credentials already allow.
- Signed Authorization Receipts: Optionally generated, used to show why an invocation was allowed or denied.
Usage
Tenuo provides Python, TypeScript, and Rust SDKs. The core is a Rust implementation, on which the Python and TypeScript SDKs are built.
- Python: Use the
@guarddecorator to protect functions, with credentials limiting the tools that can run and the parameters they can receive.dev_mode=Trueis for local development only, and relaxes trust root and audit log checks. Production environments must follow the production guide. - MCP Servers: Run the same checks on an MCP server. The server trusts the issuer's public key, the agent sends credentials and proof of possession with tool invocations, and verification is performed locally.
- Delegation: An orchestrator can only narrow the permissions passed to a worker. Adding tools or loosening constraints will fail. If a child credential's validity period exceeds the parent's remaining time, it is truncated to the parent's expiration time. The same chain can work across MCP, A2A, HTTP, or workflow engines, with verification performed at the final hop.
- Rust: The core crate is the protocol,
sdkfeature is the execution plane, including guards invoked by pre-run checks, the authority that binds the credential chain to signing keys, cryptographic delegation, observation mode, and MCP and HTTP transports. Closures run only after being allowed. Guards without a trust root or revocation policy cannot compile. - Deployment options: Can be deployed in-process, as a sidecar, or at the gateway. Official Docker images and Helm charts are provided, and can run the orchestrator→worker→authorizer stack.
Applicable scenarios
- Task delegation in multi-agent systems, ensuring each handoff carries only the permissions required for the task.
- AI workflows that need to prevent privilege escalation.
- Scenarios requiring fine-grained parameter constraints on tool calls.
- Need to audit and record evidence of allowed or denied calls.
- Passing permissions across boundaries in MCP, A2A, HTTP, or workflow engines.
Limitations
- Not a sandbox: Tenuo authorizes calls; if isolation is needed, run the process in a container or virtual machine.
- Not prompt engineering: The tool boundary checks credentials and parameters.
- Not an LLM filter: Checks occur at execution time, reading the tool name and parameters.
- Does not replace IAM: Tenuo sits above identity.
- The self-hosted core and sidecar are Apache-2.0, run entirely within the user's infrastructure, and make no external calls during verification. Tenuo Cloud is in public beta, offering managed issuance, key rotation, managed SRL distribution, an observability dashboard, and multi-tenant isolation.
- Current status v0.2, production/stable, with stable core semantics.
Other information
Tenuo is based on the capability token ideas described in CaMeL (Debenedetti et al., 2025), and is inspired by Macaroons, Biscuit, and UCAN. The token format and delegation protocol are being standardized in the IETF OAuth working group as draft-niyikiza-oauth-attenuating-agent-tokens-01. The core attenuation rules have been formally verified with Alloy and Z3. The project provides an AI agent delegation security lab, including five main levels and two optional bosses, which can run offline without an API key.