SageOx

The hivemind for agentic engineering

ox coworker

Manage expert AI coworkers defined in your team context. These are specialized AI agents with deep domain expertise that can be loaded into your coding session for tasks, code reviews, and specialized work.

Usage

terminal
$

Subcommands

CommandDescription
listList available AI coworkers
load <name>Load an AI coworker's prompt into context
add <file>Add an AI coworker to the team
remove <name>Remove an AI coworker from the team

List available coworkers

terminal
$
output
Expert Coworkers (acme-team)
────────────────────────────
api-designer API architecture expert...
code-reviewer Expert code reviewer...
security-engineer DevSecOps specialist...
▸ Load with ox coworker load <name>
FlagDescription
--jsonOutput as JSON
--teamUse a specific team (defaults to this repo's team)

Load a coworker

Load an AI coworker's expertise into your current coding session.

terminal
$

The coworker's full prompt is output to stdout for the calling agent to consume. Session metrics are logged when in a recording session.

FlagDescription
--modelOverride the coworker's default model (sonnet, opus, haiku)
--jsonOutput as JSON
--teamUse a specific team

This command is agent-gated. It's designed to be called by AI coding agents, not humans directly.

Add a coworker

Add an AI coworker to your team's context.

terminal
$
output
Added coworker "api-designer" (model: sonnet)
API architecture expert designing scalable interfaces.

The file is validated, copied to the team context repository, and committed automatically.

FlagDescription
--teamAdd to a specific team

Remove a coworker

Remove an AI coworker from your team.

terminal
$
FlagDescription
--forceSkip confirmation prompt
--teamRemove from a specific team

Coworker file format

AI coworkers are markdown files with YAML frontmatter. They live in your team context at coworkers/agents/.

---
description: "Expert code reviewer specializing in security and performance"
model: "sonnet"
---

# Code Reviewer

You are an expert code reviewer with deep knowledge of...

Required frontmatter

FieldDescription
descriptionBrief description of the coworker's expertise

Optional frontmatter

FieldValuesDescription
modelopus, sonnet, haikuRecommended model tier. Defaults to inheriting from the calling agent.

Where coworkers live

AI coworkers are stored in the team context repository:

team-context/
├── coworkers/
│   └── agents/
│       ├── api-designer.md
│       ├── code-reviewer.md
│       └── security-engineer.md

Each team shares the same set of coworkers. Changes to coworkers are version-controlled in the team context repo.

Workflow example

  1. List available coworkers to see what expertise your team has defined:
terminal
$
  1. Load a coworker when you need specialized expertise. In a Claude Code session, the agent runs:
terminal
$
  1. Add a new coworker when your team needs new expertise:
terminal
$
  • ox prime - Inject team context into AI agents
  • ox init - Initialize repository with SageOx
  • ox doctor - Diagnose configuration issues