Frontier Foundry

AI Agents

Agent City · Agents & Harnesses

An LLM in a loop that picks actions (tool calls) until a goal is met.

Also called: ai agent, llm agent, agentic, autonomous agent, agent loop, agentic workflow. In the glossary.

AI Agents is cooling this week (×0.36 against the eight weeks before). What is moving.

How it works, as a machineThe Field Station · runs

Follow one run from a goal a person typed to a result checked against the record, in a field station where a goal is worked step by step, with a records cabin.

  1. Pin the goal and proof
  2. Pick the next step
  3. Call the tool
  4. Read the observation
  5. Match the record
Play AI Agents

AI Agents in plain words

An AI agent is a model run in a loop. It looks at the goal and at what has happened so far, picks an action such as calling a tool, sees the result and chooses again, until the goal is met. That loop is what lets a model do work in the world and not only answer a question.

An analogy

Someone cooking without a recipe: taste, add salt, taste again. Each step depends on what the last one did to the pot, and the cooking ends when the soup is right, not after a fixed number of stirs. A cook who never tastes is only following a script.

How AI Agents connects

9 typed relations in the knowledge graph

Builds on

  • Evals: The record comparator is a small eval run on every run: code checks, a judge, and a person for the exceptions.
  • Tool Use: Each step is a tool call: the model states the intent, the harness runs it, and the result goes back into the context.

Built on by

  • AI & Jobs: The document agent pod is an agent doing a whole task start to finish.

Made possible by

  • Agent Harness: The loop, tools, memory and limits around a model are what make it an agent.

Its kinds

  • Coding Agents: An agent whose tools are a repository, a shell and a test runner.
  • Deep Research Agents: An agent whose job is to search, read and write a report with its sources.

Limited by

  • Long Context: An agent can only act on what still fits in its window.

Threatened by

  • Prompt Injection: Anything an agent reads can carry an order, and an agent that obeys it acts for a stranger.

Measured by

  • Evals: An agent's worth is known only by running it on tasks and scoring what it did.

Often in the same sources

Agent-to-Agent Protocols & Payments, Token Economics & Pricing, Model Context Protocol, Coding Benchmarks, Agent Harness, Agent Skills

See AI Agents in the knowledge graph

AI Agents in the news

from the daily digests

Who is behind AI Agents

people, labs, products and models

People

  • swyx
  • Andrew Ng (popularized): Agentic workflows and the 'loops' model of AI-native product development.

Named in its facts

What the sources say

3 parts · 12 sources · updated 2026-11-27

An AI agent is a model run in a loop: it reads the goal and what has happened so far, picks an action, sees the result and picks again. Every lap costs money and carries a small chance of failure, and value arrives only at the end, so long runs fail often even when each step is nearly always right. The sources close the gap by moving fixed stretches out of the model and by confirming the finished artifact against a record, and they warn that retrying a failed run can repeat its side effects.

The trailhead hut: a goal and the next leg

An ascent starts as a goal with a stated proof of done. The model reads the goal and everything that has happened so far and proposes the most likely next move. On its own the model has no loop: the loop is what the place around it adds.

  1. The summit goal board holds the goal and the proof that it is done: a receipt, an order id, a record.
  2. At the next-leg table the model reads the goal and the notes so far and proposes the most likely next move.
~70% vs ~20%
Share of planning decisions (what to do) vs execution decisions (how to do it) made by the person in a typical Claude Code session; Anthropic, ~400,000 sessions, Oct 2025 to Apr 2026 Anthropic
~10 actions
Actions Claude takes on average for each prompt a user sends in Claude Code (sometimes over 100); about four prompt turns in a typical session Anthropic
5 vs 12 actions
Claude actions per prompt in typical novice vs expert sessions (about 600 vs 3,200 words of output); the gap holds within every kind of work Anthropic
  • Success for a run that does a job on the web is a concrete artifact it leaves behind: a confirmation email for a paid bill, an order id or receipt for an order, a new record that can be queried. Derek Meegan
  • Before building an agent the team agreed with the customer what a win looks like: what job it does, what a human signs off at the end, how long it takes, how much it costs, how accurate it must be, who judges it, and what it must never do alone. Milind Sunil Shah
  • A model's output can be seen as a distribution over possible actions: it receives the goal, the page state and the steps taken so far, and proposes the most likely action, which is turned into a structured tool call and run deterministically. Derek Meegan

