What goblins and druids can teach us about enterprise AI

Three years and 108 days of playing D&D with a robot



Coté

Build Stuff, Vilnius, December 2nd, 2026.

A dense process flowchart
A dense process flowchart
A dense process flowchart
An enormous decision tree for choosing a D&D character class and subclass

If the robot can play D&D,
it can play ERP.

Michael Coté

Coté

https://www.cote.io/ | cote@broadcom.com

Me

Prompt You’re no longer a normal friendly assistant. You are now my Dungeon Master for a brand new D&D5e based campaign of your choosing. Your only player is me. You will be my DungeonMaster. You should tell me what to do, including when my die rolls are needed. Ask me questions as needed, for example, who my character is and the result my die rolls. Other than that, what you can’t do I do for you, you will act fully as the DM and run the game. I will use commands in curly braces to go in and out playing the game. First, ask me about the character I’m playing. And then ask me for “the story so far” what has been happening since last time.

ChatGPT

Greetings, brave adventurer! Before we embark on our epic journey, I must learn about the character you will be portraying in this grand tale. Please describe your character to me. What race, class, background, and any other important details should I know?

Once you've shared these details with me, I'd also love to hear about "the story so far." What has transpired in our campaign since our last adventure? This will help me set the stage for our upcoming quests and challenges.

Me

Character: The character is named Rye Lightfoot, a member of the Circle of Land, choosing the forrest...

Good at

  • Imagination.
  • Talking with NPCs.
  • Rules and lore.
  • Running combat.
  • Never tired.
  • Cheap.

Bad at

  • Secrets.
  • Monster tactics.
  • The hooded stranger.
  • Remembering.
  • Sticking to the plan.
  • Math and dice.
Same game, a new toolkit every year: copy and paste (Aug 2023), custom GPTs, Projects and uploads, MCP servers (Feb 2025), a shell (Jul 2026), many AIs (Nov 2026); and the dice, every year, always code

Sources: Coté's ChatGPT export, 2023-2026; git history of dice-mcp, chatdm, dice-roller, solo-dm and dnd-play.

At the table

  • Play by voice, hands free.
  • Real dice, or the AI's code.
  • Oracles, cards, sparks.
  • 248 old NPCs who turn up.
  • Clocks, with omens.
  • The house's tenday business.

Around it

  • The sheet, from D&D Beyond.
  • Prep from 1,431 books.
  • Scene pictures, battle maps.
  • Logs, and a 165-page Codex.
  • Saves from any AI.
  • Another AI reviewing the rules.

Source: cote/dnd-play, voice-dm.md and README.md, 30 Nov 2026.

The table, today: my LAN with the Mac (Claude Code, skills, my library, three years of play, Antigravity) and the Synology Enclave; GitHub cote/dnd-play as the shared space; D&D Beyond; the claude.ai voice table on my phone; Grubnik's NPCs on Tanzu Platform

Source: cote/dnd-play and ~/projects/dnd, 30 Nov 2026.

Source: scene picture by Gemini (Antigravity) from saves/fizzlepop-2026-11-30-0025.md, 30 Nov 2026.

Me

Let's fast-forward a few days.

The DM, by voice

Jump-in two: supper on day 70. Pell and Pip bring the crate, and you pay Pell 80 gold. Taylor turns up too, the Dock Ward urchin from ten years ago, now a lamplighter. You pay him the silver piece you've owed him since then, and he laughs until he cries.

Jump-in three: day 72, a Glassblowers' Guild inspector says no glass without the House of Crystal seal. Hogus takes the glassware off the shelf rather than pay 50 gold to join.

Jump-in four: day 73, Pell brings Jebbek's watch. It's silent. She wears it to bed.

Playing by voice. The problems: no screen, numbers said as words, menus don't work, an hour of one-line chat, nobody tracks 40 letters. The opportunities: hands free, jump-ins you can rewind, spoken shortcuts, real dice, a spoken help

Source: cote/dnd-play, voice-dm.md and setup/instructions.md, 30 Nov 2026.

