Documentation Index
Fetch the complete documentation index at: https://docs.osmosis.ai/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Your local workspace is a git repository —osmosis init runs git init and creates an initial commit automatically. Push the repository to GitHub and connect it to the Osmosis Platform to sync your rollout code for training.
Once connected, the platform automatically discovers and syncs AgentWorkflow and Grader definitions from your rollouts/ directory every time you push.
Setup
Push workspace to GitHub
Create a GitHub repository and push your workspace:Or add an existing remote:
Open Git Integration in the Platform
Go to Osmosis Platform and navigate to Integrations > Git.
Install the Osmosis GitHub App
Click Connect GitHub and follow the prompts to install the Osmosis GitHub App on your GitHub organization or account. Grant access to the repositories you want to sync.
How Sync Works
- Pushing to the default branch (typically
main) triggers an automatic sync. - The platform discovers rollout definitions in the
rollouts/directory of your repository. - Each rollout subdirectory (e.g.
rollouts/my-rollout/) becomes a rollout entity on the platform, available for training and evaluation. - Config files under
configs/are also synced so thatosmosis train submitcan reference them by path.
Sync Status
You can view sync history in the Platform UI under Integrations > Git. Each sync event shows:| State | Meaning |
|---|---|
| Pending | Push detected, sync queued |
| Syncing | Platform is processing the repository contents |
| Success | All rollouts synced successfully |
| Failed | Sync encountered an error (check logs for details) |