November 29, 2026
5 min read
Ian Lintner

📡 Multi-Agent Intercoms, Daily Standups, and Recursive Agent Dev

Three-layer inter-agent intercom architecture connecting A2A RPC, an async message bus with wake bridge, daily standup Scrum Master, and recursive dreaming loops
AI Agents Multi-Agent Architecture Automation DevOps Engineering
Share this article:

📡 Multi-Agent Intercoms, Daily Standups, and Recursive Agent Dev

Running one coding agent in a terminal is easy. You give it a task, watch the diff, run the tests, and merge.

Running a fleet of specialized agents across 18 active kanban boards and two homelab machines is a different problem. Once workers run in parallel, code generation stops being the bottleneck. Coordination takes over. Cards get stuck in blocked with no explanation. Two workers grab duplicate tickets for the same PR branch. Merged PRs leave stale cards sitting on a board for a week. Worse, every agent keeps tripping over the same tool guardrails because lessons from one run never make it back into the next run’s instructions.

Throwing all of that into one giant orchestrator prompt collapses fast. Context bloats, costs spike, and one noisy loop wakes everything else up.

Instead, we broke multi-agent operations into three smaller systems that talk to each other:

  1. A 3-layer inter-agent intercom so agents across hosts can send synchronous RPCs, post async handoffs, and read a shared wiki without creating notification storms.
  2. An automated daily standup chaired by a Scrum Master agent that audits every active board, fixes mechanical roadblocks on its own, and hands me one short list of actual human decisions.
  3. A metric-gated recursive self-improvement loop that distills worker failures into skill patches overnight and reverts anything that fails to move the numbers.

🚧 Where parallel coding agents actually break

When we scaled past a handful of repositories, the failures were rarely “the model couldn’t write Rust or TypeScript.” They were boring operational bugs that compound when nobody is looking:

  • Duplicate branch races. A review-fix card gets queued while another worker is already pushing fixes to the same PR head. Without a referee, two workers fight over the branch.
  • Silent board rot. A PR merges, CI is green, and the kanban card sits in scheduled for eight days because nothing reconciled board state with GitHub.
  • Phantom blockers. Downstream cards stay parked in blocked even after their parent dependencies clear, or sit in ready with no assignee.
  • Repeated friction across profiles. A worker profile hits the same shell guardrail or repo quirk ten times in a week because each session starts fresh from the same static SKILL.md.
  • Alert fatigue. If every background cron job or agent posts raw updates to chat, you stop reading the chat.

Human engineering teams solved most of these decades ago with boring rituals: shared channels, a daily standup to clear blockers, and retrospectives that actually change how the team works. The trick with agents is making those rituals deterministic, cheap, and bounded.


📡 The 3-layer inter-agent intercom

One transport does not fit every kind of agent communication. Streaming a direct request to another host is different from broadcasting a handoff to whoever picks up the next shift, and both are different from storing durable architecture notes.

Our homelab fleet runs across a primary control-plane host and a remote worker box connected over a persistent SSH tunnel (skavenblight-comms-tunnel.service), so cross-host traffic stays on loopback without opening LAN firewall holes. On top of that tunnel sit three layers:

Three-layer inter-agent intercom architecture showing Layer 1 synchronous A2A RPC over an SSH tunnel, Layer 2 async agent-message-bus with SSE wake bridge and HMAC-SHA256 webhooks, and Layer 3 wiki-substrate-mcp shared knowledge base

Layer 1: Synchronous RPC (A2A)

For direct request-response or streaming calls between hosts, Hermes exposes built-in Agent-to-Agent (A2A) endpoints (:9900 on the control plane, :9901 tunneled to the worker box). Each side publishes /.well-known/agent-card.json so callers can verify identity and capabilities before sending work.

Layer 2: Async mail, topics, and blackboards (agent-message-bus)

Most agent coordination does not need a live blocking call. It needs durable mail.

We run agent-message-bus locally on :8788 (with a lightweight web UI on :8789/web/) hosting a homelab space with 29 registered agent identities (omarchy, scrum-master, coder-claude, coder-local, reviewer, oauth-maint, planner-claude, lane-hub, plus per-board standup reps). Every agent authenticates with its own bearer token and uses:

  • Topics (all, handoffs, alerts, research, standup) for broadcast signals.
  • Direct messages for targeted agent-to-agent pings.
  • Blackboards (standup, decisions, forum) for threaded discussions that stay readable after the run ends.

Workflow hooks (bus_emit.py) are deliberately fail-open with a two-second timeout. If the bus is restarting, a cron job or worker hook never blocks or crashes waiting on telemetry.

Keeping the wake bridge from turning into a token furnace

An async bus is only half useful if nobody notices urgent mail, yet waking an LLM on every message is the fastest way to burn a quota.

