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

# What is AgentBasis?

> Management and observability platform for AI agents in production

AgentBasis is an observability platform designed specifically for AI agents. It helps you monitor, debug, and optimize your agents in production by providing deep visibility into every interaction.

## Dashboard Features

### Traces

View detailed execution traces showing the complete flow of your agent's logic. Each trace includes:

* Input/output for every step
* Token usage and latency
* Error states and stack traces
* Parent-child span relationships

### Sessions & Conversations

Group related interactions together to understand user journeys and debug multi-turn conversations.

### Analytics

Track key metrics over time:

* Total requests and error rates
* Token usage by model
* Average latency
* Cost per agent

## How It Works

The AgentBasis SDK uses **OpenTelemetry (OTel)** under the hood, the industry standard for observability.

```
Your App → AgentBasis SDK → OpenTelemetry → AgentBasis Backend → Dashboard
```

1. **Instrument your code** with a single function call per LLM provider or framework
2. **Data is batched** and sent asynchronously (minimal latency impact on your app)
3. **View traces** in the AgentBasis dashboard in real-time

Because we use OpenTelemetry, your data is portable and can be sent to any OTel-compatible backend.

## Use Cases

<CardGroup cols={2}>
  <Card title="Production Monitoring" icon="chart-line">
    Track agent performance, error rates, and costs in real-time
  </Card>

  <Card title="Debugging" icon="bug">
    Trace issues back to specific users, sessions, or inputs
  </Card>

  <Card title="Cost Optimization" icon="dollar-sign">
    Identify expensive prompts and optimize token usage
  </Card>

  <Card title="Compliance" icon="shield-check">
    Audit logs of all AI interactions with user context
  </Card>
</CardGroup>

## Next Steps

<CardGroup cols={2}>
  <Card title="Quick Start" icon="bolt" href="/sdk-reference/quickstart">
    Install the SDK and start tracking in 5 minutes
  </Card>

  <Card title="API Reference" icon="code" href="/sdk-reference/api-reference">
    Complete list of all SDK functions
  </Card>
</CardGroup>
