synth-ai 0.9.1

Rust SDK for Synth AI - serverless post-training APIs
Documentation

synth-ai (Rust SDK)

Canonical Rust SDK for Synth, aligned to the same namespace model as the Python SDK.

Installation

cargo add synth-ai

Or in Cargo.toml:

[dependencies]
synth-ai = "0.9.1"

Quick Start

use synth_ai::SynthClient;

#[tokio::main]
async fn main() -> Result<(), synth_ai::Error> {
    let client = SynthClient::from_env()?;

    let systems = client.optimization().systems().list(None).await?;
    println!("systems={}", systems.items.len().max(systems.data.len()));

    Ok(())
}

Canonical Namespaces

  • client.optimization()
  • client.inference()
  • client.graphs()
  • client.verifiers()
  • client.pools()
  • client.containers()
  • client.tunnels()

Contract Source of Truth

  • OpenAPI: openapi/synth-api-v1.yaml
  • Container contract: openapi/container-contract-v1.yaml

Links