@fhwofjow51260: 发现一个功能相当强大的开源 AI 学习神器,学生党一定要看看! DeepStudent(深度学生),一个本地优先的 AI 学习工作台,集成了教材阅读、网课转录、笔记整理、思维导图、智能出题、错题本、闪卡记忆、作文批改等功能。 比较牛的是,…

X AI KOLs Timeline 工具

摘要

DeepStudent(深度学生)是一个开源、本地优先的 AI 学习工作台,内置学习 Agent,可自动整理讲义、生成练习题、制作思维导图与闪卡、制定复习计划,并长期记忆学习者的知识薄弱点。

发现一个功能相当强大的开源 AI 学习神器,学生党一定要看看! DeepStudent(深度学生),一个本地优先的 AI 学习工作台,集成了教材阅读、网课转录、笔记整理、思维导图、智能出题、错题本、闪卡记忆、作文批改等功能。 比较牛的是,内置 AI Agent,导入教材或网课,就能自动整理讲义、生成练习题、制定复习计划,还能长期记忆你的知识薄弱点。 https://github.com/helixnow/deep-student…
查看原文
查看缓存全文

缓存时间: 2026/11/26 18:12

发现一个功能相当强大的开源 AI 学习神器,学生党一定要看看!

DeepStudent(深度学生),一个本地优先的 AI 学习工作台,集成了教材阅读、网课转录、笔记整理、思维导图、智能出题、错题本、闪卡记忆、作文批改等功能。

比较牛的是,内置 AI Agent,导入教材或网课,就能自动整理讲义、生成练习题、制定复习计划,还能长期记忆你的知识薄弱点。

https://github.com/helixnow/deep-student…


helixnow/deep-student

Source: https://github.com/helixnow/deep-student

简体中文 | English

DeepStudent

DeepStudent

Just focus on learning. Leave the rest to me.

An open-source, local-first AI learning workbench.
Its study agent works directly in every app on your Study Desktop.

Release License Stars

Website · Download · User Guide (EN) · 3-Min Quickstarts · 用户指南 (中文) · Report an issue · Contributing

v0.20.9 — Electron + Capacitor + WebUI + Cordis.
DeepStudent runs on a 100% TypeScript dual-kernel plugin architecture powered by @deepseek-ai/cordis — featuring Memory v2, Plugin v2 (.dspack Study Packs & Safe Mode Anti-SPOF), and verified pre_restore safety snapshots, unified at helixnow/deep-student.

Classic layout: sidebar navigation and conversations, with an answer that cites the lecture notes Android: the same kind of conversation in the phone layout
Classic layout (sidebar + single page) · Android

The DeepStudent Study Desktop: a mind map the agent generated in chat, next to the exam set it imported and the flashcards due today
Study Desktop (the default on desktop and desktop browser WebUI)


A study agent that works in every app

One sentence is enough. The agent opens the right app and produces the notes, mind maps, questions, cards and review plan; longer tasks it carries through on its own.

It does the work. Notes, mind maps, exam sets, flashcards, todos, essay review and translation all have agent tools, so results land directly in the app instead of staying in a chat window. It can also operate the Study Desktop itself, research the web and academic papers, turn a recorded lecture into timestamped notes, produce Word, PowerPoint and Excel files, and render interactive learning cards directly in chat.

Long tasks, handed off. Research, organizing and question writing keep moving without you: goal mode continues across turns, sub-agents work in parallel, scheduled automations run on time, and the built-in WeChat iLink Bot (ilinkbot) lets you interact remotely from WeChat.

Every step under control. Actions are approved by risk level, with Ask / Plan / Craft permission modes. Edits to notes and the Study Desktop can be undone (including per-turn diff review and revert), and answers cite the exact PDF page, quote or lecture timestamp with clickable backlinks across notes, chat exports and flashcards.

