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 GovAPI instead of a UI.
Store the returned api_key in your secret manager. It is shown once.
Python
Requirements: Python 3.10+
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.21+
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
Sub-path integrations: