Skip to content

synth-laboratories/synth-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,276 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Prompt Optimization

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors