Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.trulayer.ai/llms.txt

Use this file to discover all available pages before exploring further.

TruLayer is a reliability platform for AI applications. Instrument your app with one of our SDKs, and you get end-to-end traces of every prompt, tool call, retrieval, and response — plus automated evaluations, user feedback capture, and real-time failure detection.

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.

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.