aegis¶
The meta-harness. Drive Claude Code, Gemini CLI, and OpenCode side by side from one calm terminal — and make them collaborate.
pip install aegis-harness
Quickstart →
Above the harness, not beside it¶
Most agentic frameworks talk directly to LLM providers — they replace your coding agent. Aegis takes the opposite path: it sits above the coding agents you already use, drives them over their structured protocols, and adds a routing + delegation plane on top.
Most agent frameworks¶
Talk to LLM providers (OpenAI, Anthropic). Replace your coding agent. Reimplement tool use, permissions, sandboxing. Every provider needs new glue.
Aegis¶
Talks to agents — Claude Code (stream-json), Gemini CLI (ACP), OpenCode (ACP). Doesn't replace them; orchestrates them. New providers slot in behind one driver seam.
The harness wars are over. You probably already have your favorite (or two, or three). Aegis lets you keep them — and make them work as a team.
Four primitives for agent coordination¶
Multi-agent systems need more than a chat box. Aegis ships four composable coordination primitives, each with one verb, each delivered through the same calm ✉ block in the receiving agent's transcript.
Inbox · send context to a peer¶
Any agent can hand off context to any other live agent. Fire-and-forget. The recipient gets a normal user-message turn, tagged with the sender's handle.
Queue · spawn a worker on demand¶
Enqueue a task to a named queue; the substrate spawns a fresh agent of the configured profile, runs the payload, and delivers the result back to your inbox. Producer keeps working in between.
Canvas · collaborate on a document¶
Open a shared markdown file. Multiple agents read, write sections, subscribe. Each write wakes every other subscriber with a diff-aware notification. The classical blackboard pattern, terminal-native.
Workflow · deterministic Python orchestration¶
When the dance has to be reliable — TDD loops, bug triage, multi-step plans — wrap it in a workflow. Plain Python, calls agents, runs bash predicates, retries with feedback. Top of the stack; spans agents.
What's also in the box¶
The TUI is calm and dense. The metrics are honest. The substrate persists.
- Multi-tab TUI. N independent agent sessions. Generated alliterating handles (
lucid-knuth,wry-hopper). State dots, sticky*, terminal bell when a backgrounded agent finishes. Per-block click-to-copy. - Honest metrics. True input (including cache) with cached %, output, tool calls, per-turn and per-session timing. Provisional while streaming, exact at turn end. No log scraping anywhere.
- Queue dashboard. Always-on one-line strip above the status bar (per-queue depth, last in-flight worker).
Ctrl+Dfor a full dashboard with in-flight / queued / recent bands and a live assistant-text tail. - Session persistence.
aegisreopens the last workspace by default — tabs, profiles, order, with each underlying agent session genuinely resumed.aegis --cleanopts out. - Headless + Telegram.
aegis serveruns the SessionManager + MCP plane without a TUI. Add a Telegram token and drive your agent team from your phone. - MCP plane. Every spawned agent is injected with the aegis MCP server. Orientation (
aegis_meta), session listing, handoff, queue dispatch, canvas ops, workflow invocation — one consistent surface across providers.