Cortex Panel

Side projectNovember 20268 min read

Ask five health and science experts one question. Compare their answers side by side, with the exact book page or podcast timestamp under every claim.

The Cortex Panel landing page: a dark hero with a studio microphone and the line Five experts, one question. See where they split.
The landing page: one question prompt, a studio microphone, and a five-seat panel.
00 · Overview

Every claim linked to its source

Listeners who follow health and science podcasts hear the same questions debated across dozens of shows: protein intake, sleep architecture, Zone 2 cardio, creatine. Each researcher answers inside a different three-hour episode, and their recommendations frequently diverge.

Cortex Panel indexes those transcripts, books, and newsletters into a structured retrieval engine. You seat up to five experts on a panel and ask one question. Each expert’s response is compiled strictly from their published corpus, with verbatim quotes and episode timestamps attached to every claim. Above the individual cards, a Moderator synthesis maps where the panel agrees and where they split.

I designed and built the entire system: the editorial interface, the Ledger design system, the multi-factor vector retrieval pipeline, and the corpus ingestion tooling.

Role
Design and full-stack engineering
Timeline
March – November 2026
Platform
Responsive web (desktop and mobile)
Stack
Next.js, Supabase, pgvector
The product section of the landing page: Built for people who check the source, above a dark synthesis card
The landing page uses live captures from the application, leading with a real Moderator synthesis card.
The intro section on a phone
The sample panels on a phone
On mobile viewports, corpus statistics and sample panels stack vertically below the hero.
01 · Ask

Seat up to five experts and ask once

The Ask view centers on the question input, flanked by a right-hand rail showing your currently seated five-person council. Your selected roster persists in local storage across sessions; if you leave seats open, the retrieval router automatically selects the five experts whose indexed corpus has the highest domain relevance for your query.

Rather than mimicking a conversational chatbot with avatars and message bubbles, the interface is structured like an academic panel. The Experts directory filters the full roster by domain and only lists practitioners whose indexed library passes a minimum coverage threshold.

The ask page: Five experts. One answer. Every source cited. A question box with a question typed, and the seated council in a rail on the right
The Ask view. The submit button stays disabled until a question is entered.
The council rail listing Ferriss, Huberman, Patrick, Norton and Galpin
The seated council rail: each expert carries a domain label and a dedicated muted color token.
The ask page on a phone, with a question typed
The edit council sheet on a phone
On mobile, the council rail tucks below the prompt box and opens a bottom sheet to swap seats.
The experts page with a seated tray and the roster by domain
The Experts directory: a sticky tray at the top tracks open seats while you browse the roster by domain.
02 · Answer

Third-person attribution and confidence tiers

The Answer page opens with a single-sentence bottom line, followed by five structured expert rows. Each row places the expert’s identity, domain, and retrieval confidence tier in a left-hand metadata rail so readers can scan down the page and compare positions quickly.

Every card is written in third-person editorial attribution (“Attia argues that…”) rather than first-person roleplay. An early prototype generated responses in the first person (“I tell my patients…”), which blurred the boundary between verbatim quotes and model synthesis. Third-person reporting keeps a strict line between what the person actually said on record and how the system summarizes it.

Each response displays a computed confidence badge (High, Moderate, or Tangential) and a numeric relevance bar (0–100) derived from the retrieved passages. When a seated expert has no relevant passages on a topic in the database, the card prints an explicit Nothing found receipt rather than hedging or guessing.

The answer to What's the minimum effective dose of exercise?, with the bottom line and the first expert answers
Full answer layout: the bottom-line summary at the top, followed by individual expert rows and a pinned follow-up bar.
Three source rows, each a podcast episode with a timestamp
Source citations: every claim links to the exact podcast episode and timestamp or book chapter.
The rail for one expert: avatar, name, domain, high confidence, and a relevance bar at 60
Left metadata rail: avatar, domain, confidence tier, and relevance score in the expert's assigned tone.
The bottom line on a phone
One expert's answer on a phone
An answer streaming in on a phone
On mobile, the left rail collapses into a compact card header. Expert responses stream independently as each retrieval pipeline completes.
03 · Moderator

