Moiz Ali
Tetovo Available for projects
← BlogDec 1, 2026 · 5 min read
5 min read

Concord case study — Moiz Ali, AI agent engineer

A case study by Moiz Ali of Concord, a crash-tolerant multi-agent runtime. Dead-worker recovery went from 0/8 to 8/8 in 80 fault-injection scenarios.

AI agentsCase study

I'm Moiz Ali. This is a case study of Concord, a reliability layer I built for multi-agent runs. A planner splits a task into subgoals, workers run them from a shared blackboard in Redis, and a supervisor catches stalls, repeated work and off-task output. I designed, built and evaluated it in a week in 2026. The stack is Claude, Python, Redis and OpenTelemetry. It is still building.

There isn't a live demo for Concord yet. The write-up you are reading, and the project page, are what I can show. You can also read About Moiz Ali.

The problem

When several agents split a task, things fail in ways a single agent never hits. A worker dies and the run hangs. Two subgoals ask for the same thing and the work is paid for twice. A specialist finishes with an answer about something else, and everything downstream builds on it.

I wanted a runtime that notices these, and numbers that show when it does and when it doesn't. Concord is my own project: multi-agent infrastructure, not a client delivery. The failure I cared about most was simple. A worker dies, and the run hangs.

The approach

The pipeline is a straight line with a supervisor in the middle. A task is submitted with a question and a token budget. A model plans the subgoals as structured output. Workers run those subgoals from a shared Redis blackboard, under leases. A supervisor then checks for dead workers, duplicates and drift. A synthesis specialist writes the answer.

All state lives in Redis. Every state change is an atomic Lua script that also appends to an event stream, so a new process can resume a run without redoing recorded work. That is what makes a kill-and-resume test meaningful: the run has to come back from the record, not from memory in a process that no longer exists.

The model proposes, and the code decides. Plans and re-plans are checked for cycles, size and depth before they apply. The drift check asks a model five yes/no questions, and code turns the answers into a verdict. The model does not get to grade its own work with a free-form opinion.

The runtime is bounded on purpose. An output is sent back at most once, re-plans are capped per run, and the supervisor halts a run that goes over its token budget. Those limits are the difference between a retry you can live with and a loop that spends quietly until someone notices.

One run is one OpenTelemetry trace, so a lost attempt, the requeue and the retry all show up on the same picture. If a run fails and I can't see why, I have a black box, not a reliable agent. I wrote more about that instinct in how I build reliable AI agents.

Results

I measured Concord under injected faults, and I also measured it on healthy research questions. The two sets of numbers answer different questions, and I don't want them blended.

In 80 fault-injection scenarios, runs with a dead worker recovered 8 of 8 times with the supervisor, and 0 of 8 without it. That is the number I will stand behind for crash recovery. Across 10 kill-and-resume trials, no finished subgoal was re-run. On runs with a duplicate subgoal, the runtime saved 11.2% of the tokens.

On 19 real research questions with Claude Sonnet 5.5, a model judge preferred the team's answer 12 times to 6, at about 2.9× the token cost. That judge is a model, not a person. The supervisor did nothing on those healthy runs. Its value shows under faults. I don't treat a 2.9× cost as a win by itself. I treat it as a number I have to know.

The gaps are part of the result, not a footnote. Reworded duplicates are not caught yet: 0 of 16. How often the model reviewer is right is not measured yet. Those are the numbers I do not have, and I am not going to fill them with a guess.

What broke, and what the measurements are for

The point of the fault tests was to put the failure modes I already knew about on a counter. Without the supervisor, a dead worker was a hung run, eight times out of eight. With it, those same runs recovered. The OpenTelemetry trace of a Concord run shows that path in practice: attempts lost to a dead worker, requeued by the supervisor, and retried.

The 11.2% token saving is only on runs that already had a duplicate subgoal. It is not a claim about every run, and it does not cover paraphrases. The 0/16 on reworded duplicates is the honest other side of that number. Exact repeats can be caught. Rewording still slips through.

The 19-question comparison is a quality check on the multi-agent team, not a proof that the supervisor helps on a healthy path. I say that plainly because it would be easy to read "12 to 6" as a supervisor result. It isn't. The supervisor sat out those runs.

This is the same discipline I use on the cold outreach agent: the interesting number is the one I measured, and the missing number stays missing. A longer tour of how Concord sits next to the other projects is in Moiz Ali's AI agent portfolio.

What I'd do next

The next work is already written down on the project page, and I have not done it yet. I want a real embedding model for paraphrased duplicates, a measurement of the drift reviewer against 100 labelled cases, and a run of the model re-planner against the real API. Until those exist, the honest status is that Concord recovers a dead worker, resumes without redoing finished work, and still misses reworded duplicates.

Get in touch

There isn't a live demo for Concord yet. The Concord project page has the shorter run report, including the same numbers and the same gaps.

If you have work that should run itself, or you are hiring for a full-time remote role in Europe, use the contact form or download my resume. You can also read About Moiz Ali.

About Moiz Ali, AI agent engineer in Tetovo.