Python-only SDK for Synth containers, tunnels, and container pools
Project description
Synth AI
Python-only SDK and CLI for Synth's containers platform.
The stable surface is intentionally narrow:
synth_ai.sdk.containerssynth_ai.sdk.tunnelssynth_ai.sdk.poolssynth_ai.sdk.horizons_privatesynth_ai.sdk.managed_agents_anthropicsynth_ai.client.SynthClient
Legacy optimization, inference, graphs, verifiers, managed-research, and Rust-backed
modules have been archived under ../research/old/synth_ai and are no longer part of the
supported import surface.
Stable API
from synth_ai import SynthClient
client = SynthClient(api_key="sk_...")
client.containers.list()
client.tunnels.list()
client.pools.list()
client.horizons_private.create_runtime({"name": "hp-runtime"})
client.managed_agents.health()
Canonical backend paths:
/v1/containers/*/v1/tunnels/*/v1/pools/*/v1/rollouts/*/api/managed-agents/anthropic/v1/*
Product surfaces
Use this split to pick the right client quickly:
| Surface | Client | Backend path family | Use when |
|---|---|---|---|
| Pools / Rhodes | client.pools and client.horizons_private |
/v1/pools/*, /v1/rollouts/* |
You need repeatable pool/task/rollout execution and rollout artifacts/usage. |
| Managed Agents (Anthropic view) | client.managed_agents |
/api/managed-agents/anthropic/v1/* |
You need live managed-agents session APIs through backend BFF proxy. |
Local development
uv sync --group dev
uv run ruff format --check .
uv run ruff check .
# ty: use the same command as `.github/workflows/ci.yml` → job `type-check` (Lefthook runs it on staged files).
uv run ty check
Use uv run for Python tools (not bare python / python3). Ruff handles both formatting and linting for synth_ai/; ty type-checks synth_ai/ ([tool.ty.src] in pyproject.toml). A plain ty check may be stricter than CI; match CI when debugging PR failures.
Optional: install Lefthook and run lefthook install to run uv run ruff format, uv run ruff check, and uv run ty check on staged .py files (see lefthook.yml).
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.11.0.tar.gz.
File metadata
- Download URL: synth_ai-0.11.0.tar.gz
- Upload date:
- Size: 30.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f240b3856225866e02c35ef6ac829f804a0ae81a4585defbce01fb3eea4d7804
|
|
| MD5 |
d1a22bc38e81a5fddd5f9060b59ee63e
|
|
| BLAKE2b-256 |
927c9044b3e9447e159695b08ac454a1238a5c666970064bc49f22c50cd2c626
|
File details
Details for the file synth_ai-0.11.0-py3-none-any.whl.
File metadata
- Download URL: synth_ai-0.11.0-py3-none-any.whl
- Upload date:
- Size: 38.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b02fd2b4f131a5763f854ee794501dcfc45d8c50006a9f6a9a180a9fa86106af
|
|
| MD5 |
9221e565b5b1d79358867edb513787ef
|
|
| BLAKE2b-256 |
7842c3dcf6982f97187d5f624738f01ca901adc863622e0b378a390c297bf615
|