For everyone — The magician's box

Nothing, inside the magician's box, actually happens — and yet the audience believes it, the conversation holds, and the box never gets tired. In 2002-2003, this is exactly what a chatbot was: a handful of sentence templates, a short-term memory, a keyword detector, and enough to evoke a presence that is nowhere. The bet back then was not to understand — nobody knew how to do that yet — but to answer well enough for the dialogue to continue.

Why care about it? Because this contrast shows, by negative, what the current wave of artificial intelligence really changed — and what it did not change either. A response triggered by a keyword and a response generated by a probability are almost indistinguishable from the audience's side; on the machine's side, everything separates them. The small chatbot visible in Behavior Model — "Hello, friend. Do you need help?", no intelligence, as the descriptor's comment says — descends directly from this lineage.

For us, this lineage never started in a laboratory: it started around a role-playing table. Running a multiplayer server where two hundred players expect each character to have something to say is the most hands-on possible experience of what "playing all the characters" costs — and of everything a program that answered without understanding could already contribute. It is this human experience that gave birth to the engine discussed here.

The full text

The legacy: ELIZA from afar, role-playing up close

Let's be honest about the genealogy: it wasn't ELIZA that led me there. The program had long been part of the history, though — ELIZA (Joseph Weizenbaum, 1966) is the founding chatbot: it reformulated its interlocutor's sentences in the manner of a psychotherapist who bounces the question back, and it was enough to hold up entire conversations. Its author himself was frightened to see people confide their secrets to a few dozen rules — the "ELIZA effect", that moment when you lend a soul to a text filter, remains the name of the phenomenon. Its contemporary PARRY (Kenneth Colby, 1972), which simulates a paranoid patient, completed the genre's demonstration: a few dozen rules, and human judgment projects the rest. But at the time, the Internet had not led me that far; I rediscovered the lineage later, once mine was already built.

What had made the subject crystal clear was role-playing. Writing scenarios, holding up characters, interacting with players who never do what you expect: the "character that answers" problem came up at every session, in a purely human form, even before becoming a computer problem. At that time, I was a game master on a "massively" multiplayer role-playing server — quotation marks mandatory: two hundred players at most, but an extensible engine, and a community lively enough for the question of scaling up to be seriously raised. Following the reflections on modeling the world — the very ones that had given birth to the "virtual city populations" in 1995, the project's founding step — the idea that a dialogue engine could be useful there — or, at the very least, instructive about how such a thing gets written — imposed itself on its own.

The game environment of the time had an Achilles heel known to every game master: adding a non-player character and its dialogues meant going through a complicated engine — in C++, if my modern memory is faithful — where every character was expensive to bring to life. That is where the idea of an engine — a separate piece, dedicated to dialogue, detachable from the game hosting it — emerged, at the same moment the project made another turn of the same nature: adopting Java as its language. The same instinct, twice: pull the logic out of the container that stifles it.

Anatomy of the 2003-2005 chatbot

Let's dissect the beast — no magic, four organs:

  • The detection — keywords and patterns (sentence templates) of the kind "if the sentence contains work or job, it's the work theme". No semantics: a dictionary of triggers.
  • The conversation state machine — a record of which phase the exchange is in: greeting, exchange, closing. It guarantees you don't say goodbye in the middle of a greeting, and gives the dialogue a surface-level coherence.
  • The short-term context memory — the subtlest of the four: remembering the last topic, and knowing what "he" and "it" refer to. The chatbot doesn't understand the sentence, but it knows who has been talking about what for the past three responses — and that is already almost conversation.
  • The matching response banks — a set of responses per theme (greetings, work, farewells), drawn from so as not to repeat the same one twice. And the most-used organ of all: the generic fallback for when nothing is understood: "Could you rephrase?" — the magician's box always has an emergency exit.

The path of a sentence through these organs:

Pre-LLM chatbot: from the player sentence to the response — normalization, pattern recognized, state machine, context memory, response bank, generic fallback.

The first lesson of that period fits in one word: there is a context. Even before knowing how to simulate anything, we had to decide that interactions existed, exchanges that follow one another, and several forms of memory of that context. It is this base that allowed the story's natural next step: plugging that dialogue engine into the engine of Neverwinter Nights (released in 2002), by deriving the script calls — that is, intercepting the connection points laid out by the game in order to plug our own in. The chatbot's engine became a dialogue engine for custom adventures, with characters holding a conversation worthy of the name.

