Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Synth

Python PyPI PyPI Dev License Coverage Tests

Serverless Posttraining APIs for Developers

Shows a bar chart comparing prompt optimization performance across Synth GEPA, Synth MIPRO, GEPA (lib), DSPy MIPRO, and DSPy GEPA with baseline vs optimized.

Average accuracy on LangProBe prompt optimization benchmarks.

Highlights

  • 🚀 Train across sft, RL, and prompt opt by standing up a single cloudflared Fastapi wrapper around your code. No production code churn.
  • ⚡️ Parallelize training and achieve 80% GPU util. via PipelineRL
  • 🗂️ Train prompts and models across multiple experiments
  • 🛠️ Spin up experiment queues and datastores locally for dev work
  • 🔩 Run serverless training via cli or programmatically
  • 🏢 Scales gpu-based model training to 64 H100s seemlessly
  • 💾 Use GEPA-calibrated judges for fast, accurate rubric scoring
  • 🖥️ Supports HTTP-based training across all programming languages
  • 🤖 CLI utilities tuned for use with Claude Code, Codex, Opencode

Getting Started

# Use with OpenAI Codex
uvx synth-ai codex
# Use with Opencode
uvx synth-ai opencode

Synth is maintained by devs behind the MIPROv2 prompt optimizer.

Documentation

docs.usesynth.ai

In-Process Runner (SDK)

Run GEPA/MIPRO/RL jobs against a tunneled task app without the CLI:

import asyncio
import os
from synth_ai.sdk.task import run_in_process_job

result = asyncio.run(
    run_in_process_job(
        job_type="prompt_learning",
        config_path="configs/style_matching_gepa.toml",
        task_app_path="task_apps/style_matching_task_app.py",
        overrides={"prompt_learning.gepa.rollout.budget": 4},
        backend_url=os.getenv("TARGET_BACKEND_BASE_URL"),  # resolves envs automatically
    )
)
print(result.job_id, result.status.get("status"))

Metadata

Release files for synth-ai 0.3.3.dev20251205

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for synth-ai 0.3.3.dev20251205
File Size Uploaded Provenance
synth_ai-0.3.3.dev20251205.tar.gz 662.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for synth-ai 0.3.3.dev20251205
File Interpreter ABI Platform
synth_ai-0.3.3.dev20251205-py3-none-any.whl Python 3 none any Details

Total release size: 1.5 MB

Release files / synth_ai-0.3.3.dev20251205.tar.gz

Download URL synth_ai-0.3.3.dev20251205.tar.gz
Size 662.5 kB
Tags Source
SHA-256 checksum
How to use checksums
6e643666955ef8e0512f6efd7a099dc8174ffb10b22abce267b7fe20c680548a
BLAKE2b-256 checksum
How to use checksums
6795215627191a95d27afe6aeac28fe06cfe387ce4c7ae33ea87f23109ce472c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release files / synth_ai-0.3.3.dev20251205-py3-none-any.whl

Download URL synth_ai-0.3.3.dev20251205-py3-none-any.whl
Size 806.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b70b2391d8723ca15cb6c6e97a0ceeeec85eeb6c192724e28c4562f5fd7cc1e8
BLAKE2b-256 checksum
How to use checksums
7e246330c9a78f084640bf91b8826764891f92a86253b531f808c950c24f0d14
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Security for synth-ai 0.3.3.dev20251205

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page