Skip to main content
Official Python SDK for reliability-first observability in production agents.

Install

Quick Start

Providers

TraceLM supports provider="openai" | "anthropic" | "google" and can route through /v1/chat/completions with provider-normalized behavior. You can also use provider-specific clients:
  • AnthropicTraceLM
  • GeminiTraceLM

Reliability-First Onboarding

  1. Create project + API key.
  2. Send one traced request.
  3. Open /dashboard/first-run.
  4. Confirm your first reliability signal.

Task Grouping + Detection

Manual Detection (No Completion)

Conversation Tracking

Query APIs

Use these queries to move from individual traces to execution-level diagnosis.

Environment Variables

Notes

  • task.complete() returns None if the backend task record does not exist yet.
  • Use run_detection=False for completion without re-running detection.
  • Detection results are stored in task metadata under detection_results.