agent-bridge
Allows delegation of tasks to Google Antigravity agents and integration with Antigravity for multi-agent workflows.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@agent-bridgeask coder to add input validation to src/api/users.ts"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
π ekip
Make your coding agents work as a team.
A vendor-neutral coordination hub that lets Claude Code, Google Antigravity, and any headless CLI agent delegate tasks to each other and share context β droppable into any project.
plan β debate β code β review β audit β an Opus architect, a Sonnet
reviewer, and a Gemini coder shipped a feature together in 5m39s,
unattended, using this hub.
π»π³ HΖ°α»ng dαΊ«n tiαΊΏng Viα»t
Why
Coding agents are getting great β but they work alone. The tools that do connect them are one-way ("use agent B as a tool inside agent A") or heavy (tmux supervisors, Python stacks). ekip takes a different shape:
Symmetric peers. No agent is the boss. Everything flows through one hub, so either side can delegate to the other β including you, from the dashboard or CLI.
A shared blackboard. Headless runs are one-shot; context survives on a key/value blackboard all agents read and write (
plan.v1,review.round1, β¦).Only sanctioned surfaces. MCP servers + each vendor's official headless CLI (
claude -p,agy -p). No scraping, no automation around rate limits.npm-light. One package, three dependencies, a single-file dashboard, no build steps at runtime.
flowchart LR
subgraph hub["ekip hub Β· one per project"]
Q["task queue<br/>pending β claimed β done"]
B["context blackboard"]
D["dispatcher + watchdog"]
end
CC["Claude Code"] <-- MCP --> hub
AG["Antigravity"] <-- MCP --> hub
YOU(["you Β· dashboard /ui Β· CLI"]) --> hub
D -. "spawns headless<br/>claude -p / agy -p / any CLI" .-> W["one-shot worker runs"]
W -- MCP --> hubRelated MCP server: kitty-hive
Quickstart
npm install -g @swtiit/ekip # the installed command is `ekip`
cd /any/project
ekip init # writes config + prints the MCP snippets to paste
ekip serve # hub + dashboard, one terminal tabinit prints exactly what to paste into each agent (Claude Code's
.mcp.json, Antigravity's global config β including the permission grants
headless runs need). Then, from any connected agent or your own terminal:
ekip run coder "Add input validation to src/api/users.ts"task 54d00e94 β coder Β· dashboard: http://127.0.0.1:4319/ui
21:39:00 β working conductor Feature pipeline: slugify
21:39:57 β done planner Plan slugify implementation (51s)
β Plan stored at slug1.plan.v1: NFD-decompose + Mn-stripβ¦
21:41:29 β done critic SCORE:93
21:42:06 β done agy Implement slugify.py + tests (30s)
β Self-verified: ALL TESTS PASSED
21:44:30 β done conductor Feature pipeline: slugify (5m39s)
ββ DONE ββ Β· auditor verdict: SHIPHow a delegation works
sequenceDiagram
participant A as agent A
participant H as hub
participant B as agent B (spawned)
A->>H: bridge_delegate(to: B)
H->>H: task created (pending)
H-->>B: dispatcher spawns B's headless CLI
B->>H: bridge_claim(task_id)
Note over B: does the work<br/>reads/writes the blackboard
B->>H: bridge_post_result(done, artifacts)
A->>H: bridge_wait(task_id)
H-->>A: final task stateEight MCP tools cover the whole protocol: bridge_delegate, bridge_claim,
bridge_post_result, bridge_wait, bridge_task_get, bridge_list_tasks,
bridge_context_set, bridge_context_get. Full contract in
PROTOCOL.md.
Three ways to watch and drive it
Surface | What you get |
Dashboard | Live task board (SSE), blackboard viewer/editor, per-task logs, artifact viewer, and a form to delegate work yourself β the human is one more peer |
CLI |
|
HTTP API |
|
Multi-agent pipelines
The examples ship a field-tested crew and flow:
examples/roles/ β standing "role skills" (conductor, planner, critic, coder, reviewer, auditor). Point an agent's
promptFileat one and every spawn carries its persona, checklists, and output contracts.examples/feature-pipeline.md β the full flow: plan β debate (to
SCORE β₯ 90, capped) β code β review loop (capped) β audit (SHIP/HOLD) β human-readable report. Hub-and-spoke, so delegation depth stays β€ 2 no matter how many stages.examples/mini-pipeline.md β the 3-stage starter version, plus the hard-won "iron rules" for conductors.
Configuration
ekip.config.json, one per project:
{
"project": "my-project",
"host": "127.0.0.1",
"port": 4319,
"agents": [
{ "name": "planner", "adapter": "claude",
"args": ["--model", "claude-opus-4-8", "--effort", "high"],
"promptFile": ".ekip/roles/planner.md" },
{ "name": "coder", "adapter": "antigravity",
"args": ["--model", "Gemini 3.5 Flash (High)"] },
{ "name": "codex", "adapter": "command",
"command": "codex", "args": ["exec", "{prompt}"] },
{ "name": "me", "adapter": "claude", "spawnable": false }
],
"maxDepth": 6,
"watchdog": { "pendingTtlSeconds": 600, "claimedTtlSeconds": 3600 }
}Machine defaults: once a project's cast feels right, run
ekip init --globalthere β it saves the agents and role files to~/.ekip/. Every futureekip initmaterializes that cast (and wires.mcp.json) automatically, so a new project is justinit && serve. Project files always win over machine defaults, field by field; rolepromptFiles resolve in the project first, then~/.ekip/roles/by filename.Model-per-role: register the same adapter several times with different
--modelargs β delegating to a name picks a model.spawnable: falseregisters an agent that polls (bridge_claim) instead of being auto-launched β e.g. a session you drive interactively.promptFileprepends a markdown role to every spawn of that agent.The
commandadapter plugs in any CLI with{prompt},{hubUrl},{taskId},{agent},{depth}templating β no code required.Project-level knowledge (conventions, lint, CI) belongs in each tool's native files β
CLAUDE.md/.claude/skills/andAGENTS.mdβ which spawned runs pick up automatically.
Letting spawned agents edit files
Out of the box a spawned run can only talk to the bridge. For real coding (all field-tested):
Claude Code: add
"--permission-mode", "acceptEdits"to the agent'sargs; allowlist specific commands via--allowedTools "Bash(npm test:*)".Antigravity: headless agy soft-denies anything needing a prompt, and a single denial kills the whole run. Grants live in
~/.gemini/config/config.jsonunderuserSettings.globalPermissionGrants.allow:"mcp(ekip/*)"for the bridge tools,"write_file(*)"for a coder (scope tighter if you like), plus"command(<cmd>)"for each command it may run. The adapter always passes--add-dir <cwd>β without it, headless runs write into agy's scratch directory instead of your project.
The watchdog (and the quota question)
Spawned agents die silently more often than you'd hope β quota exhaustion
(Claude's "session limit", agy's silent 429 exit), permission denials,
missing binaries. The hub sweeps orphaned tasks past their TTL to failed
and greps the spawn log for the reason, so the dashboard tells you
watchdog: no claim within 600s β spawn log hints: "You've hit your session limitβ¦" instead of hanging forever.
Neither vendor exposes remaining quota programmatically today, so the bridge surfaces quota problems post-mortem β and the pipeline templates carry spawn estimates (best case 6, worst case ~12 per feature run) so you can budget.
Testing
npm test # 45 end-to-end cases, no LLMs involvedBoots a real hub on a scratch port and exercises the HTTP API, all 8 MCP tools, the dispatcher, permission/claim edge cases, watchdog reaping, loop-guard, concurrency (parallel claims), crash-safety (missing binaries), and the CLI as a subprocess.
FAQ
Does this violate any provider's terms? It uses only documented surfaces: MCP servers and official headless CLIs, each authenticated with your own accounts. It never proxies one model through another, trains on outputs, or works around rate limits.
Do both apps have to be open? No. Only the hub runs persistently. The receiving agent is spawned headless on demand and exits when done; the sender is whatever you're already working in (or the dashboard form).
How do I add an agent that isn't Claude or Antigravity? Usually zero
code: the command adapter + an args template. Bespoke behavior = one
adapter file implementing spawn + mcpConfigSnippet.
What if two agents delegate to each other forever? Every task carries a
delegation depth; the dispatcher refuses past maxDepth (default 6), and
pipeline templates cap their debate/review loops.
Prior art & positioning
One-way bridges that expose agy as a tool inside Claude Code exist (agy-bridge, claude-to-agy), and AWS Labs CAO orchestrates CLIs under a tmux supervisorβworker hierarchy. ekip occupies the gap: symmetric peer delegation + a shared blackboard, per-project, npm-light.
License
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/swtiit/agent-bridge'
If you have feedback or need assistance with the MCP directory API, please join our Discord server