Start here: AI, from autocomplete to agents

The funniest name for this technology is still the most accurate one: fancy autocomplete. It guesses what comes next. Put that guess on top of a vast library of human writing, and it starts to get interesting. I started where most people start, typing into a chat window. Then I moved to the terminal, then to several terminals running at once with tools like Cursor, then to agents that keep loops running on their own: one watches the weather, one watches the price of oil, one checks for new research once a day, and each hands what it finds to the work I am building. This page lays out the ideas I wish someone had handed me at the start, each with the picture that made it click.

Sean Kolk, Island Lab

What "AI" means here

The name is older than the technology most people now mean by it. "Artificial intelligence" was named in a 1955 proposal by John McCarthy, Marvin Minsky, Nathaniel Rochester and Claude Shannon, for a two-month study at Dartmouth in the summer of 1956. For seventy years the term has covered many methods. This page uses it in the narrow sense of the chat apps: a large language model, an LLM. It covers what an LLM is, what it costs, and how far it can be left to run on its own.

Fancy autocomplete

At bottom, an LLM predicts what comes next. It is trained on a large body of text "to predict the next word, given the previous context" (Anthropic glossary, Pretraining). Carl Bergstrom and Jevin West put it in one line: "Fundamentally, large language models are autocomplete systems" (Bergstrom and West).

Next-word choice: "Peanut butter and" is almost always followed by "jelly", and "God bless" often by "America".Two short prompts. After "Peanut butter and", the bar for "jelly" is long and the bar for all other words is short; "jelly" is picked. After "God bless", the bar for "America" is longer than the bar for all other words; "America" is picked. An illustration; the bar lengths are drawn by hand.Peanut butter and jellyjellyalmost always, pickedall other wordsGod bless AmericaAmericaoften, pickedall other wordsBar length: how likely the next word is (illustration)

Peanut butter and ...

  • jelly: almost always, picked
  • all other words: rarely

God bless ...

  • America: often, picked
  • all other words: less often
Figure 1. Illustration. The model has seen enough text to score every candidate for the next piece.

The word "the" can be followed by almost anything. "Peanut butter and" is almost always followed by "jelly", at least in American English, and "God bless" often by "America". The model has seen enough text to score every candidate for the next piece. It picks a likely one, adds it to the text, and predicts again, one piece at a time.

Scale is what makes it interesting. A phone keyboard learns from one person's messages; an LLM is trained on far more text than any person could read, so its guesses cover code, contracts, recipes and argument as well as chat. A 2021 paper by Emily Bender and colleagues called the same thing a "stochastic parrot", stitching text together "according to probabilistic information about how they combine, but without any reference to meaning". Both descriptions hold: the machine works by prediction, and the scale is what makes the predictions useful.

Vectors: jelly sits near, plutonium sits far

To score what comes next, the model needs a way to say which words relate. It turns each word into a list of numbers, a vector, which works as a position in a space with many dimensions. Related words land close together. A 2013 method called word2vec showed that vectors learned from large amounts of text can measure "syntactic and semantic word similarities" (Mikolov et al.). OpenAI's guide states the rule in one line: "The distance between two vectors measures their relatedness" (OpenAI, embeddings).

So "peanut butter" sits near "jelly" and far from "plutonium" (an illustration; no source measured those three words). Nobody wrote those distances down: they are learned from text. The position is a map of relationships, and the prediction step reads from it; the probability of the next word is a separate step.

Vector space: "peanut butter" sits near "jelly" and far from "plutonium".Three words as points on a flat plane. Peanut butter and jelly sit close together near the upper left; plutonium sits far away at the lower right. An illustration of two of the many dimensions, with the distances drawn by hand.peanut butterjellyplutoniumnearfarTwo of many dimensions (illustration)

Close together

  • peanut butter
  • jelly

Far from both

  • plutonium
Figure 2. Illustration. Related words land close together.

Transformers and context: rereading everything

The design behind today's LLMs is the transformer, from a 2017 paper titled "Attention Is All You Need" (Vaswani et al.). Its core move, attention, "enables every token to attend to every other token across the entire context" (Anthropic, context engineering). Each word checks every other word before the next one is chosen.