Knows you, grows with you (Memory v2 & Plugin v2). Memory v2 separates standing Interaction Hard Rules (scoped by global, subject, or study mode) from an evolving Learner Profile (with 10-version 1-click rollback, dialectic Suggestions, and a clickable per-message Memory Kernel attribution chip so you can inspect or forget any rule right in chat). 58 built-in skills load on demand, MCP connects external tools, 15 preset model providers (plus native DeepSeek Responses, Search/Fetch, OCR, ASR and TTS APIs), 9 web search engines and 6 OCR engines are built in — and Plugin v2 lets you share zero-code .dspack Study Packs or build and refine .dstuplugin extensions inside the AI Plugin Workshop, protected by Safe Mode Anti-SPOF 1-minute rescue and 1-click profile reset.

The agent opens a note on the Study Desktop and asks for approval before a high-risk edit


The apps it works in

Every app sits in the Study Desktop’s Dock. Open one on its own, place several side by side, or let the agent open them for you.

AppWhat it does
ChatStudy around your own materials with document-first reading layout, interactive visual cards, inline missing-API-key onboarding, per-message Memory Kernel attribution chips, and clickable citations.
FilesTextbooks, notes, question sets, documents, audio and video in one library, indexed for AI search on import (with multi-engine OCR).
MediaTranscribe lectures and recordings with timestamps, follow along with a synced transcript, ask grounded Companion QA anchored to the exact playback moment (mm:ss) with clickable jumps, and turn lessons into illustrated notes.
TextbookPDF, Word and EPUB reading with 5-color semantic highlights, AI Paper Guide, split-pane Notes/PDF citation jump-back, and annotated PDF export (including rotated and encrypted PDFs).
NotesMarkdown notes with backlinks, tags, math, clickable PDF/media source jump-back, and same-name tab disambiguation; agent edits are highlighted and reversible.
Mind MapA full mind map from one sentence; outline and canvas views, plus a recite mode that hides key nodes and converts missed blanks into flashcards.
Exam SetDrop in an exam or textbook and get a question set; nine practice modes, auto grading, mistake book, and handwritten answers.
FlashcardsReview, card making and templates in one place: built-in FSRS-6 spaced repetition (with local-midnight DST-safe scheduling and Exam Cram Sprint), large-deck filter/scroll memory, .apkg import/export (with WebUI embedded media parity), and AnkiConnect v6 sync — no Anki install required.
Essay ReviewScores against exam rubrics (Gaokao, IELTS, postgraduate exams and custom .dspack YAML rubrics), inline marks, sentence polishing, and weak-point signals into Memory v2.
TranslationFull-text translation with paragraph-by-paragraph comparison, 7 domain presets, persistent language/formality choices, and version history rollback.
Todo · PomodoroToday’s reviews and tasks in one list; a focus timer with stats, heatmaps, and ⌘K / Ctrl+K deep content search across flashcards, notes, and chats.
Skills & Plugin WorkshopBuilt-in and community skills, MCP servers, zero-code .dspack Study Packs, AI-authored .dstuplugin extensions (✦ Refine with AI), and Safe Mode rescue.
Chat: an answer about the material, with page citations Mind Map: a generated mind map in canvas view
Exam Set: a wrong answer with the AI explanation Flashcards: FSRS review with the four rating buttons
Notes: an AI edit highlighted with an undo bar Essay Review: rubric scores and inline marks

Media: a lecture video with its synced, timestamped transcript

Full learner guides for every workflow: English User Guide (docs/user-guide/en/) · 中文使用指南 (docs/user-guide/) (online mirror).


