How helixnow/deep-student works
DeepStudent is a local-first AI learning workbench. Its principal workflow starts when a learner asks the study agent to work with their materials: Chat V2 coordinates model interaction and approved tools, which can produce or modify learning artifacts in the desktop apps and local data layer. The README also documents distinct study, content-management, review, and integration capabilities. Several feature modules are represented by their enclosing source directories because their implementations were not sampled; edges reflect documented behavior, not inspected internal call chains.
Main entry points: tools Agent tools · pipeline.rs Chat V2 runtime · App.tsx Study Desktop · chat Chat
Components 23
Study Desktop
- Study Desktop
src/App.tsx
Study Agent
- Chat V2 runtime
src-tauri/src/chat_v2/pipeline.rs - Approvals and undo
src-tauri/src/chat_v2/approval_manager.rs - Skills and automations
src-tauri/src/chat_v2/skills.rs - Agent tools
src-tauri/src/chat_v2/tools
Learning Apps
- Chat
src/features/chat - Notes and mind maps
src/features/notes - Media and handouts
src/features/media-handout/pipeline.ts - Exam sets
src-tauri/src/qbank_generation/pipeline.rs - Question grading
src-tauri/src/qbank_grading/pipeline.rs - Flashcards and review
src-tauri/src/fsrs_review_service.rs - Essay review
src-tauri/src/essay_grading/pipeline.rs - Translation
src-tauri/src/cmd/translation.rs
Content and Data
- Files and library
src-tauri/src/file_manager.rs - Search indexing
src/services/multimodalRagService.ts - Local database
src-tauri/src/database/mod.rs - Cloud backup
src-tauri/src/cloud_storage
External Integrations
- Model routing
src-tauri/src/anki_model_routing.rs - Model providers
src-tauri/src/providers/mod.rs - Web and papers
src-tauri/src/chat_v2/tools/academic_search_executor.rs - MCP tools
src-tauri/src/mcp
Other components
- Learner
- Configured services
Connections 24
- Learner → Study Desktop: opens apps
README.md - Study Desktop → Chat: opens Chat
README.md - Chat → Chat V2 runtime: sends requests
README.md - Chat V2 runtime → Approvals and undo: gates actions
README.md - Chat V2 runtime → Skills and automations: uses skills
README.md - Chat V2 runtime → Agent tools: dispatches tools
README.md - Chat V2 runtime → Model routing: selects model
README.md - Model routing → Model providers: routes requests
src-tauri/src/llm_manager/mod.rs - Model providers → Configured services: calls model
README.md - Agent tools → Files and library: works with files
README.md - Files and library → Search indexing: indexes imports
README.md - Search indexing → Local database: stores indexes
README.md - Agent tools → Notes and mind maps: creates artifacts
README.md - Agent tools → Media and handouts: creates handouts
README.md - Agent tools → Exam sets: generates questions
README.md - Agent tools → Flashcards and review: creates cards
README.md - Agent tools → Essay review: reviews essays
README.md - Agent tools → Translation: translates text
README.md - Agent tools → Web and papers: researches papers
README.md - Agent tools → MCP tools: uses MCP
README.md - Learner → Question grading: practices answers
README.md - Learner → Flashcards and review: reviews cards
README.md - Learner → Cloud backup: enables backup
README.md - Cloud backup → Configured services: uploads backup
README.md