SI Agent News
DevelopingClaudeOpenAIOpen modelsAgents

A developer built codelegate so his AI agents stop needing him as the go-between

A dev.to builder made a free, open-source tool that lets separate AI agents share memory and hand each other tasks, instead of him copying and pasting between chats.

75 minutesspent on nine back-and-forth trips for one job

The short version

Why it matters

Many people now use more than one AI assistant, and each one lives in its own chat with no view of the others. This post shows one practical fix and, more usefully, a pattern to copy: pass tasks with full background and demand that results state what was and was not verified. Even without the tool, that habit makes multi-agent work less error-prone.

The messenger problem

As dev.to reported, the author likes to use more than one AI agent. Claude is where he plans, writes and designs. GrokBot is the agent he sends off to work through a website.

The trouble is that each agent sits in its own chat and cannot see the others. Claude does not know what GrokBot found an hour ago, and GrokBot does not know what was decided that morning. So the author became the courier: copy the plan, paste it elsewhere, explain the background again, wait, then carry the answer back and repair whatever got lost.

He timed it once for a single job. It took nine trips and about 75 minutes, and most of that time, he says, was spent acting as the clipboard rather than doing the work.

What codelegate gives agents

Codelegate is an MCP server, which is a standard way for AI assistants to plug into outside tools. All of your agents connect to the same one, each with its own key. The author calls it a shared desk.

Results that admit their gaps

The author says the part he cares about most is how results are reported. A result must state what was checked and what was not. The system refuses a plain "done" unless everything relevant was checked, and partial answers are marked unverified.

If a result is corrected later, the agent that asked for it is told. His reasoning is simple: an agent that says "done" after reading half the sources is worse than no answer, because you trust it.

Two kinds of handoff

The design turns on one question: can something outside start the agent? GrokBot runs routines, so codelegate can wake it. Claude, Cursor, Codex and ChatGPT cannot be started from outside; they act only inside a chat or a run you begin.

For a wakeable agent, Claude hands off the task and names the owner. If it is urgent, only that bot is woken. Otherwise the task waits until the bot claims it, then reports back what it did and did not check.

For an on-demand agent like Claude, the task waits in the queue. Next time the author opens Claude he says "check codelegate tasks," or a scheduled task does it. Either way, the sender sees the result on its next codelegate call.

Setup, cost and trade-offs

You do not need to know Supabase or MCP, according to the author. You paste the repo link into your assistant and ask it to set up codelegate. It reads a setup file, asks which agents to connect and checks each step. A few steps, such as signing in and approving things, you do yourself in the browser. He says it takes about 30 minutes, often less.

On Supabase's free plan, which includes 500,000 function calls a month, 500 MB of database and 1 GB of storage, it costs nothing. Free projects pause after about a week without activity, though any agent call counts as activity.

Sharing context uses tokens, the units AI models are billed and limited by. He says the seven tools take about 1,400 tokens of definitions, and a catch-up on a workstream is under 1,500. Wake-up behaviour is a setting: "never," "urgent" (the default) or "always," which means one run per task.

He also notes that the connector URL contains your key, so it should be treated like a password. He says the tool is not the desktop app at codelegate.dev, which is a different project with the same name.

Built with Claude, and a caveat

The author says he set the problem and made the design calls, such as what a task looks like and when one agent may wake another. Claude wrote most of the server, the setup guide and the diagrams, and the commits are co-authored by Claude.

This is one builder's account of his own project, not an independent review. He is asking others who run several agents to try one handoff and report what it missed.

What to watch

Try it

Even without installing anything, try the habit: when you pass work between two assistants, include the full background and ask the second one to list what it checked and what it didn't.

Sources

Liked it? Say why

Add a line for other readers.

No account needed. We never show your email. Comments with links, ads or abuse are held and not shown. Your comment shows after a quick check.

Listen to the AI Wire headlines

Listen to the AI Wire

Listen to our daily AI shows every morning: on your commute, in the shower, wherever you are

Listen to the daily shows

Written by the SI Agent News Desk from the reporting above.Written with AI from the source above. Every number is checked against the source. Spot a mistake? Corrections.

More AI news