Skip to main content

Python SDK and CLI for Synth — RL-as-a-service

Project description

Synth-AI SDK

Python License PyPI Coverage Tests Blacksmith CI

Synth-AI — Reinforcement Learning-as-a-Service for agents.
Docs: Get Started →


🚀 Install

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

Import:

import synth_ai

CLI (with uvx):

uvx synth-ai setup
uvx synth-ai demo
uvx synth-ai deploy
uvx synth-ai run

Full quickstart: https://docs.usesynth.ai/sdk/get-started


🧩 About

Fast and effective reinforcement learning for agents, via an API.
Easily scale GPU topologies, train multi-node, and integrate with existing agent software.

Highlights

  • Scale GPU topologies (A10Gs, H100s, multi-node available on request)
  • Thin FastAPI wrapper integration
  • Supports OSS models like Qwen3 (GPT-OSS GA soon)
  • Own your trained models

⚙️ Getting Started

Synth-AI ships with a built-in RL example: training Qwen3-0.6B on math reasoning.

  1. Create accounts at Synth and Modal

  2. Then run:

    uvx synth-ai demo
    uvx synth-ai setup
    uvx synth-ai deploy
    uvx synth-ai run
    
  3. To walk through your first RL run, see
    👉 Synth-AI SDK Docs


🔐 SDK → Dashboard Pairing

When you run uvx synth-ai setup (or legacy uvx synth-ai rl_demo setup):

  • The SDK opens your browser to the Synth dashboard to pair your SDK with your signed-in session.

  • Automatically detects your user + organization

  • Ensures both API keys exist

  • Writes them to your project’s .env as:

    SYNTH_API_KEY=
    ENVIRONMENT_API_KEY=
    

✅ No keys printed or requested interactively — all handled via browser pairing.

Environment overrides


📚 Documentation


🧠 Meta

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.2.9.dev6.tar.gz (983.0 kB view details)

Uploaded Source

Built Distribution

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

synth_ai-0.2.9.dev6-py3-none-any.whl (1.2 MB view details)

Uploaded Python 3

File details

Details for the file synth_ai-0.2.9.dev6.tar.gz.

File metadata

  • Download URL: synth_ai-0.2.9.dev6.tar.gz
  • Upload date:
  • Size: 983.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.4

File hashes

Hashes for synth_ai-0.2.9.dev6.tar.gz
Algorithm Hash digest
SHA256 7a61f6cdd3e66f72c8835fd286c1cfc8fe47ea91192b7f91df99df131d15964b
MD5 e09d5f9ea58c6a65c139e40a2263704f
BLAKE2b-256 40e2445b87602027beb29bf956ca1f2d0780ceaa63ea77d50fe733703609a0f9

See more details on using hashes here.

File details

Details for the file synth_ai-0.2.9.dev6-py3-none-any.whl.

File metadata

File hashes

Hashes for synth_ai-0.2.9.dev6-py3-none-any.whl
Algorithm Hash digest
SHA256 6a4d7a220abbc1edbf97dd038c0b23b3cfe6ab404b0f10d018000163499e6f4f
MD5 26a028599a69cd09c05bb148721413ae
BLAKE2b-256 6f35f75ebaa4b9addaaae326579a27c6199b5ed88d4eaa7b66b2d2dfb2822cc4

See more details on using hashes here.

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