That thread carried the project up to 2011, version Neverwinter Nights 2 included, and up to adding the "quests" part — obtained by injection into the inheritance mechanism, a droll thing to implement which I still, in 2026, am not satisfied with on the user side. One thing is settled: the dialogue was not a decoration of the simulated world; it was already an instrument of it.

What it does well — and what it missed, from the bottom of our hearts

Doff our hats to the chatbot of the time: it did very well what it was made for. It was available without interruption, never got tired, never spoke badly, and the illusion held in real use — by the time a player realized they were talking to a wall of keywords, the conversation had already done its office: directing, making people wait, giving a place life. For the game master of a two-hundred-player server, that already meant two hands freed for what mattered.

Another contemporary thread, directly related: the inspiration coming from T4C — The 4th Coming, a cult French-language MMORPG of the era — and the work, with the team of the French reimplementation project, to build a similar game (around 2006). Here we meet again the eternal chatbot-in-a-game problem: hundreds of connected players, dialogues to be held at all hours, human game masters in finite number. The need was not theoretical.

What we missed, on the other hand, was turning that engine into a chatbot for businesses — and selling it. The world saw IBM Watson and other such goodies go by in the years that followed, ahead of their time before the era of LLM-based chatbots (large language models); ours was, in fact, ripe for that turn as early as 2007-2008. And with the arrival of workflow engine capabilities (see Workflow Engine) around 2011 — persisted sequences, error recovery, compensations — enterprise integration was objectively within our reach: process-driven dialogue, exactly what years later would be called an industrialized support bot.

If it didn't happen, it was not through technical failure: part of the team was already committed to another artificial intelligence project, a Bayesian one, focused on security and behaviors (a page of that story is told in Bayesian networks — but that's another story!). There are forks like that: the potential product is right in front of you, the interesting research lies on the other side of the path, and you choose the research. Nothing to regret from the bottom of our hearts — but it is the right question to ask, and we didn't ask it: what could have been sold, and when?

The transition: when understanding became statistical

Here is the great shift, the one that separates the magician's box from another machine: instead of selecting a response from a bank, the machine generates one. LLMs no longer recognize patterns: they statistically predict the most plausible continuation of a text — and inside that probability lies something close enough to understanding that the distinction becomes a real debate. Which brings our little chatbot to its next trial: what remains of the difference when the response is perfectly fluent?

I'll say it frankly: it's the appointment I haven't taken yet. The project as a whole went in other directions — the role-playing part at the origin of this thread was pushed to the background, though it inspired the project's first steps — but the idea of applying modern capabilities — targeted training (fine-tuning, the fine adjustment of an existing model) and LLM inference (actually "running" the model on a service) — to the subjects of chat and dialogue is on the agenda. And not only to hold a conversation: the same base — described behaviors, held context, short-term memory — is that of agents dedicated to a specific trade, where the LLM plays the execution without being in charge of the whole logic. The chatbot's descriptor in Behavior Model already says it: the same file that described the rule-executed response banks could one day be executed by a LLM that plays the character. Unchanged description, transformed execution — the promise of the separation of description and execution fulfilled where we expected it least.

We will come back to this in another article, with honest comparisons: what the LLM does better (the fluent, the varied, the unexpected), what it does less well (reproducibility, tone control, long-term memory), and what the little keyword chatbot, despite its old-fashioned side, knew how to guarantee (it will never say anything unexpected) — a property that is not trivial when you run a world shared by hundreds of players. As for the details of the current ecosystem, the page Mistral AI, the models and the ecosystem covers the part that concerns us.

Key takeaways

Stepping back from a subject as visible in 2026: the chatbot is everywhere, and there are a thousand ways to build one — by rules, by statistics, by large language models, sometimes all three in the same product. If I had to keep three things from that period, regardless of technique:

  • Check what the machine actually understands. An engine that answers without understanding is a legitimate tool — provided you never forget that it doesn't understand. It is by cheating on that boundary that chatbots disappoint, not by being chatbots.
  • Don't lose the humanity in the interaction, even when computer-assisted. An automated dialogue that makes people's lives simpler is a success; an automated dialogue that prevents you from reaching a human is a failure, whatever program holds it up.
  • Nothing replaces a human who listens to you — and, in return, listens attentively. That will always beat a chatbot. But the chatbot, for its part, saves time — for everyone, and first of all for the humans who listen! The balance lies there: delegate to the machine the exchanges that don't need a presence, and keep for the human everything that deserves theirs. What makes our worlds good — simulated or not — is, indeed, the quality of our relationships with others.

See also