Local-first · Plain Markdown · Open Source (MIT)

A local knowledge graph & AI tutor for CS and math.

Map what you know as a prerequisite graph of concepts across AI, security, systems, CS, and math. Learn in bite-size lessons, quiz with confidence calibration, solve judged dev challenges, and keep every note on your own machine.

Windows, macOS & Linux · Requires Python 3.12+ · Bring your own Claude, Copilot, OpenAI, Gemini, or local Ollama
Interactive prerequisite knowledge graph showing concepts and mastery levels

Up and running in 3 steps

No database server, no cloud account, and Git isn’t required. Unzip anywhere and run setup.

# 1. Download and unzip cs-knowledge-graph.zip
cd cs-knowledge-graph

# 2. Create .venv, install dependencies, and build the graph
.\setup.ps1

# 3. Launch the local app (opens http://127.0.0.1:8765)
.\kg.cmd serve --open

First time connecting an AI provider? Read the step-by-step AI setup guide (Claude subscription, GitHub Copilot, Claude/OpenAI/Gemini API, or free local Ollama / LM Studio).

What’s inside

Ships with ~80 CS, math, systems, security, and AI concepts plus 4 roadmaps — and grows with any topic you add.

Today & Spaced Review

One next-best action each day: a 5/10/20-minute session mixing due reviews with a new concept whose prerequisites you’ve mastered.

Prerequisite Graph

See what’s locked, ready, due, or mastered. Add any topic on demand and the tutor designs missing prerequisites without cycles.

Learn & Calibrated Quizzes

Short lessons with worked code examples, quick checks, and adaptive quizzes that score your reasoning and confidence before revealing answers.

Development Challenges

Codeforces-style practical tasks (CLIs, parsers, stores, HTTP services) judged locally with hidden tests and Elo ratings across 13 languages.

Jobs & Skill Gaps

Paste a job description or pick a target role to see your readiness %, missing skills, and turn gaps into graph concepts in one click.

Local & Private by Design

Binds strictly to 127.0.0.1 with per-launch auth keys and CSP. Your Markdown vault, PDFs, and progress never leave your machine.

Claude subscription (claude-code) GitHub Copilot Anthropic API OpenAI / Gemini Ollama / LM Studio (Free Local)

Inside the app

Plain Markdown notes in vault/ (Obsidian-compatible) paired with a fast local web interface.