SageOx

The hivemind for agentic engineering

Features

Connect a repository

Connecting a repository links your codebase to SageOx, enabling AI context injection and team knowledge sharing. After connecting, every AI coworker session in that repo starts with your team's conventions, decisions, and domain knowledge.

Connect in 30 seconds

terminal
$
$

That's it. Your repo is now connected.

First time using SageOx? Run ox login first to authenticate. See Getting Started for the full setup.

What happens when you connect

When you run ox init:

  1. Team Context syncs — Your team's shared knowledge syncs locally
  2. Ledger activates — Code work history and session artifacts can be tracked
  3. AI context enabled — Claude Code and other AI coworkers can receive team context via ox agent prime
  4. Hooks configured — Claude Code automatically runs context injection on startup

Prerequisites

  • A git repository with at least one commit
  • A SageOx account (sign up free)
  • The ox CLI installed (curl -sSL https://raw.githubusercontent.com/sageox/ox/main/scripts/install.sh | bash)

Team vs personal scope

When connecting, you choose who can access the repo's knowledge:

ScopeWho can accessUse case
TeamAll team membersShared projects, production codebases
PersonalOnly youSide projects, experiments, learning

To connect to a specific team:

terminal
$

If you don't specify a team, ox init prompts you to choose or create one.

Verify your connection

terminal
$

You should see green checkmarks:

terminal
Authentication
✓ Logged in as you@example.com
Repository
✓ Connected to team: my-team
✓ Team Context synced
Claude Code
✓ Hooks configured

How AI coworkers use the connection

Once connected, Claude Code automatically receives your team's context:

  1. You start Claude Code with claude
  2. Claude Code runs ox agent prime on startup (configured automatically)
  3. Your AI coworker receives Team Context — conventions, decisions, domain terms, current work
  4. Every session starts informed, not from scratch

No manual priming needed. The connection handles it.

Connect multiple repositories

Each repository is connected independently. Run ox init in each repo you want to connect:

terminal
$
$
$

All repos can share the same team, giving your AI coworkers consistent context across your stack.

Disconnect a repository

To disconnect:

terminal
$

This removes local configuration. The repository record stays on SageOx but becomes inactive.

Troubleshooting

"Not a git repository"

Initialize git first:

terminal
$

"Already initialized"

Remove the existing configuration and reinitialize:

terminal
$

"Authentication required"

Run login first:

terminal
$

What's next