An AI engineering teammate that joins your meeting as an active participant: it listens to the conversation, knows your repo, speaks with a real voice, and explains architecture by sketching live diagrams on a shared whiteboard — paced so humans can actually follow.
forge/
backend/ Express + TypeScript API (Node 24 native TS — no build step)
src/server.ts routes + static hosting of ../frontend/dist
src/lib/repo.ts repo indexer → digest injected into the system prompt
src/lib/prompt.ts persona + whiteboard-op schema prompts
src/lib/llm.ts Claude access through the Anthropic API
src/lib/agent.ts /api/agent — streams NDJSON steps {say, ops[]}; /api/listen
src/lib/tts.ts /api/tts — ElevenLabs proxy + disk cache (503 → browser TTS)
src/lib/types.ts shared types (WhiteboardOp union, AgentStep, …)
frontend/ Vite + React 18 + TypeScript
src/lib/whiteboard.ts hand-drawn canvas engine; animates ops stroke-by-stroke
src/lib/session.ts ForgeSession — mic/speech/TTS/agent-stream/raise-hand logic
src/state/store.ts zustand UI state
src/components/ PreJoin · Room · BoardCard · Tiles · Captions · ControlBar · SidePanel · Ended
cd forge/backend && npm install && cd ../frontend && npm install && cd ../..
npm start # from repo root: builds the frontend, starts the backend → http://localhost:5180(Or equivalently from the repo root: npm --prefix forge/backend install etc. —
the --prefix paths are relative to wherever you run them.)
Development (hot reload): npm run dev:backend + npm run dev:frontend
(Vite on :5173 proxies /api → :5180). Optional voice: cp forge/backend/.env.example forge/backend/.env and paste ELEVENLABS_API_KEY.
Open http://localhost:5180 in Chrome, allow mic/cam, Join.
- Brain: uses the Anthropic API through
ANTHROPIC_API_KEY. - Voice: with
ELEVENLABS_API_KEYForge speaks via ElevenLabs (flash model, cheap; identical lines are disk-cached so repeated demos cost ~0 credits). Without it, browser TTS. - Repo intelligence: the meeting starts without a repository. Any
participant opens the 📁 picker in the side panel, signs in with their own
GitHub account (OAuth device flow — enter a short code at
github.com/login/device — or paste a personal access token), and picks a repo
from their list. Forge clones and indexes it live (private repos included),
folds a digest into the prompt, and the Anthropic API agent gets live
read-only tools (read/grep/list) inside it, so "where do we handle X?" is
verified against the actual code and answered with a
file:linecode card drawn on the board. Issue creation and PRs run with the account that loaded the repo. SetREPO_PATH/GITHUB_REPOenv to pre-load a fixed repo instead (the old behavior).
- Forge only speaks when spoken to. Address it directly — "Forge, …" (or "Hey Archie, …", or a trailing "… what do you think, Forge?") — or type in the chat panel → it answers, and if a diagram helps, it takes the stage and sketches while it talks. Casual mentions of "forge" mid-sentence don't wake it. Common mishears ("forged", trailing "force") are accepted too.
- Hold Space to talk to Forge directly — everything said while held is a direct question, no trigger word needed. The keybind is shown in the bottom bar; deterministic in loud demo rooms.
- Ask follow-ups ("what if the auth server goes down?") → it annotates the existing board: crosses out boxes, fades dead paths, circles survivors.
- Just talk amongst yourselves → it listens the whole time but never blurts out — it raises its hand ✋ only for genuinely high-value moments (an unanswered question, a factual error about your repo, a risky call with a missed tradeoff). Say "go ahead" or click the hand to let it speak.
- Interrupt it: say "Forge, actually…" (or type) mid-presentation — it stops, adjusts, and continues from the board it already drew. "stop presenting" / "thanks Forge" halts it entirely; "clear the board" wipes it.
- It answers non-technical questions too, in plain speech — diagrams only appear when they genuinely help.
Forge understands these spoken commands in a meeting:
- "Forge, …" — Address Forge directly to wake it up and ask a question. Also works with "Hey Archie, …" or trailing "… what do you think, Forge?" to trigger a response.
- "go ahead" — Give Forge the floor when it has raised its hand ✋.
- "stop", "wait", "hold on", "stop talking" — Interrupt Forge mid-explanation and it will halt immediately.
- "cancel everything" — Drop all queued asks and abort any in-progress tasks.
- "clear the board" — Wipe the whiteboard and start fresh.
- "create a github issue about …" — Ask Forge to file a new GitHub issue based on the conversation context.
- "work on issue 7" (or any number) — Instruct Forge to implement a specific GitHub issue as a pull request.
Forge calls hold up to 6 humans + Forge (FORGE_MAX_HUMANS to change; every
participant streams to every other, so keep it modest). Audio/video flows
browser-to-browser (WebRTC full mesh, STUN only — true P2P); the backend's /ws
endpoint handles signaling and keeps Forge state (transcript, whiteboard steps,
raise-hand) in sync across everyone.
Same-room demos: several open mics hear every sentence — duplicate captures are deduplicated automatically (whichever laptop finalizes first wins). Have ONE laptop play Forge's voice and drag Forge's tile volume to zero on the others, or N slightly-offset copies of the same voice fill the room.
To invite someone outside your network:
npm run tunnel # public https URL → send it to your friendThey open the URL in Chrome, enter a name, Join — done. (HTTPS is required for their mic/cam, which the tunnel provides.) Wear headphones on both ends, or the mics will transcribe each other's speakers. Only one hand-raise "driver" runs at a time (the first joiner), so Forge won't interject twice.
Frontend is pure static files — host anywhere (Vercel/Netlify/S3) and set
window.FORGE_API = "https://your-backend" in config.js. Backend is a single
Node process (needs outbound HTTPS); CORS is open.
This repo includes a single-service render.yaml. It builds the
React frontend, serves it from Express, and keeps WebSocket signaling on the same
origin. In Render, create a Blueprint from this GitHub repository and choose
the included configuration. Set ANTHROPIC_API_KEY as a secret before deploying.
Render generates FORGE_ACCESS_TOKEN automatically. Copy its value from the
service environment page and invite people with:
https://your-service.onrender.com/#token=YOUR_FORGE_ACCESS_TOKEN
The fragment is not sent to the server; the frontend adds it to protected API and WebSocket requests. Do not share the bare deployment URL.
Participants connect their own GitHub accounts from the 📁 picker — no shared deployment token needed. To enable the "Sign in with GitHub" button:
- Create an OAuth App at https://github.com/settings/developers → New OAuth App. Name and URLs can be anything (the callback URL is unused by the device flow — put the deployment URL).
- On the app's settings page, check Enable Device Flow and save.
- Set the app's Client ID as
GITHUB_OAUTH_CLIENT_IDin the backend environment. No client secret is required.
A participant clicks Sign in with GitHub, enters the short code at github.com/login/device, and picks a repository from their list. The repo is cloned and all issue/PR operations run with the account that loaded it; tokens live only in backend memory and are never sent to browsers. Without a client ID, the picker falls back to pasting a personal access token.
One GitHub account per meeting: whoever signs in first holds the meeting's sign-in — everyone else's picker shows who has it, and sign-in reopens when they sign out (or leave the room for over a minute). Repo browsing is strictly private to the signed-in participant, but the repo they pick is shared: everyone in the call can ask Forge about it.
Optionally, a fine-grained PAT in GITHUB_TOKEN still works as a
deployment-wide fallback credential (grant Contents: Read-only and
Issues: Read and write on the target repos).
After changing the variable, choose Save and deploy (or Save, rebuild, and deploy) in Render; Save only does not update the running service. On Render, Forge also uses Render's repository slug if the checkout has no Git remote, so issue creation targets the deployed repository before a different repository is selected in the picker.
The hosting tier is free, but Anthropic API usage is billed by Anthropic. An
ANTHROPIC_API_KEY is required for Forge's brain. ElevenLabs is optional because
browser TTS is used when its key is absent. Render free instances sleep after idle
periods, so the first visit after a pause can take about a minute.
- Chips in the chat panel are pre-baked killer questions, including "Forge, how does this project itself work?" — the self-explaining demo.