Personal project ·

Debate Studio

I built Debate Studio to make multi-agent coding decisions inspectable - from independent proposals to reviewed code and reusable project knowledge.

Why I built it

I wanted two independent takes on a coding problem, without losing track of how the discussion became an implementation. Debate Studio runs the local Claude Code and Codex CLIs in separate sessions and brings their plans, changes and reviews into one workspace.

Each agent has its own session, and I choose who plans, implements and reviews. I can compare their proposals and follow my decision into the patch and the reviewer’s findings.

If a lesson is worth keeping, I can approve it as shared project memory. When either agent receives it on a later task, I can trace it back to the original review. The agents reuse that knowledge as context; this does not retrain their underlying models.

See it in action

This silent, 26-second walkthrough uses sample project data. Claude adds a flag to a small Python CLI; Codex asks for an additional invalid-input test. The final decision stays with the user.

How I built it

I built the desktop app with Electron, React and TypeScript. It runs the locally installed Claude Code and Codex CLIs and uses Git against the project on my machine.

Four ways to work

The implementer works in an isolated Git worktree, keeping proposed changes separate from the main checkout. The reviewer inspects the result; I can compare the patch with the findings and approve it or request a repair.

Debate Studio Implementation view showing a Python CLI diff and a request for an invalid-input test
The implementation patch and review finding stay together. Open the image for a closer look.

Memory I can approve and inspect

Each agent has its own conversation. Shared memory carries approved project decisions, constraints and lessons into later tasks, even when a different agent takes the lead.

I built shared memory so I don’t have to explain the same project decisions every time I start a task or switch agents. Instead of passing along an entire old conversation, the app selects relevant, approved notes. The aim is to spend less context on rediscovering what we already decided and more on the current problem. I haven’t measured how much usage this saves overall.

Conversation recall was inspired by V-Mem’s approach to finding a specific message and showing the surrounding exchange. Debate Studio implements its own local BM25 keyword search, without a model call. I can open the original exchange and inspect the surrounding workflow. If shared memory changes during a resumed chat, the app can start a fresh session with updated context.

Debate Studio memory map connecting project notes, agents, sessions and review findings
The memory map connects project knowledge with its source. Screenshots show sample data.

Seeing what happened

Projects surfaces work waiting on me. Planning holds proposals and votes. Flow and Console connect steps to recorded messages, tool activity and reported usage. Implementation puts code changes beside review findings. Chat lets me address either agent or both, and linked tasks can reuse relevant approved memory.

The Usage view separates my in-app budget from subscription allowance information exposed by each provider. When a provider reports an exhausted allowance, the app can pause work and resume after the reset while open or when reopened.