v0.6.0· free & open source

Mastertwo pointerson your machine.

Anvil is a desktop app that teaches you algorithm patterns, then judges your code on the classic LeetCode & NeetCode questions — oracle-verified test packs, fully offline. No account. No network. No AI crutch.

62guided lessons2,900+test packs0accounts · telemetry · AI

Why Anvil

Online judges want an account, a network, and an AI copilot doing the thinking. Offline tools hand you a bare judge and a flat list of problems. Anvil refuses both: a guided course through the LeetCode and NeetCode classics, every question judged by an independent oracle, entirely on your machine.

What's inside

Everything you need.
Nothing that trains you to cheat.

8stages62lessons2,900+verified test packs2languages — Python & JS
Course

A mastery-gated climb, not a problem dump

8 stages, 19 units, 62 lessons — each teaches one sub-pattern with an explainer, an animated diagram, and faded practice. Nothing unlocks until you've earned it.

Judge

Oracle-verified judging

Every question ships with a test pack we forged — reference solutions cross-checked against an independent brute-force oracle.

Sandbox

Isolated local runner

Your code runs in a subprocess with timeouts, memory caps, and temp-dir isolation — never in the WebView.

Trainer

Pattern-recognition drills

Unlabeled prompts train which technique an unseen problem needs — the skill that survives a whiteboard.

Review

FSRS spaced review

Solved problems return on an on-device spaced, interleaved schedule and get re-solved cold. Streaks come with freezes — no guilt.

Built in the open

Open source. Come forge it.

MIT-licensed, main protected, every change lands by pull request. Code, docs, design, or test packs — pick an issue and start.