Tech talk
The Apprentice: How Moddy grants wishes with no LLM
The 6-minute talk · plays from YouTube when you press play
1. Three ways to make a wish, and how a typed wish is routed
Moddy started as purely an LLM (Large Language Model) powered Minecraft mod. Over our first weekend of development, we found that Moddy was very capable - using state of the art LLMs with some helper libraries, Moddy could create diverse creatures, builds, and effects. It did so inconsistently and often took too long, which is why we built the MCPs we covered in our last tech article (How a Sentence Becomes a Dragon), but it was still a magical experience.
When we decided to open Moddy to be used by other people, we realized that each LLM service (AI provider) has age restrictions on who can use products built on it. Families started asking whether their child could use Moddy, and while we felt confident we had already built safety graders that keep every wish safe (the kindness check and the plan check mentioned in the previous tech article), we wanted to provide an option that didn't run afoul of usage restrictions.
Since by then we had already built a robust set of MCPs to act as guardrails for the LLM-powered wishes, we asked ourselves a question: Could we provide the Moddy magic, without calling out to 3rd party services at all?
We believe the answer is yes - our Wish Builder and Apprentice Wish models, available now to all users without restrictions, do just that. LLMs are still best for maximal creativity, but our local engine does a good job for most wishes. We now have three ways to make a wish - two of which require no LLM:
| Brand name | What it is | What the player sees in the game |
|---|---|---|
| The Magician | The original Moddy LLM agent: a large language model calling Moddy's 54 MCP tools | Types a wish; it's built from scratch |
| The Wish Builder | The Builder: a closed menu of ready-made parts, with no model at all | Answers one question at a time about what to make |
| The Apprentice | The parser: a local keyword matcher, plus a small sentence-embedding model (all-MiniLM-L6-v2) and a classifier for the phrases the matcher can't read, on our own server, with no LLM. Its change reader, a special case using the same vocabulary and typo rules, turns a typed edit to something already built ("make it bigger") into a change (§4) | Types a wish. A confident edit to something already built happens at once; otherwise it shows a ranked menu of matching builds to tap |
Any player can now connect to moddy.world on Minecraft Java or Bedrock without any age verification and get the Builder and the Apprentice experiences. Players who have signed in on PlayModdy.com with their 18+ year old Microsoft account also get the Magician.
In this write-up: The Builder (§2) · The parser (§3) · Edits (§4) · Speed, wish by wish (§5) · Keeping our promises (§6)
Smart routing
A wish should be granted by the cheapest part that can grant it well, so every typed wish takes the same path, cheapest step first (§5 follows three real wishes through it):

2. The Wish Builder: a closed menu of parts
This was our non-LLM starting point - exposing the tools the LLM agent already uses to make its changes in the game. These are the 54 tools already exposed to the LLM through MCP (as our last article covered), and many of those tools expose ready-made parts: abilities like leaping when the player jumps, item effects that work held or thrown, and whole starter creatures and buildings. The Builder is a menu over those same tools. This section covers:
- The tree: kinds, slots and picks, with a real branch.
- The recipe each build keeps.
- Translating recipes to tool calls.
- How we know if it's good enough.
The tree
The Builder asks one question at a time, so every build from it (a make) is one path through one tree:
- Kind: what to make, such as a creature or a building.
- Slot: one question about that kind, such as a creature's body, special move or colours.
- Pick: one answer to a slot, such as Pet Dragon, Breathes fire or Blue.
Here is the branch behind the talk's blue dragon:

