Diagram Learning Tool
AI-powered visual learning paths
Type any topic and get an interactive diagram: an ordered learning path from foundational to advanced, where clicking a node generates its explanation on demand, with per-node chat grounded in open sources.
- Two-model split — a strong reasoning model plans the learning-path structure while a cheap RAG-grounded model writes node descriptions on demand; structures cached per topic
- Multi-source RAG — pgvector similarity search before generation; on cache miss, just-in-time fetch/chunk/embed from six sources (Wikipedia, Wikibooks, arXiv, PubMed, Stack Exchange, MDN) with inline numbered citations
- Score-based model routing — similarity ≥ 0.72 routes to the cheap model, below escalates to the stronger model; low-confidence answers auto-retry on a stronger model
- Provider-agnostic orchestration across Anthropic, OpenAI, and Google behind one interface with automatic promotion and retry on failures
- Live cost dashboard — token spend by model, cache savings, and % served from DB vs freshly generated