The text the model can see in one go is its context window: "all the text a language model can reference when generating a response, including the response itself", a "working memory" (Anthropic, context windows). In a chat app, each turn sends the whole conversation back in, all the history plus the new message, and the reply becomes part of the next turn's input (same page).

This is where much of the compute goes. Comparing every token with every other gives "n² pairwise relationships for n tokens" (Anthropic, context engineering), that is n times n, so the cost of attention is "quadratic in sequence length" (Dao et al., FlashAttention): double the context and that part of the work roughly quadruples. Serving systems keep a cache of earlier work (the KV cache) so it is not redone for every new token (Hugging Face, KV cache), yet a longer context still costs more. It also reads worse: "As token count grows, accuracy and recall degrade, a phenomenon known as context rot" (Anthropic, context windows). The best context is the smallest one that holds what the job needs.

Hallucination: what should come next, not what is true

Because the model predicts a likely continuation, it can write text that reads right and is wrong. A 2025 paper describes models that "guess when uncertain, producing plausible yet incorrect statements", and finds that training and testing "reward guessing over acknowledging uncertainty" (Kalai et al.).

Take a cat named Sam. If the conversation never gives the name, or gives it once far back in a long context, the model may fill in whatever name seems most likely across everything it was trained on: Jade, say. By its own measure the answer is plausible; in that household it is wrong. The fix is local context: state the facts that matter, keep them where the model will read them, and check what comes back.

Tokens: the unit of work and cost

Models read and write tokens, pieces of text that "can correspond to words, subwords, characters, or even bytes" (Anthropic glossary). OpenAI's rule of thumb: "1 token is approximately 4 characters or 0.75 words for English text" (OpenAI, key concepts), so a token is about three quarters of a word. The ratio varies by model and language: for Claude, "the number of characters a token represents depends on the model and the language" (Anthropic glossary), and on the newest Claude tokenizer a million tokens hold about 555,000 words, against 750,000 on earlier models (Anthropic, models overview).

Tokens are how the work is counted and billed. A job costs the tokens read in plus the tokens written out, each priced per million by the model that ran it (models overview). A long chat costs more with every turn, because each turn reads the whole conversation again (the section above).

Models: engines, lenses and effort

A model is one trained system, and makers ship them in sizes. As of 2026-11-01, Anthropic offers Claude Haiku "for high-volume, latency-sensitive tasks", Sonnet as "the best combination of speed and intelligence", Opus "for long-running agentic coding and knowledge work" and Fable "for demanding reasoning and long-horizon agentic work", priced from $0.10 to $10 per million input tokens (Anthropic, models overview).

The same model can also run harder or lighter. Anthropic's effort setting trades "response thoroughness and token efficiency with a single model" (Anthropic, effort); OpenAI's reasoning.effort "guides the model on how much to think when performing a task" (OpenAI, reasoning).

Two pictures help. Size is the engine: a lawnmower and a tractor both have motors, and each is wrong for the other's job. Effort is the throttle on whichever engine is running. Binoculars give the second picture: high power for a far ridge, low power for a wide field, and the stronger pair loses a moving bird. Often the smaller model is the right one.

The best-known general models come from OpenAI (GPT), Anthropic (Claude), Google (Gemini) and xAI (Grok). Smaller groups publish their own, often specialized models: the Hugging Face hub lists more than 3.2 million as of 2026-11-01.

Levels of automation: in the loop, on the loop, agentic

How much a person must do while a machine works is an old question. Levels of automation were first drawn up for remote-controlled undersea machines, in 1978 work by T. B. Sheridan, W. L. Verplank and T. L. Brooks at MIT (NASA record). In 2012 Human Rights Watch set out three terms for weapons that now fit any automation: in the loop, machines that act "only with a human command"; on the loop, machines that act "under the oversight of a human operator who can override" them; out of the loop, machines that act "without any human input or interaction". This page keeps the first two and names the third level the way it shows up with LLMs: agentic.

