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.3.0rc1.tar.gz (198.5 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.3.0rc1-py3-none-any.whl (248.1 kB view details)

Uploaded Python 3

File details

Details for the file osmosis_ai-0.3.0rc1.tar.gz.

File metadata

  • Download URL: osmosis_ai-0.3.0rc1.tar.gz
  • Upload date:
  • Size: 198.5 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.3.0rc1.tar.gz
Algorithm Hash digest
SHA256 73feb7f628663647564fcb2d071108142f720469bf1569dc25cbbc4bc963d659
MD5 16da52a4b56194ddc6efac8033ff6703
BLAKE2b-256 c8d018ba65f9b2a8dafd9598001815c5d10170bcf2116999e3490e40eb1be39d

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: osmosis_ai-0.3.0rc1-py3-none-any.whl
  • Upload date:
  • Size: 248.1 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.3.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 e7b82bbde894c41f53d298f6b98c7bd46198095942f4b832a26be80d33066719
MD5 33b3360d0cbfd0f97e66b41f79e220f8
BLAKE2b-256 e926adb1b09223c62b46739e636af14fb3fecc111f17481648a12d33e5213a8a

See more details on using hashes here.

Provenance

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