Idea · Aug 27, 2026
Persona Bench
A single-page web app where you paste one prompt and instantly see responses from four to six named AI personas (teacher, devil's advocate, domain expert, skeptic, beginner) side-by-side in a grid, exposing how framing and role assignment shape outputs.
What it would do
Persona Bench is a React + Vite web app backed by a lightweight Flask proxy that holds the Claude API key server-side. The user types one prompt into a shared input box, selects which personas to run (checkboxes for a preset roster), and clicks 'Run All.' The app fires parallel Claude API calls, each with a different system prompt that defines the persona's role, voice, and constraints. Responses stream into a four-to-six-column grid in real time so the user can watch them diverge. Each column header shows the persona name and a one-line description of that persona's goal; mousing over a column highlights the exact system prompt used so there is no black box. A 'diff mode' toggle color-codes words or phrases that appear in one column but not the others, making divergence immediately visible. The full session (input, all system prompts, all responses) can be exported as a JSON file for later analysis. A preset library ships with six ready-to-use persona sets: CS pedagogy (teacher, confused student, TA, rubric-grader, code-reviewer), product decisions (PM, engineer, designer, skeptic, user), and general reasoning (Socratic tutor, devil's advocate, first-principles thinker, analogist, domain expert). Users can also write and save custom persona sets in localStorage. No login, no database: the app is fully stateless beyond the in-browser session.
Key features
- Parallel Claude API calls per persona, responses streaming into a side-by-side grid
- System prompt transparency: hover any column header to see the exact persona prompt
- Diff mode highlights words and phrases that differ across columns
- JSON export of the full session (input, system prompts, all outputs)
- Six preset persona sets (CS pedagogy, product decisions, general reasoning, and more)
- Custom persona builder with localStorage persistence