Your data stays on your machine

  • Local storage & pre_restore safety snapshots. Materials, notes, chats and indexes are stored locally (SQLite, LanceDB and local files). Existing data directories from 0.11.x mount in place with full SQL migration replay. Before any backup restore cutover, DeepStudent automatically creates and verifies a pre_restore safety snapshot (kept visible in your Backup List for 1-click rollback) via Settings → Data governance.
  • When data leaves your machine. Model calls, web search and MCP send the relevant requests to the services you configured; cloud sync, WeChat iLink Bot and Sentry error reporting send data only when you turn them on.
  • Cloud & LAN sync (Sync V5).
    • Desktop & Desktop WebUI: WebDAV, S3-compatible storage, and experimental FTP.
    • Mobile WebUI: WebDAV and S3-compatible storage (FTP hidden in mobile WebUI).
    • Android native: Android is WebDAV only.
    • Saved cloud passwords are masked and never echoed in plaintext (leave blank to keep existing credentials). Sync V5 guards weak networks with lease heartbeats and automatic self-residual reclaim. Cross-device QR pairing uses DSPAIR1 in the current UI (6-digit PIN QR, full-screenshot auto-decode, and paste-code fallback), while DSPAIR2 is backend-ready. Without a cloud end-to-end encryption password, a default cloud whole-package backup is a portable archive and cannot slot-restore; when encryption is enabled but the local password cannot be read, export is refused rather than silently downgrading to plaintext.
  • Open source, verifiable. AGPL-3.0-or-later. Everything privacy-related is in this repository.

Installation

Download the latest release from GitHub Releases or deepstudent.cn:

PlatformPackageArchitecture
macOS.dmg / .zipApple Silicon / Intel
Windows.exe / .zipx86_64
Linux.deb / .AppImagex86_64
Android.apkarm64
WebUI / PWASelf-hosted (npm run web:prod)Any modern browser

iOS: source build only via Xcode + Capacitor. See Build Configuration.

macOS says the app “is damaged”: run sudo xattr -r -d com.apple.quarantine "/Applications/Deep Student.app".

After installing, paste an API key for one of the 15 preset model providers (or connect a local model) in the welcome setup or via Settings → Model Services, pick one of the 3 starter steps, and jump straight in.

3-Minute Scenario Quickstarts

Follow a 3-minute walkthrough right after installing (English · 中文版):

  1. Exam Cram Sprint (3 min) — Import past exams/notes, generate flashcards & practice questions, set your exam date and daily budget, and click Start Daily Sprint (auto-pauses new cards in the final 3 days). → English · 中文
  2. 40-Page Paper Deep Read (3 min) — Run AI Paper Guide, read in single-column fit with split-pane chat, add 5-color highlights & pinned figures, export clickable citation notes, and export an annotated PDF (even on rotated or encrypted PDFs). → English · 中文
  3. Safe Mode 1-Minute Self-Rescue (1 min) — Recover from a faulty plugin, broken UI layout, or corrupted user.profile.json via Restart in Safe Mode, 1-click profile reset, and exit verification — with zero study data loss. → English · 中文

What Changed in 0.20.x: From Tauri/Rust 0.11.x to Electron/Cordis

Starting with v0.20.x, DeepStudent retired the legacy Tauri 2 / Rust backend (0.11.x) and moved to a unified TypeScript architecture on @deepseek-ai/cordis. Existing React UI code and on-disk SQLite / LanceDB data remain compatible in place.