One repo, three AIs: the desk (Claude Code) writes everything; the voice table (claude.ai) adds saves and board notes; Antigravity (Gemini) adds notes, pictures and board notes. Rule: anyone but the desk only adds new files

Source: cote/dnd-play README.md and board/README.md, 30 Nov 2026.

$ git log --format='%ad %an %s'

11-29 23:26  Claude       Voice save: Waterdeep, days 70-75
11-30 08:43  Antigravity  Add architecture & play optimization ideas note for desk review
11-30 08:51  Antigravity  Add Street of Bells scene image and Day 70-75 log section
11-30 08:54  Coté         Sync from desk 2026-11-30 08:54
11-30 09:19  Antigravity  Interlink codex/ like Obsidian with relative links, entry pages, and backlinks
11-30 10:18  Coté         Board: desk changes from Antigravity's memo
11-30 10:22  Coté         Codex relinked by desk with a fixed hash seed
11-30 10:25  Coté         notes/jobs.md: job list for the world janitor

Source: git log of cote/dnd-play, 29-30 Nov 2026. "Coté" is the desk, Claude Code committing as me.

178 jobs for sub-agents, July to November: pictures 50, book scans 41, the D&D Beyond sheet 34, a Forgotten Realms gazetteer 19, prep 17, lookups 9, Codex and logs 8. Delegate pictures, prep, stat blocks, the sheet; keep narration, rulings and NPC voices in the main session

Source: Agent tool calls in Claude Code transcripts for the D&D projects, 21 Jul to 30 Nov 2026; ~/projects/dnd/dm-sop.md, "Background work."

Where do the agents meet? My Mac's files: only on my LAN, my phone can't see them. Google Drive: a connector per AI, no diffs. A shared database: a server and a schema, a tool for every agent. A git repo: every AI already speaks it, fine-grained tokens, history, diff, revert, markdown agents read, and humans read the Codex

Source: Coté's experience wiring cote/dnd-play to claude.ai, Antigravity and Claude Code, Nov 2026.

The prompt is compiled now: brief, log, prep, D&D Beyond and saves go through build.py into voice-dm.md, a generated boot-voice.md and sheet.md; the rest is on demand. Startup went from 110 KB, 18,580 words, to 40 KB, 6,855 words

Source: cote/dnd-play git history and notes/2026-11-30-optimization-ideas.md; ~/projects/dnd/voice-table/build.py, 30 Nov 2026.

The prompt changes after every session: play, save, a retrospective in lab-notes.md, a dated rule in dm-sop.md or voice-dm.md, compile with build.py, play again; another AI reviews. dm-sop.md went from 1,218 words on 15 Nov to 3,464 on 30 Nov; voice-dm.md from 1,276 to 2,782 in two days

Sources: ~/projects/dnd/lab-notes.md and dated copies of dm-sop.md, 15-30 Nov 2026; cote/dnd-play git history of voice-dm.md.

Lab notes, 26 Nov

He stopped wanting inventions flagged. "No need to tell me what is yours and the books anymore." The rule in the SOP was reversed the same minute.

The rule

Don't flag what's invented and what's from the book.

Lab notes, 29 Nov

The voice DM invented canon fast and paid too much for plate.

The rules

Coté found the plate money too easy (2026-11-29): when in doubt, pay less and make it slower.

Reuse people before inventing them. At most about five new named people a session.

Lab notes, 26 Nov

Letters are too many to track. He asked that any letter for the place he's in just be handed over.

The rule

The letters: he can't track them. When he's somewhere a letter goes, say so, and he hands it over.

voice-dm.md: What it sounds like

Three short examples. Match the length and the shape, not the words.

A montage with jump-ins

Coté: "Let's say I spend the afternoon selling." DM: "Jump-in one: you lead with the magnifiers, and sell three to a jeweler's apprentice at the full hundred and ten. Jump-in two: you turn down a sailor's offer of a parrot for a lantern. Jump-in three: at the bell for supper, a woman in Order blue waits until the stall is empty and asks, quietly, whether the Post carries things that aren't letters. What do you tell her?"

