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.29.tar.gz (196.6 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.29-py3-none-any.whl (246.3 kB view details)

Uploaded Python 3

File details

Details for the file osmosis_ai-0.2.29.tar.gz.

File metadata

  • Download URL: osmosis_ai-0.2.29.tar.gz
  • Upload date:
  • Size: 196.6 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.29.tar.gz
Algorithm Hash digest
SHA256 4ac7b72bde346ed466d45ca01b84aa5f574e4284a31e0e97406768980168be08
MD5 a2c22233b4027d72a78c74f2d2f4c2a4
BLAKE2b-256 7e91fc4538a5765d6d665cdc07f6f96bc919ab62ced3bd5f03ee292f0e7d4d41

See more details on using hashes here.

Provenance

The following attestation bundles were made for osmosis_ai-0.2.29.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.29-py3-none-any.whl.

File metadata

  • Download URL: osmosis_ai-0.2.29-py3-none-any.whl
  • Upload date:
  • Size: 246.3 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.29-py3-none-any.whl
Algorithm Hash digest
SHA256 d10e1bbfe8824ae99f224af155015855bbf16e86fcf824b9510568bf2bc21aaf
MD5 8044bf8a522ba0840330c1c8a79a17bb
BLAKE2b-256 20284f9c26a68cbda920ed258edeb2e0d783587e04545f805c6c9729ff4939a7

See more details on using hashes here.

Provenance

The following attestation bundles were made for osmosis_ai-0.2.29-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