DimensionLegacy 0.11.x (Tauri 2 / Rust)Current 0.20.x (Node / Electron / Cordis)
Runtime & KernelTauri 2 + 25-crate Rust Cargo workspace + system WebView; compile-time command wiringElectron 45 + UtilityProcess Host (MessagePortMain) + Cordis 4 microkernel (desktop.json: 44 assembled modules across platform services & business plugins; host/plugins/: 30 plugin dirs; 19 official UI plugin packages under src/ui-plugins/official/); 1,066 IPC commands / 128 events / 989 types governed by contracts/ipc/; drop-in window.__TAURI_INTERNALS__ shim keeps src/ React 18 untouched
Plugin v2, Workshop & Safe ModeStatic built-in plugins only (e.g., ilink_bot); no runtime plugin package format or AI authoringPlugin v2 3-tier model: Tier 1 zero-code .dspack Study Packs (YAML rubrics, SKILL.md, templates, workflows), Tier 2 AI Plugin Workshop (plugin-workshop, 14 Agent tools, esbuild compile + 3 auto-repair passes, ✦ Refine with AI, brokered studyData/pluginModel/pluginNotify), Tier 3 full Cordis plugins; Manifest v2 fine-grained network permissions; Safe Mode Anti-SPOF UI rescue (Restart in Safe Mode, SafeModeExitDialog, UI layout cache reset, MCP auto-connect pause) & 1-click reset-profile recovery for corrupted user.profile.json
Hybrid Native + WASI-WASM30+ native Rust crates baked into every build; Rust toolchain requiredNative bindings isolated strictly to host/platform/ & electron/ (better-sqlite3, @lancedb/lancedb, @embedpdf/pdfium, @napi-rs/keyring, @node-rs/argon2, koffi FFI for Win32 ACL / ShellExecuteW & macOS AppKit) + prebuilt f7-native-wasm.wasm (wasm32-wasip1) running regex, starlark, symphonia, image, fsrs, roxmltree and docx-rs/calamine/pptx-to-md via node:wasi or in-memory WASI; zero Rust toolchain required
Multi-Surface ParityTauri 2 desktop + Tauri 2 mobileOne src/ UI + one host/ Cordis kernel across 3 surfaces: Desktop (electron/, Electron 45), WebUI & PWA (web/, HTTP/WebSocket + binary framing + HTTP 206 streaming + installable PWA; desktop browsers run full Study Desktop, mobile browsers auto-switch to mobile shell), and Mobile (mobile/, Capacitor 8.6 + Web Worker Host + @sqlite.org/sqlite-wasm / OPFS; mobile.json verified at 37 modules / 0 Node dependencies)
Security & IsolationTauri capability ACLs + system WebViewElectron Fuses (RunAsNode=false, EnableNodeOptionsEnvironmentVariable=false, EnableNodeCliInspectArguments=false, EnableEmbeddedAsarIntegrityValidation=true, OnlyLoadAppFromAsar=true, GrantFileProtocolExtraPrivileges=false, EnableCookieEncryption on Win/Linux & signed macOS) + ds-plugin:// locked by plugins.lock.json SHA-256 & path containment + per-response cryptographic CSP nonces on HTML + centralized web-security.ts guards + tauri-plugin-updater 2.10 Minisign compatibility with user-plugin preservation across upgrades
Learning & AI BreakthroughsMarkdown chat, FSRS-6, earlier cloud backup, single reading paneMemory v2 (L1 Hard Rules, Learner Profile 10-version rollback, per-message attribution chip, Dialectic Reflection, Turn-1 session-frozen <memory_kernel> + <memory_delta>) · Generative UI (openui-lang, interactive-explainer, live SVG diagrams, HTML sandbox) · DeepSeek Official APIs · PDF rotated/encrypted annotated export & 460px split-pane backlinks · Sync V5 (HLC, Merkle, .dsix, weak-network lease guard, pre_restore safety snapshots, DSPAIR1 UI / DSPAIR2 backend) · FSRS-6 local-midnight & FSRS-7 desktop trial · WeChat iLink Bot (ilinkbot)

For developers

Architecture

