Sign up
Create your account at agentvista.dev. The free tier gives you 3 agents and 500 runs per month — no credit card required.
Create an API key
In the dashboard, go to Settings → API Keys → Create Key. Give it a name (e.g.,
dev) and select the write scope.Your key will look like av_a1b2c3d4... (64 hex characters after the prefix).Initialize at startup
Call
agentvista.init() once when your application starts — before any agents run.Instrument your agent
Add the
@agentvista.trace_agent decorator to any function that runs your agent logic. Every call becomes a trace in the dashboard.If AgentVista is unreachable, your agent continues normally. The SDK drops events silently — it never blocks or crashes your application.
Set an outcome
Tell AgentVista whether a run succeeded. Use therun() context manager for explicit control:
Next steps
Tracing
Explore decorators, context managers, child spans, and distributed tracing.
Anthropic Adapter
Auto-capture token counts and cost from Claude responses.
OpenAI Adapter
Auto-capture token counts and cost from OpenAI responses.
OpenTelemetry
Send infrastructure metrics and logs alongside your agent traces.