How do you add CloudByte AI to an agent?
Install one package, give the agent its own key and wrap each run in a span. Calls through OpenAI, Anthropic and LangChain or LangGraph can be recorded automatically, and anything else takes a few lines of code.
- pip install cloudbyte-tracer on Python 3.10+, npm install cloudbyte-tracer on Node.js 20+
- One key per agent, read from CLOUDBYTE_AGENT_KEY and never pasted into source files
- Auto-capture for OpenAI, Anthropic and LangChain or LangGraph calls
- No runtime dependencies in the core package
$pip install cloudbyte-tracer
from cloudbyte_tracer import init tracer = init() # reads CLOUDBYTE_AGENT_KEY with tracer.span("triage-ticket", kind="agent", input=ticket) as run: with tracer.span("lookup-customer", kind="tool") as step: step.set_output(customer) run.set_output(reply) tracer.shutdown()
Agents you build