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

# SDK Reference

> The Maitai SDK, from chat completions to agents, tools, files, and logging.

The Maitai SDK is a drop-in for the OpenAI client with Maitai's routing, evaluation, and
observability built in. These pages document each capability.

## Core

<CardGroup cols={2}>
  <Card title="Model Request" icon="message" href="/sdk/chat">
    Create chat completions with Maitai metadata (Application, Intent, Session).
  </Card>

  <Card title="Structured Output" icon="brackets-curly" href="/sdk/structured_output">
    Get typed, schema-validated JSON back from a model.
  </Card>

  <Card title="Tool Calling" icon="wrench" href="/sdk/tool_calling">
    Let the model call your functions and tools.
  </Card>

  <Card title="Reasoning" icon="brain" href="/sdk/reasoning">
    Use chain-of-thought and extended thinking with one provider-agnostic API.
  </Card>
</CardGroup>

## Inputs & modalities

<CardGroup cols={2}>
  <Card title="File Inputs" icon="paperclip" href="/sdk/file_inputs">
    Send images, video, and documents to multimodal models.
  </Card>

  <Card title="Speech to Text" icon="microphone" href="/sdk/transcription">
    Transcribe audio through Maitai.
  </Card>
</CardGroup>

## Agents & evaluation

<CardGroup cols={2}>
  <Card title="Agent Call" icon="robot" href="/sdk/agent_call">
    Invoke an agent from code and pin versions or releases.
  </Card>

  <Card title="Evaluate" icon="list-check" href="/sdk/evaluate">
    Run evaluations against a request from the SDK.
  </Card>

  <Card title="Logging (BYOI)" icon="file-lines" href="/sdk/indexing">
    Run inference with your own client, then send Maitai the request/response.
  </Card>
</CardGroup>
