AgoraGPT and Claude, made to disagree
A private app that puts one question to two AI models. They answer blind, critique each other, and code decides when they stop.
- Built
- October 2026, with Claude as my coding assistant
- Stack
- TypeScript, Cloudflare Workers, Durable Objects, D1, React, Electron
- Tests
- 269 passing, across 20 Vitest files
- Status
- Private and single-user. The code isn't public.
Two models agreeing isn't proof
Ask one model a hard question and you get one confident answer. Let two models read each other and the second tends to drift toward the first. Agora is built against both.
Each model drafts without seeing the other, so neither can anchor on it. Then they swap answers, and every critique ends in a structured verdict: do I agree, how sure am I, what is still wrong, and did I change my mind, and why.
A concession with no concrete reason, or both models flipping at once, is flagged rather than counted as agreement. The final answer lists where they agreed and where they still don't.
Code decides when they stop
Triage
Rules sort the question into four tiers, and a cheap model is asked only when they're unsure. It can't argue a task down more than one tier.
Plan
Models, effort and rounds come from the tier, then the plan shrinks until its expected cost fits the budget.
Blind drafts
Both models answer in parallel without seeing each other.
Cross-critique
Each sees its own last answer and the other's, wrapped as untrusted data, and returns a critique, a full revised answer and a verdict.
Stop rule
Consensus, no new serious issue, the round limit or the budget. It is read from the parsed verdicts by code, so a model can't talk its way into another round.
Synthesis
One model writes the answer, what they agreed on and what is still disputed. It is told never to invent consensus.
Verification
For hard questions, the other vendor's model checks the result against the open issues.
Two halves, two sets of rules
OpenAI lets a ChatGPT plan power apps that run locally; hosted apps need its approval. Anthropic doesn't let other apps sign in with a Claude subscription at all, and asks for an API key instead. I split Agora along those two lines.
On Cloudflare
- The website and a Discord bot
- Claude only, with an API key
- Memory, and a Claude relay for the desktop app
- Behind Cloudflare Access, with the login checked again on every API request
Claude calls and memory only, with a service token. No ChatGPT token or request ever reaches the server.
On my PC
- A desktop app that listens on 127.0.0.1 only
- Signs in with ChatGPT and runs the full GPT × Claude debates
- Keys kept in Windows' encrypted vault, never in settings files
- A sandboxed window that can only show Agora itself
Spending can't run away
Before every call, Agora reserves that call's worst-case cost. After it, the real cost is settled. One Durable Object holds the daily and monthly totals for all jobs at once, and if it can't be reached, nothing runs.
| Tier | Plan | Expected | Worst case |
|---|---|---|---|
| Simple | Haiku 5.5, one model | $0.001 | $0.004 |
| Single | Sonnet 5.5, one model | $0.032 | $0.16 |
| Debate | Sonnet 5.5 and GPT-5.6 Terra, one round | $0.19 | $1.07 |
| Hard | Opus 5.5 and GPT-5.6 Sol, up to two rounds, verified | $1.30 | $9.15 |
| Critical | Fable 5.1 and GPT-6 Astra, up to three rounds, verified, needs my approval | $6.45 | $40.17 |
In my usage estimate, hard and critical questions are 7% of the questions and about 82% of the spend. That is why the critical plan waits for me to approve it.
Safe to leave running
No tools
The models can't run code, browse or act. A prompt injection hidden in a pasted document has nothing to pull.
Data stays data
The other model's answer, my files and my memory notes are wrapped in tags with a fresh random marker per job, and labelled as data, not instructions.
Edits wait for me
When I attach a project folder, changes come back as a diff. Nothing is written until I tick the files, each one is backed up first, and one click undoes it.
Memory I can see
It learns only from my own messages, never from the models' answers, and every note can be read, edited or deleted.
What Agora doesn't do
It doesn't make answers correct. Two models can share a blind spot, which is why their disagreements stay on the page instead of being smoothed over.
Cancelling stops the wait, not the bill. Work a provider has already started may still be charged, and the app says so.
It is for one person. There are no accounts to share, by design, and the code is private for now.
Want a walkthrough?
I'm happy to demo Agora or talk through the design.
Message me on LinkedIn (opens in a new tab)