Skip to main content

RL as a service SDK - Core AI functionality and tracing

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 version 0.2.16

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


When you run uvx synth-ai setup, the SDK opens your browser to the Synth dashboard for a one‑time pairing (handshake) with your signed‑in session. The SDK will automatically:

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.17.tar.gz (1.7 MB 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.17-py3-none-any.whl (2.1 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: synth_ai-0.2.17.tar.gz
  • Upload date:
  • Size: 1.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.15

File hashes

Hashes for synth_ai-0.2.17.tar.gz
Algorithm Hash digest
SHA256 38b27048146fc7d637634dd2341138e53177be73c12ac6ff4e5e84dde8cadc8c
MD5 fc492c94039d8d18ae013c48230247a6
BLAKE2b-256 232f073d1fbecc5eb9586f5d64b4e640a2ff398d10fdee9f4386cf9656727f34

See more details on using hashes here.

File details

Details for the file synth_ai-0.2.17-py3-none-any.whl.

File metadata

  • Download URL: synth_ai-0.2.17-py3-none-any.whl
  • Upload date:
  • Size: 2.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.15

File hashes

Hashes for synth_ai-0.2.17-py3-none-any.whl
Algorithm Hash digest
SHA256 0df96f831e9f808fe795d68a6366325cbc02b21d2d382dd93b9e01a79c06508c
MD5 c6df1ba291d7d15acf600fd667c8982b
BLAKE2b-256 69ba6ce64486bb24eb1157d9cef1d427e68a2374a3495abc3291b6c4657e3fb2

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