Documentation
CLI

ox CLI

The ox CLI connects your repositories to the SageOx platform, giving your AI coworkers access to Team Context: your team's recorded discussions, decisions, and current work.

This reference tracks ox 0.14.0. Run ox version to check yours and ox upgrade to update. See ox release-notes for what changed.

Installation

terminal
$

After installation, verify it works:

terminal
$

Quick setup

terminal
# Authenticate with SageOx
$
# Initialize your repository
$
# Verify everything works
$

Command reference

Grouped as they appear in ox --help.

Software development

CommandDescription
ox codeSearch code in this repo
ox decisionWork with Decision Records (ADRs, DDRs)
ox indexIndex code and project data for search
ox initInitialize SageOx for this repository
ox planWork with plans
ox prAuthor SageOx content for pull requests
ox sessionManage AI coworker sessions
ox vizChoose, author, render, and lint visual explanations

Knowledge

CommandDescription
ox conversationRead recorded team conversations from the local Team Context
ox distillDistill team observations into memory summaries
ox importImport a document, media file, or video URL into Team Context
ox kbWork with Knowledge Bubbles
ox querySearch team knowledge
ox recapShow the concrete value SageOx has delivered to your work

Teams

CommandDescription
ox exportShow where your data lives and how to take it with you
ox glanceSee what your team's AI coworkers are working on
ox murmurPublish a coordination signal to other AI coworkers
ox teamWork with your teams and coworkers

Authentication

CommandDescription
ox loginAuthenticate with sageox.ai
ox logoutLog out of SageOx
ox statusDisplay SageOx status and directory locations
ox syncManually sync ledger/team contexts (rarely needed)

Agent integration

CommandDescription
ox agentUX exposed to AI coding agents
ox agent primeInject Team Context into an AI coworker session
ox coworkerManage expert agents and subagents for your team
ox hooksManage event hooks for daemon notifications
ox integrateSet up SageOx integration with Claude Code

Diagnostics

CommandDescription
ox adapterManage external adapter binaries
ox daemonManage the background sync daemon
ox doctorRun diagnostics on ox installation and configuration
ox gcReclone eligible managed repositories safely
ox guideShow a bundled topical guide
ox release-notesDisplay release notes for the current version
ox upgradeUpgrade ox to the latest version
ox versionPrint version information

Configuration and utilities

CommandDescription
ox configManage ox configuration
ox uninstallRemove SageOx from this repository
ox viewOpen the SageOx dashboard in your browser

Global flags

These flags work with any command:

FlagDescription
-v, --verboseShow detailed output
-q, --quietSuppress non-error output
--jsonOutput in JSON format (for scripting)
-c, --config <path>Config file path (default: .sageox/config.yaml)
--no-interactiveDisable spinners and TUI elements (auto-enabled when CI=true)
--profileGenerate a CPU profile and execution trace for performance analysis

Configuration

ox stores configuration in two locations:

LocationPurpose
~/.config/sageox/Global config and credentials
.sageox/config.yamlRepository-specific settings

What's next