Welcome to Thoth SDK
Runtime action governance for AI agents — enforce decisions before execution and generate audit-grade evidence for regulated workflows.
What is Thoth?
Thoth is Aten Security's open-source runtime action governance layer for AI agents. It sits in the execution path, checks policy before a tool call runs, and writes an evidence record after the call completes.
Use it when you need to control what agents can do in production, not just what prompts they can read.
Category framing:
- Broad: Runtime Action Governance for AI Agents
- Wedge: Runtime Action Governance for Regulated AI Workflows
Headless-first model
Thoth is built to run without a UI dependency.
- Browser and MCP first: Start with Claude Desktop Proxy to govern MCP tool calls on endpoints.
- Control plane via CLI/API: Use
thothctland GovAPI to bootstrap tenant settings, webhooks, and MDM sync. - Native security stack integration: Stream events to your SIEM/SOAR and connect identity/admin systems through integration APIs.
- GitOps-first operations: Use Headless GitOps support for Terraform, Pulumi, Argo CD, and API-driven reconciliation.
SDKs
| SDK | Package | Enforcement | Event Emission |
|---|---|---|---|
| Python | aten-thoth (PyPI) | Yes | Yes |
| Go | github.com/atensecurity/thoth-go | Yes | Yes |
| TypeScript | @atensec/thoth (npm) | Yes | Yes |
All SDKs share the same shape: instrument tools, enforce decisions, emit evidence.
Key Concepts
- Tool Wrapping — Check policy before execution and emit evidence after execution.
- Enforcement Modes —
observe,progressive,step_up, orblock. - Step-Up Auth — Pause high-risk calls until an approver responds.
- Sessions — Keep policy and evidence scoped to one workflow execution.
Quick Example
Authentication
SDKs read THOTH_API_KEY from the environment by default.