Skip to content

Five years after Codex, the demo still reads like a plan

On August 10, 2021 I watched OpenAI type plain sentences into a box and get working code back. I have spent the five years since building on that idea. This is a look at how AI tools changed over those years, told through what I bought, built and broke, with that half hour as the seed.

Joshua Jordan
5 min read
  • AI
  • Career
In This Article

What was on screen

I was a marketing major between junior and senior year, two months into my first internship, teaching myself Python and SQL at night to automate client reports. I had seen generated images and autocomplete. I had not seen someone hold a conversation with a program and have the program do the work.

0:00 / 29:42
  1. Moment #1

    A sentence becomes a program

    On screen
    It starts small on purpose. Ask it to say hello. Ask again with a twist. Each request is one plain sentence, and each answer is running code.
    What I heard
    The unit of work changed from a line of code to an intention.
  2. Moment #2

    From a page to a server

    On screen
    The same greeting becomes a web page, then a server that serves it. Nobody scaffolds anything. The context of the last request carries into the next.
    What I heard
    It keeps the whole program in mind. That is a session, years before anyone sold sessions.
  3. Moment #3

    It uses an API it was just told about

    On screen
    They hand it a short description of an email service and ask for a message about the current Bitcoin price. It looks up the price, then calls the service with the right arguments.
    What I heard
    This is the part that matters. Describe a capability, and the model decides when and how to call it. Function calling, tools, MCP and connectors are all this moment, formalised.

    explain to a programmer how to use a new method

    OpenAI Codex Live Demo, 10:51
  4. Moment #4

    Talking a game into existence

    On screen
    A browser game gets built by instruction. Add a person. Move it with the arrow keys. Drop a boulder. When something is wrong, they say so and it gets fixed.
    What I heard
    Steering beats specifying. You do not write the full spec. You look, correct, and go again. That loop is every agent harness I use now.
  5. Moment #5

    Speaking to software that already exists

    On screen
    A plug-in for a word processor takes spoken requests and turns them into calls against the application's own API.
    What I heard
    You will talk to your tools, and the model will sit between your words and their functions. I built Kliffit on the speech half of that sentence.

What I did in the next ninety days

I did not just bookmark the video. The records are dull and exact, which is why I trust them more than my memory.

  • Aug 10, 2021Watched the Codex live demo.
  • Sep 6, 2021Opened my first GitHub account.
  • Sep 21, 2021Joined the OpenAI API beta.
  • Oct 5, 2021Got the OpenAI Codex invite.
  • Oct 26, 2021Joined the GitHub Copilot technical preview.
  • Nov 2021Went full time as a marketing analytics engineer, still in school.

Completion in the editor

Copilot was the first version of this I could use every day. Grey text appears ahead of the cursor, and one key accepts it. Try it: press Tab or the button to accept the suggestion, and Esc to reject it.

report.py · illustration, not original source
def weekly_report(rows): totals = {}
What it changed was small and constant: I stopped looking up syntax and started reading suggestions. Reading code critically became the job earlier than it would have.

Asking for JSON before there was a JSON mode

In October 2022 I started a meeting assistant: Whisper for the transcript, GPT-3 for the summary. A summary a program can use has to arrive as data, so by December 11, 2022 the prompt described a JSON shape and the Python parsed the reply. OpenAI shipped function calling in June 2023 and JSON mode in November 2023. Step through how my version grew up.

text-davinci-003, a shape in the promptCopy
# the prompt ends by describing the shape it wants backprompt = transcript + "\nReturn JSON: {summary, actions[]}"text = openai.Completion.create(model="text-davinci-003", prompt=prompt)data = json.loads(text)
model reply → {"summary": "Budget moved to Q1.", "actions": ["Send revised plan"]}

Parsed. A clean reply works at every stage. The stages differ in what happens when it is not clean.

Code is a short reconstruction of the mechanism at each dated stage, written for this page. Dates are from commits and file records. Model names are the ones in the source at that date.

