Set up with an AI coding tool
Install Bento’s Agent Skills so your AI coding tool knows how to wire up the SDK. Copy this prompt into Claude Code, Cursor, Codex, OpenCode, or Windsurf:bento.instrument() or bento.track_ai, and verifying the first trace lands. Prefer to do it by hand? The rest of this page walks the same steps manually.
Requirements
Python 3.10 or higher.Install
opentelemetry-api or opentelemetry-sdk separately.
Set your API key
Sign in at platform.bentolabs.ai and create a workspace. Copy the API key from settings. Keys start withbl_pk_ and the prefix is validated by the SDK, so a clearly-bad key fails before any network request goes out.
bento.init(api_key="bl_pk_...").
Send a test trace
Pick the one that matches your stack. Google ADK:Next
Export from any framework
Already on LangChain, LlamaIndex, or a TS framework? Point its exporter at Bento.
Integrations
Trace Google ADK with one line.
Manual tracking
Wrap OpenAI / Anthropic / Bedrock / Vertex calls.
Configuration
Identity getters, env vars, lifecycle.
Custom properties
Tag spans with experiment IDs, feature flags, anything.