Across the 10 kinds there are 66 slots and 1,192 picks. For example, creatures can:
- Start from one of Moddy's 55 ready-made bodies (a bear, an elephant, a griffin, a robot, a rocket ship and so on), or from one of Minecraft's own animals.
- Take any of 8 powers: flying, glowing, being rideable, and more.
- Have one of 6 tempers: from friendly pet to guard.
- Express one of 8 special moves: fire breath, a flower trail, knocking enemies away, and more.
- Show one of 28 colour schemes.
- Add any of 30 extra parts, such as wings.
- Be of multiple sizes, speeds, and strengths.
Every pick also carries the words people use for it, and a test fails any pick that has none. Pet Dragon carries "dragon", "pet dragon", "wyvern" and "drake"; Breathes fire carries "breathes fire", "fire breath" and "spits fire", among others. These words are what the parser reads a wish with (§3). (The tree's code.)
The recipe
People often need to change what they wished after they see it for the first time. A later change to something a player wished should be cheap, and it can't be if only the final build is remembered. So a make is saved as a recipe: the kind and each pick, in a versioned format. The dragon's recipe is the path in the picture: creature → body = Pet Dragon, special move = Breathes fire, colours = Blue. Because of this, a subsequent wish like "Make him gold" is one simple edit to the recipe (§4).
Translating recipes to tool calls
To the rest of the Moddy codebase and user experience, a make should be an ordinary wish, so it's handled like one and records how it was made. A small, pure function turns a recipe into the same tool calls an LLM-agent wish makes, and they run through the same game tools. Each value it passes is one the tool already accepts, and for Moddy worlds that have rules limiting what can be wished, it must be on the reviewed list of parts that world allows (§6).
How we know if it's good enough
A menu is only as good as what it can reach, so we measured it on 930 test wishes (see §3 for details), written in the style of real play - typos and all - on today's tree. For each wish, we ran an LLM-based judge model (Claude Sonnet 5.5, §3) to estimate whether the builder could deliver what that wish asks for. As of today:
- Everything the wish asks for: about 1/3 of the time, the menu of parts can fully capture the full intent of the wish
- Everything, or something close: about half the time, a reasonably good approximation of the wish can be offered to the user to select.
Cumulatively, this means that approximately 8 out of 10 wishes a user might make will have at least a reasonable proxy that can be made out of the Builder's parts - you can see example mappings in §3 ("What it does with 930 test wishes") below.
These results were promising enough that we next asked ourselves: Can we build a local language parser that can find its way thru this tree, and provide the magic of Moddy (written wishes → changes to the Minecraft world) without an LLM?
3. The parser: translating a typed wish onto the menu
A menu suits players who like to pick, but Moddy is about wishing, and for players without the LLM agent the words can't go to an outside AI provider. Hosting our own open weights model would be expensive, requiring always-on systems with a powerful GPU and large amounts of memory. So rather than large, we went small - a model we could host on any Minecraft install (about 100MB), without using GPUs at all.
No small program understands all of English. But the parser doesn't need to: because the Builder's tree is closed (§2), it only has to map a wish onto the choices in the tree. It reads in two steps, cheapest first, then decides what to show. This section covers:
- The keyword matcher: every word the tree knows, with typos mended.
- The sentence model and classifier: only for the phrases the keyword matcher couldn't read.
- Showing and filtering picks: the Apprentice's ranked menu of builds, and when it is shown.
- What it does with 930 test wishes: the whole breakdown, in one chart.
The keyword matcher
Most of the words in a wish are usually words a pick already carries, so the keyword matcher answers most of a wish on its own, and answers it the same way every time. Its vocabulary is the words every pick carries (§2), so when the tree grows, so does what it can read. For "a blue dragon that breathes fire", "dragon" is one of Pet Dragon's words, "breathes fire" one of Breathes fire's, and "blue" one of Blue's.
Its rules, each with its reason:
- It mends typos against that vocabulary: one wrong letter, or two in a word of 8 letters or more (the code). It also catches words spelt the way they sound, with no dictionary: it compares consonant skeletons, so "dinasor" and "dinosaur" both become "dnsr", and "kastle" and "castle" both become "kstl". We test it on misspelled copies of the test wishes, made on purpose, one for each kind of slip (letters held down, words run together or split apart, a first letter spelt by its sound, and six more), and score each kind on its own, so a fix for one kind can't hide a loss in another. Measuring by kind showed where to work: the share of misspelled wishes read as meant went from 57% to 82% (14 Nov 2026).
- It never "fixes" a real English word into a pick's word. A list of 38,842 English words (the small American English list from SCOWL) keeps "bat" from being read as "hat" just because they're one letter apart, so a correctly spelt word is never turned into something the player didn't say. The cost: a slip that happens to make another real word ("house" for "horse") is read as meant only about 1 time in 4.
- The longer phrase wins where two picks match, because it says more about what the player meant: "fire breath" beats "fire".
It's fast: 0.08–0.09 ms for a typical wish, and about 0.3 ms for the slowest 1 in 100. (The keyword matcher's code.)
The sentence model and classifier, for the phrases left over
People don't always use the words the tree carries: "a dragon that spits flames" never says "fire breath". So the keyword matcher reads the main thing the wish starts from ("a dragon"), and any later phrase it couldn't read ("that spits flames") goes to a small sentence model on Moddy's own server. A classifier on top of it names the pick the phrase most likely means, or none. (The code: the sentence model, the classifier and the worker it runs on.)
| Piece | What it is |
|---|---|
| The sentence model | all-MiniLM-L6-v2, running on Moddy's own server. It turns a phrase into an embedding of 384 numbers. We use the stock open weights model with no retraining or fine tuning. |
| The classifier | Logistic regression we trained, with one class for each pick a later phrase can add (a power, a move, a colour and the like), 355 in all, plus "none". It's a 548 KB file. |
| What it learns from | 115,368 example phrases, written for each pick by models (Claude Haiku 5.5 and Sonnet 5.5). §6 says how they're kept fresh. |
| Speed | About 4 ms a phrase (8 ms for the slowest 1 in 100), on its own thread, so the game never waits on it. If an answer takes longer than a quarter of a second, the parser answers from the keyword matcher alone. |
The order matters. The sentence model only reads what the keyword matcher left, so a wish in the Builder's own words is answered by the keyword matcher: in our latest test, the model changed the answer for fewer than 1 in 1,000 of the 3,844 cases written in the Builder's own words. Where wishes use other words, it earns its place. On 3,802 test phrases written by another model in words unlike our examples, it changed the answer for 12.3% of them, improving the rate at which the Apprentice UI (see "Showing and filtering picks", below) offered the best fitting make to the user as the "first choice option" 71.0% of the time, against 63.5% with the keyword matcher alone. Each of these is a simple start plus one added phrase ("a dragon that spits flames"), so they measure how well the added phrase is read, not a whole wish.
Whole phrases tell the same story. On those 3,802 phrases in other words, the best make is in the parser's top five 74% of the time. On the 3,844 written in the Builder's own words, which the keyword matcher reads almost on its own, it's 99%. A separate set of whole wishes, written by other models and never used for tuning, lands close to the first number (68%), so the gap is real and not a quirk of how the test phrases were built. That gap between the two kinds of wording is what we keep working on.
Showing and filtering picks
The parser shows what it found in the Apprentice's wish picker: a stack-ranked menu of Builder makes that might fit what the player meant, best first. Each tile is one make and says what it leaves out ("Can't do: knocks, enemies, away"), so the player knows what they're choosing (the picker's code). Which tiles appear, and whether the menu appears at all, depends on how much of the wish was read. When the parser is unsure, the sentence model also compares the whole wish with each of the first five tiles and moves the likest up; a page it is sure of keeps its order.


