Logs, metrics & alerts
Metrics
Section titled “Metrics”Every deployment’s page shows, with no setup:
- Uptime — the platform calls
healthPathevery minute.
With the observability SDK (assistants have it built in) you also get:
- Request volume and error rate
- p50 / p95 / p99 latency
- LLM cost and tokens per model
- Tool usage
- A trace waterfall — see Tracing
- A Safety section when guardrails are on
Data is kept for 14 days.
Logs come from the cloud’s own service — CloudWatch, Cloud Logging, Log Analytics — or the container on-prem.
agent-platform logs <deployment-id> # recent linesagent-platform logs <deployment-id> --follow # liveagent-platform logs <deployment-id> --level warn --search timeout --since 1h --limit 200The deployment page shows the same logs with level and search filters, re-reading every 5 seconds while it’s open.
Assistants write one readable line per step:
[info] chat: "Who was Ada Lovelace?" (1 message)[info] model openai/gpt-4o-mini step 1: 640ms, 1374 in / 41 out tokens, tool calls: wikipedia[info] tool wikipedia({"title":"Ada_Lovelace"}) ok in 212ms: {"type":"standard",...[info] model openai/gpt-4o-mini step 2: 820ms, 2210 in / 126 out tokens, final answer[info] POST /chat -> 200 in 1702msFailed tools are [warn], model errors [error]. With safety: on, message and tool text is replaced by
[hidden: safety on] so personal data doesn’t reach your cloud logs. ASSISTANT_LOG=off turns these logs off.
Alerts
Section titled “Alerts”monitoring: enabled: true alerts: errorRate: "1%" latencyP99: "500ms" webhookUrl: https://hooks.slack.com/services/... # Slack or Microsoft Teams, https onlyAlerts appear on the deployment page, where you can acknowledge them, and are sent to the webhook.