Serverless Posttraining for Agents - Core AI functionality and tracing
Project description
Synth
Serverless Posttraining APIs for Developers
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
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"))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file synth_ai-0.4.0.tar.gz.
File metadata
- Download URL: synth_ai-0.4.0.tar.gz
- Upload date:
- Size: 706.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e9bb48c90944fc6d9fad57178b3afd8d8b5264c1ee9cd8970638936f77d612b
|
|
| MD5 |
7c3a8cc2087c9de69637308357bd543b
|
|
| BLAKE2b-256 |
275e867fe6d70f89e75162400118c6e4a01945aa2a6a7e2838ebdb4bd2d66163
|
File details
Details for the file synth_ai-0.4.0-py3-none-any.whl.
File metadata
- Download URL: synth_ai-0.4.0-py3-none-any.whl
- Upload date:
- Size: 855.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fbf00d3ee3a3d8cfb1cd117fbd780b8e50f363d431e1e17a07e3ca144697f5f4
|
|
| MD5 |
6498545de9623c9147ec2d96bc37dc42
|
|
| BLAKE2b-256 |
abfd7cdbf1fb4ea6745fbf01adf81fca038e03052271b1a465d3a301728f1cad
|