Surfacing divergence before consensus

Once the five individual cards finish streaming, the Moderator synthesizes their positions. The synthesis leads with Where they diverge—since clinical disagreements are what a listener cannot get from a single podcast episode—followed by Where they agree, a one-line position summary per expert, and clickable citation keys ([A1], [H2]).

Visually, the Moderator card is the only dark-slate surface on the light paper canvas, and the only component permitted to use the gold accent token. Whenever gold appears on a card, badge, or citation key, it signals that the system’s Moderator is speaking rather than an individual expert.

The dark synthesis card with Where they diverge, Where they agree, and a row of five experts
The Moderator synthesis card: maps points of divergence first, then consensus, followed by one-line position summaries.
A dark share card with the question, the bottom line and the five experts
Every answered question gets a permanent URL and an Open Graph share card styled in the Moderator's dark-and-gold palette.
04 · Picks

On-the-record endorsements and cautions

Picks indexes specific supplements, lab tests, wearables, and books that experts have discussed on the record, ranked by how many panel members independently endorse them. Sponsored podcast ad reads are excluded during ingestion so commercial reads never inflate consensus rankings.

Every mention is classified into one of four sentiment types: Recommends, Uses personally, Mentions, or Cautions. Cautions carry the same visual weight as positive endorsements and sit in the same tally card, allowing readers to browse either by cross-expert consensus or by an individual researcher’s personal stack.

The picks page: What the experts actually use, with category filters and a grid of products
The Picks directory: products ranked by independent expert consensus across categories.
A tally card: 6 of 85 experts endorse it, 5 use it personally, 1 mention it, 1 caution against
Consensus tally card: breaks down how many experts recommend, personally use, mention, or caution against a product.
Mark Hyman's endorsement of vitamin D3, marked uses personally, with five podcast episodes under it
Individual endorsement record: shows the sentiment badge alongside every episode where the expert discussed the item.
The picks page on a phone
The sauna pick on a phone, with its tally
Picks on mobile: category filters collapse into horizontal strips, and product detail pages lead with the consensus tally.
05 · Ledger

Ledger: the editorial design system

Ledger is the design system built for Cortex Panel. It uses flat color fields, 1px structural hairlines in place of drop shadows, and Inter across three weights. Visual hierarchy comes from typographic scale and surface value rather than decorative color.

Two strict token rules prevent visual noise across multi-expert pages:

  1. Gold is reserved exclusively for the Moderator.
  2. Each expert’s assigned hue is restricted to three small elements: their avatar circle, their relevance bar fill, and small status dots—never card backgrounds, borders, or body text, ensuring all five seats carry equal visual weight.

The live design system specification is mounted as an interactive route inside the application using the production components.

Colour swatches: brand and navy ramp, cool grey neutrals, semantic colours, the gold family and expert tones
Color tokens: primary navy and cool-grey ramps, semantic status tokens, the Moderator gold ramp, and muted expert hues.
The type scale from the display size down to labels
Typographic scale: Inter across three weights, from display headings down to tabular metadata labels.
Buttons on light and on the dark synthesis surface
Button variants: primary actions render in navy on light paper surfaces and invert to gold on the dark Moderator surface.
Expert avatars at 24, 28, 36, 40, 44 and 52 pixels, and a dimmed one
Expert avatars across six fixed pixel sizes (24px–52px) plus the muted inactive state.
Confidence badges: high, moderate, tangential and nothing found
Three relevance bars at 92, 61 and 24
Confidence badges and relevance bars, including the explicit 'Nothing found' state.
Source rows for a podcast with a timestamp, a book and a members-only newsletter
Citation rows: distinct badges for timestamped podcasts, books, and paywalled newsletters.
Endorsement badges: recommends, uses personally, cautions, mentions
Endorsement sentiment badges: Recommends, Uses personally, Cautions, and Mentions.
06 · Sources

Verifiable provenance on every view

Every page in Cortex Panel states clearly that responses are compiled from publicly available transcripts and books with independent citations, and that the featured researchers are not affiliated with the site. Rather than burying provenance in a legal footer, the interface puts the source type, confidence tier, and timestamp directly beside every claim.

All work