Agent SLOs
An Agent SLO (Service Level Objective) defines a performance target for a specific agent. LangSight evaluates SLOs continuously against live session data and shows breaches on the Overview dashboard.SLO types
| Metric | What it measures | Target format |
|---|---|---|
success_rate | % of sessions tagged success or success_with_fallback in the evaluation window | percentage 0–100 (e.g. 95.0) |
latency_p99 | 99th percentile session duration in milliseconds | milliseconds (e.g. 5000) |
Creating an SLO
From the Agents page (recommended)
Open the Agents page, click an agent row to open the detail panel, then select the SLOs tab. Click + Add SLO, choose a metric, set your target and window, and click Create SLO. The new SLO appears immediately with its evaluated status — no API call required. For a full walkthrough of the form fields and target guidance, see Configuring SLOs.Via API
Checking SLO status
ok | breached | no_data
Dashboard
The Overview page shows an “Agent SLOs” panel when SLOs are defined. Each row shows the agent, metric, target, current value, and a colour-coded status dot (green = ok, red = breached, grey = no data).API reference
| Endpoint | Description |
|---|---|
GET /api/slos | List all SLO definitions |
POST /api/slos | Create a new SLO |
GET /api/slos/status | Evaluate all SLOs against current data |
DELETE /api/slos/{id} | Delete an SLO |