notes/2026-11-30-optimization-ideas.md

Antigravity (Gemini), 00:42, asked to review the repo:
Quick Win    Compile a single boot-voice.md in build.py
             Cuts startup context by ~60-75%
Quick Win    Split sheet.md into active gear vs. curiosities
Quick Win    3 worked examples + 5 voice commands
Quick Win    Add section 11. Next cold open to saves
Medium Lift  Move images/ out of main
...
The desk (Claude Code), 09:18, on the board:
From Antigravity's memo, done: boot file, sheet split, log split, worked
examples, shortcuts, voice fights, cold open, change list, clock telegraphs,
Post Turn, oracle. Not done: tools/dm.py, the GitHub Action, moving images out.

Sources: cote/dnd-play notes/2026-11-30-optimization-ideas.md and board/2026-11-30-0918-desk.md, abridged.

Where it lives decides who can use it: skills, my library, Claude Code and pictures on my Mac; the Enclave on my LAN; the NPCs on Tanzu, D&D Beyond and GitHub on the internet. Antigravity on the web and the Claude app on my phone reach only GitHub, not the library or the Enclave; ChatGPT is next to test

Source: cote/dnd-play README.md, SETUP.md and dm-sop.md; ~/projects/dnd, 30 Nov 2026.

AI-only problems

  • Dice and math.
  • Tool calls leak secrets.
  • Prompts that bloat.
  • Hosts that can't reach.
  • Agents that collide.

What I'd do Monday

  • Sure things go in code.
  • Compile the prompt.
  • Share a repo, narrow tokens.
  • Agents add, one owner merges.
  • Try voice.

Source: cote/dnd-play, dm-sop.md ("Never let a roll's purpose show"), voice-dm.md and README.md, 30 Nov 2026.

Claude Code as the DM: Fizzlepop asks the cobbler about red boots with a hollow heel; Grubnik quotes twelve silver, half now, half in ten days

The Cloud Native
Cobbler.

An NPC is a Spring Boot app: Grubnik's soul (cobbler.md), his brains (Qwen), his memory (lines of his history), and Grubnik himself
Nick Kuhn’s lab, the NDC: racks of servers, mini PCs, switches and UPSes

Source: “Inside the Coding Agent-Powered SDLC,” Adib Saikali and Frank Denneman, Explore 2026.

$ cf push -f npcs/manifest-night-market.yml

Sequence: cf push, upload, staging with the Java buildpack, droplet, start, health check, internal route manifest-night-market.yml: name night-market, path target/npcs-0.1.0.jar, the Java buildpack, 1G memory, 1 instance, an HTTP health check on /healthz, the internal route night-market.apps.internal, and a few env settings
Tanzu Hub, night-market's Topology: the app alone, running, nothing bound
Sequence: the Postgres broker provisions a dedicated instance, bind, the buildpack sets the datasource, chat memory in JDBC
Tanzu Hub, night-market's Topology: the app with brains and memory bound
> /mcp
Baby Grubnik, crying, swaddled in leather
Sequence: create the MCP Gateway and SSO, bind with OIDC, the gateway routes to the internal app, a stranger gets 401
Tanzu Hub, night-market's Topology: the app with brains, memory and the gateway bound, down through space, foundation and vCenter
Sequence: Claude Code's /mcp login through the gateway and the platform's SSO
The same chat, highlighted: Fizzlepop's line and Grubnik's reply
Sequence: one npcs app holds every Character; each call finds the NPC, loads its history, builds the context and sends it to its model

Tracing.

