A Python SDK and CLI for building agent rollouts and managing LLM post-training workflows on Osmosis.
Project description
osmosis-ai
⚠️ Warning: osmosis-ai is still in active development. APIs may change between versions.
Python SDK and CLI for Osmosis AI, a platform for training LLMs with reinforcement learning. Implement an AgentWorkflow and a concrete Grader in Python, then use the CLI to submit evaluation and training runs from an Osmosis workspace directory.
Installation
Requires Python 3.12+.
pip install osmosis-ai # Core SDK
pip install osmosis-ai[server] # + FastAPI rollout server
# or with uv: uv add osmosis-ai
See Installation for the full extras matrix and CONTRIBUTING.md for development setup.
Documentation
Guides, quickstart, and the full CLI reference live at docs.osmosis.ai.
- Quickstart — run the multiply example end to end, from onboarding to evaluation run to training run
- CLI command reference — every
osmosiscommand and flag, plus the--json/--plainoutput contract for AI agents and CI/CD - Workspace setup — repository layout, config files, and Git Sync
- Rollouts — AgentWorkflow, Grader, integrations, and execution backends
- Releases — version history and breaking changes between releases
Building on or contributing to the SDK itself? See the code-anchored developer docs in docs/ (start with docs/architecture.md) alongside CONTRIBUTING.md.
Contributing
See CONTRIBUTING.md for development setup, testing, linting, and PR guidelines.
License
MIT License - see LICENSE file for details.
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 osmosis_ai-0.2.30.tar.gz.
File metadata
- Download URL: osmosis_ai-0.2.30.tar.gz
- Upload date:
- Size: 198.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2a08cf3d3c14b8bb9fe118a154487c9d5d83cd40146eaa1999f7ba505aa43927
|
|
| MD5 |
587693b2cc3d00d485ece6390350b987
|
|
| BLAKE2b-256 |
1fcfe132118631d4b0a5ec5a7fb1a0b7f0842f668d738304ad19f55acd2dcc5b
|
Provenance
The following attestation bundles were made for osmosis_ai-0.2.30.tar.gz:
Publisher:
publish.yml on Osmosis-AI/osmosis-sdk-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
osmosis_ai-0.2.30.tar.gz -
Subject digest:
2a08cf3d3c14b8bb9fe118a154487c9d5d83cd40146eaa1999f7ba505aa43927 - Sigstore transparency entry: 2263726829
- Sigstore integration time:
-
Permalink:
Osmosis-AI/osmosis-sdk-python@7863b0a6290b8b37baab27e11ce2ac8632a27bbd -
Branch / Tag:
refs/tags/v0.2.30 - Owner: https://github.com/Osmosis-AI
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@7863b0a6290b8b37baab27e11ce2ac8632a27bbd -
Trigger Event:
release
-
Statement type:
File details
Details for the file osmosis_ai-0.2.30-py3-none-any.whl.
File metadata
- Download URL: osmosis_ai-0.2.30-py3-none-any.whl
- Upload date:
- Size: 247.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a3be95fd3e1cfc1294d6f417f07daf87cbf4992f0a5f9ef86a70988d343d958f
|
|
| MD5 |
6d832b57a25a87bd13f0e8cd98bdfc64
|
|
| BLAKE2b-256 |
9365adda1ad474ce9e91fc5dd05bc11facccfff58bd3cc980583e3c4fa0f0654
|
Provenance
The following attestation bundles were made for osmosis_ai-0.2.30-py3-none-any.whl:
Publisher:
publish.yml on Osmosis-AI/osmosis-sdk-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
osmosis_ai-0.2.30-py3-none-any.whl -
Subject digest:
a3be95fd3e1cfc1294d6f417f07daf87cbf4992f0a5f9ef86a70988d343d958f - Sigstore transparency entry: 2263726880
- Sigstore integration time:
-
Permalink:
Osmosis-AI/osmosis-sdk-python@7863b0a6290b8b37baab27e11ce2ac8632a27bbd -
Branch / Tag:
refs/tags/v0.2.30 - Owner: https://github.com/Osmosis-AI
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@7863b0a6290b8b37baab27e11ce2ac8632a27bbd -
Trigger Event:
release
-
Statement type: