rockbenben/legend-talk
About
Multi-round AI roundtable with 161 great thinkers. They debate each other, not just answer you | 与历史上最伟大的思想家进行圆桌会议
AI & Machine LearningMeasured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Original
Legend Talk
Multi-round AI roundtable with history's greatest thinkers
▶ Try it live — 18 languages · free · local-first · no sign-up
English · 简体中文 · 繁體中文 · 日本語 · 한국어 · Español · Français · Deutsch · Português · Italiano · Русский · العربية · हिन्दी · Tiếng Việt · ไทย · Türkçe · Indonesia · বাংলা
| Home page | Chat view |
|---|---|
![]() |
![]() |
Legend Talk convenes 2–10 historical or contemporary thinkers into a multi-round debate. Each round, every voice argues from its own framework; a moderator then maps the disagreements and opens the next round. Socrates presses Munger's assumptions while Nietzsche challenges them both.
Three ways in:
- Ask a question — type a topic and AI assembles a 3–5 thinker panel built for productive tension.
- Set the table — hand-pick 2–10 thinkers yourself, or roll 5 at random.
- Consult one mind — go 1-on-1 with any of 161 thinkers, each reasoning through their own framework, not generic AI roleplay.
Start a conversation
Auto roundtable — enter a topic in the input bar on the home page. AI picks 3–5 thinkers whose views genuinely conflict and starts the debate immediately, no character picking needed.
Manual roundtable — click + on 2–10 character cards to build a lineup. A floating bar shows your picks:
- Click an avatar to remove it
- Start Discussion to launch
- Copy lineup link to share the exact lineup as a URL
Or hit 🎲 Random to start instantly with 5 random thinkers.
Featured templates — 6 curated lineups whose perspectives genuinely clash (e.g. AI & Tech: Karpathy vs Ilya vs Feynman vs Taleb vs Paul Graham). One click to start, each with 3 suggested topics.
1-on-1 chat — click Chat on any character card for a private conversation in that thinker's voice and framework.
Topic suggestions — before your first message, every mode proposes topics to get you started: 3 curated questions per template (in all 18 languages), or 1 question drawn from each selected thinker in a manual lineup (updates as you add or remove people).
Steer the discussion
You sit at the head of the table as the chair — the debate runs on your terms.
- Moderator — after each round, an AI moderator synthesizes it: groups claims by idea, names an angle the round left untouched, and poses an open question for the next one.
- Refocus mid-debate — send a message during a roundtable to redirect it. Instead of auto-running, an editable focus card appears; it stacks on top of any prior focus so earlier steers aren't lost. Refine it, then Start the next rounds anchored on it.
- Apply & retry — edit any message and regenerate from that point. Chair steers carry a focus snapshot, so a retry rebuilds from the exact focus state that was active when the message was sent.
- Set rounds — choose how many rounds the thinkers debate before pausing, and Continue to add more once they finish.
- Add or remove participants anytime — turn a 1-on-1 into a roundtable, or the reverse.
- Stop — cancel generation mid-stream; whatever was already written is kept.
- Branch — fork a new conversation from any message, carrying the prior context with it.
Save, search & share
- Summarize — one-click AI summary extracting the core viewpoints and disagreements.
- Search — find anything across all conversations by title, thinker name, or message content.
- Favorites — star your most-used thinkers for quick access.
- Share chat — generate a URL containing the full conversation.
- Export / Import — save as Markdown or JSON and restore from JSON (in Settings), or generate share cards via json2card (set the API endpoint in Settings).
- Settings sync — move your setup to another device via URL; API keys are AES-encrypted.
Run it yourself
npm install
npm run dev
Open http://localhost:5173, go to Settings, enter your API key, and start chatting. If you hit a CORS error, the app offers to switch on a public proxy with one click — worth knowing what that means for your key before you agree.
Thinkers, models & platform
161 preset thinkers across 15 domains, sorted by fame — type any name to create a custom character on the fly.
Models — set the thinking level, enter a custom model ID, or connect any OpenAI-compatible API as a custom provider. Default: DeepSeek Flash. The thinking control only appears for models that actually support it, and it is judged per model: the dropdown lists only the levels that model really accepts (Kimi K3 has no Medium), a model that cannot be turned off labels its lowest level Min rather than Off — it still reasons and still bills, and saying "off" there would be a lie — and a model whose levels are byte-identical on the wire gets a single On instead of three rows that all do the same thing.
Platform — 18 languages · dark mode · responsive · local-first (IndexedDB + localStorage dual-write, works in WeChat and restricted WebViews) · zero CDN (fonts self-hosted and bundled, so it works offline and behind firewalls).
Deep links
Start a conversation straight from a URL:
- By name:
/#/chat?chars=苏格拉底,孔子or/#/chat?chars=Socrates,Confucius - By ID:
/#/chat?chars=socrates,confucius - By category:
/#/chat?category=philosophy(roundtable of every thinker in that category, capped at 10) - Single chat:
/#/chat?chars=socrates - Custom names:
/#/chat?chars=Ada Lovelace,Linus Torvalds(unrecognized names become custom characters)
Categories: philosophy, strategy, business, finance, history, sociology, psychology, science, literature, art, economics, politics, technology, religion, education.
The Copy lineup link (participants bar) and Copy category link (category filter) buttons generate these URLs from the UI.
Language routing — prefix the URL with a language to set the UI language, e.g. /#/ja/chat, /#/ko/chat?chars=socrates. All 18 languages supported.
Supported APIs
24 providers out of the box — international, China-based, and aggregators:
- Overseas — OpenAI · Anthropic · Google Gemini · xAI Grok · Mistral · Cohere
- China — DeepSeek · Qwen · Moonshot Kimi · Doubao · Xiaomi MiMo · Zhipu GLM · MiniMax · StepFun · Baidu Qianfan · Tencent TokenHub · Volcengine Coding Plan · Alibaba Bailian Token Plan
- Aggregators & Hosting — OpenRouter · OpenCode Console · Groq · Cerebras · SiliconFlow · NVIDIA NIM
The live model list for each provider is in Settings — model IDs move too fast to mirror here.
Run a model locally — the Custom option takes any OpenAI-compatible address, with one-click starting points for LM Studio, Ollama, llama.cpp, koboldcpp, LiteLLM, 9Router, OmniRoute, Together AI and Fireworks AI (each with a link to its own docs). Local servers need no API key: for these the address is the credential, so the key field stays optional.
Regional and self-hosted endpoints — Qwen, MiMo, Moonshot, Zhipu, MiniMax and TokenHub ship their regional hosts as a one-click switch. Beyond that, every provider — Anthropic and Gemini included — has a free-text endpoint field, because which upstream decides to block a browser isn't something you can predict in advance. The endpoint and the CORS proxy are independent: you can point at your own gateway and still connect directly, or use the official host through the proxy.
Every provider accepts custom model IDs.
CORS proxy
Some providers don't send CORS headers, so a browser can't reach them directly. The proxy is a per-provider toggle in Settings, and a public one (https://cors.api2026.workers.dev) is used by default.
It is already on for the providers that need it — OpenCode Console, Tencent TokenHub, NVIDIA NIM, and the two subscription-plan entries (Coding Plan / Token Plan) — because with it off they simply don't work. Everything else defaults to a direct connection.
Worth knowing, whether you turned it on or found it on. Everything else here is local-first; a proxied request is not. Your API key and the full prompt travel through that proxy on the way to the provider. What the proxy does with them is the part that matters, so concretely: it forwards and nothing else — the whole request path is a single pass-through
fetch, with no logging and no storage of any kind (read it, it's short). It also only forwards to hosts declared in that file, so it isn't an open proxy someone else can point at arbitrary targets.None of that changes the fact that the request passes through a machine this project operates. If that matters for your key, run your own — it takes about two minutes.
To run your own, deploy a Cloudflare Worker with this code, then point Settings at it:
Development
src/
adapters/ # LLM API adapters (OpenAI-compatible, plus native Anthropic and Gemini)
characters/ # Character presets and custom character generation
components/ # React components
hooks/ # useChat, useRoundtable
i18n/ # Internationalization
pages/ # route components: ChatPage, SettingsPage, SharedView
stores/ # Zustand state management
utils/ # Prompt building, export, compression, storage
types.ts # Type definitions
Stack: React 19 · antd 6 (CSS-variables theme, deeply customized) · Vite · Tailwind CSS v4 · Zustand · i18next · React Router · TypeScript
| Command | Description |
|---|---|
npm run dev |
Start dev server |
npm run build |
Type-check and build for production |
npm run test |
Run tests |
npm run preview |
Preview production build |
Deploy
Build and host the dist/ folder on any static host (Vercel, Netlify, GitHub Pages, …):
npm run build
Routing is hash-based (/#/chat/..., /#/ja/chat/...), so no server-side routing config is needed.
About the 365 Open Source Plan
Project #002 of the 365 Open Source Plan — one person + AI, 300+ open-source projects in a year. Submit your idea → · Discord · Telegram
Explore related projects
Loading…