The npc turn span's tags: model, tokens in and out, the message and the reply
Hub, the MCP Gateway's mcp.audit log: who called, what went in and out, the model, the tokens
"mcp.protocol.version": "2026-07-28",
"enduser.id": "redacted@example.com",
"aiservices.mcp.auth.subject": "9b687593-6fe3-4e07-8f3d-1cf869870496",
"aiservices.mcp.auth.client_id": "eca43fcb-cfe5-4f38-99cf-4e09bbcf0c7a",
"aiservices.mcp.auth.scopes": "openid",
"client.address": "x.x.x.x",
"user_agent.original": "claude-code/2.1.325 (cli)",
"network.protocol.name": "http",
"network.protocol.version": "1.1",
Jaeger, trace d314651: a Grubnik turn with the old roll tool, two Qwen calls with execute_tool roll (2 ms) between them, 6.41 s
Sequence: one tell_npc with roll markers: one model call, the app fills in the roll from the stat block
Jaeger, trace 89f05fd: a Grubnik turn with one Qwen call, 5.78 s
Fast, or right? Six brains on the platform: average turn time across, beats played right up. Inkling 2 Mini 1.5 s and 5 of 5; gpt-oss-120b 2.1 s, 4 of 5; Qwen 3.8 Flash 3.9 s, 3 of 5; Qwen 3.8 27B 8.3 s, 3 of 5; Gemma 4 31B 8.7 s, 3 of 5; Nemotron 3.5 Super 9.5 s, 2 of 5
Same Grubnik, five beats, six brains: each beat's turn time per model, with the turns that went wrong crossed out in red and listed underneath
The test: one goblin, five beats, 16 brains. Grubnik's soul, stat block and rules go into each model at high effort (claude -p, agy, codex, grok, and Tanzu's npcs app); the five beats and the right answer for each; Fable judges the replies blind

Sources: working/model-eval in this talk's folder: scenario.md, run_cli.py, the npcs app on the Tanzu lab, 30 Nov 2026.

16 brains, one goblin: every beat right: Gemini 4 Argon, Grok 4.7 (4 of 4), Inkling 2 Mini, Haiku 5.5, gpt-5.6-luna (4 of 4); missed one: Opus 5.5, Sonnet 5.5, gpt-6-luna, gpt-oss-120b; missed two: Gemini 3.8 Flash, Fable 5.2, Qwen 3.8 Flash, Qwen 3.8 27B, Gemini 4 Neon, Gemma 4 31B; missed three: Nemotron 3.5 Super. Most common miss: rolling dice to haggle, 7 of 16 on beat 4

Source: judgement.json and results.json, working/model-eval, 30 Nov 2026. Judged blind by Claude Fable 5.2; two of its own flagged calls applied.

Round 2: the pickpocket test. Grubnik version 2 has a habit of picking pockets if it looks easy, plus goblin instincts from a monster-tactics book. The gnome scene: asks for boots, looks away, then unnoticed or caught. The barbarian scene: asks for boots, looks away, caught, roll initiative, then he goes first or she grapples him. Fable judges six skills and every call is timed

Source: working/model-eval/round2-plan.md, results2.json and timing2.json, 30 Nov 2026. Judged blind by Claude Fable 5.2, three judges, one rubric.

The scorecard: 15 models by six skills, judgment, dice, rules, secrets, plays itself, fits the market, 0 to 3. Top: Sonnet 5.5 3.0, Gemini 4 Neon 2.9, Gemini 4 Argon 2.8, Opus 5.5 2.7, Gemma 4 31B 2.7, gpt-6-luna 2.7. Bottom: Nemotron 3.5 Super 1.9, gpt-oss-120b 1.2

Source: working/model-eval/round2-plan.md, results2.json and timing2.json, 30 Nov 2026. Judged blind by Claude Fable 5.2, three judges, one rubric.

Fast, or right? Median model time per turn, log scale, against the scorecard average. Inkling 2 Mini 1.6 s and gpt-oss-120b 2.2 s are fastest; Sonnet 5.5 at 4.7 s scores highest; the Gemini models score well at 18 to 21 s; gpt-oss scores lowest

Source: working/model-eval/round2-plan.md, results2.json and timing2.json, 30 Nov 2026. Judged blind by Claude Fable 5.2, three judges, one rubric.

Cold start against the model's own time, median per turn: the model time as a solid bar and CLI startup, sign-in and network as a hatched bar. CLI startup adds about 1.4 to 3.2 seconds a turn