DeepStudent
├── Surfaces       Electron 45 (macOS · Windows · Linux) · WebUI & PWA (web/) · Capacitor 8.6 (Android · iOS)
├── Host kernel    Cordis 4 plugin tree (host/kernel · host/platform · host/plugins · desktop.json 44 / mobile.json 37)
├── UI kernel      19 official UI plugin packages (src/ui-plugins/official/) · slots & registries · UiErrorBudget
├── Agent & Tools  58 built-in skills · Memory v2 · MCP · Plugin v2 (.dspack / .dstuplugin, Workshop 14 tools) · Generative UI
├── Data & Engines SQLite (better-sqlite3 / sqlite-wasm) · LanceDB · koffi FFI · f7-native-wasm (WASI-WASM) · Sync V5
└── Integrations   15 model providers · DeepSeek Official APIs · 9 web search engines · 6 OCR engines · WeChat iLink Bot
Code structure
DeepStudent
├── host/                        # TypeScript backend — Cordis plugin tree
│   ├── kernel/                  #   command router, IPC contract validation, events, protocols, profile store,
│   │                            #   plugin lifecycle/admin, community context & consent ledger
│   ├── platform/                #   platform providers: crypto · diagnostics · errors · files · http · log · native
│   │                            #   (koffi FFI & f7-native-wasm) · paths · secrets · settings · storage (+ storage-mobile) · vector
│   ├── plugins/                 #   30 plugin directories (chat, chat-pipeline, llm, memory, vfs, notes, qbank, anki,
│   │                            #   review, sync, ilink, plugin-workshop, mobile-compat, …)
│   ├── profiles/                #   generated desktop.json (44) / mobile.json (37) assembly
│   └── e2e/                     #   real-host, security, streaming, upgrade & tool coverage suites
├── electron/                    # Desktop shell
│   ├── main.ts                  #   windows, custom protocols, Electron Fuses & Host supervision
│   ├── preload/bridge.ts        #   drop-in Tauri API compatibility bridge (window.__TAURI_INTERNALS__)
│   ├── shell/                   #   protocols, ds-plugin:// lock, CSP nonces, web-security, updater, koffi native window
│   └── scripts/                 #   package.mjs, verify-fuses.mjs, app-hardening.cjs
├── web/                         # WebUI & PWA server/client runtime
│   ├── server/                  #   HTTP/WebSocket gateway, auth rate limiter, HTTP 206 streaming, staging
│   └── client/                  #   browser bootstrap & PWA service worker / manifest
├── mobile/                      # Capacitor 8.6 mobile shell
│   ├── src/worker/              #   Host kernel in a Web Worker (SQLite WASM + OPFS)
│   ├── src/shell/               #   Capacitor shell bridge & persistent storage
│   └── scripts/build-apk.mjs    #   Android APK build script
├── src/                         # React 18 renderer
│   ├── ui-kernel/               #   UI plugin runtime: slots, registries, lazy loading, UiErrorBudget
│   ├── ui-plugins/official/     #   19 official UI plugin packages
│   ├── ui-sdk/                  #   defineUiPlugin + typed services
│   ├── features/                #   chat, generative-ui, notes, mindmap, practice, flashcards, media, pdf, …
│   └── locales/                 #   i18n (zh-CN / en-US)
├── contracts/ipc/               # 1,066 commands · 128 events · 989 types (zero Rust required)
├── resources/                   # App config, capabilities, SQL migrations, registries, patches & THIRD_PARTY_NOTICES.txt
├── docs/                        # User guides (zh-CN / en-US), plugin SDK docs, build & WebUI/PWA guides
├── examples/                    # Reference community plugin examples
├── scripts/                     # Build, contract, license, lint, plugin & portability gates
├── tests/                       # Frontend unit, integration & Playwright component tests
└── .github/workflows/           # CI, governance, security & multi-platform packaging

Tech stack

AreaTechnology
FrontendReact 18 · TypeScript 5.6 · Vite 6 · Tailwind CSS 3 · Radix UI · Zustand 5
Desktop shellElectron 45 · electron-builder 26 · UtilityProcess Host · Electron Fuses
WebUI & PWANode HTTP / WebSocket gateway · Service Worker + Web App Manifest
Mobile shellCapacitor 8.6 · Web Worker Host · @sqlite.org/sqlite-wasm + OPFS
Backend runtimeNode.js 24+ · TypeScript · @deepseek-ai/cordis 4 · esbuild
Data & Nativebetter-sqlite3 · @lancedb/lancedb · @embedpdf/pdfium · @napi-rs/keyring · @node-rs/argon2 · koffi · f7-native-wasm (WASI-WASM)
Editors & RenderingMilkdown 7 · CodeMirror · PDF.js · KaTeX · Mermaid · ECharts · React Flow · openui-lang

Local development

