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.27.tar.gz (176.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.27-py3-none-any.whl (223.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: osmosis_ai-0.2.27.tar.gz
  • Upload date:
  • Size: 176.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.27.tar.gz
Algorithm Hash digest
SHA256 8906a605a7f0e498c146b185a442eb50721ca796a94668e122275b24dbf7f6c0
MD5 aff4fd3ee4755d6b6c7bffab0fb59711
BLAKE2b-256 7cf061b3fc8ea0ec27bf85c8605f02de55ac740581ed51f6177bf6827cce6a55

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: osmosis_ai-0.2.27-py3-none-any.whl
  • Upload date:
  • Size: 223.4 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.27-py3-none-any.whl
Algorithm Hash digest
SHA256 d36683ae64767c7cbfa48342ed298078d05e1b8c1350e902c332401c81cd62ce
MD5 8ac34066b31d9bc2293c0f43685f39a1
BLAKE2b-256 c55bc9f88d0849eb1c43ceb076da97bb1eb769a5f8363a8ba169e59c9ddc28e5

See more details on using hashes here.

Provenance

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