LevelWho actsThe person's jobExample
In the loopThe machine, only while a person drives itStart it, steer it, hold the switchA lawnmower with a dead-man handle: let go and the motor stops. A chat window: nothing happens until someone types.
On the loopThe machine, on its ownWatch many, step in when one failsA technician watching 1,000 refrigerators sends a repair to the one that goes down.
AgenticAgents running in loops, some watching and directing othersSet the goals, read the reportsOne agent holds a tank's water level; another watches the whole water system and tells the first when to rebalance.
The person's job at three levels of automation: in the loop, on the loop, agentic.Three panels, each with the person as its subject. In the loop: a person holds the handle of a lawnmower. On the loop: a person stands to one side watching a grid of machines, one of them flagged. Agentic: the person stands off at the edge reading a report; one agent watches the whole water system and tells another, which holds a tank's water level, when to rebalance. Arrows show who tells whom: a report arrow runs from the agents to the person, and a short arrow from the person sets goals. Under each panel, the person's job. An illustration.In the loopStart it, steer it, hold the switchOn the loopWatch many, step in when one failsAgenticwatches the wholewater systemwhen to rebalanceholds a tank'swater levelreportsets goalsSet the goals, read the reports

The person's job

  • In the loop: start it, steer it, hold the switch
  • On the loop: watch many, step in when one fails
  • Agentic: set the goals, read the reports
Figure 3. Illustration. Agents running in loops, some watching and directing others; people set goals and read reports.

On the loop, one person watches many machines. Human-robot research calls this fan-out, "the number of robots that a user [can] effectively operate at once", and it has a price: "As fan-out increases, interaction effort also increases" (Olsen and Goodrich, 2003).

At the agentic level, the watching itself moves to machines. In software, a monitor tracks total memory use and stops a build before it crashes the computer, whatever the person asked for. A weather agent flags another system when a storm is coming in. The name for this level, machines monitoring machines, is Island Lab's own framing of the space Human Rights Watch calls out of the loop.

Loops always running: from chat to agents

The levels map onto the path Sean walked with LLMs, and many people walk the same one.

  1. Chat. A person types and the model answers. In the loop: every step waits for a human.
  2. The terminal. A coding tool runs the model beside the files, so it can read, edit and run code while the person approves its steps.
  3. Several terminals at once. Sean ran several sessions side by side with tools like Cursor, moving between them: on the loop.
  4. Agents on loops. An agent is an LLM "using tools based on environmental feedback in a loop" (Anthropic, building effective agents). One checks the weather, one the price of oil, one searches for new research once a day; each compiles what it finds and flags another system when something changes. Agentic.

What plugs agents into tools and data is usually an MCP server. The Model Context Protocol is "an open-source standard for connecting AI applications to external systems", in its makers' words "like a USB-C port for AI applications" (MCP).

Loops take power: every run spends tokens. In return the system keeps working while nobody types, and what the loops gather feeds new work, such as a page built from everything they collected, held to standing rules like "use green only for positive results".

So what: what this changes about work

The evidence so far shows real gains on many tasks, uneven across tasks and people, and the fastest change at the long end, in work an agent does alone.

StudyWhoWhat changedSource
Customer support, 2023Support agents with an AI assistant14% more issues resolved per hour; 34% for novicesBrynjolfsson, Li and Raymond
Writing tasks, 2023444 professionals, half given ChatGPTTime down sharply (0.8 standard deviations), quality up (0.4); the weakest writers gained mostNoy and Zhang
Consulting, 2023758 BCG consultants with GPT-4Inside the frontier: over 25% faster, over 40% better rated; on a task outside it, 23% worseHBS, BCG
Open-source code, 202516 experienced developers19% slower with AI tools, while believing they were 20% fasterMETR, 2025
Open-source code, 202657 developers, newer tools"Some evidence for speedup", on data METR calls "an unreliable signal"METR, 2026

Three things follow. First, newcomers gain most: in support and in writing, the tool narrowed the gap between the least and most experienced. Second, the frontier is jagged: the same tool helps on one task and hurts on the next, and people misjudge which, as the 2025 developers did. At work, then, the output has to be checked.

Third, use is broad and climbing; exposure is a task estimate, not a forecast of lost jobs.

