Installation
Install the Thoth SDK for Python, Go, or TypeScript and configure your API key.
If you are deploying Thoth across managed endpoints, start with the Deployment Guides and Claude Desktop Fleet Configuration.
Prerequisites
You need a tenant, an API key, and the enforce URL for your environment.
If your security team already provisions keys through secrets management, use that key directly.
Headless key creation (control-plane API)
If you run fully headless, create keys through the Thoth Control Plane API instead of a UI.
For CI/CD pipelines, export the returned key as THOTH_API_KEY.
Store returned api_key in your secret manager. It is shown once.
Python
Requirements: Python 3.12+
Pin to the current stable SDK release:
Or with Poetry:
Verify install:
Framework integrations
- Anthropic Claude —
instrument_anthropic() - OpenAI —
instrument_openai() - LangChain / LangGraph — auto-detected by
instrument() - CrewAI — auto-detected by
instrument()
Go
Requirements: Go 1.25+
Pin to the current stable SDK release:
Import:
Environment fallbacks are applied automatically (THOTH_API_KEY, THOTH_API_URL, THOTH_TENANT_ID, THOTH_AGENT_ID).
TypeScript / Node.js
Requirements: Node.js 18+, TypeScript 5.x
Pin to the current stable SDK release:
Sub-path integrations:
Proxy and CLI line (thoth + thothctl)
For MCP gateway and operator CLI workflows, install the Thoth binary line from
thoth/v* releases (current stable: thoth/v0.3.4).
- Claude Desktop Proxy install guide →
- Enterprise release channels + verification →
- Headless Operations with thothctl →