How praveensaharan/takumi-no-koe works
Takumi no Koe captures factory know-how through a veteran interview, routes proposed claims through human approval and verification, then answers staff questions only from approved claims—or routes unanswered questions back to the veteran. The graph follows the browser-to-server workflow and includes the interview, approval, answer, and manual-gap stages. Source excerpts show key gates, storage, and live-session behavior; some API wiring is documented only in the README, so those links cite it. Unsampled implementation details are not inferred beyond those documented relationships.
Main entry points: tools.py Mode-specific tools · app.py FastAPI app · bridge.py Live WebSocket bridge · app.js Interview and ask UI
Components 19
Browser experience
- Interview and ask UI
web/app.js - Browser audio
web/audio.js - Entry screens
web/home.js
Live sessions
- FastAPI app
takumi/app.py - Live WebSocket bridge
takumi/bridge.py - Conversation state
takumi/turn.py - Audio processing
takumi/audio.py
Knowledge workflow
- Mode-specific tools
takumi/tools.py - Evidence gates
takumi/gates.py - Human approval
takumi/app.py - Manual gap check
takumi/gap.py - Session prompts
takumi/prompts.py
Models and storage
- Claims and event store
takumi/store.py - Runtime settings
takumi/config.py - Gemini Live
- Gemini Flash
- Google Search
Other components
- Veteran
- Factory worker
Connections 24
- Veteran → Interview and ask UI: interviews and approves
README.md - Factory worker → Interview and ask UI: asks by voice
README.md - Interview and ask UI → Browser audio: captures audio
README.md - Interview and ask UI → FastAPI app: uses HTTP and WebSocket
README.md - Entry screens → FastAPI app: loads app pages
README.md - FastAPI app → Live WebSocket bridge: runs live session
takumi/app.py - FastAPI app → Claims and event store: serves state and decisions
takumi/app.py - FastAPI app → Runtime settings: loads configuration
takumi/app.py - FastAPI app → Manual gap check: checks approved claims
takumi/app.py - Live WebSocket bridge → Gemini Live: streams session data
README.md - Live WebSocket bridge → Mode-specific tools: runs tool calls
README.md - Live WebSocket bridge → Conversation state: updates conversation state
takumi/bridge.py - Live WebSocket bridge → Audio processing: uses audio helpers
takumi/bridge.py - Mode-specific tools → Evidence gates: verifies claims and citations
takumi/tools.py - Mode-specific tools → Claims and event store: records claims and questions
takumi/tools.py - Mode-specific tools → Conversation state: checks heard speech
takumi/tools.py - Mode-specific tools → Session prompts: sets model guidance
takumi/tools.py - Mode-specific tools → Gemini Flash: requests expert reference notes
README.md - Mode-specific tools → Google Search: researches interview topics
README.md - Human approval → Claims and event store: records human decision
takumi/app.py - Human approval → Manual gap check: starts post-approval check
takumi/app.py - Manual gap check → Gemini Flash: checks manual coverage
takumi/gap.py - Manual gap check → Evidence gates: validates manual quote
takumi/gap.py - Claims and event store → Audio processing: writes voice clips
takumi/store.py