Work / Course, open source

Homer AI: build your own LLM

A free course for developers new to machine learning: build a GPT-style model from scratch on Homer's Greek, on an ordinary laptop with no GPU, then let Claude call your own model through MCP.

Homer AI: why build a tiny LLM, and the five steps (1:42)Read the transcript: Homer AI: build your own LLMMusic: "Inspired" by Kevin MacLeod (incompetech.com), CC BY 4.0. Narration: AI-generated voice (Kokoro-82M).
One Greek word on its way through the model: its characters become numbers, the model scores the next letter, and the best guess is added
Claude Code asks the MCP server for its tools, calls the Homer model, and gets the text back with real lines
Who says what, in order, when an agent calls a tool over MCP. A stand-in example from the Homer AI course.

The challenge

Most engineers use large language models every day without seeing what is inside one. Courses on the subject tend to assume a GPU, a maths degree, or both.

What we built

  • Eleven milestones, each one something you run on your own computer and see working: from a model made only of counting to a full GPT.
  • Text to numbers, attention, a GPT built in the notebooks and shipped as code, and training on the Odyssey in a few minutes on a laptop CPU.
  • Honest evaluation throughout: in-sample and held-out loss side by side, so a reader can tell learning from memorising.
  • Your model as a tool: an MCP server lets Claude ask your model for text, and a search tool returns answers with a book and line you can open.
  • Advanced chapters fine-tune GPT-2 and carry the grounded-answer pattern over to a company's own data.

What runs

  • Jupyter notebooks in number order, with ready-made models so every notebook works before you train your own
  • A GPT that trains in about three minutes on a laptop
  • Claude calling the model you built, through MCP

Tell us what you want AI to do

Bring a use case, a worry or a codebase. We come back with a short written view of what we would do and what it would take.