Python SDK — 3 lines to instrument your agent
# Before
response = openai.chat.completions.create(...)
# After — full observability, circuit breakers, replay
from agent_sentinel import AgentTracer
tracer = AgentTracer(endpoint="https://agentsentinelai.com/api/agent/spans")
with tracer.trace("my-agent", session_id=sid) as trace:
with trace.span("llm_call", model="gpt-5.2") as span:
response = openai.chat.completions.create(...)
span.set_tokens(prompt=response.usage.prompt_tokens, ...)