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.
What is LangSight?
LangSight is the runtime reliability layer for AI agent toolchains. Langfuse watches the brain — prompts, completions, evals, token costs. LangSight watches the hands — the tools your agents call, their health, safety, cost, and blast radius. When your agent fails at 2 AM, LangSight tells you which tool broke, why it broke, how many agents are affected, and stops it from happening again.Where LangSight fits
| Question | Best tool |
|---|---|
| Did the prompt/model perform well? | LangWatch / Langfuse / LangSmith |
| Is my server CPU/memory healthy? | Datadog / New Relic |
| Which tool call failed in production? | LangSight |
| Is my agent stuck in a loop? | LangSight |
| Is an MCP server unhealthy or drifting? | LangSight |
| Is an MCP server exposed or risky? | LangSight |
| Why did this session cost 3? | LangSight |
| If this tool goes down, which agents break? | LangSight |
The four pillars
1. Prevent — stop failures before users notice
- Loop detection — same tool called with same args 3x → session terminated, alert fired
- Budget guardrails — max cost / max steps per session → hard stop before bill shock
- Circuit breaker — tool fails 5x → auto-disabled for cooldown → alert → auto-recovery
2. Detect — see what broke and why
- Action traces — every tool call in every session, with latency, status, cost
- Multi-agent trees — full call tree across agent handoffs
- Run health tags — every session auto-classified:
success,success_with_fallback,loop_detected,budget_exceeded,tool_failure,circuit_breaker_open,timeout,schema_drift
3. Monitor — MCP health + security
- MCP health checks — continuous ping, latency, uptime tracking
- Schema drift detection — tool schemas change → alert fires before agents hallucinate
- Security scanning — CVE (OSV), OWASP MCP Top 10, tool poisoning, auth audit
4. Map — blast radius via lineage
- Lineage DAG — which agents call which tools
- Blast radius — if this tool goes down, what else breaks?
- Impact alerts — enriched with affected agents and session counts
What you can observe per tool type
| Tool type | Trace | Health check | Security scan | Cost | Guardrails |
|---|---|---|---|---|---|
| MCP servers | Yes | Yes | Yes | Yes | Yes |
| HTTP APIs | Yes | — | — | Yes | Yes |
| Python functions | Yes | — | — | Yes | Yes |
| Sub-agents | Yes | — | — | Yes | Yes |
How it works

Installation
Quickstart →
Get from install to your first guarded agent trace in 5 minutes.
Integrations
| Framework | Integration |
|---|---|
| LangGraph | LangSightLangGraphCallback |
| LangChain / Langflow | LangSightLangChainCallback |
| OpenAI / Anthropic / Gemini SDK | wrap_llm() |
| CrewAI | LangSightCrewAICallback |
| OpenAI Agents SDK | LangSightOpenAIHooks |
| Anthropic / Claude Agent SDK | AnthropicToolTracer |
| Pydantic AI | @langsight_tool decorator |
| Claude Desktop / Cursor / VS Code | Auto-discovered by langsight init |
| Any OTEL framework | OTLP endpoint |
Open source
LangSight is Apache 2.0 licensed — free to use, modify, and distribute.