MeasureFigureSource
US adults aged 18 to 64 who used generative AI, August 202554.6%St. Louis Fed
US adults aged 18 to 64 who used it for work, August 202537.4%, up from 33.3% a year earlierSt. Louis Fed
US workers with at least 10% of their tasks exposed to LLMsAbout 80%Eloundou et al.
US workers with at least half their tasks exposed to LLMsAbout 19%Eloundou et al.
Claude.ai use that is computer and math tasks36%Anthropic Economic Index
Claude.ai conversations that hand a whole task over, 2025Rose from 27% to 39%, narrowly passing collaborative use for the first timeAnthropic Economic Index
Business use through the API (software calling the model directly) that is automation77%Anthropic Economic Index

The long end is moving fastest. METR measures the length of task, in human working time, that models finish half the time: it doubled about every 7 months over six years (METR, 2025), and an updated method finds a doubling about every 131 days since 2023 (METR, 2026). Meanwhile the price of reaching a fixed level of capability has fallen between 9x and 900x a year, depending on the level (Epoch AI).

So the question at work has moved: can a person tell when the model did the task right, and how much of the work can be handed over safely?

Now what: from a chatbot to an agentic system

The path from chat to a system that runs on its own takes seven steps. Anthropic's advice holds at every one: "finding the simplest solution possible, and only increasing complexity when needed" (Anthropic, building effective agents).

The steps use Claude Code as the example: a coding assistant that works in the terminal (the text window where commands are typed) on the files in one folder, reading, editing and running them as asked (Claude Code, best practices). The start guide linked at the end of this page walks through installing it.

  1. Use chat on real work and learn its edges. Take tasks from the actual job, compare answers with results already known, and note where the model is strong and where it guesses. The jagged frontier is learned by hand. This step is in the loop.
  1. Write the rules down. Instructions repeated in every chat go into a rules file the tool reads at the start of each session: CLAUDE.md for Claude Code, which its /init command drafts and which should stay "under 200 lines" (Claude Code, memory), or AGENTS.md, an open format "used by over 60k open-source projects" (agents.md). A rules file is "context, not enforced configuration": the model reads it and usually follows it.
  1. Give every task a check. "Claude stops when the work looks done", so it needs "something it can run that comes back pass or fail": a test, a build's exit code, a linter, a script that compares output with a known answer (Claude Code, best practices). With a check in place, the person can step from in the loop to on the loop.
  1. Connect tools and data, one at a time. MCP servers give an agent access to tools, databases and APIs, and the docs say to verify each one first, since "servers that fetch external content" carry prompt injection risk (Claude Code, MCP).
  1. Chain fixed steps before freeing an agent. Most jobs are workflows, fixed steps chained in code: one call feeds the next (prompt chaining), a first call sends the job to the right handler (routing), several calls run at once (parallelization), one model hands out pieces and gathers them (orchestrator-workers), or one model drafts while another grades (evaluator-optimizer) (Anthropic, building effective agents). An open-ended agent suits work whose steps cannot be predicted, at "higher costs, and the potential for compounding errors" (same). Side jobs go to subagents, helper agents each running "in its own context window" with its own tool limits (Claude Code, subagents).
  1. Enforce what must always hold. A hook is a command the harness (the program that runs the model and its tools) runs at set points, so "certain actions always happen rather than relying on the LLM to choose to run them" (Claude Code, hooks). Rules that allow no exceptions become hooks; high-stakes actions keep a human approval (OWASP, LLM01).
  1. Run it unattended, then watch it. claude -p runs one task with no chat window and exits, which is how agents end up in scheduled jobs and shell loops (small scripts that repeat a command) (Claude Code, headless); /schedule runs a cloud task on a timer; and the docs' own caution is to "watch the first few runs of anything new before trusting it unattended" (best practices). This is the agentic level: loops running, a person reading the reports.

One risk grows with every step. Prompt injection, text in a web page or file that steers the model, is first on OWASP's list of risks for LLM applications, and retrieval and fine-tuning "do not fully mitigate prompt injection vulnerabilities" (OWASP, LLM01). Simon Willison names the dangerous mix: access to private data, exposure to untrusted content and "the ability to externally communicate"; an agent with all three can be tricked into leaking, and "the only way to stay safe there is to avoid that lethal trifecta combination entirely" (Willison). Anthropic's agent framework opens with "keeping humans in control while enabling agent autonomy", and Claude Code "has read-only permissions by default" (Anthropic, agent framework).

Other terms a newcomer meets

The cards in the sections above cover the main ideas. These ten come up next, each with a plain line, a picture and its source.

