SageOx

The hivemind for agentic engineering

ox teams

List all teams available to you, showing which is primary for the current repository.

Usage

terminal
$

Example Output

terminal
$

NAME ID PRIMARY acme-eng team_abc123 * acme-design team_def456 side-project team_ghi789

The * marker indicates the primary team for this repository. The primary team determines which Team Context is loaded when you run ox agent prime.

How Primary Team Is Determined

When you run ox init, the CLI associates your repository with a team. This becomes the primary team for that repo, stored in .sageox/config.toml.

If you belong to multiple teams, you can switch the primary team:

terminal
$

Flags

FlagDescription
--jsonOutput as JSON for scripting

JSON Output

ox teams --json
{
  "teams": [
    {
      "team_id": "team_abc123",
      "name": "acme-eng",
      "slug": "acme-eng",
      "primary": true,
      "last_sync": "2026-04-13T10:30:00Z",
      "path": "~/.sageox/teams/acme-eng"
    },
    {
      "team_id": "team_def456",
      "name": "acme-design",
      "slug": "acme-design",
      "primary": false
    }
  ]
}
  • ox init - Initialize a repository with a specific team
  • Team Context - Learn about team-level shared knowledge