Capturing a conversation takes a few seconds. Findings (patterns, severity, tiered evidence) only appear after you click Run Analysis on the agent page — calado doesn’t start LLM classification automatically on ingest, so you stay in control of when analysis cost is incurred.
Prerequisites
Before you start, you need:- A calado account with access to at least one organization.
- An existing Anthropic or OpenAI client in your app — calado wraps it, it doesn’t replace it.
- Node.js 18+.
1. Create an agent and grab your API key
Sign in
Open the calado dashboard and sign in to your organization.
Create an agent
Click New agent from the dashboard. Give it a name that matches the agent you’re monitoring.
2. Install the SDK
pnpm add calado and yarn add calado.
3. Wrap your client
calado works by returning a Proxy over your existing Anthropic or OpenAI client. No code changes beyond two lines.flush() forces the queue to send now — important in scripts and serverless, harmless in long-running servers.
Running in a serverless environment? Functions freeze between invocations, so you need to flush explicitly before returning. See Serverless patterns.
4. See your conversation in the dashboard
The SDK batches events and flushes every 5 seconds by default. After your first call, wait a few seconds, then open your agent in the dashboard. You’ll see your conversation appear under the agent’s conversations list with apending classification status. It’s stored, but no classification or findings will appear until you trigger analysis in the next step — calado never runs LLM classification on ingest.
If nothing shows up, call await calado.flush() manually to force a send, or check calado.status() for transport errors.
5. Run analysis to get findings
Ingestion and analysis are intentionally decoupled. Calado stores conversations immediately but waits for you to trigger analysis so you decide when LLM cost is incurred.Open your agent
Go to your agent page in the dashboard.
Click Run Analysis
Use the Run Analysis button on the agent page. This queues Stage 0 (spec assessment) and Stage 1 (per-conversation triage), then cascades to Stage 2 pattern synthesis.
You’ll need to click Run Analysis again after ingesting new conversations or updating agent definitions to re-classify against the new state.
Next steps
Full SDK guide
Conversation context, streaming, configuration, runtime behavior.
Serverless patterns
Flush the queue before your function freezes.
Direct API
Raw HTTP contract for when you can’t use the SDK.
Troubleshooting
Common issues and how to fix them.