Skip to main content

Serverless Posttraining for Agents - Core AI functionality and tracing

Project description

Synth

Python PyPI Crates.io License

Build systems for OOMs more complexity.

Continual and offline optimization for prompts, context, skills, and long-horizon memory.

Use the SDK in Python (uv add synth-ai) and Rust (beta) (cargo add synth-ai), or call Synth endpoints from any language.

Synth Style

Synth is built for frontier builders first. We:

  • push interface complexity inward (strong server contracts, simpler app surfaces)
  • design online/offline parity with pause/resume as first-class controls
  • meet production code where it is (no forced lock-in or rewrites)
  • build general algorithmic foundations, then layer targeted affordances

For engineering principles and coding standards, see specs/README.md.

Bar chart comparing baseline vs GEPA-optimized prompt performance across GPT-4.1 Nano, GPT-4o Mini, and GPT-5 Nano.

Average accuracy on LangProBe prompt optimization benchmarks.

Demo Walkthroughs

Benchmark and demo runner source files live in the Benchmarking repo (../Benchmarking in a sibling checkout).

Product Focus

  • Continual Learning Sessions (MIPRO + GEPA): run online sessions that update prompts from reward feedback during live traffic, with first-class pause/resume/cancel controls.
  • Discrete GEPA Optimization (Prompt + Context): run offline GEPA jobs for controlled batch optimization, compare artifacts, and promote the best candidates.
  • Voyager for Skills + Long-Term Memory: optimize skill/context surfaces and use durable memory with retrieval and summarization for long-horizon agent systems.
  • One Canonical Runtime Surface: use shared systems, offline, and online primitives across SDK and HTTP APIs.
  • Agent Infrastructure Built In: run with pools, containers, and tunnels for local or managed rollouts without forcing app rewrites.
  • Graph + Verifier Workflows: train GraphGen pipelines and rubric-based verifiers for domain-specific evaluation loops.

Getting Started

Python SDK

uv add synth-ai
# or
pip install synth-ai==0.9.4

Rust SDK (beta)

cargo add synth-ai

API (any language)

Use your SYNTH_API_KEY and call Synth HTTP endpoints directly.

Docs: docs.usesynth.ai

Codex CLI Setup

Install Synth, then register the hosted managed-research MCP server with one command:

uv tool install synth-ai
synth-ai mcp codex install

Codex will start the OAuth flow for the hosted MCP server. After login, call smr_projects_list, smr_project_status_get, or smr_project_trigger_run.

If you need the local stdio fallback instead of the hosted endpoint:

synth-ai setup
synth-ai mcp codex install --transport stdio

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

synth_ai-0.9.8.tar.gz (770.8 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

synth_ai-0.9.8-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.3 MB view details)

Uploaded CPython 3.11+manylinux: glibc 2.17+ x86-64

synth_ai-0.9.8-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (11.3 MB view details)

Uploaded CPython 3.11+manylinux: glibc 2.17+ ARM64

synth_ai-0.9.8-cp311-abi3-macosx_11_0_arm64.whl (10.4 MB view details)

Uploaded CPython 3.11+macOS 11.0+ ARM64

File details

Details for the file synth_ai-0.9.8.tar.gz.

File metadata

  • Download URL: synth_ai-0.9.8.tar.gz
  • Upload date:
  • Size: 770.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for synth_ai-0.9.8.tar.gz
Algorithm Hash digest
SHA256 9b2982a776fb3ecf689a319d5b09141f6ee65135b566e8b256f22edb03d6bd18
MD5 c057b5e45b06c6944a94f24cd5df2585
BLAKE2b-256 f2e7c5e345be3616947c15db47651376f28e96157c2f0778b76b84d63bd5eb32

See more details on using hashes here.

Provenance

The following attestation bundles were made for synth_ai-0.9.8.tar.gz:

Publisher: publish-dev.yml on synth-laboratories/synth-ai

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file synth_ai-0.9.8-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for synth_ai-0.9.8-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0bd47256878a26b3f14c565c9ee5c82283e829b8053498263078c34a65f8fbe5
MD5 33acddd165922aadff048836e131e239
BLAKE2b-256 cf525c22f73d59980fe30a0157303479ed3dad3523f05d87152fa2d3c59ef4f4

See more details on using hashes here.

Provenance

The following attestation bundles were made for synth_ai-0.9.8-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: publish-dev.yml on synth-laboratories/synth-ai

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file synth_ai-0.9.8-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for synth_ai-0.9.8-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 955f0ecff32db29b1f8f3974b069b13dfae662d36085963c16b49ee991fdf111
MD5 86b3ca1a15d39e28f9d22c6d7c223ce9
BLAKE2b-256 8621fff33b5eeb90ed79b85bd76fbaaaa86d3c405aac9a8ba0c8fc27b20f7b7f

See more details on using hashes here.

Provenance

The following attestation bundles were made for synth_ai-0.9.8-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: publish-dev.yml on synth-laboratories/synth-ai

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file synth_ai-0.9.8-cp311-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for synth_ai-0.9.8-cp311-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 abc3901f5add71e888f2117feb376e30981649497620c88263624136a36025cb
MD5 3c9f0e39772545bb3fac738719e64bd5
BLAKE2b-256 934b87d363442f2d2591297205eeb8ac3b2ab952f1aaa5d589edd0e1a6abbc36

See more details on using hashes here.

Provenance

The following attestation bundles were made for synth_ai-0.9.8-cp311-abi3-macosx_11_0_arm64.whl:

Publisher: publish-dev.yml on synth-laboratories/synth-ai

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page