# charans28-lang/panel-press architecture

> Architecture diagram of the GitHub repository charans28-lang/panel-press, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-10). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/charans28-lang/panel-press
- Repository: https://github.com/charans28-lang/panel-press

## Overview

PANELPRESS is an AI interview coach that turns a resume and optional job description into a vulnerability map, then conducts a personalized panel interview and produces a scored report. The main flow runs from browser input through resume processing and claim extraction, moderated agent questioning, answer and delivery analysis, and reporting. The README documents the browser/API workflow and major capabilities; some server routes and frontend internals were not excerpted, so those connections are cited to the README rather than inferred from module names.

Main entry points: [`server.py`](https://github.com/charans28-lang/panel-press/blob/main/server.py) (HTTP API), [`core/interview.py`](https://github.com/charans28-lang/panel-press/blob/main/core/interview.py) (Interview moderator), [`core/extraction.py`](https://github.com/charans28-lang/panel-press/blob/main/core/extraction.py) (Claim extraction), [`core/report.py`](https://github.com/charans28-lang/panel-press/blob/main/core/report.py) (Report builder)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_experience["Candidate experience"]
  node_browser["Browser UI<br/>[app.js]"]
  node_interview_ui["Interview screen<br/>[interview.js]"]
  node_camera["Face tracking<br/>[camera.js]"]
  node_report_ui["Report screen<br/>[report.js]"]
end

subgraph group_interview["Interview panel"]
  node_moderator["Interview moderator<br/>[interview.py]"]
  node_agents["Panel agents<br/>[agents.py]"]
  node_debate["Panel debate<br/>[debate.py]"]
end

subgraph group_analysis["Analysis and reporting"]
  node_resume["Resume reader<br/>[resume_io.py]"]
  node_extract["Claim extraction<br/>[extraction.py]"]
  node_speech["Speech transcription<br/>[speech.py]"]
  node_signals["Delivery signals<br/>[signals.py]"]
  node_report["Report builder<br/>[report.py]"]
  node_resources["Learning resources<br/>[resources.json]"]
  node_history[("Progress history")]
end

subgraph group_runtime["Runtime services"]
  node_server["HTTP API<br/>[server.py]"]
  node_schemas["Validated schemas<br/>[schemas.py]"]
  node_llm["LLM gateway<br/>[llm.py]"]
  node_replay[("Offline replay<br/>[replay.py]")]
  node_config["Settings<br/>[config.py]"]
  node_security["Request security<br/>[security.py]"]
end

node_candidate(("Candidate"))
node_groq["Groq models"]
node_kokoro["Kokoro speech model"]

node_candidate -->|"provides resume and answers"| node_browser
node_browser -->|"calls API"| node_server
node_server -->|"parses uploads"| node_resume
node_server -->|"requests claim map"| node_extract
node_extract -->|"prepares resume text"| node_resume
node_extract -->|"requests extraction"| node_llm
node_extract -->|"loads or saves result"| node_replay
node_extract -->|"validates map"| node_schemas
node_server -->|"starts and serves interview"| node_moderator
node_moderator -->|"dispatches questions and judging"| node_agents
node_agents -->|"requests structured answers"| node_llm
node_agents -->|"loads or saves answers"| node_replay
node_moderator -->|"starts debate"| node_debate
node_interview_ui -->|"submits answers and polls"| node_server
node_interview_ui -->|"uses face tracking"| node_camera
node_camera -->|"provides attention signal"| node_interview_ui
node_server -->|"transcribes voice answers"| node_speech
node_speech -->|"calculates timing signals"| node_signals
node_moderator -->|"scores delivery"| node_signals
node_server -->|"builds interview report"| node_report
node_report -->|"requests chair summary"| node_agents
node_report -->|"selects learning links"| node_resources
node_report -->|"records session progress"| node_history
node_report_ui -->|"requests report"| node_server
node_llm -->|"sends model requests"| node_groq
node_server -->|"applies API protections"| node_security
node_server -->|"loads settings"| node_config
node_llm -->|"reads model settings"| node_config
node_moderator -->|"uses runtime settings"| node_config
node_server -.->|"optionally synthesizes agent voice"| node_kokoro

click node_browser "https://github.com/charans28-lang/panel-press/blob/main/web/js/app.js"
click node_interview_ui "https://github.com/charans28-lang/panel-press/blob/main/web/js/interview.js"
click node_camera "https://github.com/charans28-lang/panel-press/blob/main/web/js/camera.js"
click node_report_ui "https://github.com/charans28-lang/panel-press/blob/main/web/js/report.js"
click node_server "https://github.com/charans28-lang/panel-press/blob/main/server.py"
click node_resume "https://github.com/charans28-lang/panel-press/blob/main/core/resume_io.py"
click node_extract "https://github.com/charans28-lang/panel-press/blob/main/core/extraction.py"
click node_schemas "https://github.com/charans28-lang/panel-press/blob/main/core/schemas.py"
click node_moderator "https://github.com/charans28-lang/panel-press/blob/main/core/interview.py"
click node_agents "https://github.com/charans28-lang/panel-press/blob/main/core/agents.py"
click node_debate "https://github.com/charans28-lang/panel-press/blob/main/core/debate.py"
click node_speech "https://github.com/charans28-lang/panel-press/blob/main/core/speech.py"
click node_signals "https://github.com/charans28-lang/panel-press/blob/main/core/signals.py"
click node_report "https://github.com/charans28-lang/panel-press/blob/main/core/report.py"
click node_resources "https://github.com/charans28-lang/panel-press/blob/main/data/resources.json"
click node_history "https://github.com/charans28-lang/panel-press/tree/main/data"
click node_llm "https://github.com/charans28-lang/panel-press/blob/main/core/llm.py"
click node_replay "https://github.com/charans28-lang/panel-press/blob/main/core/replay.py"
click node_config "https://github.com/charans28-lang/panel-press/blob/main/core/config.py"
click node_security "https://github.com/charans28-lang/panel-press/blob/main/core/security.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_browser,node_interview_ui,node_camera,node_report_ui toneBlue
class node_moderator,node_agents,node_debate toneAmber
class node_resume,node_extract,node_speech,node_signals,node_report,node_resources,node_history toneMint
class node_server,node_schemas,node_llm,node_replay,node_config,node_security toneRose
class node_candidate,node_groq,node_kokoro toneIndigo
```

## Components

### Candidate experience

- [Browser UI](https://github.com/charans28-lang/panel-press/blob/main/web/js/app.js): `web/js/app.js`
- [Interview screen](https://github.com/charans28-lang/panel-press/blob/main/web/js/interview.js): `web/js/interview.js`
- [Face tracking](https://github.com/charans28-lang/panel-press/blob/main/web/js/camera.js): `web/js/camera.js`
- [Report screen](https://github.com/charans28-lang/panel-press/blob/main/web/js/report.js): `web/js/report.js`

### Interview panel

- [Interview moderator](https://github.com/charans28-lang/panel-press/blob/main/core/interview.py): `core/interview.py`
- [Panel agents](https://github.com/charans28-lang/panel-press/blob/main/core/agents.py): `core/agents.py`
- [Panel debate](https://github.com/charans28-lang/panel-press/blob/main/core/debate.py): `core/debate.py`

### Analysis and reporting

- [Resume reader](https://github.com/charans28-lang/panel-press/blob/main/core/resume_io.py): `core/resume_io.py`
- [Claim extraction](https://github.com/charans28-lang/panel-press/blob/main/core/extraction.py): `core/extraction.py`
- [Speech transcription](https://github.com/charans28-lang/panel-press/blob/main/core/speech.py): `core/speech.py`
- [Delivery signals](https://github.com/charans28-lang/panel-press/blob/main/core/signals.py): `core/signals.py`
- [Report builder](https://github.com/charans28-lang/panel-press/blob/main/core/report.py): `core/report.py`
- [Learning resources](https://github.com/charans28-lang/panel-press/blob/main/data/resources.json): `data/resources.json`
- [Progress history](https://github.com/charans28-lang/panel-press/tree/main/data): `data`

### Runtime services

- [HTTP API](https://github.com/charans28-lang/panel-press/blob/main/server.py): `server.py`
- [Validated schemas](https://github.com/charans28-lang/panel-press/blob/main/core/schemas.py): `core/schemas.py`
- [LLM gateway](https://github.com/charans28-lang/panel-press/blob/main/core/llm.py): `core/llm.py`
- [Offline replay](https://github.com/charans28-lang/panel-press/blob/main/core/replay.py): `core/replay.py`
- [Settings](https://github.com/charans28-lang/panel-press/blob/main/core/config.py): `core/config.py`
- [Request security](https://github.com/charans28-lang/panel-press/blob/main/core/security.py): `core/security.py`

### Other components

- **Candidate**
- **Groq models**
- **Kokoro speech model**

## Connections

- Candidate → Browser UI: provides resume and answers (evidence: `README.md`)
- Browser UI → HTTP API: calls API (evidence: `README.md`)
- HTTP API → Resume reader: parses uploads (evidence: `server.py`)
- HTTP API → Claim extraction: requests claim map (evidence: `README.md`)
- Claim extraction → Resume reader: prepares resume text (evidence: `core/extraction.py`)
- Claim extraction → LLM gateway: requests extraction (evidence: `core/extraction.py`)
- Claim extraction → Offline replay: loads or saves result (evidence: `core/extraction.py`)
- Claim extraction → Validated schemas: validates map (evidence: `core/extraction.py`)
- HTTP API → Interview moderator: starts and serves interview (evidence: `server.py`)
- Interview moderator → Panel agents: dispatches questions and judging (evidence: `core/interview.py`)
- Panel agents → LLM gateway: requests structured answers (evidence: `core/agents.py`)
- Panel agents → Offline replay: loads or saves answers (evidence: `core/agents.py`)
- Interview moderator → Panel debate: starts debate (evidence: `core/interview.py`)
- Interview screen → HTTP API: submits answers and polls (evidence: `README.md`)
- Interview screen → Face tracking: uses face tracking (evidence: `README.md`)
- Face tracking → Interview screen: provides attention signal (evidence: `README.md`)
- HTTP API → Speech transcription: transcribes voice answers (evidence: `server.py`)
- Speech transcription → Delivery signals: calculates timing signals (evidence: `core/speech.py`)
- Interview moderator → Delivery signals: scores delivery (evidence: `README.md`)
- HTTP API → Report builder: builds interview report (evidence: `server.py`)
- Report builder → Panel agents: requests chair summary (evidence: `README.md`)
- Report builder → Learning resources: selects learning links (evidence: `core/report.py`)
- Report builder → Progress history: records session progress (evidence: `core/report.py`)
- Report screen → HTTP API: requests report (evidence: `README.md`)
- LLM gateway → Groq models: sends model requests (evidence: `core/llm.py`)
- HTTP API → Request security: applies API protections (evidence: `server.py`)
- HTTP API → Settings: loads settings (evidence: `server.py`)
- LLM gateway → Settings: reads model settings (evidence: `core/llm.py`)
- Interview moderator → Settings: uses runtime settings (evidence: `core/interview.py`)
- HTTP API → Kokoro speech model: optionally synthesizes agent voice (evidence: `README.md`)
