Start here
Quickstart
Install the SDK and send your first trace in under 10 minutes.
Core concepts
Understand traces, spans, sessions, evals, feedback, and metrics.
SDKs
Python SDK
pip install trulayer — auto-instrumentation for OpenAI, Anthropic, LangChain.TypeScript SDK
npm install @trulayer/sdk — zero-dependency, Node/Edge/Bun compatible.Go SDK
go get github.com/trulayer/client-go — zero-dependency, goroutine-safe.Reference
HTTP API
Every endpoint, request shape, and response — auto-generated from our OpenAPI spec.
Dashboard
Traces, evals, metrics, failures, and team settings.
What TruLayer gives you
- Observability — full trace capture (prompt → tools → outputs), session replay, failure classification.
- Evaluations — automated eval pipelines with metrics for correctness, hallucination, and safety; regression testing against datasets.
- Debugging — step-by-step reasoning inspection, tool-call validation, error clustering.
- Feedback — user feedback ingestion, auto-labeling, continuous dataset generation.
- Control — real-time failure detection, auto-retry and fallback strategies, dynamic model routing.
New here? The Quickstart gets you from zero to a trace in the dashboard in under 10 minutes. If you prefer to understand the model before writing code, start with Core concepts.