Skip to main content

A Python SDK and CLI for building agent rollouts and managing LLM post-training workflows on Osmosis.

Project description

Osmosis

Platform PyPI Python Codecov License Docs

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 osmosis command and flag, plus the --json / --plain output 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

osmosis_ai-0.2.30.tar.gz (198.4 kB view details)

Uploaded Source

Built Distribution

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

osmosis_ai-0.2.30-py3-none-any.whl (247.9 kB view details)

Uploaded Python 3

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

Hashes for osmosis_ai-0.2.30.tar.gz
Algorithm Hash digest
SHA256 2a08cf3d3c14b8bb9fe118a154487c9d5d83cd40146eaa1999f7ba505aa43927
MD5 587693b2cc3d00d485ece6390350b987
BLAKE2b-256 1fcfe132118631d4b0a5ec5a7fb1a0b7f0842f668d738304ad19f55acd2dcc5b

See more details on using hashes here.

Provenance

The following attestation bundles were made for osmosis_ai-0.2.30.tar.gz:

Publisher: publish.yml on Osmosis-AI/osmosis-sdk-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for osmosis_ai-0.2.30-py3-none-any.whl
Algorithm Hash digest
SHA256 a3be95fd3e1cfc1294d6f417f07daf87cbf4992f0a5f9ef86a70988d343d958f
MD5 6d832b57a25a87bd13f0e8cd98bdfc64
BLAKE2b-256 9365adda1ad474ce9e91fc5dd05bc11facccfff58bd3cc980583e3c4fa0f0654

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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