bus_wake_bridge.py sits between the bus’s Server-Sent Events stream (/v1/inbox/stream) and Hermes’s local webhook endpoint (:8644/webhooks/agent-bus-wake). Every outbound webhook is signed with HMAC-SHA256 (X-Webhook-Timestamp + X-Webhook-Signature-V2), and the bridge enforces four strict guardrails before it wakes an agent:

  1. Explicit wake filter. Routine topic chatter is ignored. Only messages marked critical=true, tagged [WAKE] or [CRITICAL], or explicitly @mentioning the target agent trigger a wake.
  2. Hop counter (max_hops=3). Every forwarded event increments [hop:N]. If hop >= 3, the bridge drops it so two agents can never ping-pong forever.
  3. Self-message and cooldown filtering. An agent never wakes on its own messages, and per-sender cooldowns throttle bursts.
  4. Seeded persistent cursor. On first boot, the bridge advances last_seen_id to the current inbox head so restarts never replay yesterday’s history.
if msg_id <= last_seen_id:
    return False, f"duplicate_or_old({msg_id}<={last_seen_id})", 0
if sender and sender == agent_name:
    return False, "self_message", 0
if hop >= max_hops:
    return False, f"anti_loop_hop({hop}>={max_hops})", hop
if critical:
    return True, "critical", hop
if wake_tagged:
    return True, "wake_tag", hop
if mentioned:
    return True, "mention", hop
return False, f"anti_stampede_ignored(type={msg_type})", hop

Layer 3: Shared knowledge substrate (wiki-substrate-mcp)

Chat threads are terrible long-term memory. Durable operational knowledge lives in a shared markdown wiki served over MCP (wiki-substrate-mcp.service on :8790/mcp). Any agent on either machine can call wiki_search(query, top_k) (ranked by term relevance plus inbound citations), wiki_visit(uri) with bounded line windows, and wiki_publish to append new findings. Context stays small because agents fetch only the exact pages they need.


🗓️ Running a daily standup for 18 boards

With the intercom in place, the next problem was keeping 18 active kanban boards moving without manually inspecting each one every morning.

We set up a daily 07:30 CST cron job (daily_standup_runner.py + a scrum-master agent turn) that runs an actual standup on the message bus. The design rule is simple: deterministic Python gathers the facts, cheap models format board reports, and one Scrum Master turn takes action.

Daily 18-board standup pipeline showing the 07:30 CST deterministic board scan, ordered per-board rep roll-call on the standup blackboard, autonomous Scrum Master roadblock clearing and handoffs, and compact owner-gate escalation to Telegram

How roll-call works

  1. Board discovery and deterministic analysis. The runner queries every kanban board in parallel and keeps boards with open work or cards shipped in the last 24 hours. For each board, pure Python calculates 24-hour velocity, active/ready/blocked queues, cards aging past 3 days, and broken signals (such as unassigned ready cards or duplicate ready titles).
  2. Priority speaking order. Boards with blocked cards or broken signals go first, followed by boards with running or ready work, then queued boards.
  3. Per-board standup reps. Each board gets an auto-onboarded bus identity (rep-<board>) with its own token. The runner generates each rep’s 4-part update (Yesterday (24h), Today, Blockers / Aging (>3d) / Broken, Needs / Changes) via a cheap model route with a strict 120-word cap and a deterministic fallback if the LLM times out. Each rep then posts to the day’s standup blackboard thread strictly in speaking order.
  4. Scrum Master briefing packet. The runner prints the compiled roll-call, remote worker lane capacity, and owner queue to stdout, which feeds straight into the Scrum Master agent’s turn.

What the Scrum Master fixes vs. what it escalates

The Scrum Master has authority to clear mechanical board debt and route workers, paired with hard boundaries around human gates:

LayerResponsibilityAuthority / Guardrail
daily_standup_runner.pyDiscover boards, compute ages/duplicates, post rep updatesPure deterministic facts; never mutates cards
rep-<board> agentsPost crisp 4-part board updates in speaking orderStrict snapshot grounding; deterministic fallback
scrum-master agentUnblock phantom blocks, archive duplicates, close merged cards, issue handoffs ordersCannot merge PRs, bypass CI, or waive human approvals
Owner (Ian)Current-head PR approvals, CI/security policy, breaking design callsReceives one compact Telegram summary + owner gate list

In a real standup run on November 29, 18 boards attended and 41 cards had shipped across 9 boards in the previous 24 hours. Before the summary even hit Telegram, the Scrum Master:

  • Unblocked 3 downstream cards on guild-and-greed that were stuck in blocked with no blocker reason, moving them back to todo so they auto-promote once their parent PRs land.
  • Archived a duplicate ready review-fix card on asm-forge that would have raced a running worker already pushing to PR #15.
  • Closed 4 stale scheduled cards across go-oauth2-server and security-hardening after verifying their PRs had already merged days earlier.
  • Broadcast targeted orders on the handoffs topic telling oauth-maint to fix a failing Rust security check, coder-claude which ready queues to drain next, reviewer which PRs needed independent review, and planner-claude to pause cutting new security-hardening cards until the approval backlog drained.

My Telegram thread got a one-screen digest instead of 18 walls of logs: velocity, what the Scrum Master already fixed, the aging bottlenecks, and the exact owner gates waiting on me (adding CI to a new game repo, one breaking dependency upgrade decision, and stale-head PR re-approvals).


🔁 Closing the loop: recursive agent dev that doesn’t bloat itself

