r/SideProject • • 7d ago

Agents are working hard, the workflows are running... and I'm just too lazy to read all those logs so I made it looks fun

Meet Agent Theater Because watching tiny agents do their jobs is way more fun than reading files šŸ˜†

It's a small Claude Code plugin that turns actual agent activity into a live pixel-art visualization.

What it does:

  • Shows multiple agents working across different workflow stages.
  • Visualizes coding, reviewing, testing, and other activities in real time.
  • Animates handoffs as agents move between workstations.
  • Displays workflow progress, queues, and completed tasks.
  • Supports speech bubbles, activity logs, and historical replays.
  • Can export time-lapses and videos.

The visualization is driven by real Claude Code sessions and workflow events, not randomly simulated activity.

How I built it with Claude Code:

I used Claude Code to help implement the session and transcript readers, map agent activity into visual states, build the Canvas-based pixel-art renderer and animations, and develop the replay and video-export functionality.

The project runs locally, and I wanted to keep it lightweight without unnecessary dependencies.

Free & OpenSource

Install:

claude plugin install agent-theater --marketplace tarqmamdouh/agent-theater

GitHub: https://github.com/tarqmamdouh/agent-theater

I'd genuinely love some feedback from people using multi-agent workflows.

123 Upvotes

36 comments sorted by

8

u/bkibbey 7d ago

I love the look of this, I really believe making digital automation look more like a factory diagram (pipes and conveyors and tanks with inputs/ actors/ volumes/ pressures/ outputs) allows people to understand it better.

1

u/Asly97 6d ago

Okay the too lazy to read the logs part is honest, that is me. I have sat on session transcripts for an hour trying to work out where a run went sideways and mostly just ended up rerunning the whole thing.

How many agents are feeding into this for you? And when the replay shows two of them stepping on each other, what do you actually do with that, change the workflow there and then or just make a note and move on?

1

u/Front-Track-2481 6d ago

I’ve definitely been there! šŸ˜‚

There’s no fixed agent count. Agent Theater picks up Claude Code workflows and their subagents, including standalone ones. The stage supports up to 8 visible workflow lanes.

As for agents stepping on each other, replay helps me spot suspicious overlaps, then I check the logs to see what actually happened. If there’s a real conflict, I adjust the workflow.

No automatic agent traffic police yet but it sounds like a pretty cool feature to add!

1

u/Asly97 6d ago

Eight lanes is more than I pictured, I had like three agents in my head. When you do find a real conflict in the logs, what does adjusting the workflow actually look like in practice? Do you add some kind of ordering rule so those two cannot overlap again, or just split the task up differently next time? And how often does it actually happen, once a run or more of a rare thing?

1

u/Front-Track-2481 6d ago

I usually split ownership by task/component upfront and give each agent clear boundaries. It's mostly manual. You will definitely run into merge issues and code versioning issues as they work in parallel. The idea is to safeguard what you are doing by having appropriate checkers for every release. You should never trust that AI will do what you write in .md files It's the Wild West out there.

Sooooo, you have to build your own safety gate to ensure that you are aligned with the project's goals. I usually also use Gemini/ChatGPT, etc., to refine and polish my prompts to make them as detailed as possible.

1

u/Asly97 6d ago

Manual split upfront makes sense, though I can picture that getting old fast on a bigger run. The safety gate bit is the part I keep circling. What do your checkers actually look at before a release, is it tests passing and a diff review, or do you have something that checks the agents stayed inside the boundaries you gave them? Mine usually fails at exactly that second part, the agent does its own task fine and quietly touches three other things on the way.

1

u/Front-Track-2481 6d ago

Honestly, both, and the second part is where I've been burned too.

Each release gets one full check before it ships: the whole test suite, a live UI journey through the app, a backup and restore drill, and sign-in in three browsers. But what actually keeps the agents honest is the set of gates around that check:

• Nothing reaches the main branch except through one merge script. It refuses unless the full check passed on that exact commit, the branch didn't move after review, and nothing landed outside the release flow.
• A secrets scan runs on every change, and it also refuses changes that weaken the scanner itself: new allowlists, removed rules, inline "ignore" markers.
• API contract and package-boundary checks, so a "small fix" in another module that breaks an interface fails mechanically.
• A separate reviewer agent reads the whole diff against the task. It's told to look for weakened tests, generated or shared files that shouldn't be touched, and notes that claim more than the logs show.

