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

# Python SDK

> Integrate TruGen conversational video agents into Python applications.

The TruGen Python SDK lets you drive agent sessions from Python — ideal for backend orchestration, automation scripts, and server-side integrations that need to spin up or manage agents programmatically.

<Note>Detailed SDK reference and code samples are coming soon. The Python SDK is currently in preview.</Note>

## Install

```bash theme={null}
pip install trugen
```

## When to use the SDK

* **Backend orchestration** — kick off agent sessions in response to server-side events (webhooks, cron jobs, queue workers).
* **Automation scripts** — batch-create agents, load knowledge bases, or run analytics over past sessions.
* **Data science workflows** — pull session transcripts and analytics into notebooks.

## Next steps

<CardGroup cols={2}>
  <Card title="Quickstart" icon="rocket" href="/docs/sdks/python/quickstart">
    Stream your first agent from a Python application.
  </Card>

  <Card title="API Reference" icon="book" href="/api-reference/overview">
    Explore the underlying REST endpoints the SDK wraps.
  </Card>
</CardGroup>
