Skip to main content
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.
Detailed SDK reference and code samples are coming soon. The Python SDK is currently in preview.

Install

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

Quickstart

Stream your first agent from a Python application.

API Reference

Explore the underlying REST endpoints the SDK wraps.