Repository navigation
The first stable release of SmartStudy Agent: an adaptive study agent where a reinforcement-learning policy decides what you study next, an FSRS memory model decides when you review it, and the LLM only generates the content in between.
Highlights
- 🧠 FSRS spaced repetition (via py-fsrs) — per-topic stability, difficulty and recall probability, computed by stateless replay of your quiz history; SM-2 kept as automatic fallback
- 🃏 Anki export — every generated quiz lands in a per-student question bank, exportable as a styled, topic-tagged
.apkgdeck - 🤖 MCP server — drive the agent from Claude Desktop / Claude Code: "what's due today?", "quiz me and record my score" (which trains the Q-learning policy), "export my deck"
- 🧩 Claude Agent Skill (
skills/smartstudy/) — any Claude Code session becomes an adaptive study coach - 🏠 Multi-provider LLM — Claude, HF Inference, or any OpenAI-compatible endpoint (
SMARTSTUDY_LLM_BASE_URL=ollamafor fully local studying) - 🕸️ Interactive concept graph — draggable prerequisite DAG, mastery color-coded
- 🌐 Live everywhere: HF Space · Chrome Web Store
Honest numbers
This release ships a Technical Deep Dive and a new reproducible experiment (experiments/scheduler_comparison.py):
- With 6 topics and ample review capacity, FSRS ≈ SM-2 ≈ round-robin — the scheduler doesn't matter.
- With 24 heterogeneously-decaying topics and scarce capacity, due-date scheduling retains 4.5× more than rotation (which falls below random). Spaced repetition is triage; triage needs scarcity.
- In the policy comparison, the rule-based Bloom heuristic still beats both learned policies in simulation; the LinUCB bandit is the best learned policy. We corrected an earlier claim that Q-learning catches up by 100 sessions — a larger fresh run falsified it.
Every number is reproducible in seconds: python evaluation.py and python experiments/scheduler_comparison.py.