Documentation
CLICommands

ox coworker

Manage expert AI teammates 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 teammates
load <name>Load an AI teammate's prompt into context
add <file>Add an AI teammate to the team
remove <name>Remove an AI teammate from the team

List available teammates

terminal
$
output
Expert Teammates (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 teammate

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

terminal
$

The teammate'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 teammate'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 teammate

Add an AI teammate to your team's context.

terminal
$
output
Added teammate "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 teammate

Remove an AI teammate from your team.

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

Teammate file format

AI teammates 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 teammate's expertise

Optional frontmatter

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

Where teammates live

AI teammates 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 teammates. Changes to teammates are version-controlled in the team context repo.

Workflow example

  1. List available teammates to see what expertise your team has defined:
terminal
$
  1. Load a teammate when you need specialized expertise. In a Claude Code session, the agent runs:
terminal
$
  1. Add a new teammate 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