Anchor your knowledge with full source traceability

Turn your documentation and code into personalized AI quizzes—every answer traces back to its source.

Open Source Privacy First AI Powered
Import → Generate → Learn
# Flutter Widget 生命周期 StatefulWidget 通过 State 对象管理状态...
以下关于 StatefulWidget 生命周期的说法,正确的是?
README.md:## 关键方法

Why Anchor Learning?

Built on three principles: traceability, accuracy, and privacy

🔗

Complete Citation Chain

Every question traces back to specific locations in source documents. Click to jump to original context.

README.md:## Architecture:Step 2
🛡️

Anti-Hallucination

Three-layer verification prevents AI from making things up: semantic chunking, citation verification, and fact validation.

14.2% → 2.9% hallucination rate
🔒

Privacy First

100% local data storage. Your documents and learning progress never leave your device.

No tracking Offline capable
🤖

AI Agent Tutor

Socratic-style guidance helps you understand complex codebases through interview-mode questioning.

📊

Spaced Repetition

SuperMemo-based algorithm schedules reviews at optimal intervals for long-term retention.

Multiple Question Types

Single choice, multiple choice, fill-in-blank, true/false, and matching questions—all generated from your docs.

How It Works

From raw documentation to mastery in three steps

1

Import Your Content

Upload Markdown files, code projects, or documentation. Semantic chunking preserves context integrity.

.md .js .py .dart +more
📄
README.md
2

AI Generates Questions

Extract knowledge points, generate diverse question types, and verify every answer against source.

Layer 1: Semantic Chunker
Layer 2: Citation Verification
Layer 3: Fact Validator
10 questions generated
3

Learn & Review

Answer questions, see source context, get AI tutoring. Spaced repetition schedules optimal reviews.

87% Mastery
3 Days until review
🎯
5 reviews today

Built for Accuracy

Three-layer anti-hallucination architecture

Layer 1

Semantic Chunker

Preserves document structure. Markdown chunked by headers, code by functions—never mid-paragraph.

Layer 2

Citation Verification

AI must cite specific chunk IDs. System validates citations exist and support the claim.

Layer 3

Question Validator

Second AI cross-checks: does the answer actually match cited chunks? Low-confidence flagged for review.

Hallucination Rate
Direct GPT-4
14.2%
With 3 Layers
2.9%
Tested on 100 technical documents (Flutter/React/Algorithms)

Open Source & Modern

📱
Flutter
Cross-platform UI
🗄️
SQLite
Local-first data
🤖
OpenAI API
GPT-4 powered
📜
MIT License
Fully open source
15K+
Lines of Code
175
Dart Files
25K+
Words of Docs
18
Documentation Files

Who Is This For?

👨‍💻

Developers Learning New Tech

Turn official docs into practice questions. Master React, Flutter, or any framework faster.

🏗️

Engineers Onboarding

Import your company's codebase. AI guides you through architecture with interview-style questions.

🎓

Interview Prep

Generate questions from LeetCode solutions, system design notes, or past project docs.

🔬

Researchers & Educators

Build custom learning materials from papers, lecture notes, or textbooks—with full citations.

Try It Now

Experience Anchor Learning with pre-loaded example datasets. No installation required.

3 example datasets (Flutter, Git, JavaScript)
Full quiz experience with source tracing
AI Agent conversation (limited)
Launch Demo

Demo runs entirely in your browser. No data is sent to servers.

Join the Community

Ready to Anchor Your Learning?

Open source. Privacy-first. Built for developers who learn by doing.

Quick Install
git clone https://github.com/Drew-Z/anchor.git && cd anchor && flutter run