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
Subcommands
| Command | Description |
|---|---|
list | List 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
| Flag | Description |
|---|---|
--json | Output as JSON |
--team | Use a specific team (defaults to this repo's team) |
Load a teammate
Load an AI teammate's expertise into your current coding session.
The teammate's full prompt is output to stdout for the calling agent to consume. Session metrics are logged when in a recording session.
| Flag | Description |
|---|---|
--model | Override the teammate's default model (sonnet, opus, haiku) |
--json | Output as JSON |
--team | Use 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.
The file is validated, copied to the team context repository, and committed automatically.
| Flag | Description |
|---|---|
--team | Add to a specific team |
Remove a teammate
Remove an AI teammate from your team.
| Flag | Description |
|---|---|
--force | Skip confirmation prompt |
--team | Remove 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
| Field | Description |
|---|---|
description | Brief description of the teammate's expertise |
Optional frontmatter
| Field | Values | Description |
|---|---|---|
model | opus, sonnet, haiku | Recommended 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.mdEach team shares the same set of teammates. Changes to teammates are version-controlled in the team context repo.
Workflow example
- List available teammates to see what expertise your team has defined:
- Load a teammate when you need specialized expertise. In a Claude Code session, the agent runs:
- Add a new teammate when your team needs new expertise:
Related commands
ox agent prime
How ox agent prime gives AI coding agents your team's context at session start: setup, supported agents, how to check it works, and lost context.
ox hooks
Register event hooks that run your own commands when the daemon uploads a session, hears a murmur or finishes a sync. Also covers git hooks.