Standups keep work flowing day to day, but they do not fix why workers keep failing. If an agent profile trips over the same tool guardrail or workflow edge case three times a week, clearing the card just resets the trap for tomorrow.

On the other hand, letting an agent freely rewrite its own prompts and SKILL.md files is a well-known disaster. Within a week, every one-off incident turns into a paragraph of defensive prose, prompts swell past their token budgets, and nobody knows which edit helped or hurt.

We split recursive self-improvement (RSI) into two cadences: a nightly trajectory distiller (harness-dreamer) and a weekly statistical reviewer (harness-self-review).

Metric-gated recursive agent self-improvement loop showing nightly harness-dreamer trajectory distillation with five code-enforced staging gates in gates.py and weekly harness-self-review statistical scoring with KEPT, REVERTED, and INCONCLUSIVE verdicts

Nightly distillation: harness-dreamer

Every night at 03:45 CST, a three-phase pipeline inspects the fleet’s recent work:

  1. Light phase ($0 stdlib precheck). Reads all kanban board databases and worker session SQLite databases in read-only mode. It separates infrastructure faults (worktree_conflict, rate limits, offline backends) from model, guard, and protocol faults, then extracts contrastive recoveries (a failed attempt paired with the later run that succeeded). If the fleet was quiet (signal_score < 2), it exits and never wakes an LLM.
  2. REM phase (local model, $0 marginal cost). A local model clusters the extracted trajectories into recurring procedural motifs (theme, pattern, target_skill, evidence_ids).
  3. Deep phase (gated skill edits). An agent updates the shared wiki, appends a short reflection to DREAMS.md, and stages candidate SKILL.md or AGENTS.md patches through harness_dreamer stage.

The guardrails live in gates.py. Before any self-edit can be approved or applied, code enforces five hard gates:

Staging GateWhat It EnforcesWhy It Exists
missing_metricEvery edit must declare a target metric path and direction (increase / decrease)No unmeasurable “feels better” prompt tweaks
insufficient_evidenceRequires >= 2 distinct task or session IDsStops overfitting to a single noisy failure
leakage:*Rejects task IDs, PR numbers, dates, SHAs, or board names in the added ruleKeeps skills general; provenance stays in the ledger
size_budget:*Files >= 32 KB cannot grow at all; smaller files capped at <= 1200 B per editForces compression and merging instead of prompt bloat
edit_budget_exceededMax 2 independent edits per dream artifactKeeps later metric changes attributable

Every proposal (gated, rejected, applied, or reverted) goes into an append-only JSONL ledger alongside automatic backups and a side Git repo tracking ~/.hermes/skills. Infrastructure faults are explicitly barred from model prompts: you do not patch a coding skill to “fix” a 429 rate limit.

Weekly meta-review: harness-self-review

Every Sunday morning at 04:15 CST, a deterministic snapshot script collects 7-day and 28-day rates across the fleet (task completion rates, error classes per 100 runs, tool-guard blocks, skill sizes, worker skill drift, and Switchyard routing metrics) and scores every applied dream edit in the proposal ledger.

Metrics carry a task-clustered bootstrap noise band. If a metric moved inside within_noise: true, the scorer treats it as noise rather than celebrating a false win. Each applied edit gets one of three verdicts:

  • KEPT: The declared metric moved in the right direction past the noise band with no guardrail regression.
  • REVERTED: The metric or guard rate regressed beyond tolerance; flag for harness_dreamer revert.
  • INCONCLUSIVE: Two consecutive inconclusive weeks automatically mark the edit for retirement. Prompt rules that do not earn their keep get pruned.

Once scoring finishes, the curator consolidates unpinned skills, splits oversized files into references/ docs, and syncs content-addressed worker skill copies so worker_skill_drift_count returns to zero.


🧭 What actually makes this manageable

After running this stack across 18 active boards, four principles matter more than whichever model is currently on top of the benchmarks:

  1. Deterministic collection, narrow LLM turns. Python scripts scan boards, compute ages, filter SSE streams, and compute bootstrap noise bands. Models only spend tokens on synthesis, triage, and targeted fixes.
  2. Anti-stampede by default. An inter-agent bus without wake filters, hop limits, and cooldowns will happily wake your entire fleet in an infinite loop at 3 AM. Quiet by default beats chatty every time.
  3. Separate flow maintenance from owner gates. Let autonomous agents close merged cards, archive duplicates, and route idle workers, while keeping PR approvals, security boundaries, and breaking design calls behind hard human gates.
  4. Regularize recursive self-improvement like production code. Evidence minimums, leakage checks, hard byte budgets, and statistical rollback turn “agents editing their own prompts” from a gimmick into a controlled feedback loop.

✅ Closing take

A fleet of imperfect coding agents becomes surprisingly reliable once you give it a clean intercom, a morning standup that sweeps up mechanical debt, and a disciplined nightly loop that keeps the lessons and throws away the bloat.

When those three layers are working, managing 18 active boards feels less like babysitting bots and more like reviewing a sharp team’s morning brief.

I

Ian Lintner

Full Stack Developer

Published on

November 29, 2026