The picker for "a blue dragon that breathes fire and knocks enemies away", each tile hovered. The first tile does both moves; the next leaves the second move out, and says so.
A screen of low quality Apprentice recommendations would waste a player's time, so once it has read the wish, the parser gives one of three answers about how much of the wish the parser/matcher could read, and that decides what the player sees:
| Answer | When | A real wish | With the LLM agent | Without it |
|---|---|---|---|---|
| Sure | It read every word that carries meaning, and the best make leaves nothing out. | "a blue dragon that breathes fire" | A screen of tiles, the best first | A screen of tiles, the best first |
| Unsure | It read at least half of those words, but not all of them, or the best make leaves something out. | "a giant mushroom town" | The LLM agent, straight away | The closest makes it has |
| No match | It read less than half, or no make fits. | "a spooky witch's castle, with a green witch circling the tower" | The LLM agent, straight away | The closest makes it has; if there are none, it says so and points to the Builder |
What it does with 930 test wishes
A matcher's own score can't say whether it picks well, so here is everything the parser does with one set: the 930 wishes in our test bank, 846 written by language models in the style of real players (short, and often misspelt) and 84 typed by players in Moddy's early play-tests, each read as typed and again misspelt. For each wish, a large model (Claude Opus 5.5) worked the Builder by hand, with the whole tree in front of it, to find the best make the parts allow: the reference answer. A second model (Claude Sonnet 5.5), the judge, grades a make against the wish as meets, partly or no; judged twice, 1,529 pairs got the same verdict 92.4% of the time. When Moddy's developer graded 60 of the parser's screens himself, he rejected none of the makes the judge passed and agreed with 40 of its 42 rejections. Each wish falls into a category by two questions: what could the Builder's parts make for it, and what did the parser show? (The test that taps every make is public; it runs on a small sample, and the full test set stays private.)