None of this was clever. It was the only way to make a model's output land in a database. The lesson I took, and still use, is that the model can be loose as long as the boundary is strict: describe the shape, check the shape, and decide in code what happens when the shape is wrong.

A reader that follows the voice

Kliffit, the company that meeting assistant became, was built around one interaction: a transcript that follows the audio, word by word, and lets you jump to a passage. The browser now has a native way to paint that without wrapping every word in an element, the CSS Custom Highlight API. Press play. The text below is mine, read at speaking pace.

0:00

What stayed with me was not that the code worked. It was that they kept talking to it. They said what they wanted, looked at what came back, and said what was wrong. Nobody on that stream treated the model as an oracle. They treated it as a colleague that is fast, literal and tireless, and that needs to be told what good looks like. Every tool I use today is that same loop with better memory and more hands.

Three highlights registered with CSS.highlights: words already spoken, the current word, and key phrases. No spans are added to the paragraph. Click any word to seek. Browsers without the API fall back to a single moving mark.
How the highlight is registeredCopy
// one Range per word, built once from the text nodeconst now = new Highlight();CSS.highlights.set("now", now);// on every time update: move the highlight, touch no DOMnow.clear();now.add(ranges[wordAt(currentTime)]);/* css */  ::highlight(now) { background-color: var(--mark); }
Illustrative sketch.

The same idea, rebuilt five times

Looking back across the tools I paid for and the code I wrote, I do not see a straight line. I see the industry rebuilding the demo's five moments again and again, each time with a new name, each time a little more of it handled for you. Some rounds were real progress. Some were repackaging. A few went backwards before they went forward.

Eras against the five moves
2021–222023202420252026Say itKeep the threadCall a capabilitySteer and correctSpeaka linea functiona filea taska projectyou paste it inchat history andretrievalbigger windowsrules, MCP andskillsmemory andsub-agentsyou parse the textfunction callingschemas enforced,MCPconnectors andcode modescopedpermissions,agents call agentsyou rerun theprompta chat turnvalidate and retryin codethe agent runs thechecksreview loops, youapproveWhisper, thenpasteWhisper APIvoice modesdictating toagentsdictating toagents
  • You do the work
  • Shared between you and the tool
  • The tool does it

Call a capability · 2025

connectors and code mode

The tool does it.

What shipped

  • Feb 25Cloudflare Agents SDK

What I was doing

  • Jan 14First wired tool calling
  • May 30First Cloudflare Workers config

2026 · Harnesses, and everything converges

All the blocks exist and they are still a little awkward together. My own agents use permission-scoped tools, durable background jobs and edits that are reviewed before they apply.

  • The harness matters more than the model.
  • Permissions and review are designed, not bolted on.
  • Agents call agents. Cheap ones search, strong ones decide.
Public releases are dated from the vendors' announcements. My column is dated from invites, invoices, commits and usage records.

Practices that came, went, and came back

Every one of these was announced as the answer. Each fixed something real and each had a cost that showed up later. Where I landed is under how I used each one.

2021absorbed
1 of 14
  1. 2021

  2. 2022

  3. 2023

  4. 2024

  5. 2025

  6. 2026

Prompt engineering

What it fixed

Getting a small model to do one job well

What it cost

Fragile wording, copied between projects

Copy
prompt = "Summarize the meeting in three bullets.\n\n" + transcript
Illustrative sketch.

How I used it

OpenAI API beta, Sep 21, 2021. Every call was a hand-written prompt.

Where it went

Each practice sits on a time axis. A line joins one that led to, was absorbed into, or was replaced by another. Solid is in use, a ring is absorbed, a dashed ring is retired.

The gap nobody demos: data

Almost all of this was designed for text and code. My work is data, and a table does not fit in a prompt. A model that reads a million rows is slow, expensive and wrong in ways you cannot see.

Rough estimate: about 3 tokens per cell, a 200,000-token window
250,000
18

Before: paste the table

