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.28.tar.gz (192.9 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.28-py3-none-any.whl (242.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: osmosis_ai-0.2.28.tar.gz
  • Upload date:
  • Size: 192.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for osmosis_ai-0.2.28.tar.gz
Algorithm Hash digest
SHA256 4685193dc16d93e00d1e7de00278bb0758d86783e55cd331342d2c6b94df7b25
MD5 9e90678460d9046a9db1d5a137162c54
BLAKE2b-256 c3082d4940899d20a636c42c75181f3946e904c70580ba2d9c651e617fef7219

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: osmosis_ai-0.2.28-py3-none-any.whl
  • Upload date:
  • Size: 242.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for osmosis_ai-0.2.28-py3-none-any.whl
Algorithm Hash digest
SHA256 31400d59117f86a422d2ac3348d4581204e67ed5584d41cd47c3e174bf727dbf
MD5 c7fbd06b6f6dc158a07c83af6727d836
BLAKE2b-256 b41b9056439c1c20cb65b7fa9462556b8041080501a1188924e4e1f7880b2add

See more details on using hashes here.

Provenance

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