930 test wishes, as typed and misspelt; the Builder and parser of Dec 2026; builds judged by Claude Sonnet 5.5.
A category's number says what the parts could make (1 everything, 2 part of it, 3 nothing), and its letter what the parser showed. Each category, with real wishes from the set as typed. A build is written kind → slot = pick, and marked ✅ (does everything), 🟡 (partly) or ❌ (no):
| Category (as typed) | Wish | Tiles shown | Best build the parts allow (the reference answer) |
|---|---|---|---|
| 1a · sure, first tile does everything (11%) | "zombies drop diamonds" | ✅ first: "When one is defeated (Zombies): drops a diamond" | rule → who = zombie, when = a mob dies, does = drop a diamond |
| 1a | "a polar bear" | ✅ first: Cloud Bear; 🟡 Bear | creature → body = bear, colour scheme = cloud (white), size = 2, temper = friendly |
| 1a′ · sure, but the tiles are only partly right (1%) | "a dolphin that lets me ride super fast" | 🟡 Dolphin to ride (not fast) | ride → body = dolphin, speed = 3 |
| 1b · not sure, right build among the tiles (16%) | "a giant mushroom town" | ❌ giant Small Village; ✅ third: giant Giant Mushroom Village | building → building = mushroom village, size = 4 |
| 1b | "boots that make me run SUPER FAST!!!" | ✅ first: Boots (wear them): super speed | item → shape = boots, power = speed, strength = 3 |
| 1c · the parts could, the words didn't lead there (5%) | "a horn that calls all my pets to me" | no tiles | item → shape = goat horn, power = calls your pets |
| 2b · the parts make part of it, partly right on the screen (43%) | "A BABY ENDER DRAGON I CAN RIDE!!!" | 🟡 small Pet Dragon to ride (a dragon, not an ender dragon) | best is partly: ride → body = pet dragon, power = flies, size = 2 |
| 2c · the parts make part of it, nothing useful on the screen (6%) | "a magic apple that gives every good effect" | ❌ Apples | best is partly: machine → ingredient = apple, snack powers = heal and shield, strength = 3 |
| 3 · the Builder can't make it (13%) | "a mini warden that protects my house" | ❌ A house | none |
| not judged (4%) | The judge hadn't yet graded the builds the parser showed for these wishes, so they're counted apart rather than guessed. | — | — |
As an estimate, this is imperfect, but we show these real examples so you can check that the numbers are in the right range. Every player's wishes vary, and some will have a better experience with the Apprentice than others. The game itself also does a little better than these numbers, because it does two things this measuring tool doesn't grade: reading a number to make that many copies of a wish ("7 bees"), and naming a creature or item the world has installed. Edits to earlier wishes are covered in §4.
On these same 930 test wishes, the chart answers what the parts could make, and what each kind of player is shown:
| Question | Answer |
|---|---|
| What could the parts make? This is the menu's reach. | A build that does everything exists for 33% of these wishes (1a, 1a′, 1b, 1c), and something that does everything or is close for 83%. |
| What reaches a player without the LLM agent? | The parser shows tiles whenever any pick fits: 90% of these wishes. A build that does everything is among them for 28%, and something good or close for about 7 in 10. |
| What is shown to a player with the LLM agent? | The parser shows tiles only when it's sure: 12% of wishes (113 of 930), about 1 in 8. When it is sure, its first tile does everything about 9 times in 10, as graded by the judge model (103 of the 113 sure screens it graded, 91%). Everything else goes straight to the LLM agent. |
The gap between the last two rows is deliberate. On a screen where the parser is unsure, its first tile does everything about 1 time in 5 (265 of the 1,445 unsure screens the judge model graded, typed and misspelt), so for a player who has the LLM agent one step away, an unsure screen usually costs a tap before the agent does it properly anyway.
The red and 1c bars show what the parser misses today. For the wishes the parts can make in full, the right build is among the tiles for 85% of them (266 of 312).
4. Edits to things already built
Not every wish is for something new. Once a player has a dragon, the next wish is often about that dragon: "make it bigger", "give it wings", "make him gold". Granting a whole new wish for a small change would be slow, and could lose the parts the player already liked. So every typed wish, for every player, first passes through the change reader, right after the fast word check.
The change reader is a special case of the parser: plain code with no model, using the same pick vocabulary and typo rules as the keyword matcher (§3). It knows the player's things (each one's kind and name, which is the latest, and the starter creatures and buildings anyone can start from), decides whether the wish is a change, a copy ("another one"), a command ("undo") or something new, and gives the same three answers as §3:
- Sure: it knows which thing is meant and has read every word as a change that fits. The change is made at once: one edit to the saved recipe (§2) and a remake where the thing stands.
- Unsure: more than one of the player's things could be meant, so it shows the change and the player chooses.
- No match: the whole wish goes on as a new wish, to the parser or, for a player with the LLM agent, to the agent.
This is the one place the parser acts without asking, because a sure change has been right every time we've measured it: 60 of 60 graded by Moddy's developer, and 202 of 202 on a test set written by Claude Opus 5.5, checked by Claude Sonnet 5.5 and never used for tuning (159 of 159 when misspelt). On that set it was sure of 202 of the 261 changes the parts can make, about 3 in 4; all 72 changes the parts can't make went on to the LLM agent, and none of its 54 new wishes was mistaken for a change.
5. Speed, wish by wish
A big benefit of the Apprentice is speed, for new builds and for the edits in §4. Here are the three wishes from the video, one for each route through the diagram in §1, each timed to the moment the build stands in the world.
The wish: "a blue dragon that breathes fire"
- Change reader: not a change to anything already built, so it's a new wish.
- Keyword matcher: "dragon" finds the Pet Dragon body, "breathes fire" the Breathes fire move and "blue" the Blue colours, in under a millisecond.
- Sentence model: nothing left over to read.
- Answer: sure (it read every word; §3), so the parser shows its menu of builds, best first. The player taps one, and the dragon stands in the world about six seconds later, with no LLM calls at all. About 3 of those seconds are an animation we chose, a pillar rising where the build will appear; the parser's own work, from typed words to its menu, takes about a tenth of a second.