TermPlain linePictureSource
PromptThe text sent to the model for one turn, on top of the conversation so farThe question slip handed across the counterAnthropic, context windows
ParametersThe learned numbers inside a model; their count measures its size (GPT-3 has 175 billion)The knobs on a mixing desk, set during trainingBrown and colleagues, GPT-3
Training (pretraining)Teaching a model, on a large body of text, to predict the next wordYears of reading before the first jobAnthropic glossary
Fine-tuningFurther training on extra data so the model picks up its patternsA trade apprenticeship after schoolAnthropic glossary
RLHFTraining a model toward the answers people ranked higherA coach marking which answers were betterAnthropic glossary
RAGFetching relevant documents and placing them in the context so the answer rests on themAn open-book examAnthropic glossary
TemperatureA setting for randomness: higher is more varied, lower is the most likely wordingThe difference between a jazz solo and the written scoreAnthropic glossary
Tool useThe model calling outside functions, such as search or a calculatorReaching for a calculator instead of guessingMCP
Context rotAccuracy and recall falling as the context growsA desk so crowded the key page gets lostAnthropic, context windows
Reasoning (thinking)Working through a problem before answering, at a set effortScratch paper before the final answerAnthropic, effort

Sources

Every source was opened on 2026-11-01.

  1. McCarthy, Minsky, Rochester and Shannon, A Proposal for the Dartmouth Summer Research Project on Artificial Intelligence, 1955.
  2. Anthropic, Glossary.
  3. Bergstrom and West, Autocomplete in overdrive.
  4. Bender, Gebru, McMillan-Major and Shmitchell, On the Dangers of Stochastic Parrots, FAccT 2021.
  5. Brown and colleagues, Language Models are Few-Shot Learners, 2020.
  6. Mikolov, Chen, Corrado and Dean, Efficient Estimation of Word Representations in Vector Space, 2013.
  7. OpenAI, Embeddings guide.
  8. Vaswani et al., "Attention Is All You Need", 2017.
  9. Anthropic, Effective context engineering for AI agents.
  10. Anthropic, Context windows.
  11. Dao et al., FlashAttention, 2022.
  12. Hugging Face, KV cache.
  13. Kalai, Nachum, Vempala and Zhang, Why Language Models Hallucinate, 2025.
  14. OpenAI, Key concepts.
  15. Anthropic, Models overview.
  16. Anthropic, Effort.
  17. OpenAI, Reasoning models.
  18. Google, Gemini API models.
  19. xAI, Models.
  20. Hugging Face, Models hub.
  21. Sheridan, Verplank and Brooks, Human/computer control of undersea teleoperators, 1978.
  22. Human Rights Watch, Losing Humanity: The Case against Killer Robots, 2012.
  23. Olsen and Goodrich, Metrics for Evaluating Human-Robot Interactions, PERMIS 2003.
  24. Schluntz and Zhang, Anthropic, Building effective agents, 2024.
  25. Model Context Protocol, introduction.

For So what and Now what (all opened 2026-11-01):

  1. Brynjolfsson, Li and Raymond, Generative AI at Work, NBER Working Paper 31161, 2023.
  2. Noy and Zhang, writing experiment with ChatGPT, MIT working paper, 2023.
  3. HBS Digital Data Design Institute, Navigating the Jagged Technological Frontier, 2023.
  4. BCG, value created and destroyed with generative AI, 2023.
  5. METR, early-2025 study of experienced open-source developers, 2025.
  6. METR, uplift update, 2026-02-24.
  7. Federal Reserve Bank of St. Louis, generative AI adoption, November 2025.
  8. Eloundou, Manning, Mishkin and Rock, GPTs are GPTs, 2023.
  9. Anthropic, Economic Index report, September 2025.
  10. METR, Measuring AI Ability to Complete Long Tasks, 2025.
  11. METR, Time Horizon 1.1, 2026-01-29.
  12. Epoch AI, LLM inference price trends, 2025.
  13. Claude Code docs: memory, best practices, MCP, subagents, hooks, headless.
  14. AGENTS.md.
  15. OWASP, LLM01:2025 Prompt Injection.
  16. Simon Willison, the lethal trifecta, 2025.
  17. Anthropic, agent framework, 2025.