CLI
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.
terminal
# Navigate to your checked out git repository
$
# Initialize SageOx in this repository
$
# Your AI coworker now has team context
$
Your AI coworkers learn your team's conventions and write code that follows your patterns.
- AI coworkers use team context automatically
- Currently supports Claude Code. Support for additional AI coworkers is in development.
- Efficient context delivery via progressive disclosure
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
Start Using AI Agents
Your AI coding agents now receive your team's context automatically:
terminal
# Claude Code gets your Team Context
$
The agent runs ox agent prime on startup to inject context about your team's conventions, patterns, and decisions.
Check Your Setup
Verify everything is working:
terminal
$
This runs diagnostics and 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:
terminal
$
Repository Not Recognized
If your repo isn't found:
terminal
$
Context Not Injecting
Check your setup in verbose mode:
terminal
$
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