The wish: "make him gold"
- Change reader: knows which dragon is meant and reads every word as a change that fits, so it's sure.
- Result: one edit to the dragon's saved recipe (§2): its colours become Gold, and the same dragon turns gold where it stands, with no further interaction from the user required (§4). About 9 seconds in all.

The wish: "a spooky witch's castle, with a green witch circling the tower"
- Change reader: a new wish.
- Keyword matcher and sentence model: the Builder has no parts for a castle like that, or for a witch who flies.
- Answer: no match (§3). For a player with the LLM agent, the wish goes straight to it, and it builds the castle from scratch: about half a minute on the talk's film set, and about 22 seconds for a typical LLM-agent wish today.

6. Keeping our promises as Moddy grows
The Builder and the parser will keep changing after this write-up. Two promises have to hold through every change: the parser stays in step with the menu it reads, and a wish made without the LLM agent never calls out to an outside service. This section says how each one is kept.
Keeping the parser in step as the menu grows
The Builder keeps growing: new bodies, new powers, new colour schemes. Each change can quietly break the parser. A new pick has no example phrases for the classifier to learn from, a reworded pick has stale ones, and an old measurement no longer describes the tree that ships. So a change to the tree can't land without a refresh, and the refresh is one command.
A change nobody notices is one nobody refreshes for, so the build keeps a fingerprint of the tree: every kind, slot and pick, with its words. When the tree changes, a unit test fails on the next build and names what changed, and the change can't merge until the refresh has run as part of it.
The command runs each step in order, and resumes where it stopped if interrupted:
- Example phrases for each new or changed pick, written by Claude Haiku 5.5 and Sonnet 5.5. These are what the classifier learns from.
- Independent test phrases, written by Claude Opus 5.5 with different instructions. The classifier never trains on them, so they measure how it does on wordings it hasn't seen.
- Retrain the classifier on the new examples.
- Re-judge and re-measure: the parser's tiles on the test wishes, the misspelled copies of the test wishes, and the independent test phrases (all three are described in §3).
- Record the new fingerprint, last, so the check passes only once every step before it has.
Every number the refresh measures becomes the bar for the next change. A change that lowers how often the best make comes first on these test phrases by more than 2 points is blocked until it's fixed, or until Moddy's developer accepts it. Example phrases are always written by models, never taken from a player's words or from the test sets, so the tests stay a fair measure.
A refresh takes about 4 minutes when no picks are new, and about 10 when they are.
A refresh that takes too long is one people skip, so each phrase is turned into an embedding only once and cached, and retraining is skipped outright when nothing the classifier learns from has changed.
No outside calls
When a wish goes to the Builder or the parser, no LLM is called, and the words don't go to an outside service. A promise like that breaks quietly: one tool that calls a model for a small job, and every build depends on it. So it's enforced in code, by a local-only guard.
Every Builder make, parser make, typed change and reading of the words runs inside a guard. Every way Moddy can reach an outside model, the web or another program asks the guard first, and during a Wish make, the guard refuses the call and records it. The sentence model in §3 runs inside the game's own process on Moddy's server, so it needs no such call. Only passing a wish on to the LLM agent steps outside the guard. Two checks hold it in place:
- A code scan, run on every build, fails any new web, process or model call that doesn't ask the guard, unless it says why it can never run inside a Wish make.
- In-game tests, run automatically at development time on a real game server with no player, make every Wish kind through the real tools and require zero refused calls.
These builds don't need the LLM-powered kindness and plan checks that LLM-agent wishes get (described in How a Sentence Becomes a Dragon), because every part on the Builder's menu was reviewed in advance. The fast word check still reads every typed wish first, and refuses one that is clearly not allowed.
Wishes for everyone
We started this work because some of the AI models we depend on were only available to people eighteen and up, so not everyone could play. Now anyone can make a wish in Moddy: a closed menu of reviewed parts, read by a small parser on our own server, turns a typed wish into a build in seconds, with no LLM and no outside service. The LLM agent is still there for the wishes nobody has made before, for the players who can use it.
The two keep each other honest. Every part we add to the Builder is a wish the parser can now grant, and every wish the parser misses (the red and 1c bars in §3) tells us which part, or which words, to add next. To try it, join moddy.world on Minecraft Java or Bedrock and make a wish.
