Welcome to Thoth Docs
Runtime action governance for AI agents with SDK, control-plane, Terraform, and Pulumi documentation.
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 the Thoth Control Plane API to bootstrap tenant settings, webhooks, and MDM sync. - Terraform for IaC workflows: Use the Thoth Terraform Provider to manage control-plane resources as code.
- Pulumi for IaC workflows: Use the Thoth Pulumi Provider to manage control-plane resources in Pulumi programs.
- Kubernetes-native reconciliation: Use the Thoth Kubernetes Operator for cluster-local, GitOps-managed tenant reconciliation.
- Native security stack integration: Stream events to your SIEM/SOAR and connect identity/admin systems through integration APIs.
- Automation-first operations: Use Headless operations for API-driven and CI/CD-driven reconciliation.
Current stable versions
As of June 8, 2026:
| Component | Stable version | Release tag |
|---|---|---|
Thoth binary line (thoth + thothctl) | v0.3.4 | thoth/v0.3.4 |
| Go SDK | v0.1.15 | sdk/go/v0.1.15 |
| Python SDK | v0.5.11 | sdk/python/v0.5.11 |
| TypeScript SDK | v0.5.11 | sdk/npm/v0.5.11 |
| Terraform Provider | v0.1.11 | provider/terraform/thoth/v0.1.11 |
| Pulumi Provider | v0.1.11 | provider/pulumi/thoth/v0.1.11 |
| Kubernetes Operator | v0.1.0 | platform/public/thoth-operator@0.1.0 |
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.
Infrastructure as Code
- Terraform Provider: Get started
- Terraform Registry:
registry.terraform.io/providers/atensecurity/thoth/latest - Pulumi Provider: Get started
- Pulumi package:
pulumi.com/registry/packages/thoth - Kubernetes Operator: Get started
Key Concepts
- Tool Wrapping — Check policy before execution and emit evidence after execution.
- Enforcement Modes —
block(default),step_up,progressive, orobserve. - 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.