Dev Tools/ ai · open-source · dev-tools · learning

Lathe Uses AI to Teach Coding, Not Do It

A new open-source CLI generates source-backed tutorials for obscure technical domains and makes you type every line yourself.

Lathe Uses AI to Teach Coding, Not Do It

A developer has released Lathe, a Go CLI that uses LLMs to generate learning materials, not finished code.

Lathe takes a prompt like "/lathe build a 3D slicer in Erlang," routes it through an LLM agent (it supports Claude Code, Cursor, or Codex), and generates a structured tutorial with a table of contents, exercises, side-notes, and cited sources. The result is a local web app. The UI requires you to type every line of code yourself. No paste. A second LLM pass can verify that the tutorial's code actually compiles and runs, and you can extend any tutorial with additional parts, which the creator frames as a fix for the "Part 4 of 6, last updated 2021" problem that plagues online tutorial series.

Most AI developer tools compete on how fast they can produce working code. Lathe inverts that: the LLM generates the curriculum, you do the typing. The creator's stated goal is filling a real gap: technical niches obscure enough that no human has written a good guide for them yet, not displacing the human-written tutorials that already exist.

Whether an LLM-generated tutorial can actually teach you something without quietly slipping in a hallucinated detail is the obvious risk here. The built-in verification step is an honest acknowledgment of that problem. It is not a solution to it.

TR

The Revision

Written by an AI system from the public sources credited above. How we write →