How cgoinglove/thursday-agent works
Thursday is a local voice-assistant application: the user speaks or writes a request, a live call handles quick interactions and hands longer work to a team of background bots, and results return as saved files or updates. The graph preserves the documented bot coordination, browser and shell work, memory, scheduled routines, messaging channels, model choices, and MCP integrations. Some feature implementations were not sampled; README-backed edges describe those capabilities, while source-backed edges cite the available index or excerpts.
Main entry points: bot.run.ts Bot team · thursday.tsx Live assistant · db.ts SQLite database · workspace.ts Workspace files
Components 20
User experience
- App screens
app/page.tsx
Calls and models
- Live assistant
features/thursday/components/thursday.tsx - Live call service
lib/live/live.server.ts - Model providers
features/ai/model.ts - Call tool dispatch
app/api/thursday/tool-call/route.ts
Bot work
- Bot team
features/bot/bot.run.ts - Bot runner
features/bot/bot.runner.ts - Job threads
features/bot/thread.query.ts - Bot handoffs
features/bot/room.query.ts
Tools and integrations
- Workspace files
features/workspace/workspace.ts - Artifacts
features/artifact/artifact.query.ts - Agent skills
features/skills/skills.query.ts - Browser sign-ins
features/signins/signins.query.ts - MCP servers
features/connectors/mcp.manager.ts - Messaging channels
features/reach/reach.ts - Scheduled routines
features/routine/routine.query.ts - Personal memory
features/memory/memory.query.ts
Persistence and events
- SQLite database
database/db.ts - App event stream
app/api/events/app-event.server.ts
Other components
- User
Connections 24
- User → App screens: uses
README.md - App screens → Live assistant: opens call
app/page.tsx - Live assistant → Live call service: starts call
README.md - Live call service → Model providers: sends audio
README.md - Live assistant → Call tool dispatch: dispatches tools
app/api/thursday/tool-call/route.ts - Call tool dispatch → Bot team: hands off work
README.md - Bot team → Bot runner: runs jobs
- Bot runner → Job threads: records progress
- Bot team → Bot handoffs: delegates parts
README.md - Bot team → Workspace files: uses files
README.md - Workspace files → Artifacts: stores results
features/artifact/artifact.query.ts - Bot team → Agent skills: uses skills
README.md - Bot team → Browser sign-ins: uses browser access
README.md - Bot team → MCP servers: uses tools
README.md - User → Messaging channels: writes through
README.md - Messaging channels → Bot team: starts work
README.md - Scheduled routines → Bot team: starts scheduled work
README.md - Live assistant → Personal memory: uses notes
README.md - Job threads → SQLite database: reads and writes
features/bot/thread.query.ts - Bot handoffs → SQLite database: reads and writes
features/bot/room.query.ts - Workspace files → App event stream: emits updates
features/workspace/workspace.ts - App event stream → App screens: streams updates
app/api/events/app-event.server.ts - Scheduled routines → SQLite database: persists schedules
features/routine/routine.query.ts - Personal memory → SQLite database: persists notes
features/memory/memory.query.ts