Back to Research

FEDERaiDE Routes Agents in Your Terminal

FEDERaiDE is a terminal multi-agent harness with P2P routes, memories, and an IDE. Here is when to try it safely.

Hall of Lofty Pines, landscape painting by Wang Hui (1703).
Rogier MullerAugust 13, 20268 min read

FEDERaiDE, a TUI harness with P2P multi-agent routing and built in IDE, is a solo-built terminal UI project published at Rocklab that gives named language-model agents memories, roles, peer-to-peer routes, and an editor. It deals with a stubborn coding-agent question: how can multiple agents coordinate on scripts and small programming jobs without forcing the developer into a heavy desktop app? The useful takeaway is simple: treat it as a small lab for agentic coding experiments, then keep the same review guardrails you would use around Codex, OpenAI's software engineering agent, before any generated code lands. A multi-agent harness is a control surface for running several model instances that can divide work, pass context, and return results to a human reviewer.

Watch the routes before the agents write

The interesting part of FEDERaiDE is not just that it runs in a terminal. Lots of developer tools do that. The hook is that agents are named model instances with their own memories and backstories, and they can coordinate through peer-to-peer routes instead of everything passing through one central chat transcript.

That matters because multi-agent coding often becomes invisible fast. One agent suggests a plan, another edits a file, a third critiques it, and by the time a diff appears you are debugging a social process rather than code. A routing view gives you a chance to ask the boring but important question: who told whom to do what?

A concrete example is a script cleanup. You might have one agent inspect a Bash script, another propose a Python rewrite, and a third check edge cases. If the route graph shows the rewrite agent never received the edge-case notes, the final patch is less trustworthy even if it compiles.

The trap is mistaking agent chatter for architecture. Peer-to-peer routing is helpful when it preserves responsibility. It is noise when agents pass long summaries around without a crisp handoff.

Use the IDE as a review surface, not a replacement editor

The author describes FEDERaiDE as having its own IDE, including interactive structure parsing and jump to definition. That is a practical choice. If a terminal tool can jump through the code it is changing, the human can review the agent's claim against the repository instead of scrolling through chat.

This is where FEDERaiDE feels closer to a developer workbench than a toy prompt runner. A terminal IDE is useful for people on modest machines, remote shells, or environments where a full graphical editor is not available. The author's own note says part of the motivation came from reaching people who did not have suitable computers for another IDE.

The review move is simple. When an agent says it changed a helper function, jump to the function. When it says there are no callers, jump to the references or run the repo's search. Structure-aware navigation turns the conversation back into code.

The trap is letting the built-in IDE become the only verification surface. Jump to definition tells you where code is. It does not tell you whether the new behavior is correct.

Keep the first experiment small enough to throw away

FEDERaiDE is described as general purpose and meant for recreational programming and script automation. That is a useful honesty label. The best first task is not a service rewrite; it is a script, a parser, a test helper, or a one-file refactor where failure is cheap.

Try something like this: take a local maintenance script that renames files, let one agent explain the current behavior, let another propose a safer version, and let a reviewer agent write test cases. Then run the tests yourself. If the tool makes the work easier, you learned something. If it makes the work theatrical, delete the branch.

This is also where language choice matters. Small, boring, well-tooled codebases are easier for agents to inspect and verify, which is why our related piece on Best Programming Language for Coding Agents? focuses less on taste and more on tooling feedback.

The trap is choosing a task that is emotionally important but technically vague. Multi-agent systems amplify unclear goals. If you cannot write the acceptance check in one paragraph, the agents probably cannot rescue it.

Borrow the boundary for Codex work

Even if you never run FEDERaiDE, the project points at a useful boundary for Codex users: separate routing, editing, and verification. Let agents coordinate, but make the repository say what counts as safe.

In a Codex repo, that usually means a small AGENTS.md rule near the code under change. Keep it local and concrete. For broader patterns around agentic coding governance, the same rule applies: the closer the instruction is to the files, the less magic the agent has to infer.

# AGENTS.md
- Generated code must include the command used to verify it.
- For Python changes, run: python -m pytest
- Do not edit files under migrations/ unless the task names a migration.
- MCP access is read-only unless the prompt names the write operation.

That last line is the important one when agents touch external systems. Model Context Protocol, or MCP, is a standard way for AI tools to connect to resources such as repositories, databases, issue trackers, and document stores. A read-only mcp server is a good default because it lets an agent gather context without quietly changing the world.

The trap is giving every experiment production-shaped permissions. A terminal multi-agent harness is fun because it is close to the shell. That is also why the first boundary should be boring.

Try FEDERaiDE safely

Use this as a small fit check, not a procurement worksheet.

Question Fit Not fit
What are you changing? A script, test helper, parser, or small repo task A critical service path with unclear acceptance criteria
What do the routes show? Each agent has a clear job and handoff Agents summarize each other without producing evidence
What can the tool access? Local files or read-only external context Write access to tickets, deploys, databases, or secrets
How will you verify? A command, diff review, and one human decision A chat transcript that sounds convincing
What is the exit plan? Delete the branch if the workflow feels noisy Keep iterating because the agents already spent time

A good first run has a receipt. Before accepting code, capture the task, the agent roles, the files changed, and the verification command. If that feels too heavy for the task, the task is probably too small for multiple agents.

One methodology lens

One useful way to read this through our methodology is the Plan step: delegate first-pass decomposition and dependency mapping, review the sequencing and assumptions, and keep ownership of scope and priorities. If that split is still fuzzy, the workflow usually is too.

Practical starter checklist

- [ ] Name the Codex artifact first: an AGENTS.md instruction, a Codex CLI verification loop, an MCP boundary note, or a skills handoff.
- [ ] Write the review checklist before generation starts: scope, owner, tests, rollback.
- [ ] Keep the first step small enough that a reviewer can inspect the receipt without replaying the whole chat.

Common questions

  • How should teams start with Codex?

    Start by writing down one visible team rule for Codex, not a loose preference. That usually means a short repository convention, a review checklist, and one owner who can reject agent output when the evidence is missing.

  • Which Codex artifact should teams standardize first?

    Standardize the smallest artifact that reviewers already touch: a AGENTS.md instruction, MCP note, or verification checklist. The point is not documentation volume; it is a shared place where scope, allowed tools, expected tests, and rollback notes are visible before generated code reaches review.

  • How do teams know the convention is working?

    The convention is working when reviewers can approve or reject agent output from the artifact and evidence alone. Track whether pull requests name the rule used, include the promised checks, and avoid replaying long sessions just to understand what changed.

Best ways to use this research

  • Best for: Codex teams deciding which AGENTS.md instruction, CLI workflow, MCP boundary, or verification loop to standardize next around “FEDERaiDE Routes Agents in Your Terminal.”
  • Best first artifact: turn the named fix into an AGENTS.md rule, verification checklist, MCP note, or review receipt before the next automated run.
  • Best comparison angle: compare the workflow against the current Codex CLI review loop, shell boundary, and evidence trail; keep the path that leaves the shortest auditable trail.

Further reading

Where to go next

Start from the related training topic and make the first exercise prove scope, verification, and ownership in the PR body.

Related training topics

Related research

Continue through the research archive

Ready to start?

Transform how your team builds software.

Book a 15-minute sync