尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证HackKnight 2026
翻译准备中
取自仓库 README
正在加载完整 README。 以下为已保存的摘录。
An AI credit committee. A user picks a company; a bull and a bear analyst debate its debt out loud
from SEC filings and news; a moderator fact-checks every claim and hands back a committee brief.
Most AI tells you what to think; ours shows you what to check.
Built for Hack Knight (Finance, Gemini and ElevenLabs tracks).
Everything runs end to end out of the box on stub data. Each TODO(Person N) marks where real work goes.查看完整 README ↗An AI credit committee. A user picks a company; a bull and a bear analyst debate its debt out loud from SEC filings and news; a moderator fact-checks every claim and hands back a committee brief.
Most AI tells you what to think; ours shows you what to check.
Built for Hack Knight (Finance, Gemini and ElevenLabs tracks).
bull-vs-bear/
├── frontend/ # Person 3: Next.js (home, debate room, brief)
│ ├── app/ # pages: /, /debate/[id], /brief/[id]
│ └── lib/ # types.ts (shared shapes), useDebate.ts (WebSocket + audio queue), mock/
├── backend/ # Person 2: FastAPI
│ ├── app/
│ │ ├── main.py # Person 2: endpoints + debate loop
│ │ ├── schemas.py # the 3 shared shapes (pydantic)
│ │ ├── edgar.py # Person 1: SEC EDGAR
│ │ ├── metrics.py # Person 1: debt-to-EBITDA, coverage, floating %, maturities, total immediate liquidity, capex / operating cash flow
│ │ ├── facts.py # Person 1: builds the fact sheet
│ │ ├── verify.py # Person 1: Hugging Face fact-checking
│ │ ├── agents.py # Person 2: Gemini bull / bear / moderator / brief
│ │ ├── voice.py # Person 2: ElevenLabs
│ │ └── store.py # Person 2: Supabase (in-memory fallback)
│ └── tests/
├── shared/
│ ├── schemas/ # JSON Schemas, generated from backend/app/schemas.py
│ └── examples/ # Fake data everyone builds against
├── .env.example # Key names only, never real keys
└── backend/railway.json # Backend deploy (Railway)
Everything runs end to end out of the box on stub data. Each TODO(Person N) marks where real work goes.
Backend (Python 3.12+)
cd backend
python3 -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
cp ../.env.example .env # fill in the keys you have; blanks are fine to start
uvicorn app.main:app --reload # http://localhost:8000/docs
pytest # checks shared shapes + metrics
Frontend (Node 20+)
cd frontend
npm install
cp .env.local.example .env.local # NEXT_PUBLIC_USE_MOCK=true runs without a backend
npm run dev # http://localhost:3000
npm test # unit tests (Vitest)
npm run typecheck
Set NEXT_PUBLIC_USE_MOCK=false to talk to the real backend.
| Method | Path | Returns |
|---|---|---|
| GET | /health | {ok: true} plus which services are configured |
| GET | /companies | pre-cached demo companies |
| GET | /companies/search?q= | up to 10 matching companies |
| GET | /models | Gemini models the user can pick, with prices |
| POST | /debates {ticker, model?, gemini_api_key?} | {debate_id} |
| GET | /debates/{id} | full debate for replay, including model and usage |
| GET | /debates/{id}/brief | committee brief |
| WS | /ws/debates/{id} | streams fact_sheet, positions, turn_start + line per turn, usage, brief; accepts interrupt and played |
The gear icon on every page opens Settings.
GET /models with prices. Applies to the next debate.
Pro needs a key with Pro access and is slow (about 45 s to the first line), so use Flash for live demos.sessionStorage (this tab only) and sends it
only to our backend with POST /debates. The backend holds it in memory for that one debate and drops it when
the debate ends; it's never saved, logged or returned. ElevenLabs voices still use the team's key.backend/app/usage.py): calls, input,
output and thinking tokens, voice characters, and an estimated cost. The live debate shows "This debate";
finished debates add to "All debates in this browser" (localStorage, resettable). Costs use Google's
published prices (thinking billed as output), recorded in usage.MODELS with the date they were checked.
Update those prices when Google changes them (Flash's introductory price ends Dec 31, 2026).A real 8-line debate on Flash-Lite made 19 Gemini calls (rejected lines are retried) and cost about $0.02.
See shared/README.md for the shapes, how ids connect them, the WebSocket protocol and how to change them.
VOICE_ENABLED=false until the debate reads well.frontend/), backend → Railway (root /backend, config /backend/railway.json).| Person | Role | Owns |
|---|---|---|
| Person 1 | Data and finance | edgar.py, metrics.py, facts.py, verify.py, demo number checks |
| Person 2 | AI and backend | main.py, agents.py, voice.py, store.py, WebSocket stream |
| Person 3 | Frontend and demo | frontend/, audio queue, claim labels, interrupt bar, hosting, pitch deck |
main always deploys. Work on a branch (p1/metrics, p2/agents, p3/debate-room) and open a PR..env.