How mohit-pjcts/assistant works
This is a personal AI assistant with CLI and Tauri dashboard clients. Both feed a persistent, supervisor-routed conversation: specialist agents handle coding, research, life-admin, and Mac control; gated writes pause for user confirmation; results and conversation state persist across turns. The dashboard also exposes memory, threads, costs, activity, workflows, and a kanban board, while voice uses local transcription and the ordinary chat path. Relationships for unsampled capabilities follow explicit README documentation; sampled source confirms key orchestration and memory links.
Main entry points: sub_agents.py Specialist Agents · supervisor.py Supervisor Graph · server.py HTTP API · main.py CLI Chat
Components 23
User Clients
- CLI Chat
assistant/main.py - Desktop Dashboard
dashboard/src/App.tsx
Conversation Runtime
- HTTP API
assistant/server.py - Supervisor Graph
assistant/supervisor.py - History Compaction
assistant/compaction.py
Specialist Agents
- Specialist Agents
assistant/sub_agents.py
Assistant Capabilities
- Coding Tools
assistant/tools.py - Web Research
assistant/sub_agents.py - Email Calendar
assistant/mcp_tools.py - Confirmed Writes
assistant/write_tools.py - Mac Control
assistant/mac_tools.py - Local Speech
assistant/voice_io.py - Kanban Board
assistant/board_tools.py - Memory Review
assistant/memory_review_agent.py - Media Attachments
assistant/media_tools.py
Persistence
- Durable Facts
assistant/memory_store.py - Thread Registry
assistant/thread_store.py - Conversation Checkpoint
assistant/memory.py - Workflow Tracking
assistant/workflow_store.py
Other components
- User
- Claude API
- Tavily Search
- Google Services
Connections 25
- User → CLI Chat: chats through
README.md - User → Desktop Dashboard: chats through
README.md - CLI Chat → Supervisor Graph: invokes graph
assistant/main.py - Desktop Dashboard → HTTP API: sends chat
README.md - HTTP API → Supervisor Graph: invokes graph
assistant/server.py - Supervisor Graph → Specialist Agents: dispatches to
assistant/supervisor.py - Specialist Agents → Coding Tools: uses tools
assistant/sub_agents.py - Specialist Agents → Web Research: handles research
README.md - Specialist Agents → Email Calendar: uses integration
assistant/sub_agents.py - Specialist Agents → Confirmed Writes: requests writes
README.md - Specialist Agents → Mac Control: handles Mac tasks
assistant/sub_agents.py - Confirmed Writes → User: requests confirmation
README.md - Specialist Agents → Kanban Board: reads and writes
README.md - HTTP API → Local Speech: transcribes audio
README.md - Desktop Dashboard → Media Attachments: attaches media
README.md - HTTP API → Thread Registry: resolves threads
assistant/server.py - CLI Chat → Thread Registry: manages threads
assistant/main.py - Supervisor Graph → Conversation Checkpoint: persists turns
README.md - Supervisor Graph → History Compaction: compacts history
assistant/supervisor.py - Memory Review → Durable Facts: proposes facts
assistant/memory_review_agent.py - Memory Review → Thread Registry: scans threads
assistant/memory_review_agent.py - Supervisor Graph → Workflow Tracking: tracks workflow
assistant/supervisor.py - Specialist Agents → Claude API: generates responses
README.md - Specialist Agents → Tavily Search: searches web
README.md - Email Calendar → Google Services: uses Gmail Calendar
README.md