Back to orbit
World 2 / 4
Story

A live simulation of how my agents work together

Agentic Workflows

Chapter 01A dozen agents, one machine

I rarely work with one AI agent. On my dev server a dozen Claude Code and Codex sessions run side by side — each on its own task. Since July 2026 that is roughly 3,000 agent sessions. The little robots here run the same protocol.

Chapter 02The bus

Every session registers on a local message bus (SQLite) with a one-line summary of what it is doing. Watch the pulses: agents announce themselves and broadcast state changes — and messages land in other agents’ context as awareness, not as commands.

Chapter 03Claim before you touch

Before a deploy, a restart, a migration or a commit in a shared repo, an agent claims an advisory lock — the flag turns its colour. If another live agent holds it, it backs off and coordinates instead of barging in. That one rule is what lets a dozen agents share one machine.

Chapter 04One memory for all of them

A fresh session knows nothing. So every agent — Claude and Codex alike — reads and writes one git-backed memory of 1,100+ small facts, plus layered AGENTS.md maps. The real work isn’t the model; it’s putting information in one well-structured place.

Chapter 05A skeptic after every feature

An agent never grades its own homework. After any non-trivial change a separate auditor agent — briefed only on what was claimed — re-derives everything from the diff and tries to break the tests before anything is called done.

Chapter 06Agents on a clock

Some agents need no human to start them. They run headless on a schedule: spoken voice memos become tasks, the inbox is triaged three times a workday, the task boards are groomed weekly and new legislation is scanned monthly.

Chapter 07One protocol, many sources

In production the same idea powers Prudai: agents reach Microsoft 365, CRMs and legal APIs through the Model Context Protocol — one tool layer, many sources.

Next stop

Agentic Workflows