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

# Welcome to Traceback

> Real-time error monitoring, AI root-cause analysis, and distributed observability for modern applications.

Traceback is a developer-first observability and debugging platform built to capture exceptions, inspect distributed execution paths, and pinpoint the exact line of code responsible for failures in production.

Our automated AI reasoning engine analyzes crash contexts, symbolicated stack traces, and session replays to diagnose regressions in seconds instead of hours.

<CardGroup cols={3}>
  <Card title="Stack Traces" icon="code-branch" href="/core-concepts/stack-traces">
    Zero-overhead runtime capturing with automatic source map symbolication.
  </Card>

  <Card title="AI Root Cause" icon="microchip-ai" href="/core-concepts/ai-root-cause">
    Context-aware diff analysis and automated fix recommendations for every incident.
  </Card>

  <Card title="Session Replay" icon="film" href="/core-concepts/session-replay">
    Pixel-perfect DOM playback and user action streams synchronized with error timelines.
  </Card>
</CardGroup>

***

## Pick your platform

Get up and running with the Traceback SDK in under two minutes for your stack.

<CardGroup cols={3}>
  <Card title="Web & React" icon="browser" href="/sdks/react">
    React, Next.js, Vue, and vanilla browser JavaScript with automatic error boundaries and session recording.
  </Card>

  <Card title="Node.js & Backend" icon="node-js" href="/sdks/javascript">
    TypeScript and Node.js microservices with OpenTelemetry context propagation and breadcrumb capture.
  </Card>

  <Card title="Python" icon="python" href="/sdks/python">
    FastAPI, Django, Flask, and background worker instrumentations with async stack unrolling.
  </Card>

  <Card title="Go" icon="golang" href="/sdks/go">
    Native goroutine panic recovery, HTTP middleware, and structured gRPC tracing.
  </Card>

  <Card title="Rust" icon="rust" href="/sdks/rust">
    Zero-cost panic hooks, backtrace captures, and async tokio task tracing.
  </Card>

  <Card title="Mobile & Native" icon="mobile" href="/sdks/react-native">
    React Native, iOS (Swift), and Android (Kotlin) crash reporting with offline buffering.
  </Card>
</CardGroup>

<Info>
  **Building on Serverless or Edge?** Traceback has zero-cold-start bindings for [Cloudflare Workers](/sdks/cloudflare-workers), [Next.js Edge](/sdks/nextjs), and [AWS Lambda](/sdks/aws-lambda).
</Info>

***

## Core Capabilities

```mermaid theme={null}
graph LR
    A[Client / App] -->|Captures Errors & Spans| B(Traceback Ingestion Engine)
    B --> C{AI Diagnosis Engine}
    C -->|Symbolicate & De-duplicate| D[Live Dashboard]
    C -->|Correlate Logs & Traces| E[Session Replay]
    C -->|Alert Routing| F[Slack / PagerDuty / Linear]
```

<Steps>
  <Step title="Initialize the SDK">
    Add the lightweight SDK to your application. Setup requires only your project DSN.

    ```bash theme={null}
    npm install @traceback/browser
    ```
  </Step>

  <Step title="Capture Unhandled & Handled Errors">
    Traceback automatically captures unhandled rejections, uncaught exceptions, and custom breadcrumbs.

    ```typescript theme={null}
    import * as Traceback from "@traceback/browser";

    Traceback.init({
      dsn: "https://tb_live_k82019482@ingest.traceback.dev/942",
      environment: "production",
      tracesSampleRate: 1.0,
      replaysSessionSampleRate: 0.1,
      replaysOnErrorSampleRate: 1.0
    });
    ```
  </Step>

  <Step title="Inspect Root Cause in Seconds">
    When an incident occurs, view the symbolicated stack trace, network requests, console logs, and AI root cause summary directly in your [dashboard](https://app.traceback.dev).
  </Step>
</Steps>

***

## Next Steps

<CardGroup cols={2}>
  <Card title="5-Minute Quickstart" icon="bolt" href="/quickstart">
    Follow the step-by-step tutorial to configure your first application.
  </Card>

  <Card title="CLI Reference" icon="terminal" href="/cli/overview">
    Upload source maps, run local simulations, and manage project secrets from your terminal.
  </Card>

  <Card title="Distributed Tracing" icon="network-wired" href="/core-concepts/distributed-tracing">
    Trace requests end-to-end across frontend, backend microservices, and databases.
  </Card>

  <Card title="API Reference" icon="code" href="/api-reference/introduction">
    Programmatically query events, manage alerts, and trigger diagnostics via REST.
  </Card>
</CardGroup>