About 13.5M tokens, which is 68 windows of 200,000.

After: ask the table

Schema about 120 tokens, the query about 40, twenty result rows about 440: about 600 tokens, whatever the size of the table.

22,500× less

Wrap linesCopy
model › describe("spend")tool  › 18 columns: week date, campaign text, spend numeric, …model › query({ fields: ["campaign", "sum(spend)"], where: { week }, limit: 5 })tool  › 5 rows · 0.3 s · 412 tokens
Illustrative sketch.

The pattern I settled on keeps the data out of the conversation. The rows stay in Parquet and are queried where they sit, in the browser with DuckDB or on a Worker. The model gets typed tools that return small, checked answers: a schema, a count, twenty rows, an aggregate. It writes the query, the engine runs it, and a person can read both. That is the JSON lesson from 2022 again, one layer up.

A typed data toolWrap linesCopy
// the model never sees the table. it sees what the table can answer.const tools = {  describe: tool({    parameters: z.object({ table: z.string() }),    execute: schemaOf,  }),  query: tool({    parameters: QuerySchema,    execute: (q) => engine.run(q, { limit: 200 }),  }),};// QuerySchema allows fields, filters and aggregates the engine can prove are safe
Illustrative sketch.

The loop, then and now

The demo ran one loop by hand: say it, read the code, run it, correct it. Today's tools run the same loop many times at once and bring the result back for a decision. The person moved from the middle of the loop to its two ends.

Then and now
2021SayGenerateRunCorrect2026Say what should be truePlanSearchEditCheckReview and approve
  • You
  • Agent

Step Say in 2021. Agents at Plan in 2026.

What the usage looks like now

For years I have no counts at all, only invoices and invites. Since June 2025 I have daily token records from the tools themselves. The shape is the point: flat, then a step, then a wall.

Recorded tokens per month, billions
0255075100Jun 25JulAugSepOctNovDecJan 26FebMarAprMayJunJul23BAugSep45BOct90BNov*24B
  • Cursor
  • Codex
  • Claude Code
  • Other tools
From each tool's own records: Cursor's account export, and local counters for Codex, Claude Code, Antigravity, Kimi Code and Pi. November 2026 covers ten days. Requests before June 2025 had no token counts and are not drawn.

October 2026 alone is about 90 billion tokens. That is not me typing faster. It is agents reading whole repositories, running the checks, and reading the failures, while I decide what should be true at the end. The Codex demo showed one person steering one model through one file. The loop is the same. The number of hands is not.

What held up, and where I think it goes

The building blocks are all here now, and they still fit together awkwardly. The big tools have converged: an editor, a terminal, a desktop app and a web app that are the same agent wearing four coats, with names merging to match. What is left is the part that hurts, and that is where I keep pushing.

One task, through a 2026 harness
Every modalityvoiceimagevideonot there yetOut loudYouSmall modelsRouter modelclassifyextractjudgespecialistsOne entry pointconnectorsMCPskillssearch + executesandboxScopescopeReviewReviewEdgecheckvalidate,recordretryApplied361452

1you › "Email the client last week's top five campaigns."

2in › voice note transcribed · dashboard screenshot attached

3route› classify: report request · extract: client, week, top 5 · judge: needs spend data

4tool › search("spend by campaign") → execute api.query({ week, limit: 5 }) in sandbox

5gate › report:read allowed · email:send waits for approval

6check› reply 1 fails schema → retry · reply 2: 5 rows, totals match

7you › approved · sent

The demo was one person, one model and one file. This is the same loop with more hands. The job is still to say what should be true, and to know when it is.

Five years on, that half hour still holds up. The models got bigger and then smaller again, the tools merged into one another, and the loop picked up more hands. The part a person brings did not move: know what should be true, say it plainly, and check the answer. I started by watching someone talk a program into existence. I now spend my days doing the same thing at a scale that demo could not have run, and I expect the next five years to rebuild all of it again.

Sources