In November 2022, talking to a language model meant typing into a text box and waiting for an answer. Today an agent can read your email, query a company's ERP or propose changes to its code. It looks like a different invention, but at the centre sits the same piece: a model that, given a text, guesses what comes next. What has changed is everything built around it.
We tell the story in four stages. And since understanding the central piece is what lets you understand the rest, we have trained a lab model for you to try and learn with: Photonv1.0↗, a 17,604-parameter microLM that only knows how to say hello, in Spanish.
2022 · Standalone LLM
A prompt goes in, the model reads the context and returns the answer in one go. It looks nothing up and checks nothing: whatever is not in its training or in the context does not exist. What appears in grey has not arrived yet.
2023 · The model asks, the program executes (Function Calling)
The model can ask for a tool: search, run code or call an API. The one that executes it is the harness, the program around the model, and the result goes back into the context before the answer.
2025 · Thinking before answering (Chain of Thought)
The model reasons in writing (Chain of Thought) and at each step decides: keep thinking, use a tool or answer. The context grows with every turn of the loop.
2026 · The system around it
The loop connects to email, the ERP, servers or GitHub through a layer of memory, permissions and rules. This is our reading of where things are heading, and a work in progress.
The years mark when each piece became commonplace, not when it was invented: almost all the ideas were around one or two years earlier.
012022: the box that guesses
On 30 November 2022 OpenAI launched ChatGPT, and millions of people talked to a language model for the first time. From the outside it looked like a conversation. Inside, it was the layout of the first diagram: the prompt goes in, the model reads the context and returns an answer.
A language model does one thing only: given a text, it computes which fragment, which token, is most likely to come next. It picks one, appends it and repeats. That is how the answer gets written, piece by piece. The conversation is a format: underneath, the model is continuing a text.
Everything the model knows comes from two places. One is its training: huge amounts of text that tuned its parameters and that stop at a cut-off date. The other is the context: the instructions and the conversation that fit in its window. Whatever does not fit in the window is lost, and whatever was not in the training, the model does not know.
And it does it in a single pass: from start to finish, without stopping to look anything up, without running anything and without checking whether what it says is true. If the answer was bad, there were only two options: change the question or change the model.
That box is the one we have reproduced at a small scale. Photonv1.0↗ has 17,604 parameters, has learned from 636 greetings and only knows how to say hello, but it works in exactly the same way: it takes a text and guesses, letter by letter, what comes next. It only speaks Spanish. Try it: type a greeting such as “hola”, hit send and watch how it picks each letter.
A language model does not answer questions: it continues texts.
Lab
A sentence inside the box
Type a prompt, hit generate and look at the answer. The strip is the experience; the black box is the mechanism we open up from the inside.
Input
Micro LM
Photon v1.0 ReadyNext: —
No parameters: the model knows nothing. Train it to enable the loop.
Output
The loop, from the inside
The context is the conversation: the prompt and every generated token are added to it. When the answer ends, the model picks ⟨eos⟩ and stops.
Input
The model receives a sequence of tokens. The input holds context + prompt + answer; the rest of the window stays free.
The full vocabulary · 36 tokens
The input matrix has one row per token and 32 columns. T is the maximum number of rows.
The corpus is everything the model has seen: the sentences that come out of these pieces and nothing else.
The whole space · 840 sentences
No names. Choose a greeting, a courtesy and a farewell, and a shape. The model has only seen these pieces combined: there is nothing else.
Greeting 7
Courtesy 10
Farewell 9
hola. ¿cómo estás? hasta luego.
7 × 10 × 9 = 630 combinations with the three slots; the short shapes bring the total to 840.
The training file
The 204 validation sentences are not here: they were set aside to measure whether it learns or memorises.
Closest to your context
Percentage of character trigrams in common. This is not understanding: it is literal overlap.
The parameters are loaded. Reset to see the untrained model.
Training was recorded in Python; here it is replayed step by step. Nothing is trained in the browser.
Model samples · step 0
What it looks at
No parameters: train the model to see embeddings, attention and the dense layer.
Temperature
Temperature divides the logits before softmax. Close to 0 it sharpens the distribution and the most likely letter almost always wins; above 1 it flattens it and unlikely options show up. The control is in the Micro LM block, in plain sight.
Embeddings
Each row is a position; each column, a dimension. Another vector, which encodes the position, is added to the token's vector.
The attention heads
Four ways of distributing attention over the same context; they are combined with each other.
Dense layer
The 17,604 parameters, in a histogram
The bet
Why this letter
Pick a letter and the sum that makes it win will appear here.
—
The 36 scores and the logits
Inside Photonv1.0↗
If you want to see what happens inside, each part of the lab has its own panel. This is the tour in four steps.
From text to numbers
The model does not read letters or words: it reads numbers. The tokeniser turns the text into a list of tokens, each with its own number. Large models use pieces of words; Photonv1.0↗ uses the simplest thing possible, one token per character: 33 characters and three special tokens, which mark where a sentence starts and where it ends. 36 tokens in total.
A probability for every token
With those numbers, the model computes a score for each of the 36 tokens and turns it into probabilities. Then it picks one. The temperature decides how much risk it takes: low, the most likely almost always wins; high, odd options show up. The chosen token is appended to the text and the cycle starts again. That is why the model is said to be autoregressive: it feeds on what it has just written.
Knowledge is numbers
Inside, each token becomes a vector of 32 numbers. An attention layer lets each position look at the previous ones, with four different heads, and a dense network rewrites what it has gathered. Everything Photonv1.0↗ “knows” is its 17,604 parameters: there are no stored sentences and no hand-written rules. GPT-3 had 175 billion; the architecture belongs to the same family, what changes is the scale.
Training is being wrong less and less often
At the start the parameters are noise and the model spreads probability almost evenly across the 36 tokens. Training means repeating a cycle: predict the next letter of a batch of greetings, measure the error and nudge each parameter in the direction that reduces it. Photonv1.0↗ did this 1,200 times. Of 300 greetings it generates, 285 follow the grammar of the corpus. Most are copies of sentences it saw, which is to be expected with such a small corpus, but 47 are new and correct: it does not just repeat the list, it has learned to combine the pieces.
022023: the model asks, the program executes
The 2022 model did not know what time it was or what was in a company's ERP, and had no way of finding out. The 2023 answer was to give it tools. In June that year OpenAI added function calling, to its API, and in less than a year the main providers offered something equivalent.
It works like this. The developer describes the available functions to the model: search the web, run a piece of code, look up an order. When the model decides it needs one, instead of answering with text it writes a structured request, with the name of the function and its data. The program around it, the harness, runs the function and adds the result to the context. With that data in view, the model writes the answer.
The important detail is who does what. The model executes nothing: it asks. It is the program that decides whether to grant the request, with which permissions and what to do with the result.
This had a consequence that still weighs. Everything a tool returns goes into the context, and the model reads it just as it reads the instructions. If a web page or an email hides instructions, the model may take them as orders. This is known as prompt injection, and it is the reason behind much of what we will see in 2026.
The tools are not inside the model: they are in the program around it.
032025: thinking before answering (Chain of Thought)
Until then, the model answered straight away. The next piece was giving it time to think. It is called Chain of Thought or CoT: the model writes out the intermediate steps of its reasoning before giving the answer, like someone solving a problem on paper before giving the result.
The idea is not new. By 2022 it had already been shown that asking a model to reason step by step improved its answers. What was new arrived between late 2024 and 2025: models specifically trained to reason this way, such as OpenAI's o1 or DeepSeek-R1, and later models that interleave that reasoning with the use of tools.
That is what the third diagram shows. At each step, the model chooses between three paths: keep thinking, use a tool or answer. If it uses a tool, the result goes back into the context and the model takes another turn with more information. The decision to carry on or stop is no longer written by the programmer: the model takes it on every turn. It works like a cook who tastes the stew, adjusts the salt and tastes again before serving.
The diamond in the diagram is a simplification. In practice there is no separate part that decides: the same model writes its reasoning and ends with either a tool call or an answer, and the harness executes and repeats.
The most visible example is coding agents. They search the code, edit files, run the tests, read the errors and try again, turn after turn, until everything passes.
The loop has a price. Every turn costs time and money, because reasoning tokens are also paid for even if you do not see them. And errors compound: if each step is right 95% of the time, ten steps in a row are right around 60% of the time, assuming the errors were independent and nobody corrected them.
The model stops just answering and starts deciding.
042026: the harness is as important as the LLM
Once the model uses tools in a loop, the next question is what it connects to. In November 2024 Anthropic published MCP (Model Context Protocol), an open standard for connecting models to the systems where the data lives. OpenAI adopted it in 2025, and today it is looked after by a neutral foundation under the Linux Foundation. Connecting an agent to email, an ERP or GitHub no longer requires custom development.
But connecting is the easy part. The hard part is governing what is connected. An agent that reads emails and writes to an ERP needs three things the model does not come with: memory, permissions and rules. It is the layer drawn in the fourth diagram, between the loop and the outside world: the harness.
- Memory. The context is finite and is lost when the session ends, so what matters is kept outside: documentation, decisions, the state of each project. The agent consults it when it needs it.
- Permissions. What it can read and where it can write. An agent that can only prepare email drafts cannot send anything, even if a malicious message asks it to.
- Rules. What the agent decides and what a person decides. At Ardora, agents propose changes and a person reviews and approves them before they are merged in.
05What comes next: hyperconnectivity and autonomy
At the centre sits the same piece: a model that, given a text, computes the next token. Where everything is moving is around it, in two directions that advance at the same time: how many things an agent is connected to, and how much it can do without anyone spelling out each step.
Hyperconnectivity
With standards such as MCP, connecting stops being the project and becomes the starting point. A single agent can cut across email, the ERP, documentation, code and servers, and chain into one task what used to be five applications and a person copying data from one to another. Agents are also starting to connect with each other, with some handing work out to others.
Autonomy
The longer the loop, the more work fits in it: you go from answering a question to completing a job with many steps, checking the result and correcting itself. Autonomy does not mean no control. The more an agent does on its own, the more it matters to have decided what it can touch, when it has to stop and ask, and how what it has done gets reviewed.
Agentic operating systems
When several agents work on the same systems, something has to govern them as a whole: shared memory, permissions per agent and per task, rules, processes that trigger on their own and a record of who did what. That layer is starting to be described as an agentic operating system. It is not yet a settled term, but the problem it names is already here.
Agent engineering and harness engineering
Two overlapping disciplines are emerging from all this. Agent engineering decides what task an agent is given, with which tools, what context it receives and how you measure whether it did it well. Harness engineering builds the program around the model: the loop, tool execution, context and memory management, permissions, checks and recovery when something fails. With the same model, the harness can make the difference between a demo and a system you can trust.
So, faced with any system with AI, it is not enough to ask which model it uses. You have to ask what it is given, what is done with what it returns and who checks that it is not wrong.
Now it is your turn
Everything above rests on a piece you can get your hands on. Go back to the lab and try Photonv1.0↗: change the temperature, look at the probabilities and watch how it writes token by token. If you would rather have it on your own computer, download it from Hugging Face: the model, the code it was trained with and the corpus are public.
If you want to keep learning with us about agentic and harness engineering:
Follow Ardora AI on LinkedIn ↗
For what matters, People…
for everything else, Ardora AI.