Documentation Index
Fetch the complete documentation index at: https://docs.langsight.dev/llms.txt
Use this file to discover all available pages before exploring further.
Usage
Options
| Option | Default | Description |
|---|---|---|
--config | auto-discovered | Path to .langsight.yaml |
--window, -w | 24h | Look-back window (24h, 7d, 30d) |
--agent, -a | all agents | Filter sessions by agent name |
--health-tag | — | Filter by health tag (v0.3): success, loop_detected, budget_exceeded, tool_failure, circuit_breaker_open, timeout, schema_drift, success_with_fallback |
--id | — | Show full multi-agent trace tree for one session |
--json | false | Output as JSON |
Session list
Single-session trace tree
Use--id to drill into a session and see the full multi-agent call tree:
🤖agent lifecycle span (start / end)🔧tool call span→handoff — agent-to-agent delegation✓success,✗failure
Filter by agent
JSON output
--id --json, the response includes the full span tree with parent_span_id fields.
Requirements
Sessions are recorded by the LangSight SDK or any OTLP-instrumented framework:Storage backend
| Backend | Sessions support | Notes |
|---|---|---|
dual (default) | Yes | Full support — Postgres metadata + ClickHouse mv_agent_sessions |
clickhouse only | Yes | Full support — mv_agent_sessions materialized view pre-aggregates session metrics |
postgres only | No | No session aggregation without ClickHouse |
docker compose up -d (default mode: dual).
Dashboard features
Thelangsight sessions CLI shows a summary. For full session debugging, open the dashboard (port 3003):
- Session detail page — click any row in the Sessions table to open
/sessions/<id> - Details tab — timeline + interactive lineage graph + node/edge inspector
- Input / Output panel (v0.13.1) — clicking an agent node in the session graph shows the human question and final answer in the right-side inspector panel, when
input=andsess.set_output()were used. See Capturing user input and agent output. - Trace tab — nested span tree with inline payloads and LLM prompt/completion panels
- Handoff edges (v0.13.1) — handoff edges in the session graph are now derived exclusively from explicit
handoffspans. The previous cross-agent inference heuristic that could inflate edge counts with shared proxies has been removed. - Incomplete badge (v0.14.1) — sessions where
input=was not passed tosession()(LLM-only sessions with no captured human prompt) show a grey Incomplete badge in the health tag column instead of appearing as silent successes with 0 tool calls.