Requires Node.js 24+ and npm (do not mix with pnpm or yarn). No Rust or Tauri toolchain is needed; Android builds additionally require JDK 21 and Android SDK platform 36.

git clone https://github.com/helixnow/deep-student.git
cd deep-student
npm ci --legacy-peer-deps
export DEEP_STUDENT_BUILD_NUMBER=20000
# PowerShell: $env:DEEP_STUDENT_BUILD_NUMBER = '20000'

# 1) Electron desktop app in development mode
npm run dev:electron

# 2) WebUI & PWA (dev server on :1428, or build & serve dist-web/)
npm run web
npm run build:web && npm run web:prod

# 3) Production frontend + desktop package (--dir for unpacked smoke, or --mac / --win / --linux)
npm run build
npx @electron/rebuild -f -w better-sqlite3
node electron/scripts/package.mjs --dir

# 4) Android APK (Capacitor + mobile Worker Host)
node mobile/scripts/build-apk.mjs

# 5) Type checks, contracts, plugin boundaries & test suites
npm run typecheck
npm run typecheck:host
npm run check:plugins
npm run contracts:check
npm test
npm run test:host
npm run test:plugins
npx vitest run -c mobile/vitest.config.ts
node scripts/portability/scan.mjs --profile host/profiles/mobile.json

Packaging and cross-platform builds: BUILD-CONFIG.md.

Documentation

DocumentDescription
User Guide (English)Complete English learner guides, including 3-Minute Quickstarts
User Guide (Chinese)Full 21-chapter Chinese user guide (online mirror)
Plugin System v23-tier extension model, .dspack Study Packs, Manifest v2 permissions, and portable sandbox
Build configurationCross-platform Electron, Android & iOS build & packaging
WebUI & PWABrowser/PWA architecture, auth model, streaming & reverse proxy setup
DeepSeek Application APIsOfficial Responses, Search/Fetch, document parsing, OCR, ASR & TTS integration
Plugin architectureHost kernel, UI kernel, contracts and extension points
Plugin SDKWriting a plugin: services, slots, manifest, capability tiers
Plugin securityCommunity plugin permissions, ds-plugin:// checks & boundaries
Plugin upgradesUser plugin preservation and compatibility checks across app upgrades
ChangelogVersion history
Security policyReporting vulnerabilities

Contributing

  1. Read CONTRIBUTING.md for the workflow.
  2. Make sure npm run lint, npm run typecheck, npm run typecheck:host, and npm run check:plugins pass before opening a PR.
  3. Report bugs and ideas in Issues.

License

AGPL-3.0-or-later

Acknowledgments

DeepStudent is built on open-source software — see ACKNOWLEDGMENTS.md and resources/legal/THIRD_PARTY_NOTICES.txt for full attributions and license texts, including:

相似文章

@denziideng: 卧槽,清华大学开源了一个AI互动课堂神器! 以前自学新东西,要么刷枯燥视频,要么看长文章,没人互动,效率低得要命…… 现在直接扔一个主题或文档进去,一键就能生成完整互动课堂:AI老师讲课、AI同学讨论、测验、白板画图,全都有!效率直接起飞…

X AI KOLs Timeline

清华大学开源了OpenMAIC,一个多智能体AI互动课堂平台,用户只需输入主题或文档即可自动生成包含AI老师讲解、AI同学讨论、测验和白板画图的完整课堂,完全开源免费且支持本地部署。

@XAMTO_AI: 想象一下,你正在为一道高数题抓耳挠腮,旁边有个懂你的导师,不光能一步步拆解思路,还能顺手出几道变式题巩固,甚至把你之前做错的题都记得清清楚楚,这不再是科幻场景。 港大团队开源的DeepTutor,就是一个把这种体验变成现实的AI学习伴侣。…

X AI KOLs Timeline

港大团队开源了DeepTutor,一个具备长期记忆、多种知识库检索和技能生态的个性化AI学习伴侣,可承担辅导、解题、出题、研究、可视化及学习路径规划等任务。