Where I'm still soft is exactly what you describe: an agent "helpfully" fixing something in another module. Today that's caught by rules (fix your own task; record defects you find elsewhere, don't touch them) plus the reviewer noticing. A strict file allowlist doesn't work for me, because a normal task legitimately touches 50–80 files: translations, styles, shared test lists, docs.

1

u/Asly97 6d ago

That reviewer agent setup is the bit I have not got working yet. Mine either flags everything and I stop reading it, or it waves through the exact out of scope touch I wanted it to catch.

How often does yours actually catch a real one, like a weakened test or a fix in the wrong module, versus just style noise? And is that reviewer running on the same tool as the workers or a different one, I am curious if the separation matters there.

1

u/No-Drawing9451 6d ago

Not OP, but what worked for me: split by file ownership instead of adding ordering rules. Each agent gets its own worktree and a short list of files it's allowed to touch. If two tasks need the same file, they don't run in parallel, one waits. Ordering rules sounded smart but agents ignored them half the time; separate worktrees made conflicts show up at merge instead of mid-run.

1

u/Asly97 6d ago

The agents ignoring the ordering rules half the time is painfully familiar, I had a run where two of them kept rewriting the same helper file and each one was sure its version was the right one. Splitting by file ownership sounds cleaner, but how do you decide the split before the run starts? Like do you hand each agent its file list yourself, or does something work it out from the task? And when the merge at the end does conflict, is that usually a quick fix or its own whole cleanup job?

1

u/No-Drawing9451 4d ago

I do the split myself before I start them, not mid-run. I look at the tasks, list the files each one is likely to touch, and if those lists overlap I just don't run them together. The agent doesn't get to invent its own file list, it gets a short allowed-files note in the prompt. Merges are usually a quick rebase when the overlap was small; the ugly ones only happened when I got sloppy and let two sessions into the same helper file anyway.

1

u/Mr_and_Mrs_PUG 6d ago

Great job man.. any solution to multi projects running simultaneously for united view?

1

u/Front-Track-2481 6d ago

Thanks, man!
It actually supports multiple projects already! As long as they’re running under the same Claude Code config directory, Agent Theater picks up their sessions and displays the agents and workflows in one view.

What’s missing is proper project grouping and filtering in the UI. That’s definitely something worth adding!

1

u/jazfox2025 5d ago

Fun idea, and driving it from real session events instead of simulated activity is what makes it worth installing. I run a few agents on small web projects, and the thing I actually lose track of isn't who's coding, it's who's blocked waiting on me. If there's a "needs a human decision" state that's visually loud (character walks over and stands at your desk, whatever), that's the part I'd keep open on a second screen. Does the replay keep the reason an agent stopped, or just the movement?

1

u/Front-Track-2481 4d ago

Thank you!, Currently it does not show agent stop or stuck but I will definitely add this in my next free time to work on the project.

1

u/jazfox2025 4d ago

Thanks for considering it! Even just distinguishing ā€œworkingā€ from ā€œwaiting for your inputā€ would be useful. A quiet agent isn't necessarily stuck, so showing that difference would help. No rush — appreciate you being open to the feedback.

1

u/Misty-Picker 6d ago

This shi looks fire, imma get this implemented on my architecture and put on the biggest screen in office.

Amazing workšŸ”„

1

u/iam_Saurabh21 6d ago

This is such a fun idea! Turning agent logs into a tiny pixel-art office is way more engaging than scrolling through terminal output. Does it hold up when multiple agents are running in parallel, or does it get chaotic? Starring this one šŸ”„

1

u/Flimsy-Awareness4340 6d ago

there's already like three of these pixel agent offices. at least yours has a typo in the title

1

u/pawciow88 17h ago

Nice! Question, how does it affect the tokens usage?

0

u/LawfulnessEarly4638 6d ago

Honestly I'd keep this open on a second screen just to tell when an agent gets stuck instead of staring at logs. Does it only work with Claude Code?

1

u/Front-Track-2481 6d ago

Well Never tried it with others, but I believe you can configure it to others. Feel free to contribute if you want

0

u/QuanTradin 7d ago

historical replay sold me. reading back a long session to find where two agents stepped on each other is miserable in raw logs, watching the handoff go wrong would be a lot faster.