When it breaksThe cheaper deal further down the page. A price-gathering agent stopped reading at the section it was linked to and missed a lower price on the same page, so a cell looked finished and was wrong. The team added a rule not to stop at the linked section but to read the whole page. Milind Sunil Shah

Open questionWhat is an agent: a loop around a model, or a graph of steps someone wrote?

  • An agent is a function from an observation to an action: the world answers, the answer goes back in, and the loop repeats. Hugging Face
  • An agent is a traversable graph, and the builder spells out the workflows and trajectories in advance, in contrast to frameworks where agents decide on their own how to reach the goal. Mislav Ivanda

The ridge path: act, then look

The chosen move runs as a plain tool call on a site. The answer is written into the context, and the model picks again. Each lap costs money and carries a small chance of going wrong, and the value arrives only at the end.

  1. The ridge ladder carries out the chosen move as a plain tool call, and the world answers.
  2. The notebook lectern appends the answer to the context, so the next pick reads everything so far.
99% per step, 100 steps: 36%
A thought experiment from a browser-agent engineer: 100 steps that each succeed 99% of the time, with no partial credit, end to end Derek Meegan
95% per step, 20 steps: 36%
Average success of a 20-step task in which each step is right 95% of the time, as an editor of a newsletter put it Dan McAteer
100 steps, 1 hour
The step and time cap per task in a published coding-agent benchmark run Hugging Face
41% to 97%, $2 to $1
Accuracy and cost per source of a price-gathering agent from its first to its eleventh version, reported by the team that built it Milind Sunil Shah
a third as many images, over 50% cheaper
Image reads and cost after a rule to read the page text first and stop past a zoom level, reported by the team that built the agent Milind Sunil Shah
  • The model states the intent to call a tool in a structured form; the harness runs the call, the result is fed back into the context and the loop continues. Hugging Face
  • The inputs of agent runs grow as the task goes on, because every observation is appended back into the context. Byung-Gon (Gon) Chun
  • A long agent task can run tens or hundreds of inference steps over minutes or hours, with tool work between the model calls; what matters to the user is when the task is done, not the latency of one call. Byung-Gon (Gon) Chun

When it breaksThe agent that kept zooming. On a promotions page whose prices sat inside 26 images, an agent found the right card at minute thirteen and kept zooming in at four, five and six times to double-check. Engineers stopped it by hand at minute fifteen. Milind Sunil Shah

The summit register: done is a record, not a report

An agent that checks its own work in its own loop will say it worked. The run is done when something outside the loop confirms the artifact it left behind. Sending a failed run back to try again lifts the success rate, and has a price.

  1. The register desk matches what the run left behind against the record; a mismatch goes round again.
50% per run, 94% per transaction
Chance of success for a run at 50%, and for a transaction when the agent may retry up to four times, in an example from a browser-agent engineer Derek Meegan
54%
Share of trials with an injected failure in which a naive retry produced duplicate effects, in a benchmark of coding-agent recovery by its authors Tanmay Sah
84% done, 47% recovered
Success under normal runs and, of those that succeeded, the share that recovered when a failure was injected, across 2,880 paired trials, reported by the benchmark authors Tanmay Sah
  • Success should be measured per transaction, with retries allowed, and not per run, because the customer does not care how many tries it took, only that the job was done. Derek Meegan
  • An agent can be given a check tool that reads the downloaded document, extracts its entities and compares them with a system of record, so it knows for certain whether it did its job. Derek Meegan
  • An agent that acts and checks its own output in the same loop has no second opinion; the fix is a validation layer of three agents in sequence, one acts, one checks, one approves or rejects. Elizabeth Fuentes Leone

When it breaksSuccess reported on a failed step. An agent called a tool, the tool returned an error, and the agent did not surface it. It wrote a confident success reply, so the user and the builder both thought it had worked. Acting and checking in one loop gave it no second opinion. Elizabeth Fuentes Leone

Open questionWho should hold the loop: the person, or the model with rules?

  • Do not give the model the loop directly: give the person the loop and let the model speed them up, because handing autonomy to the model was still premature. Dan McAteer
  • Hand the model the loop, and replace approval of every change with permission rules, once the model is reliable enough to succeed with autonomy. Dan McAteer

Sources

12 in all

More in Agents & Harnesses

Agent City: the whole area