MACS: Multi-Agent Coordinated Spec Development for AI-Assisted Coding

Abstract illustration of a central spec document coordinating multiple AI agent harnesses

TL;DR

I’ve been experimenting with cloud-based MACS, Multi-Agent Coordinated Spec development. I host the specs at a web location, Grok assigns the work there as project manager, and the other agents check in on a routine, pick up their instruction set, and update when they’re done. In theory it scales to as many third-party harnesses as you have.

I’ve been doing a lot of AI-assisted software work lately, and the part that keeps snagging me is coordination. One agent can write a function just fine. Several agents, living in separate harnesses with no shared runtime, will drift unless they have a source of truth they can all see.

I started writing the whole spec first, then putting it somewhere on the web those agents can actually reach. From there I built a process I’ve been calling MACS, Multi-Agent Coordinated Spec development. The version I’ve been experimenting with is cloud-based MACS. This is an experiment in progress, and I’m writing it down while the paint is still wet.

What MACS Is

MACS is external coordination for third-party harnesses. The spec is the source of truth. I write the specs for whatever I’m trying to build, an application or any other body of work, host them at a web location, and point every agent on the project at that location. I use Grok as the project manager for MACS projects. The spec, the assignments, and the completion updates all live on the same board, so nobody has to share a process, a desktop, or a vendor runtime to participate.

The Problem It Solves

Most of the agent tools I can put to work today live in their own harness. They don’t share memory. They don’t share a session. They don’t automatically know what the other one just finished, or what still needs to happen next. If you leave that unaddressed, you end up pasting context from one chat into another, and the plan fragments the minute you look away.

I treat that as a coordination problem. The models can be fine. The missing piece is a shared place, sitting outside any one harness, where the work is described, assigned, and marked complete.

How the Loop Works

The loop is simple, and I mean that as a compliment.

First I write the specs, all of them, or at least enough of the work that the steps are clear and the boundaries between them are obvious. Then I host those specs at a web location the agents can reach. I set each agent up with instructions to look at that location, not at a private copy I pasted into a prompt once and hoped would stay current.

Grok acts as the project manager. It reads the specs and leaves specific instructions at that same web location, spelling out which agent should be assigned which specs or steps. The other agents have a routine, and they check the location every so often. When an agent sees an instruction set for itself, it picks that set up, does the work, and writes an update when it’s complete. Grok can see that update and decide what should be assigned next.

Write the spec. Host it. Assign from it. Check it. Work from it. Update it. Repeat. Every step happens against the same source of truth.

Why It Scales Across Harnesses

Because the coordination sits outside the harnesses, you’re not limited to agents that already know how to talk to each other. If a harness can be instructed to read a web location, pick up a task, and write a completion update, it can join the loop. In theory you can scale to as many agent harnesses as you have. You don’t need a common runtime, and you’re not waiting on a vendor to build a shared orchestration layer.

I want to be honest about the scope. “In theory” is doing real work in that sentence. I have not run this out to some large number of agents and come back with a chart. I’m describing a pattern I’ve been developing and experimenting with. The scaling claim is about the shape of the design. I don’t have a result I can quote.

Things I’d Think Through Before I Trusted It

A shared web location is convenient, and convenience is usually where the sharp edges hide. These are the engineering questions I’d want answered before I treated a setup like this as more than an experiment.

Access control on the spec location matters. The specs, the assignments, and the completion updates are the plan and the record. I’d want that location limited to the agents and people who should actually be on the project, with writes controlled at least as tightly as reads. A board that anyone on the internet can edit is just a suggestion box, and I wouldn’t trust it to run a project.

Each step needs a clear exit criterion. “Work on the spec” is not a finish line. If Grok is going to assign the next step, it needs to know what done looks like on the current one. This is the same idea I wrote about as proof-based exit gates in the Agent Control Model. An agent shouldn’t move on to step B until it has demonstrated that step A’s exit gate passed. The update it posts shouldn’t just say “complete.” It should point to whatever evidence would convince a skeptical project manager that the step actually finished.

Pickup has to be idempotent, or at least exclusive. If two agents check the board at about the same time and both decide a step is theirs, you’ll get duplicate work and a messy merge, or worse, two slightly different interpretations of the same spec. The instruction set should be claimable in a way that only one harness can hold it, and a second visitor should see that it’s already taken.

Keep an audit trail of the updates. Who picked up what, when they claimed it, when they marked it complete, and what they said they produced. Grok needs that to manage the project, and you need it later when something looks off and you want to walk the tape backward. This also lines up with the evidence layer in ACM, and with how the Agent Interconnection Model thinks about telemetry along the path of the work.

Polling interval is a tradeoff. Check too often and you waste cycles and spend tokens rereading a board that hasn’t changed. Check too slowly and work sits idle after Grok posts an assignment, or two agents lag into the same gap. I don’t have a magic number. I’d start coarse, watch how long assignments sit untouched, and tighten the routine only where the wait is actually costing you time.

Where This Sits for Me

I’m still experimenting. Cloud-based MACS has been a useful way to keep several harnesses honest against one plan, and it has made the project-manager role explicit, which I like, because somebody has to own the assignments and the definition of done. Grok is that somebody in the setups I’ve been running.

If you’re already using more than one agent harness on the same piece of work, you may be doing a version of this already, just with more copy and paste. Putting the spec on the web and letting the project manager write assignments there is the part I’d keep, even as the tools change underneath it.

I’ll write more as the experiment settles. For now, this is the process, the loop, and the questions I’m paying attention to while I run it.

Found this useful?

Everything here is free and stays that way. If something I wrote saved you a headache, you can support the site on Ko-fi.

Support on Ko-fi

No responses yet

Leave a Reply

Your email address will not be published. Required fields are marked *

Latest Comments

No comments to show.