Source: working/model-eval/round2-plan.md, results2.json and timing2.json, 30 Nov 2026. Judged blind by Claude Fable 5.2, three judges, one rubric.

Does Grubnik rob them? The gnome: 15 of 15 tried. The barbarian with instincts: 3 of 15 tried, Gemma 4 31B, Qwen 3.8 Flash and gpt-oss-120b. The barbarian without instincts: 15 of 15 tried

Source: working/model-eval/round2-plan.md, results2.json and timing2.json, 30 Nov 2026. Judged blind by Claude Fable 5.2, three judges, one rubric.

Same goblin, different minds: Sonnet 5.5, Chop the cobbler, and who stitches your heel? Opus 5.5, Twenty-five! Is robbery. Grubnik robbing Grubnik! Gemma 4 31B, I saw a spider! Big one! Right on your belt! I was savin' you! Qwen 3.8 Flash, What kind of red? Blood-red? Rust-red? The red of a bad decision? Gemini 4 Neon, Wind blew your purse right onto my thumb. Loose string! Fable 5.2, And tie that purse up proper. Market's full of thieves. Terrible people. Nemotron 3.5 Super, Not thief! Wind! Wind took purse, wind put it back! gpt-oss-120b, You watch the tricks, I watch your purse.

Source: best lines picked blind by Claude Fable 5.2 from the round 2 transcripts, 30 Nov 2026.

The soul says

Caught by someone weak: deny it, joke, blame the wind, offer a discount.

gpt-5.6-luna

"Thief? No, no, feet! Wind tugged it. Bad wind. I give you five silver off. Deal?"

Haiku 5.5

"That's the wind, that is. Wind's terrible tonight. Pushes everything about. Purses too."

Gemini 4 Neon

"Wind blew your purse right onto my thumb. Loose string! Grubnik saved your silver, eh?"

Inkling 2 Mini

"Ha! Blame the wind, feet — it's a gusty night at the Market."

What training taught each goblin. Every goblin: says the soul's line, Sit down, feet, let's see what you've got (14 of 15); spits tacks, ears go flat, teeth; robs the gnome on the first beat; blames the wind (8 of 15). Only one goblin: Qwen 3.8 27B is the goblin, first person; Qwen 3.8 Flash shouts in capitals; Haiku writes asterisk stage directions; Gemma four exclamation marks a line; gpt-6-luna 18 words, never says Grubnik; gpt-oss snarls, grunts, clamps, swings; Inkling recites the soul; Fable thinks 154 words in private

Source: counts over every round 2 reply, 20 to 27 per model, working/model-eval/model-habits.md, 30 Nov 2026.

CVEs reported by year, 2014 to 2026: 100,202 so far in 2026, already 108% past all of 2025
X

“Repaving constantly to flush any persistent threats.”

Wells Fargo, re-running the pipelines even when nothing new shipped

Source: “How Two Operators are Continuously Patching Pivotal Cloud Foundry,” VMware Tanzu blog, February 2019.

SBOM tinkering: a CVE lands, Hub finds it, Spring App Advisor opens a patch PR, the developer reviews and pushes, the platform rebuilds, a rolling restage, the NPCs pick back up
Tanzu Hub, Vulnerability Insights, Apps: 505 vulnerable apps, 25,616 CVEs by severity and type, 543 apps to restage, each app's buildpack and CVE counts
Tanzu Hub, Spring Insights, spring-petclinic on Spring Boot 2.7.3: each Spring library's version, upgrade version, upgrade effort and CVEs
# openrewrite/rewrite-spring: spring-boot-27.yml
name: org.openrewrite.java.spring.boot2.UpgradeSpringBoot_2_7
recipeList:
  - UpgradeDependencyVersion:
      groupId: org.springframework.boot
      artifactId: "*"
      newVersion: 2.7.x
  - UpgradeParentVersion:
      artifactId: spring-boot-starter-parent
      newVersion: 2.7.x
  - UpgradeDependencyVersion:
      groupId: org.springframework
      newVersion: 5.3.x
  - UpgradeSpringData_2_7
  - UpgradeSpringSecurity_5_7
  - SpringBootProperties_2_7
  ...

