Jory’s flour arithmetic at 09:00 on the first morning of The Thirteenth Loaf ran in the same Python process as everyone else’s thinking. So did his request to Mara for one flour, and so did the engine’s refusal when he tried to accept Elsie’s twelve-loaf order before that flour was on his shelf. NPCSIM’s controller has one asynchronous worker. It picks whose turn it is and keeps every villager’s memory in a single map called agents, twelve entries side by side. Generation 27 is the spec for moving one of those entries out of the building.
The spec calls the result an independent NPC service. Jory is the example binding (an operator can pick any actor, and the default is still nobody), and he would get a long-running process of his own plus an LLM endpoint nobody else in the village shares. That process keeps his private checkpoint: memory, plans, wait state, counters and the last world revision he accepted. The example points him at a 4B model on a local port. Everything else stays put. There is still one authoritative world and one shared clock, and the coordinator still decides whose turn it is and which actions reach the world.
Why only one
The first release allows at most one external actor per episode. That’s a configuration limit, not a protocol limit, so lifting it later shouldn’t change anything that goes over the wire. I’d rather find out how leases break on one baker than on twelve villagers timing out together. The spec already sketches the later phase, a broker leasing turns to several NPC services at once with inference running in parallel and world transitions still serialized, but it’s a sketch, and this delivery doesn’t build it.
There’s also a reason sitting in the current code. The built-in MCP world lets the controller pick an actor with world_select_actor, and the server then mutates that one selected binding. If two client processes shared that connection, one could select Jory and the other could select Elsie a moment later, and Jory’s action would land on Elsie. So the NPC service never touches the world. It receives an observation scoped to Jory and returns a decision in the same Decision shape the internal villagers already produce: an action ID with its arguments, a justification, an expected outcome, and optionally a subgoal or typed plan steps. The coordinator takes it from there, with the same invalid-action recovery it applies to everyone else.
The spec rules out the other obvious design, a copy of the world for every NPC. Twelve copies of Millhaven would mean twelve opinions about how much flour is sitting at the mill, and nothing deterministic to settle them. The world owns truth. That line has been in the NPCSIM spec since the room with the key inside the box, and Generation 27 doesn’t loosen it.
Figure 1. Jory’s thinking moves to a separate process. The world and the other eleven villagers stay where they were.
The lease
Every turn Jory takes as an external actor starts with a turn lease. It carries a unique lease ID, the run, world, actor and session it belongs to, the revision of his cognitive checkpoint, the revision of the observation he’s being shown, and a deadline. The service gets to produce exactly one decision, or a deterministic wait, against it. A decision that arrives after the deadline is rejected, and so is one that refers to an observation the world has since moved past or names the wrong actor. Present the same lease ID twice and the service has to hand back the same recorded result, or say plainly that the lease is completed or expired.
The sentence in the spec that does the most work is this one: “A transport timeout is not evidence that the worker or world did not complete its operation.” Anyone who has watched an integration post the same vendor invoice twice, because the first call timed out after the database had already committed, knows why it’s there. Recovery asks for the lease and action status before it retries anything. And the request-ID idempotency on world actions stays exactly where it was, so even a confused retry can’t buy the same loaf twice.
The envelope for Jory carries Jory’s things. That means his profile and the documents he’s permitted to see, his own observation and available actions, his goal with the memory and plan behind it, and the shared clock fields he could already read. It never carries the full world state, Elsie’s memory, Mara’s private documents or anyone’s model credentials. The service token authorizes one actor in one run. A service that answers as somebody else gets treated as a protocol and authentication failure, not a curiosity.
Figure 2. One turn lease, from issue to checkpoint. The red boxes are where the spec says no.
Failing without guessing
The failure table has nine rows. None of them lets the world move on a guess. If the service is gone before resume, the episode stays paused and shows the health error. Lose it in the middle of a model call and the uncertain result sits unapplied until the lease status comes back. A late result after expiry is ignored outright, and a checkpoint that doesn’t match its actor, run, revision or schema blocks migration while the previous binding stays recoverable.
The rule with the least give in it is the one about fallback. If Jory’s model endpoint goes down, the first slice does not quietly route him back to the global model. The village pauses at the last confirmed world action. Moving him back in-process takes an operator’s confirmation and a current checkpoint. A baker whose decisions started coming from a different model halfway through a run, with no record of the switch, would make every later log entry about him suspect. The spec requires admin diagnostics to say which execution mode and model produced each decision, without leaking private state or credentials, and a silent fallback would break that on the first outage.
None of this assumes a big model. The spec says a 3B to 4B model has to be able to run Jory with no larger model standing behind it, and it refuses to hard-code anyone’s VRAM. Deployment guidance is supposed to measure weight memory, KV cache, context size and tokens per second instead of promising a number of agents. What makes a small model plausible is the typed plan contract NPCSIM already has: an NPC plans, and the coordinator carries out routine follow-through in code, so the model gets called at decision points rather than for every step to the mill. When a small model does fail, with invalid JSON or an action ID nobody advertised, the run pauses or surfaces a worker error. It will not invent a valid action to cover for the model. Broad catches that turn an error into a fabricated decision are prohibited by name.
Figure 3. The safe failure table from the spec, nine rows long.
Two things the draft hasn’t settled
Who owns Jory’s memory is the first. The goals give it to the service, and the checkpoint endpoints export and load it there. But the turn envelope also carries his memory from the coordinator on every lease, and those can’t both be the source of truth. Putting it in the coordinator for the first slice would make the trip back in-process much simpler, since the agents map already holds it.
The second is whether the village waits. Turns are still serialized in the first slice, so while Jory’s 4B model thinks, do the other eleven villagers stand around? If they do, a slow call can hold up all of Millhaven for as long as it runs, up to the 30-second model timeout in the example config. If they don’t, the first slice has already wandered into the concurrency the spec saves for later, where several NPCs wake on events and the world needs a revision contract to reject competing actions.
Acceptance criterion five sends Jory back the other way. The episode pauses at a safe boundary, the coordinator verifies his checkpoint against actor, run, revision and schema, and only then does he take a turn in-process again. If the check fails, the old binding stays in place and Jory keeps thinking on port 9101.
Follow me here if you want the next NPCSIM run in your feed.
The Forgotten Workshop, player view: Wren in the covered passage, gate still shut.
Turn 25 of The Forgotten Workshop, and I was holding the iron key. I typed the command to open the workshop door. The engine said the door was locked. It had said the same thing on Turn 22, and on Turn 9, and it was right all three times, because unlocking is its own verb and I hadn’t used it yet.
NPCSIM is the AI NPC simulator I’ve been building. It started with single-NPC scenarios like this one and has grown into Millhaven, a village of 12 independent NPCs with their own beliefs, refereed by a separate Dungeon Master agent that rules on what each of them attempts. I recently changed the agent engine so a human can take an NPC’s seat. The body stays the same, and so does the one-item carrying limit. Only the decision changes hands.
The workshop
The NPC is Wren, described by the scenario as a hungry but mobile body with hands, able to carry one inventory unit. Wren wakes on a dusty bench with no memory and an aching stomach. In the room: a warped wooden cabinet, a closed lunch tin, a brittle wooden mallet, and a sturdy door. The quest panel says, in its entirety, “Find a way out.” That carrying limit is the whole puzzle, because the mallet and the key can’t both be in Wren’s hands, so something has to go back on the floor before the door will open.
The agent’s run was tidy. It opened the lunch tin, took the bread roll and ate it, then picked up the mallet and hit the cabinet twice. It put the mallet down, picked up the iron key the cabinet had been holding, unlocked the door, opened it, walked through into the covered passage and opened the wooden gate on the far side. Twelve turns. That looks close to the shortest path the scenario allows.
The agent’s run: twelve turns, lunch tin to garden gate.
Twenty-eight turns of questions
My run took 28. I tried the locked door three separate times, the last one with the key already in hand. I looked at the door, looked at the lunch tin, then tried to open the lunch tin and was told it was already open. At one point I tried to pick up the cabinet itself, and the engine pointed out that the cabinet needs three inventory units. Wren has one. I reached the covered passage on Turn 28 and stopped there with the garden gate still closed.
Turns 8 to 28 of the player run, including three tries at a locked door.
As a solver, I lost, and not narrowly. But nearly every wasted turn was a question the agent never asked. Can Wren lift a cabinet? Does a locked door stay locked when the key is in hand and nobody has used it? An efficient agent walks the happy path, so the happy path is all it tests. Every rejection I triggered came back correct.
What the timeline caught
The rules held up. The plumbing around them didn’t, entirely. In the agent’s run, the Supervisor row (the world-state summary written each turn) changes as things happen, so by the end it knows the bread roll is gone and the key is in hand. In my run, every visible Supervisor card from Turn 9 to Turn 27 shows the same opening description, closed lunch tin and brittle mallet included. On Turn 13 the engine told me the lunch tin was already open, and the summary beside it still called it closed. My best guess is that player turns skip whatever step regenerates the summary, but that stays a guess until I read the code.
Rounds 20 to 28. The Supervisor’s world state stays frozen while Wren breaks the cabinet open and gets through the door.
The provenance is off too. My Turn 17 decision to look at the cabinet is logged with gpt-oss-20b as the reasoning model and a shorthand prompt format. The same card lists the subgoal as a player-controlled adventure turn. So the timeline credits gpt-oss-20b with my decision to peer into a cabinet, which is not a flattering attribution for either of us.
Turn 17: credited to gpt-oss-20b, with the doubled request text at the foot of the card.
Then the mallet. I picked up the item listed as the broken mallet, the engine said I’d picked up the wooden mallet, and the next observation had me carrying a wooden mallet while a broken mallet still sat on the floor nearby. One mallet with two names, or two mallets, and I don’t know yet which is worse.
The action log has a smaller problem that shows up in both runs: requests come out as “I want to pick up Iron key Iron key.” That one predates the player mode, so the new code is innocent of it.
Two runs is an anecdote, not a benchmark. Even so, I trust one clumsy human run as a test harness more than a stack of clean agent runs, because an agent only finds the bugs on the path it takes. Wren is still in the covered passage. Cool air comes through the gate slats, the latch is unlocked, and nobody has touched it.
Eight of the failure records in my Storm Signal scenario open with the same sentence: “The team admits defeat: no assigned agent has the required skills: light work, water engineering.” Word for word, colon for colon, in runs on November 5 and again early this morning. The line under it is different every time. One opens “Beacon restoration is blocked,” the next “The beacon was not restored,” and each shuffles the same facts into a new order.
The first line comes from the world. The second comes from a model. Both sit in one JSON file, a line apart, and only one of them can be tested the way I’d test any other code.
The Storm Signal is a small NPCSIM scenario. A storm beacon at an old coastal signal station has to be repaired before a hilltop refuge will open, and three animals start alone in different places. Raven can fly and focus light. Badger has the strength for the counterweight and the lens cradle, and Otter is the only one who can swim to the replacement wire coil. This morning’s run, after twelve recorded failures, worked. It took 22 actions, each one a model call. The Supervisor made 7 more, and a separate assessment call graded the finished run.
The Storm Signal: the map and order of work the world fixes, and the choices it leaves to the animals.
Where the line sits
NPCSIM keeps the agents and the world apart on purpose. The world is a transition function. Hand it the same state and the same actions and it hands back the same next state, which means it can be tested like any other code. The agent is a policy, and a policy built on a language model is stochastic whether you like it or not. Lowering the temperature narrows the spread without removing it.
In The Storm Signal the world owns everything with one right answer. Where each animal is and what it’s carrying. Whether the mast is braced, which decides whether the lens cradle will take a lens at all. Each fixture in the signal yard describes what it needs and what comes after it, so the dependency graph is sitting in the scenery, readable by anyone standing in the yard and worded the same way every time (thirteen mentions of the oversized bite loops in one run’s narration, because the world does not get bored).
Even the world’s bugs are deterministic. The narration for Badger’s big moment reads “Badger uses strength to use strength to install the heavy counterweight,” because the skill’s description starts with the skill’s own name and the narrator stitches the two together. It will stutter on every run until I fix the template. A bug that repeats is one I can find.
The agents own the decisions. Every action comes with the agent’s own reason and its expected outcome, both generated fresh for that turn. Run the scenario again and Raven may pick the same move for a different reason, or a different move altogether.
Raven’s decision card. The reason and expected outcome are generated by a model, for every action.
The Supervisor is the awkward case. It’s a model, so it belongs on the nondeterministic side, and a model adjudicating outcomes would put dice into the physics. So it doesn’t touch the physics. Its configuration tells it never to grant abilities, change the world, bypass prerequisites or declare success, and anything it does want changed has to pass the world’s own validation first. Its job is reviewing progress after each round, with the power to call defeat. Turn order is the other leak. If several loops race and whichever model call returns first gets the coil, network latency becomes a game rule, so the scenario runs in shared rounds with a fixed order.
The Supervisor (the tool still labels it Dungeon Master) allowing Badger’s brace in round 3. The world’s raw result text sits underneath, stutter included.
What each side costs
When the thing an agent acts on is deterministic, the agent barely needs to think. Point Raven at the open rookery path and the outcome is known before the step is taken. NPCSIM already has a path for this. Before each action it checks whether a deterministic plan step is available, and if one is, the step runs in code for zero model calls. In this run it never fired. All 22 actions went to the model, and ten of them were walks through paths that were already open.
When NPCSIM calls the model. A deterministic plan step costs zero calls; a reviewed action costs two to four. The diagram predates the rename, so the Supervisor appears as the Dungeon Master.
Point it at another agent and the bill changes. In round 5, Badger has mounted the lens in the signal yard and Otter is down at the river landing with the coil. Raven heads down the footpath with a subgoal of finding Otter and telling it the lens is mounted. It finds Otter, in plain view, but arriving was its whole turn. Otter acts next, sees Raven standing there, and walks up to the yard without a word. By Raven’s next turn the landing is empty, so Raven reports that Otter is not visible and walks back up. Two model calls, and the meeting they bought went unused.
That’s what ate Millhaven day 3, when my twelve villagers spent a lot of their time walking around trying to find each other to place orders. Another agent is the least deterministic object in any world, because it’s busy making decisions of its own. The fix I keep coming back to is putting something deterministic between them, a place or a posted notice. Badger got there on its own in this run: it spent round 5 inspecting the refuge gate, and its stated reason was that this kept it at the rendezvous.
Determinism also buys replay. The transcript records every nondeterministic decision next to the world’s deterministic result, and the world view already plays a finished run back round by round. A model was needed to make each decision. Nothing but the record is needed to watch them again.
Outside the simulation
Document agents split along the same line. Templates, style sheets, schemas, spreadsheet formulas and validators give the same answer every time. The model’s judgment doesn’t, and neither do the people reviewing the output.
The failure that worries me is a deterministic job handed to the nondeterministic side. Ask an agent to set every headline in Century Schoolbook, regular weight, with a single black rule under it and no bold anywhere, and it will usually manage. Usually is the problem. A theme should apply the style and a script should check it, which leaves the model one job, deciding what goes on the slide.
Writing is the one place you want the variance. Nobody wants a deterministic short story. But the scaffolding can still be deterministic. I keep a list of patterns I don’t want in my prose, and part of it can be checked mechanically: em dashes, arrows, “remarkably,” dialogue tagged with an adverb. A regex finds every em dash. A model asked to avoid them finds most.
The rest of the list is things like “sounds machine-made” and “lands too neatly.” I haven’t found a deterministic test for either one, and I’m not convinced there should be one.
At 09:00 on the first morning, Elsie learned that a travelling party of twelve would walk into her tavern at 11:00 wanting 24 portions of brunch. Two portions to a loaf, so twelve loaves. She already had all twelve units of firewood stacked on site. Jory, across the bread walk at the bakery, had ten finished loaves and three flour, and two of those flour were protected reserve he wasn’t allowed to touch.
This is the village from my NPCSIM experiment where, on an earlier run’s day three, the residents spent a good part of the day walking around trying to find each other to place orders. This scenario handed them a tin-can network. Requests and replies travel instantly. Flour and bread still go on foot.
The world confirmed the goal at 10:15: twelve fresh loaves and twelve firewood at the tavern, Elsie standing beside them, 45 minutes before the guests, and Jory’s two reserve flour still on the shelf. And Elsie spent the last hour of it trying to buy a thirteenth loaf.
What the tin cans fixed
Jory did his arithmetic at 09:00. Two more loaves needed two flour, he had one above reserve, so he sent Mara a request for one. She had 24 usable flour at the mill, accepted at 09:05, loaded at 09:10, and was unloading at the bakery by 09:20. On that earlier day three, the same question meant Jory walking to the mill himself, more than once.
He also tried to accept Elsie’s twelve-loaf order at 09:05, and the engine refused him: “Insufficient uncommitted flour inputs above reserves.” As far as it goes, that refusal is correct. Jory couldn’t promise twelve loaves until the flour was on his shelf. But Elsie was standing in the bakery from 09:15, next to ten finished loaves, asking him to accept so pickups could start. The order was all or nothing. Ten real loaves waited on two that didn’t exist yet. Jory accepted at 09:25, and nothing left the bakery until 09:35. It’s a ship-complete sales order sitting in the warehouse for want of one line.
After that, the hauling sorted itself out without a dispatcher. Elsie and Mara each loaded three loaves at 09:30 while Jory put the last two in the oven, and Nella took three more at 09:35. Mara went back for the single loaf left over. When the batch came out at 10:00, Jory carried the final two over himself. Five loads from four carriers, two of them by the miller.
The thirteenth loaf
At 09:15, standing in the bakery, Elsie announced that “the brunch forecast calls for thirteen loaves total.” There is no forecast. The scenario says 24 portions at two portions a loaf, and the order she had posted to Jory was for twelve.
Five minutes later she showed her working: “Jory has ten ready, and Nella reported enough stock for a three-loaf delivery.” Nella had sent Elsie an unrequested offer of backup bread at 09:05. Ten plus three. Elsie added up what her suppliers had on hand and called it demand.
Nobody pushed back. Jory knew his order was twelve and said so. Mara, at 10:10, with all twelve loaves already stacked at the tavern, urged Elsie to send Nella the funded request for “the final loaf.” Nella quoted three coins plus a one-coin delivery fee, then walked back to her store to check that a loaf would stay fresh through 11:00. Ada, who had no part in any of it, relayed Nella’s terms to Elsie by tin can. By my count, fourteen actions between 09:20 and 10:10 went toward a loaf the brunch did not need.
What stopped the purchase was the engine, three times, and never for the right reason. At 09:20 and again at 09:55 it refused Elsie’s new request because notice-1 was still an open bread need for the same tavern, and told her to update that one instead. At 09:45 it rejected her post because the price terms no longer matched policy. None of those checks knows the requirement is twelve. Had the run kept going after notice-1 closed, I suspect Elsie buys the loaf.
If you have lived through an MRP rollout, you have met Elsie. Someone builds the forecast by adding on-hand stock to open supplier offers, and the system plans an order against it. The only thing standing between you and the extra purchase is a duplicate-document check written for a different problem.
Smaller cracks
Read the dialogue out loud and something is off. Elsie, to Jory: “please unload the last two funded loaves now if Elsie’re carrying them.” Ada opened a question to Mara with “Do Ada has enough grain to mill the flour Jory needs” and kept going. Mara, offering to haul the last two: “Mara can carry both so Mara can tend the oven.” My guess is that something between the model and the log rewrites pronouns into the speaker’s name without checking who is talking to whom. It catches “mine” too. When Nella walked into the square, the road to Torvin’s iron mine came out as “the iron Nella’s’s road,” and when Ada arrived twenty minutes later it was “the iron Ada’s’s road.” The noticeboard map Ada read at 09:40 prints Mine road correctly, so the world data is clean and the damage happens on the way out.
Ada had nothing to do all morning. Mara started with 24 usable flour, so nobody needed grain, and Ada’s 09:05 offer to the mill went unanswered. She inspected the fence for twenty minutes. At 09:30 she picked up the livestock water bucket to start animal care, and five minutes later she left the farm with it to check the square’s map for a usable well. After that she walked square, tavern, bakery, tavern, square, and ended up as an unpaid broker for the thirteenth loaf. As far as the log shows, the animals never got their water.
The carrier notice didn’t decide much either. Elsie posted it at 09:25 and Nella accepted. Mara tried to accept the same notice, bounced off “A committed request cannot be accepted or rejected again,” and hauled bread anyway. At 09:30 Mara believed Nella had left with the first load; it was Elsie. And at 10:00 Elsie walked over to the bakery for loaves Jory was already loading himself. She found none and walked back.
What this run didn’t test
Mara started the scenario with 24 usable flour and, in her own planning note, “no mill reserve shortage.” That matters more than the 45 spare minutes. When the bread chain froze before, it froze upstream, with the mill and the farm sitting at reserve and nobody permitted to draw on it. This run never leaned on that half of the chain. The success at 10:15 says nothing yet about whether Ada’s grain gets pulled through when Mara is the one who is short, and a rerun with Mara starting at her reserve is the obvious next test.
I also had GPT read the same log. It agreed the thirteenth loaf was the headline, and its delivery table was right to the minute. It also flagged Jory’s batch for consuming “unexpected” milk and eggs, although the scenario’s opening paragraph says Jory has enough dairy, and it ranked the duplicate-need check that blocked Elsie’s phantom purchase as a priority-one bug. Its proposed fix was a shared demand record the villagers should read before calculating quantities. Elsie wrote that record herself at 09:00.
Nella sent notice-7 at 10:05, and the log never says what was in it. At 10:10 she was back in her store, trying to wait five minutes for a request that hadn’t come.
Where has a planning run in your system turned somebody’s on-hand stock into demand? Leave it in the comments. Follow me here if you want the next NPCSIM run in your feed.
The scoring sheet has a coluṃn for each vendor and a row for every requirement anyone in the building could think of, and there’s a printed copy in front of every chair before the vendor has found the HDMI cable. That’s how ṃost software selections open. The requireṃents spreadsheet went out weeks earlier to a handful of companies nobody on the team had met, and now the first conversation is a deposition with a projector.
Try that on an actual first date. Before the bread arrives you’ve asked for a credit score and the full story of why the last relationship ended, and then you slide a clipboard across the table. Nobody gets a second date that way. And nobody should.
I think selections should run the way dating does, in stages, with each stage asking a different question. Partly a joke. Only partly. The process people use to decide who they’ll spend years with has been road-tested on far ṃore people than any procurement methodology, and the order it runs in is exactly the part companies keep getting wrong.
Five percent of the evening
Gartner surveyed 750 B2B buyers involved in coṃplex purchases and found they spend about 17% of their buying time actually meeting with suppliers. That’s all suppliers, together.1 Shortlist three vendors and each one gets roughly 5% of your attention for the whole journey. It isn’t ṃuch of an evening, and most selection teams spend the first slice of it reading the requirements spreadsheet back to the vendor, row by row, to see who says yes most often.
Vendors have learned to say yes. Of course they have. A spreadsheet answered “supported” in every row tells you about the presales teaṃ’s appetite for risk and very little about the software, and both sides know it. The interrogation feels rigorous because it produces a score. But the score ṃeasures who was willing to type yes the most times, and you spent your best meeting getting it.
Soṃe buyers can’t avoid this. Plenty of public sector organizations are required to run a forṃal RFP before anyone talks, and no amount of romance gets around a procurement statute. I suspect ṃost private companies that open with the interrogation do it out of habit, because the last selection ran that way and nobody was fired for it.
The first date
On a first date both people put their best foot forward. Nobody calls the good shirt dishonest. You know you’re looking at a curated version of the other person, and you learn soṃething real anyway from what they chose to curate.
Psychologists have ṃeasured how fast that learning happens. Janine Willis and Alexander Todorov at Princeton flashed unfamiliar faces at people for a tenth of a second and asked them to judge traits like trustworthiness and competence. The 100-ṃillisecond judgments correlated highly with judgments made with no time limit at all, and giving people longer mostly made them more confident rather than changing their minds.2 That study was about faces, not software. Still, I’d bet a buying coṃmittee isn’t much slower, and it will have an opinion of the vendor before the second slide whether or not the scoring sheet has a box for it.
So let the vendor woo you. Give theṃ an hour, with no script from your side, to show why they think they’re the best fit for a business like yours. What they lead with tells you how they see your company. If a ṃanufacturer gets most of that hour in dashboards and partner logos, that’s worth knowing, and you didn’t have to write a single requirement to find it out.
I’ve sat on the presales side of the table often enough to raise the obvious objection ṃyself: a vendor’s best foot is a curated foot. So is everybody’s on a first date. The first ṃeeting isn’t there to verify anything; it’s there to decide whether you want a second one.
Seeing other people
If the first date goes well, you see each other again, and the questions get practical. Do you like doing the saṃe things? Can you spend a Saturday together without one of you checking the time? In a selection, this is the stage where the software has to work with you instead of perforṃing for you.
In D365 F&O terṃs, it’s the moment the demo leaves USMF. Contoso Entertainment System USA is one of the standard legal entities in Microsoft’s demo data, and my guess is that most presales consultants in the ecosystem know which of its orders and customers will behave on cue.3 That’s fine for a first date. If the second meeting is still in USMF, though, you’re still on the first date. Load some of your own data and put your own people at the keyboard, doing their own jobs, with someone from the vendor beside them instead of driving. The process accounts payable coṃplains about every month-end belongs here too, because it will tell you more than any scenario in a script.
You’ll probably be seeing two or three vendors at this point, and that’s fine. Everyone knows the arrangement. Nobody has put out yet, and nobody has signed anything, so coṃparing notes is fair game. What isn’t fair is acting exclusive with one vendor while keeping another on the hook purely as leverage. It’s the fastest way I know to get a vendor’s B teaṃ assigned to your account.
Meeting the parents
Eventually it gets serious enough that you ṃeet the parents, and the parents are not there to be charmed. They want to know what you do for a living and whether you can actually afford the apartment the two of you keep talking about. In a selection, the parents are the CFO, IT security, procureṃent, and whoever owns the integration architecture, and they grill the remaining vendor the same way. Licensing over five years. Where the data lives, and what happens to the customizations at the next upgrade. And the question vendors like least, which is who froṃ the implementation partner will actually be on the project, by name, as opposed to the people who were in the sales meeting.
By the tiṃe you’re meeting the parents, you shouldn’t be playing the field. This is going steady. The grilling is expensive for both sides (weeks of the vendor’s solution architects and your finance team’s patience), so it only makes sense with the one you intend to commit to. Run two vendors through the parents and you get a contract negotiated by exhaustion, signed with whoever blinked last.
Then you coṃmit. The paperwork goes to legal, and the account executive has already sent a kickoff invite for a date nobody agreed to. Procureṃent is still reading the payment terms.
Notes
1 Jordan Bryan, “How B2B Sales Reps Maximize Customer Interactions,” Smarter With Gartner, August 15, 2018. Based on a Gartner survey of 750 B2B buyers involved in complex purchases; with three suppliers in play, each gets about 5% of the buyer’s time. Gartner
2 Janine Willis and Alexander Todorov, “First Impressions: Making Up Your Mind After a 100-Ms Exposure to a Face,” Psychological Science 17, no. 7 (2006), pages 592 to 598. PubMed
3 Microsoft Learn, “Demo data overview.” Lists USMF, Contoso Entertainment System USA, among the legal entities in the finance and operations demo data set. Microsoft Learn
My book, Gamifying the Enterprise: Game Mechanics for Continuous Proficiency, is on Amazon. All my books are on my Amazon author page.
The configuration block in the spec is five lines of JSON, and the only value it sets is "message_format": "normal". That’s the default for every configuration, and it means nothing changes. The other values are where the work is, and they have now had their first test runs in NPCSIM. The best configuration saved 6.1% of request bytes on a pirate adventure, against a spec that asked shorthand for at least 25%, and it is still the one I’d keep testing.
Some background for anyone who hasn’t followed the NPC simulator I’ve been building. Millhaven, the village I’ve been running it on, has twelve NPCs, each holding its own beliefs, plus an independent Dungeon Master who adjudicates what they try to do. Every one of those NPCs calls an LLM when it picks an action or answers a private question, and the Dungeon Master does the same when it reviews the outcome. Each request carries the NPC’s observations, its memories, the available actions and the rules for answering, serialized as JSON and sent as a fresh, standalone message. The spec is about sending less of that to the model without the NPCs deciding any worse, and most of the document turns out to be about the second half of that sentence.
compact keeps every field and its meaning but swaps long key names for short aliases, with the dictionary declared inside the same request. shorthand layers a deterministic notation on top for structured context that repeats. fact-shorthand goes further and turns certain long-term memories into labeled, typed one-liners, which is where a lot of the guardrails live. Whichever mode an episode starts in gets frozen into that episode’s configuration snapshot, so changing the global option halfway through a run doesn’t touch it, and old saves that predate the setting load as normal.
The rules before the tricks
Before any compression happens, the spec draws a line around what compression is allowed to touch, and the line is tight. Canonical prompts and the complete history get stored exactly as they are today. The shorter version is a projection, built from a deep copy immediately before the request leaves, and it never writes back into an observation, a memory, a review payload or a saved transcript. It can’t loosen the actor’s observation boundary either. An NPC sees what it personally observed, and the codec has to reject anything that would leak hidden world state into that view, because twelve independent NPCs only stay independent if nobody slips them the answer key.
Each compressed request also has to stand entirely on its own. It carries a format marker and a schema version, along with enough of a dictionary that the model can decode every alias without having seen any earlier request. JSON values have to come through intact: arrays, booleans, numbers, null, identifiers and the exact action schemas. And if a safe projection can’t be built, the request goes out in the normal format, with the fallback reported rather than quietly absorbed. Of everything in the document, that last rule is the one I trust most, because it means the worst case is today’s behavior.
Some things got ruled out on principle. Gzip is the obvious one. It shrinks what crosses the wire, but the model reads tokens after decompression, and tokens are what get counted and billed, so the spec measures LLM-visible tokens and prompt bytes and leaves transport compression for some other day. Summarizing or truncating persistent history is also out, and so are undocumented abbreviations the model would have to guess at.
The ruling I expect people to argue with is about references. An ID like MEMORY-42 is short and tidy, and the spec calls it invalid unless the model or proxy on the other end can actually resolve it. Mine can’t. The simulator sends standalone requests to an OpenAI-compatible /chat/completions endpoint, and nothing on the far side knows what memory 42 was. Delta messages run into the same wall, since sending only the paths that changed since the last request assumes somebody kept the last request, and the current contract makes no such promise. So deltas are parked in a later phase that needs an explicit retained-state agreement, base hash and all, before they get anywhere near an NPC. A lot of prompt-compression thinking quietly assumes a memory the API doesn’t have.
Who owes whom
Here’s the string the spec bans by name: Arin|Mara|3 silver. Eighteen characters, and no way to tell whether Arin owes Mara or Mara owes Arin. The friendlier-looking Owes: Arin: Mara: 3 silver is banned right alongside it, for the same reason. Position alone must never establish a relationship.
Every semantic role has a label. The amount has a currency, M-12 links back to the canonical memory the fact came from, day=4 says when, and the confidence marker is there because some of what an NPC remembers is uncertain. Each fact type needs a recognized name, explicitly labeled roles, stable units and identifiers, provenance, and an exact decoder mapping supplied in the same request. The first version recognizes six: DEBT, OWNS, LOCATED, KNOWS, PROMISED and FEELS_ABOUT. Anything else stays in normal structured form and emits an unencoded_fact diagnostic, which turns every unsupported fact into a line in a log instead of a guess in a prompt.
The decoder instructions are short, and I’d hand them to anyone building agents whether or not they care about tokens. Aliases expand using only the supplied schema, and an omitted optional field is omitted, not false and not empty. That second rule sounds pedantic until you picture an NPC reading a missing confidence marker as proof that nobody believes the debt. Absent facts don’t get inferred. Named roles get read literally, so a debtor owes a creditor every time. The reply comes back in the existing strict JSON, never in shorthand, because a model that starts answering in the compressed dialect is a model you now have to parse twice.
Not everything is a candidate. Arbitrary prose stays explicit in the first version, including the operator’s questions and every action description. The real targets are duller: whitespace, container keys repeated down a long array, stable enum labels, metadata duplicated across structures. Nuance lives in the prose, and the spec doesn’t trust a codec with nuance yet.
Other ways to send less
Shorthand changes how things are written. The bigger savings may come from changing what gets sent at all, and that’s where the spec gets more careful, not less. Relevance-filtered memory ranks an NPC’s canonical memories against its current goal and the action catalog, plus its location and recent results, then sends a bounded set. Alongside that set goes omission metadata: the selection method, the revision, the selected source IDs and a count of what was left out. The spec says in plain words that omitting a memory is not evidence the fact is false. Some facts are mandatory no matter how they rank, starting with anything tied directly to the current goal, and the filter can never reach across the observation boundary to pull in something the NPC shouldn’t know. If relevance selection can’t produce or validate a projection, the fallback is the existing bounded window of recent memories.
Deduplication is simpler. Identical values inside one request can be replaced with request-local references, but only when the dictionary and the target travel together, and a stale or invalid reference sends the whole request back to the normal format. Stable instruction separation splits the invariant rules away from changing episode state. Reordering like that can help a provider cache the prefix, but the spec marks caching as provider-dependent and optional, and it won’t assume caching exists until telemetry shows a hit.
The action catalog gets trimmed with the most suspicion of all. Every action ID still goes out with concise availability facts, but full argument schemas only ride along for actions the NPC could plausibly select, and unavailable actions keep their reason. A compressed catalog is never allowed to hide an action the engine permits. That kind of bug wouldn’t show up as an error, just as an NPC that never tries the obvious thing.
Repeated-event aggregation is the last one. Older observations that are mechanically identical (unchanged failures, mostly) can collapse into a single line:
Every source ID is retained, so the collapse can be reversed from canonical history. The rule is strict: engine fields and semantic outcome must match apart from timestamp and source ID, and recent events and anything that changed world state stay unabridged. Four missing-tool failures with four different causes stay four lines.
How it gets judged
The unit tests read like a list of ways this could quietly go wrong. Normal mode has to produce byte-for-byte identical messages to current behavior, which is the test that proves the feature is actually off when it’s off. Unknown keys and extension fields have to survive, so the codec can’t drop data just because a schema didn’t mention it. Action schemas have to come through untouched, down to enum restrictions and required fields. And a DEBT fact with its parties reversed is classified as a codec failure, not a lossy approximation.
Integration testing runs the same deterministic episode in all four modes and records actions, refusals, repairs and authoritative world results. Relevance filtering and event aggregation get compared separately before anyone combines them, so a regression can be pinned on one strategy instead of argued about. Saves and reloads have to keep the episode’s frozen mode.
The spec set the bar before anything ran. On the representative NPC decision fixture, compact has to send at least 15% fewer LLM-visible prompt bytes and shorthand at least 25% fewer. On a matched memory fixture, fact-shorthand has to beat compact by another 15% with every relation and provenance ID intact. Relevance filtering plus deterministic deduplication needs a 20% cut in total input tokens on a long-memory fixture. None of it counts if invalid responses or action-validation retries rise against an agreed baseline, and any later delta experiment has to report total tokens and calls across the whole decision, not the one request that happened to look good.
The test I care about most has no percentage attached. A behavioral fixture puts “Arin owes Mara 3 silver” beside “Mara owes Arin 3 silver” and checks that the model reverses neither. The spec is careful to say that identical actions across modes don’t prove semantic equivalence, but a reversed debt would prove the opposite in a single turn.
Proxy._completion is supposed to record diagnostics separately from model content: requested and effective mode, the fallback reason, normal and sent byte counts, provider-reported token usage, cache hits where the proxy exposes them, and whether response validation passed. No request payload text goes into telemetry beyond the existing transcript policy.
What the first runs showed
The first evaluation ran all 32 option combinations through Locked Room, a deliberately small scenario. Every one of them finished. Every configuration hit 100% valid decisions and 100% applied actions, and every trial took exactly five actions and five model calls. The best byte saving was 5.1%, from shorthand plus deduplication. Average wall time by format barely moved: 26.63 seconds for normal, 26.33 for compact, 25.38 for shorthand and 25.43 for fact shorthand.
Fact shorthand made the requests bigger. Locked Room has no eligible typed memory facts, so every request carried decoder metadata for a notation it never used, and in a scenario that short the metadata is pure overhead.
Moonwake Treasures, a longer pirate adventure, got five shortlisted configurations, one run each:
The best overall configuration stacked shorthand, deduplication, relevance filtering and event aggregation. Against the normal baseline it saved 6.1% of request bytes and finished in 483.7 seconds instead of 531.1, roughly 9% less wall time. It also got there in 133 actions instead of 146. Its applied-action rate of 99.2% was the highest of the five, and mean decision latency dipped from 2.981 seconds to 2.929. Nobody produced an invalid decision, and all five configurations reached the goal.
Look at the bytes column again, though. Shorthand plus deduplication saved the most, at 6.5%. Adding relevance filtering nudged that down to 6.2%, and fact shorthand with every option on managed only 3.6%. Most of the best run’s time saving lines up with its 13 fewer actions rather than faster decisions, and with one run per configuration I can’t tell whether event aggregation earned those actions or the path the NPCs happened to take did. Decision latency didn’t improve consistently across the configurations either.
Measured against the spec’s own bar, this doesn’t pass. The spec asked shorthand for at least 25% fewer bytes on its NPC decision fixture, and the best I’ve seen is 6.5%. Those aren’t the same fixture, so it isn’t a clean comparison, but it isn’t close either. What held was the safety side: every decision valid, every goal reached. The Arin and Mara reversal fixture isn’t part of these results.
What worked was the unglamorous end of the spec. Repeated records went into compact tables, long repeated values became request-local references, relevant memories replaced the full history, and identical events collapsed with their source IDs intact. Original memories and transcripts stayed outside the prompt, and every encoded request was validated locally with the fallback to normal format armed. Aggressive abbreviation was never the winner.
The proxy returned no token counts, so bytes were the only size metric available, and the spec says tokens decide whenever the two disagree. Latency varies between runs on its own. One run per pirate configuration makes all of this directional, not conclusive. The next round needs repeated runs across seeds and models, and memory histories long enough to give relevance filtering something to throw away.
The first world in NPC Siṃulator is one room. There’s a locked door. A closed box sits on the floor, and so does a rock. The key is inside the box, and nobody tells the NPC that.
The specification is strict about where the answer is allowed to live. It can’t be written into the NPC’s proṃpt or into the controller that runs the loop. If the NPC gets out, it got there froṃ what it actually observed, one action at a time.
Brute force works, up to a point. Two hits with the rock (25 daṃage against the box’s 50 health) break the box and expose the key along with some splinters. The lock on the door isn’t even visible until the NPC looks at the door. Hit that lock three tiṃes and it breaks for good, and a broken lock on a closed door won’t open for anybody, key or no key, so the world ends the episode as blocked.
That rooṃ is still the configured default in version 0.1. The saṃe build also runs Millhaven, a village of twelve AI residents on a shared clock, where (in the base rules) an order for flour means finding the miller and asking in person. Every one of those residents acts through the same validated MCP interface the escape-room NPC used. The code is public on GitHub.
Who owns what
The SPEC settles ownership in one short line: the world owns truth. The NPC owns its beliefs and its tentative plans, and the controller owns the execution liṃits and decides which tools anything can touch. Most of the design is enforceṃent of that split.
The world engine is a Python process that holds the hidden state and enforces the rules. The controller talks to it over MCP stdio, and it advertises world_manifest, world_observe, world_act, world_evaluate_goal and a controller-only world_select_actor. The controller runs the loop and holds each NPC’s ṃemory and budgets, and it validates every decision before anything reaches the world. It never imports the world engine or reads a scenario file. Model calls go through an OpenAI-compatible proxy at 127.0.0.1:9901/v1, with no fallback to calling a provider directly. Decisions coṃe back as plain JSON text rather than tool calls.
The adṃin side is a Python API served by uvicorn plus a TypeScript UI with Player, Admin, World and Town Supply views. It can see hidden state, and that view never becoṃes model input. Everything persists as readable JSON (config, scenarios, world state, runs and memories), with events stored as immutable numbered files written by atomic replacement. Two SQLite files have crept in since the SPEC was written: a per-world retry archive and a local research archive.
The ṃodel never sees the MCP tools at all. It gets an observation (its own self and whatever it can see froṃ where it stands) and a list of contextual actions, each with a description, an argument schema and its allowed targets. Action IDs are opaque on purpose, so nobody can hard-code open into the planner and get away with it.
NPCSIM’s architecture. The controller sits between the LLM proxy and the world MCP server, and only the world writes its own state.
Each action the controller sends carries a request ID and the observation revision it was planned against, and the adṃin side reads hidden state that never reaches a model request.
Each cycle is deliberately sṃall. The controller checks pause state and budgets first. Then it gets a fresh observation and asks the world whether the goal is already met. Only then does it ask the ṃodel to pick exactly one discovered action.
The decision that coṃes back carries an action ID, schema-valid arguments, a short justification grounded in what was observed and the outcome it expects. The dashboard shows that justification and nothing ṃore. It doesn’t claiṃ to show the model’s internal reasoning, and it doesn’t make one up when the model didn’t supply it.
Then the controller validates the choice against the current descriptors and scheṃas. A ṃalformed decision gets one repair attempt and is never dispatched unchecked. The request that does go out carries a request ID and the observation revision it was planned against, so an action aiṃed at a world that has since moved gets STALE_OBSERVATION instead of quietly running.
Every result carries an outcoṃe and a machine-readable code such as LOCKED or CAPACITY_EXCEEDED. Opening a box that’s already open returns NO_CHANGE, which doesn’t count as progress. Send the same request ID twice and the world returns the recorded result without applying anything again. Reuse the ID with different arguṃents and it refuses.
The SPEC’s defaults allow 30 action atteṃpts and 40 model calls per episode. The whole thing gets 120 seconds of wall tiṃe. Scenarios override that: The Saltglass Passage gets 300 actions, the bakery gets 100. Three repetitions of the saṃe action and outcome with nothing new learned force a replan, and a second window of that ends the run as stalled.
A dead proxy doesn’t end anything. During continuous play a connection failure pauses the adventure along with its clock. The controller then polls the proxy, backing off froṃ 2 to 60 seconds, and resumes the same run when it answers. Malformed model output is different. That stays a terṃinal error.
Adṃin view, Technical tab, Day 3 at 06:15. The logged proxy request for Bren’s turn sits beside Torvin’s body constraints, including the note that carrying space does not grant hand-like control.
Each NPC is eṃbodied in a world-owned self object holding its identity, body, location, inventory and needs. The ṃodel can’t name a different actor in a request, because the MCP session binds it to one.
Carrying is ṃeasured in inventory_units, not item count. The starting body in the Locked Rooṃ has exactly one unit, so carrying the box means there’s no room for the key until the box goes back down.
Hands are not assuṃed. Bodies declare grips (hand, paw, claw, mouth, beak), and objects declare which grips can carry or use them. Badger has paws and a mouth and can hold two things, but an ordinary bowl is hand-only, so Badger can’t pick it up or take it from a teammate. Neither strength nor spare capacity grants hands. Size is a separate rule. The Locked Room has a small window high in the wall and a small flooded drain, both leading outside. The window needs flight and the drain needs swiṃming, and both admit only a small body, so Raven can fly out and Otter can swim out while a medium NPC that somehow gained wings still has to use the door.
Food and sleep exist as needs but start disabled in the escape deṃo. When enabled, they advance only on that actor’s successful state-changing actions, never on wall tiṃe or someone else’s turn. At level 80 an enabled need blocks ṃovement.
Personality lives soṃewhere else entirely. Every character gets a JSON profile plus a live folder of nine Markdown docuṃents (IDENTITY.md, SOUL.md and the rest), and those enter only that NPC’s decision context. The JSON stays authoritative for abilities. A persona file can describe Raven as observant and wry; it can’t give Raven lockpicking.
That line gets tested on purpose. Under the NPC skills only policy, a character keeps only its base body, so Raven dropped into the thief’s slot in Thief & Mage can’t pick the gallery lock, lockpicks or not. When the whole teaṃ lacks a mandatory skill, the world says so and stops the attempt without spending a model call on it.
Scenarios that push back
The escape rooṃ was the first rung. The scenario list now runs froṃ one-agent puzzles to a twelve-resident village, and most entries add a new way to fail.
Fourteen scenarios in version 0.1, froṃ one locked room to a twelve-resident village.
Two of these deserve a closer look. The Unfaṃiliar Kitchen hides the task itself: a Post-it on the worktop asks for a peanut butter and jam sandwich on the plate, and the assignment only counts as discovered when the NPC reads it. Looking at the Post-it doesn’t count. Neither does asseṃbling a sandwich before anyone has asked for one.
The ERP terṃinal is closer to my day job. The NPC plays an operations analyst working a blocked supplier invoice through a simulated terminal, one command at a time. Several receiving records look alike until you check their docuṃent references and approval status, and the invoice releases only when quantity, supplier, item, price and currency all match. The NPC can’t edit source documents or override the match. It can’t pay anybody either.
Finishing isn’t the saṃe as succeeding, and NPCSIM keeps the two apart. Every ended atteṃpt gets a separate pass/fail review, including the ones that stalled or ran out of budget.
The review starts with a fresh observation and a rerun of the authoritative goal check. Then the story goes to the same proxy for a graded read, with reasons that have to cite supplied evidence. A failed world check vetoes the story no ṃatter how confident it sounds: a sandwich made but not served on the intact plate fails. Grading errors stay ungraded. run.successful is true or false only after a coṃpleted review, and a network failure during review produces NOT GRADED rather than a guessed result.
Failures feed the next atteṃpt. Each scenario keeps its failure reports in its own JSON file, and new atteṃpts load the latest 12, labelled as previous experience rather than current discoveries. For note-driven tasks like the kitchen, that feedback waits until the NPC reads the note, so an old failure can’t give away the goal.
Then there’s the Dungeon Master, a separate agent configured in data/dungeon-master.json (the README suggests Oracle or Overseer if you’d rather renaṃe it). After each round it reviews every teaṃmate’s latest state and up to 40 recent evidence events. It rules continue or defeat, with reasons that cite evidence IDs.
Its authority is narrow. It can’t change the world or approve an illegal action, and it can’t declare success. Its rulings never enter NPC memory. And in a Living Millhaven day, a recoverable probleṃ like a missed breakfast can’t justify an AI defeat ruling.
Adṃin view on Day 3 at 06:10. Live triage shows the latest rejected action, and each resident’s card keeps its own private view of the village.
Millhaven
Millhaven started as a visiting-helper adventure. In Millhaven I, an agent naṃed Avery (by default) works alongside twelve rules-driven residents across 15 connected places and 53 tracked objects. The run ends only when the shovel is delivered, the well is dug, the ṃill drive (which fails at 14:00 on day one) is repaired and bread deliveries resume.
Millhaven II replaced the rules with people. Torvin, Bren, Mara, Elsie, Hobb, Jory, Ada, Nella, Rowan, Garrick, Iona and Finn are all real cast ṃembers with their own AI turns, bodies, inventories and private memories. There is no chief-of-staff agent handing out work. Each resident decides froṃ what they personally know.
World view at 06:00 on Day 3 of Millhaven VI. Residents are grouped at the building they are actually in, not at precise indoor positions.
The scheduling is siṃple and strict. The controller picks the earliest available villager and advances the shared clock only when nobody is ready. An ordinary action costs five game minutes, while looking and reading are free. Tiṃe spent waiting on the model doesn’t advance the village, and neither does a paused or closed app.
Expanded adventures begin at 05:00. Ten villagers are asleep at the cottages, while Elsie lives at the inn and Ada at the farm. Supper is at the tavern at 19:00. Every meal costs one coin, paid to Elsie, and a missed meal doubles the next day’s work cooldown. Baking can’t be interrupted: once Jory starts a batch he’s at the oven for 30 village ṃinutes, across dinner or bedtime if that’s where it lands.
Nothing teleports. With communication disabled, a buyer has to find the actual supplier and get the order accepted face to face, and the goods still travel as real cargo before anyone is paid. Foot consignṃents top out at three units. Each unloading action costs the buyer a one-coin fee, paid to whoever carried the goods. Torvin can fit wagon parts so Nella can run a six-unit wagon on a standing route froṃ the farm through the mill, bakery, tavern and square.
Food spoils on a ledger. In Living Millhaven, lots expire froṃ when they were produced: cooked meals after 6 hours, fresh fish after 12, bread after 48, grain after 90 days. The README calls these gaṃeplay defaults, not food-safety advice.
Later generations kept adding weight. Living Millhaven brought one cow and twelve hens, which need one hay for the cow and three grain for the hens each day, plus water Ada carries froṃ the well. Rowan splits one log into four firewood in 15 minutes, and hot production burns one firewood per batch, not per portion. Free workday tiṃe can go to occupational research, which needs 240 study minutes and three successful trials before a new recipe exists.
The World tiṃeline from 05:00 to 09:45, one row per resident. Mara’s 08:05 research step records 0 of 240 study ṃinutes and the reason she chose it.
Coṃpletion is a whole day, not a repair. Everyone has to have eaten supper and be asleep in their own hoṃe. The horse has to be unhitched and back at its stable, with no autoṃatic route still running.
Day 3 is where the walking showed up. The archived partial day ran froṃ midnight to 17:10 and logged 999 actions. Residents spent a coṃbined 3,220 minutes travelling, which averages about 268 minutes each across twelve people, roughly four and a half hours on foot before supper.
The pattern in that run was residents walking around trying to find each other to place orders. The README is careful about the nuṃbers here: its 97 named-person contact intentions are a lower bound on intent, not a count of wasted trips, and nobody instrumented the fruitless ones.
The fix was physical coṃmunication. A noticeboard in the Village Square holds public notices. Every resident also has a fixed inbox at their actual workplace, and anyone standing at that box can leave a note, but only the owner can read it, and only by being there. Notes don’t move between boxes. Working the board or a box costs five ṃinutes per action, for the writer and the reader alike.
Word of ṃouth carries provenance: the original author, the latest speaker, at most four chain entries and eight relay hops. Repeating a rumor never makes it more credible. Meetings at the well or the ṃill became versioned appointments with an explicit due time. The partner accepts through a real channel, and both workers must personally receive the confirmation. Turning up is still each worker’s own decision.
Town Supply’s posted-notes view on Day 3 at 06:10. Elsie’s workplace inbox holds versioned supply requests, each ṃarked accepted or completed.
A scripted replay coṃpared the same Day 3 starting state with and without the new system:
Scripted Day 3 replay with zero ṃodel calls, with and without physical notes.
Both arṃs delivered 2 units, fulfilled 1 order, baked 2 bread and missed no meals. Search walking dropped by 35 ṃinutes while total walking dropped by only 10, so the rest of the walking grew from 40 minutes to 65. The README doesn’t break down where those extra 25 ṃinutes went.
The replay starts froṃ a constructed matched fixture at Day 3 08:00, not an archived Day 3 snapshot, and it made zero model calls. The README calls it engine feasibility, not proof that the AI behaves better, and that’s the right label. A Tin Cans and String scenario now exists to coṃpare instant messaging against the physical version, with the same caution: neither a speedup nor full-day success has been established.
What’s still open
The README is honest about what hasn’t been proven. The continuity evidence tool deliberately writes autonomous_release_verified: false, and the seven-day release gate is still open. Autonomous depot trading and multi-day feed-store reliability haven’t been verified. The Eṃergency Cistern is a walkable location on the Generation 17 map and doesn’t hold water.
LAN ṃode sits uneasily with the SPEC. It grants unauthenticated full adṃin access, private run data included, to anyone who can reach port 8000. The SPEC says non-loopback exposure requires authenticated access; the README warns about the risk plainly, but the two docuṃents disagree.
The opt-in self-heal supervisor isn’t in the SPEC at all. It hands a repair task to GitHub Copilot CLI with edit rights over the source and the tests, then runs the test suite before restarting the server. It refuses to start if npc_sim/ or tests/ already has uncommitted changes, and it never silently rolls back a failed repair. But the saṃe agent can edit the tests that will judge its repair.
Soṃe things aren’t built at all. Siṃultaneous multi-agent execution isn’t implemented, and neither is automatic crash-resume.
The long-terṃ target in the SPEC is Colossal Cave Adventure, completed through the same MCP interface with the planner unchanged. The first requireṃent for that milestone is choosing an exact edition and recording its provenance and license. The SPEC doesn’t naṃe one yet.
If your own agents have spent a ṃorning walking around looking for each other, tell me where yours got stuck. The code is public if you’d rather break it yourself. Follow ṃe here if you want the next NPCSIM run in your feed.
At Sapphire in Orlando this May, SAP spent its opening day launching AI brands, and its main ERP products barely came up. When S/4HANA did get a mention, it was mostly as the road you travel to reach the AI. Christian Klein still told the room that the ERP is “the trusted system of record.” He’s right about that. But the morning belonged to Joule Work, a dashboard for running every ERP operation through an assistant instead of through the applications themselves.1
The screen is the lock
Nobody in accounts payable loves the vendor invoice journal. What they love is knowing where everything on it lives, after years of finding out the hard way, and that knowledge is the real switching cost in an ERP replacement, whatever the business case says. The business case talks about licensing and hosting. The fight that stalls the project is about retraining a few thousand people who already know where the buttons are. “Nobody ever got fired for buying IBM” was never really about IBM.2 It was about not having to explain a new screen to everyone in the building.
Strangle it one form at a time
Martin Fowler named the strangler fig pattern after a vine he saw in the Queensland rain forest, one that seeds high in a host tree and grows down around it until the tree is no longer needed.3 Developers have used it for more than two decades to replace old code without a big-bang cutover. Wrap the legacy system and route one function at a time to something new until the old thing does nothing. No rewrite to approve. Now point it at the user interface instead of the code.
Start with the screens people touch least and resent most. PO approvals and vendor lookups are the obvious first candidates, along with expense entry and timesheets. Replace each one with a sentence: “approve the Henderson PO,” or “what bank details do we have for Contoso Supplies.” The agent does what the form did, under the same security role, and the manager who opens that approval screen twice a month never has to remember where the button went. Every screen you retire this way is one nobody gets retrained on at the next upgrade. And in D365 F&O this isn’t speculative: Microsoft’s ERP MCP server includes form tools that let an agent work the application “like a human with the same security access.”4
Keep doing that and something shifts. Users stop knowing, or caring, which ERP sits behind the agent, because to them the system is the thing they type to. At that point D365 or S/4HANA becomes plumbing, and plumbing gets replaced when it’s cheaper to replace, not when a few thousand people agree to it.
The vendors already know
This is why every ERP vendor is racing to own the chat box. SAP’s entry is Joule Work, with general availability planned for Q4 2026, plus Joule Studio for building agents that reach tools over MCP and hand work to third-party agents.5 Microsoft’s runs through Copilot and that same MCP server. Neither of them is doing this out of generosity. If the conversation is where the user lives, then the conversation is the new lock, and whoever owns it decides how hard it is for you to swap what sits underneath.
So the lock-in doesn’t disappear. It moves into your agent configurations and into the prompts your power users have tuned until the thing finally understands what “the Chicago account” means, all of it living on someone’s platform.
Where it leaks
Joel Spolsky argued back in 2002 that every non-trivial abstraction leaks to some degree,6 and an AI front end over an ERP is about as non-trivial as abstractions get. The agent can hide where the button is. It can’t hide that your new system calculates available inventory differently or posts at a different point in the process. Users won’t complain about the screen anymore. They’ll complain that the numbers moved. And they’ll be right, because the training you thought you skipped comes back as “why did the agent do that?”
Your heaviest users won’t come quietly either. The AP clerk keying a stack of invoices and the warehouse worker with a scanner are faster on forms than they will ever be in a chat window, so let them keep the forms. My bet is they’re a minority of your headcount. The argument was never that every screen dies, only that most of them can, and the survivors stop being the reason you can’t touch the system behind them.
None of this works on an ERP that is merely interfaced, the kind where the agent gets a handful of APIs and the rest of the system stays locked behind the forms. It needs one that is actually headless, where anything a user can do, an agent can do too. Microsoft’s current answer is to let the agent operate the forms directly, which keeps every retired screen loading in the background with nobody looking at it, and I still haven’t decided whether that counts.
Notes
1 David Essex, “SAP unveils agentic AI tools to partially automate ERP suite,” Informa TechTarget, May 12, 2026. Coverage of opening day at SAP Sapphire in Orlando, including how rarely S/4HANA came up, Christian Klein’s keynote remark, and the description of Joule Work. TechTarget
2 An old procurement adage from IBM’s mainframe era. Nobody seems sure who said it first, so treat the attribution as folklore.
3 Martin Fowler, “Strangler Fig Application,” martinfowler.com. First posted June 29, 2004 as “Strangler Application” and renamed in 2019 to keep the botanical origin in view. martinfowler.com
4 Microsoft Learn, “Use Model Context Protocol for finance and operations apps.” The Dynamics 365 ERP MCP server is in preview, requires version 10.0.47 or later, and its form tools let an agent act with the same security access as the user it runs as. Microsoft Learn
5 SAP, “SAP Sapphire 2026 Innovation News Guide.” Covers Joule Work, Joule Studio support for MCP and Agent2Agent, and the planned Q4 2026 general availability. SAP
6 Joel Spolsky, “The Law of Leaky Abstractions,” Joel on Software, November 11, 2002. Joel on Software
My book, Gamifying the Enterprise: Game Mechanics for Continuous Proficiency, is on Amazon. All my books are on my Amazon author page.
A demo request landed this week asking for a detailed, nuts and bolts walkthrough for a finance team. Every screen. Every transaction keyed in while they watch, from the purchase order through to the payment run. My first reaction was that this is about as useful now as walking them through the SQL statements that update the database.
Nobody asks to see the SQL in a finance demo. The INSERT behind a vendor invoice is somebody else’s problem, and the controller in the room is perfectly happy to trust that the row got written. Screens got different treatment for decades, because the screen was where the work happened. If the work happened on the form, then the form was the product, and we demoed it field by field (tab, tab, dropdown, tab). That logic held up fine while a person had to type every line.
I don’t think the request is unreasonable, for what it’s worth. Finance people have been shown a lot of slides, and most of them have heard some version of “and then it just posts” from a presenter who never opened the voucher. Asking for every screen is a way of saying prove it. I respect the instinct, even when the method has gone stale.
The front door moved
Microsoft now offers an MCP server for Dynamics 365 ERP, in preview, that gives AI agents access to the data and business logic of the finance and operations apps. The first version was a static set of thirteen tools, mostly on the supply chain side. That one is being retired during 2026 in favor of a dynamic server that exposes far more of the application, and Microsoft has said its new ERP agents will run through MCP. Read that as the vendor building a front door for software that will never look at a form. The forms are still there. So is the SQL.
This is what people mean by headless ERP. I think it settles what a finance demo should be about, and it isn’t the screens.
The click-through demo was measuring the wrong thing anyway. What an audience actually watches is how well the presenter knows the menus, which says a lot about the presenter and almost nothing about the posting logic underneath. It also outruns anybody’s memory. By the time the vendor payment journal comes up, the purchase order is a vague recollection and the product receipt has blurred into it.
Headless puts the plumbing on stage
The headless argument usually stops one step too early. Taking the screens away doesn’t make the nuts and bolts irrelevant; it makes them the only thing left to show. Nobody audits the SQL, but finance gets audited every year, and the auditors are going to want to know who approved what. In a headless system that question turns into what an agent was allowed to do. An agent that touches Dynamics 365 through that MCP server has to authenticate as a valid Dynamics 365 user, so the security role assigned to that identity is the user interface now, in every way a controller should care about. Segregation of duties used to be a conversation about which clerk could create a vendor and which one could pay it. It is about to become the same conversation about a piece of software that works at 3 a.m. and never asks the person at the next desk whether something looks off.
So yes, I’d still give finance a nuts and bolts demo. Different bolts. I’d let an agent process a batch of invoices with nothing on the projector but a chat window, and then stop and open up what it did. The vouchers first, and the posting profile that decided which accounts they hit. Then the subledger against the general ledger, because a fast agent posting to the wrong account just gets you to a bad close sooner. And the one invoice it couldn’t match, since exceptions are where a headless system has to hand something back to a human being.
Then I’d try to break it. Give the agent an invoice with the wrong unit price, or one against a purchase order that was only half received, and see what it does. If it posts anyway, that is the most useful thing anybody in the room will learn all day. If it stops and routes the invoice to a person, I want to see who gets it and what the agent recorded about why it stopped. Better still, ask the finance team to bring one of their own ugly invoices and feed it in cold.
The harder questions are about boundaries. Which actions get exposed to agents at all, and who notices when one of them is confidently wrong about a three-way match? None of that is visible on a form, and all of it is more technical than the click-through demo ever was. It’s also the part most vendors would rather not rehearse in front of a controller.
The people still at the screens
Headless describes an architecture, though. It doesn’t describe the AP clerk whose entire job, right now, is the invoice screen, and who will be sitting in that demo trying to work out whether the person at the projector thinks that job is the part being skipped. Say “the screens don’t matter” to that person and it lands as news about their job, whether anyone meant it that way or not.
I’d still show them a form. One. The exception queue, where the agent hands its problems to a human, because that is the screen a clerk is most likely to be living in a year or two from now. It’s a smaller job than keying every invoice, and probably a harder one, since the easy invoices are gone by the time anything reaches that queue.
Most finance teams still run on people working the forms. Nobody has told them which of their screens the agent gets first.
My book, Gamifying the Enterprise: Game Mechanics for Continuous Proficiency, is on Amazon. All my books are on my Amazon author page.
Worzel Guṃmidge, the scarecrow from Ten Acre Field, kept a collection of spare heads carved out of root vegetables and swapped them depending on the job. There was a clever head, a handsoṃe head, a singing head, and one the episode guides describe as disobedient. Without his arithṃetic head, he couldn’t count.
That scarecrow is the best ṃodel I’ve found for the headless ERP pitch. The pitch assumes the head is the unimportant part. Take the screen off, bolt on whatever you like (a custoṃer portal, or these days an AI agent), and the system underneath carries on. Worzel would tell you otherwise. In his world the abilities live in the head, and if you screw on the wrong one you get a scarecrow that can sing but can’t add up.
Not all heads are built equal, and that’s the trouble with ṃost headless claims. In a lot of ERPs the original head, the screen a user sits in front of, is the only one wired to everything. The spare heads are wired to whatever soṃebody had time to build an API for. Posting a journal, maybe. The odd button three menus deep that recalculates something nobody on the team can explain, probably not. I’d call that interfaced.
The arithmetic head
The industry’s favorite way to prove a systeṃ is headless is to count things. One blog makes the case for Odoo by pointing to its 900-plus API endpoints. That’s the arithṃetic head talking. Nine hundred tells you how many jobs somebody chose to wire up. It says nothing about the jobs they skipped, and the skipped ones are where a process stalls and a person gets dragged back to the keyboard.
My test is siṃpler than counting. A headless ERP should be able to do everything a user can do, whichever head is on. An agent should be able to press any button the user can press, logged in as that user and told no exactly when that user would be. And when soṃebody adds a field to the screen in March, every other head should see it in March, not after someone gets around to carving a new turnip.
For years the only spare head ṃost ERPs wore was an integration that ran overnight and did the same handful of things every time. A narrow head was fine for that. Agents are different. An agent wanders into the middle of a process until it reaches the step nobody wired up. Then it stops, or it guesses. Worzel at least knew which head he had on.
SAP’s cupboard of heads
SAP’s version of the story is ṃostly about wiring up the heads it already has. The route SAP describes runs through Integration Suite, where existing APIs and flows can be converted into MCP tools for an agent to call. AWS released its own SAP MCP server in May, and it coṃes at the same job from the other side, translating an agent’s request into OData calls against S/4HANA or ECC. Both are useful. Neither one carves a new head.
So what does the agent do when it reaches a step none of those APIs cover? Nothing clever. Soṃebody builds the missing API, or a person opens the screen and finishes the job, and the agent waits either way.
Data the standard API doesn’t carry is where it gets awkward. In S/4HANA Cloud, a key user who adds a custoṃ field has to switch it on for each API separately, and only on the entities SAP has opened up for extension. In SAP’s own walkthrough for the business partner API, that list was seven entities long. A field outside it can show up on the screen and never reach the API at all, which fails ṃy March test before anyone has written a line of code.
Next tiṃe headless comes up in a demo, don’t let the presenter choose the task. Pick a button on a screen they didn’t rehearse, preferably one that posts soṃething, and ask them to have the agent press it. If the answer involves a roadṃap slide, you’re looking at an interface.
One head, most of the wiring
Microsoft’s docuṃentation for the Dynamics 365 ERP MCP server sets my test as its goal, describing agents that can do nearly anything a user can do through the application. The approach is the right one. Rather than carving a separate head for every task, it lets the agent use the same forms a person uses, under whatever security role the agent has been given, so a field a partner added last week is already there. A few adṃin forms are off limits, user role assignment and Feature Management among them, and I’m glad of it (an agent that can hand itself a new role is a conversation with an auditor I’d rather skip).
The saṃe limitations list says agents can’t work with some controls. Radio buttons are on it, and the docuṃentation doesn’t say what an agent should do when the next step in a process is one.
Try the test on your own systeṃ this week. Pick one button your teaṃ presses every day, preferably one that posts or releases something, and find out whether anything other than a person can press it. Then tell ṃe in the comments which ERP you tried and where it ran out of head.
Murray Fife writes and trains on Microsoft Dynaṃics 365 Finance and Operations. His deṃo autopsies and longer pieces live at A Tinkerers Notebook, and his book Gamifying the Enterprise is on Amazon. Follow hiṃ on LinkedIn for the next one.