> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tracelm.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Overview

> TraceLM is the reliability layer for AI agents: tracing, failures, loops, context-loss, and unnecessary tool-call detection

# Welcome to TraceLM

TraceLM gives you full visibility into agent behavior, not just prompt/response logs.

TraceLM is built for reliability-first observability:

* Full task timelines across traces and tool calls
* Tool-call failure visibility (explicit, semantic, silent)
* Deadlock/loop detection with severity
* Context-loss detection across conversations
* Unnecessary tool-call detection via feedback loops

<CardGroup cols={2}>
  <Card title="Quick Start" icon="rocket" href="/introduction/quickstart">
    Get to your first reliability signal in under 5 minutes.
  </Card>

  <Card title="Python SDK" icon="python" href="/sdks/python">
    OpenAI-compatible client with task and conversation tracking.
  </Card>

  <Card title="TypeScript SDK" icon="js" href="/sdks/typescript">
    Type-safe SDK with the same reliability workflows.
  </Card>

  <Card title="API Reference" icon="code" href="/api-reference/overview">
    Integrate directly over HTTP with clear endpoint contracts.
  </Card>
</CardGroup>

## Reliability-First Workflow

<Steps>
  <Step title="Instrument">
    Route model traffic through TraceLM with an SDK or direct API calls.
  </Step>

  <Step title="Group Execution">
    Use task and conversation IDs to capture complete execution cycles end to end.
  </Step>

  <Step title="Run Detection">
    Use `task.complete()` or `/api/v1/tasks/{task_id}/detect`.
  </Step>

  <Step title="Review Reliability Signals">
    Review loops, failures, context-loss, and unnecessary-tool patterns.
  </Step>
</Steps>

## What TraceLM Adds

<CardGroup cols={2}>
  <Card title="Execution Timeline" icon="timeline">
    See ordered trace/tool/loop events via `/api/v1/tasks/{task_id}/timeline`.
  </Card>

  <Card title="Failure Analytics" icon="triangle-exclamation">
    Track explicit, semantic, and silent tool failures per task.
  </Card>

  <Card title="Context Health" icon="brain">
    Conversation-level context failures and health scoring.
  </Card>

  <Card title="Feedback Loop" icon="comment-check">
    Label tool calls as unnecessary and monitor pattern confidence.
  </Card>
</CardGroup>