Recipe: OpenRewrite, rewrite-spring, UpgradeSpringBoot_2_7 (abridged).

// NoRequestMappingAnnotation.java (abridged)
public J.Annotation visitAnnotation(J.Annotation a, ExecutionContext ctx) {
  if (REQUEST_MAPPING.matches(a)
      && getCursor().getParentOrThrow().getValue() instanceof J.MethodDeclaration) {
    String verb = requestMethodArgument(a)        // method = GET
        .map(this::requestMethodType)
        .map(this::associatedRequestMapping)     // "GetMapping"
        .orElse(null);
    if (verb == null) return a;                  // no method: matches all, leave it

    a = a.withArguments(/* drop method = GET */);
    a = new ChangeType("...annotation.RequestMapping",
                       "...annotation." + verb, false)
          .getVisitor().visit(a, ctx, getCursor().getParentOrThrow());
    maybeRemoveImport("...annotation.RequestMethod");
    maybeAddImport("...annotation." + verb);
    // one argument left, and it's path? drop the "path =" too
  }
  return a;
}
// before
@RequestMapping(path = "/{id}",
                method = RequestMethod.GET)
public ResponseEntity<String> getUser(...)

// after
@GetMapping("/{id}")
public ResponseEntity<String> getUser(...)

// and these it leaves alone, on purpose
@RequestMapping(method = HEAD)
@RequestMapping

OpenRewrite, rewrite-spring: NoRequestMappingAnnotation and its test (abridged).

Tanzu Hub, grubnik settings: Bill of Materials, Download SBOM; Java 21.0.13, Spring 4.0.0; buildpack Java 5.3.0
# every repo's Spring version, from Hub's GraphQL
query {
  repositoryQuery { repositoryQueryProviders {
    springArtifact { queryRepositories(first: 100) {
      repositories {
        name
        latestArtifactMetadataVersion {
          springVersion springSupportStatus springFixVersion
          artifactSBOMSummary { vulnerability { total } }
        }
      } } } } }
}

# what comes back (sample: the Spring Boot 2 repos)
{ "data": { "repositoryQuery": { "repositoryQueryProviders": {
  "springArtifact": { "queryRepositories": {
    "repositories": [
      { "name": "spring-petclinic-2.7.3",
        "latestArtifactMetadataVersion": {
          "springVersion": "2.7.3", "springSupportStatus": "SUPPORTED",
          "springFixVersion": "2.7.35",
          "artifactSBOMSummary": { "vulnerability": { "total": 44 } } } },
      { "name": "spring-petclinic-2.7.18",
        "latestArtifactMetadataVersion": {
          "springVersion": "2.7.18", "springSupportStatus": "SUPPORTED",
          "springFixVersion": "2.7.35",
          "artifactSBOMSummary": { "vulnerability": { "total": 38 } } } },
      { "name": "hello-spring-boot-2-7",
        "latestArtifactMetadataVersion": {
          "springVersion": "2.7.0", "springSupportStatus": "SUPPORTED",
          "springFixVersion": "2.7.35",
          "artifactSBOMSummary": { "vulnerability": { "total": 1 } } } }
      ...
    ] } } } } } }

So...

Harness building eats the fun: a 100% stacked column chart of one person's AI-run D&D campaign by quarter, 2023 Q3 to 2026 Q2. Building the AI harness grows from 5% of conversations to 53%; prep and worldbuilding shrink from 84% to 43%; playing stays around 8-17%.
What this talk cost to make: tokens per day through Claude Code, 11 to 19 November 2026. 1.75 billion tokens, about $879 at API rates and about $7,235 if nothing had been cached; the Prague talk was $2k/$19k.

Loot.

  • Watch AI getting better:no incomprehensible benchmarks needed.
  • The end of programming:I now program more! I love it!
  • Liberal Arts Major's Dilemma vs.Jevon's Goblin Paradox.

Yes, but...

  • AI CxO weirdos.