Skip to main content

Python SDK Reference

This reference documents the Synth AI Python SDK, auto-generated from source docstrings.

Status Legend

Pages are tagged with their stability status:

Experimental

Early-stage features available by request. APIs may change significantly.

Alpha

Generally available but actively evolving. APIs may have breaking changes.

Beta

Stable APIs with minor changes possible. Suitable for production with caution.

Stable

Production-ready APIs with backwards compatibility guarantees.

Module Overview

Training APIs

ModuleStatusDescription
GraphGenAlphaAutomated design of agentic systems
Prompt LearningAlphaGEPA (Alpha) and MIPRO (Experimental) prompt optimization
RL/GSPOExperimentalReinforcement learning training
SFTExperimentalSupervised fine-tuning

Inference APIs

ModuleStatusDescription
Graph CompletionsAlphaGraph inference (policies, verifiers, RLM)

Evaluation APIs

ModuleStatusDescription
EvalAlphaTask app rollout evaluation

Task & Environment

ModuleDescription
Task AppTask application framework
In-Process TaskIn-process task execution