Integration-first operating protocol for AI coding agents. Coordinate Codex, OpenCode, Augment, OpenClaw, Hermes, and future MCP tools through repo-native files — no daemon, no server, no new dependencies.
📖 Case Study: How I Stopped AI Agents From Fighting My Repo
# Clone and seed
git clone https://github.com/hongphuc5497/agent-ops.git
cd agent-ops
# Check it works
./scripts/ao check
# Seed into another repo
./scripts/init-repo.sh /path/to/your-project
cd /path/to/your-project
./scripts/install-integration.sh codexEvery agent reads the same repo-native state before editing:
ao status # Who owns the active task? What files are claimed?
ao start "fix auth bug" --owner Codex # Lock a task (only one active at a time)
ao claim "src/auth/**" # Claim files before editing
ao check # Verify protocol health
ao finish done --verification "..." # Complete with evidenceHuman commands: ao help, ao version. Agents use the exact same surface.
| Concern | File | Machine-Readable |
|---|---|---|
| Active task owner | .ai/state/active-task.json |
✓ |
| File ownership claims | .ai/state/file-claims.json |
✓ |
| Agent handoffs | .ai/state/handoffs.jsonl |
✓ |
| Task records | .ai/tasks/*.md + archive JSON |
✓ |
| Routing rules | ROUTING.md |
— |
| Architecture decisions | DECISIONS.md |
— |
| Shared protocol | .ai/protocol.md |
— |
One command teaches each agent the protocol:
./scripts/install-integration.sh codex # Appends to AGENTS.md
./scripts/install-integration.sh opencode # Appends to instructions.md
./scripts/install-integration.sh augment # Appends discovery guide
./scripts/install-integration.sh openclaw # Appends review rules
./scripts/install-integration.sh hermes # Appends monitor rulesRepo-local only — no global config mutated.
GitHub Actions workflows run on every PR and daily:
| Workflow | Trigger | Failure Alert |
|---|---|---|
agent-ops-check.yml |
PR, push to main | Telegram |
stale-task-monitor.yml |
Daily 9AM UTC | Telegram |
Set TELEGRAM_BOT_TOKEN + TELEGRAM_CHAT_ID secrets for notifications.
Slack via SLACK_WEBHOOK_URL (optional).
- ❌ Not a hosted service or dashboard
- ❌ Not an MCP server (gated on real-world usage)
- ❌ Not an agent framework or orchestration runtime
- ❌ No new dependencies beyond Python 3 and bash
| Repo | Stack | Status |
|---|---|---|
personal-landing-page |
Next.js 16 / TS / Vercel | ✓ Active |
github-digest |
Python / Playwright | ✓ Active |
./scripts/agent-ops-check.sh- ✓ MVP — Agent Integration Protocol
- ✓ Consolidate & Self-Bootstrap
- ✓ Dogfood & Document
- ○ Package & Distribute
# Clone and seed into any repo in 30 seconds
git clone https://github.com/hongphuc5497/agent-ops.git
cd agent-ops
./scripts/ao check # → OK
# Seed into your project
./scripts/init-repo.sh ~/my-project
cd ~/my-project
./scripts/install-integration.sh claude # teach Claude
./scripts/install-integration.sh codex # teach Codex
# Start a task — any agent now checks this first
./scripts/ao start "add dark mode" --owner Claude
./scripts/ao claim "src/theme/**"
./scripts/ao delegate "review colors" --to OpenClaw
./scripts/ao finish done --verification "npm test"
# CI catches stale tasks daily, Telegram on failure