Quickstart: ox CLI
Connect your repository to SageOx and give your AI coding agents Team Context.
Initialize a Repository
Initialize your repositories to share team context with your AI coworkers.
Your AI coworkers learn your team's conventions and write code that follows your patterns.
- AI coworkers use team context automatically
- Efficient context delivery via progressive disclosure
Currently supports Claude Code. Support for additional AI coworkers is in development.
What just happened?
When you run ox init, the CLI:
- Authenticates with your SageOx account (opens browser if needed)
- Registers your repository with the SageOx platform
- Enables Team Context injection for AI agents
Next steps
Bring in past coding sessions
Already have Claude Code or Codex history for this repository on this computer? Review and import the sessions you want to keep in its Ledger:
An uploaded session includes its full conversation transcript and summary. Check the destination and visibility before confirming in your terminal: a public Ledger can be read by anyone. Import options and troubleshooting explain previews, filters, and skipped sessions.
Start using AI agents
Your AI coding agents now receive your team's context automatically:
The agent runs ox agent prime on startup to inject context about your team's conventions, patterns, and decisions.
If something seems off
ox doctor is the diagnostic tool, not a required onboarding step:
It shows:
- Authentication status
- Repository registration
- Team membership
- Context injection health
View your dashboard
See your connected repositories and team activity in the web dashboard.
Troubleshooting
Authentication expired
If you see authentication errors:
Repository not recognized
If your repo isn't found:
Context not injecting
Check your setup in verbose mode:
Learn more
- Getting Started - Full setup walkthrough
- ox login - Authentication details
- ox doctor - Diagnostics reference
- ox agent prime - How context injection works
See also
- Team Setup Quickstart: for team creators
- New Team Member Quickstart: for invited members

