Skip to content
Max Narditdata & ai systems
← Articles
9 mindev

Agentic AI examples that are documented, not marketed: what the model decides in five real systems, and where the check sits

Five agent designs whose builders published how they work, two of them with the failures. Read the same way, none documents a built-in check at run time on whether the result is right. Budgets end runs, sandboxes fence them, and correctness is left to a person, a check you add yourself, or nobody.

Contents

Anthropic’s write-up of its multi-agent research system lists, among the failures of its early versions, this one:

spawning 50 subagents for simple queries

That line is worth more than most lists of agentic AI examples, because it says what the model was free to do and what happened when it did. A typical list names a support agent, an HR agent, a sales agent, a paragraph each, and many come from companies selling agent products. A use case is not an example. It names a job. It doesn’t show a design.

Below are five designs documented well enough to read closely. Three of them are Anthropic’s, which says something about who publishes this material. Read the same way, they share a gap: none documents an automated check, built into the run, on whether the result is right. Budgets and timeouts end runs, sandboxes and declared write types fence them, and correctness is left to a person, to a check you add yourself, or to nobody.

What makes an agentic AI example worth reading?

An example is worth reading when it answers five questions: what the model decides, what is fixed in code around it, what ends a run, what checks the result, and what went wrong when it ran. Only the builder can answer most of them, and none of the five below answers all five. Where a builder is silent, I say so, because the silence is part of the reading.

The five questions are mine. Three follow from Anthropic’s definition of an agent, systems where models “dynamically direct their own processes and tool usage”: if the model directs the process, what matters is what sits outside its direction. The other two, what the model decides and what went wrong, are what you need in order to believe the answers. I’ve argued the run-time check in who owns the loop in agentic workflows; here the point is to see how real systems answer it.

Anthropic’s multi-agent research system: who decides how many subagents and when to stop?

The lead model decides both. It reads the query, plans, spawns subagents and synthesizes what they return, and in Anthropic’s description it is the one that “decides whether more research is needed”. If so, it spawns more subagents or changes its strategy.

What is fixed is the shape: an orchestrator, parallel workers, and a citation step after research ends that matches the report’s claims to sources. The effort guidance lives in the prompt, not in code: simple fact-finding needs one agent with 3 to 10 tool calls, a direct comparison might need 2 to 4 subagents, complex research might use more than 10. Within that guidance, the stop is the lead’s judgment that it has enough.

The write-up lists what that freedom produced in early versions: the 50 subagents above, agents scouring the web endlessly for sources that didn’t exist, and agents continuing after they already had enough. The cost side is stated too: multi-agent runs used about 15 times the tokens of a chat.

The check is where this example is easy to misread. Anthropic scored outputs with an LLM judge and used human testers, and the testers caught a bias: early agents kept choosing SEO content farms over academic PDFs and personal blogs. That is evaluation during development; the fix went into the prompts. At run time the write-up describes tracing, retries, checkpoints and the citation step, which attaches sources to claims but is not described as judging whether the claims are right. The person who asked still reads the answer. Nothing in the write-up sits between the lead deciding it is done and the answer going out.

Claude Code’s agent loop: what ends a Claude Code task?

The overview doesn’t name a stop condition. It describes a loop of gathering context, taking action and verifying results, and says who drives it:

Claude decides what each step requires based on what it learned from
the previous step, chaining dozens of actions together and
course-correcting along the way.

The only description of the end is in the diagram: “repeating until task complete”. My reading is that completion is the model’s call; the page doesn’t say so in a sentence. Verification is part of the loop as described (running tests to check its work), but nothing on the page makes it mandatory.

What is fixed sits around the actions rather than the plan. Permission modes decide what runs without asking: manual asks before edits and shell commands, accept-edits lets file changes and common filesystem commands through, plan mode explores and proposes without editing source files, and auto mode has a classifier review most actions and block the risky ones. Checkpoints let you rewind file edits, with a stated limit:

Actions that affect remote systems (databases, APIs, deployments)
can't be checkpointed.

And the human is the interrupt: Esc stops the run, and a typed correction is read before the next step. In this example the person at the keyboard is the only stop the model doesn’t control and the only outside check, which works exactly as long as that person is watching. Claude Code’s wider docs offer ways to put a check in the loop without a person, such as hooks that run your own commands, but you have to add them. Run it unattended without one and the check shrinks to whatever tests the model chose to run.

GitHub Agentic Workflows: what can a gh-aw agent write on its own?

In the default design, nothing directly. In GitHub Agentic Workflows (gh-aw) the agent reasons inside a GitHub Actions run with read-only permissions, and its writes go out as requests:

Safe outputs separate action requests from execution

The agent asks for an issue, a comment or a pull request in a structured form; a separate job with its own permissions applies only the kinds of write the workflow declared, under whatever policy is configured. Direct write permissions exist as an opt-in, but by default the agent never holds the token that changes the repository. The run is bounded by the defaults I covered in the essay on gh-aw and the loop: a 20-minute fallback timeout on the agentic step, an iteration cap of 500 on supported engines, and a budget of 1,000 AI credits for the main agent.

Between the agent and the write sits a threat-detection job that scans the output for prompt injection. It runs in warn mode by default. A warned output that is reviewable, such as a comment or an issue, is published with the warning; a proposed branch push becomes a pull request for review; operations that can’t be reviewed afterwards, such as merging a pull request or closing an issue, are withheld. Blocking every safe output on a warning is opt-in, and so is a human approval gate through protected environments with required reviewers. The docs say what the scan is:

detection is defense in depth, not proof that arbitrary code or
artifacts are safe.

So the default design separates deciding from writing and bounds the run. Whether a proposed change is right is checked where a human or the repository’s rules review it, which for a pull request means your branch protection, and for a comment means nobody.

OpenAI Codex cloud tasks: where does a Codex cloud change land?

On your side of a commit, by default. Each Codex cloud task has its own VM workspace, where Codex can work with the repositories available to it, edit files, run commands and check its work. The guide’s advice for landing the result:

Review changes and test results before committing or opening a pull
request.

What is fixed is the environment: its install script, its resources and how much public internet it may reach, from none through a domain allowlist to all. The cloud environments guide states no time or turn cap for the agent’s work inside a task, so the table below says “not stated” rather than guessing.

The check is a position, not a mechanism: the result sits in the agent’s workspace until someone commits it, with the reminder that saved state “doesn’t replace source control.” The guide recommends review; it doesn’t enforce who reviews, and OpenAI documents integrations, a GitLab project environment among them, where Codex can push to a branch itself. The boundary is in the same place as in gh-aw, between the agent’s workspace and the shared repository. The difference is what stands there: in gh-aw a separate job that applies only declared writes, in Codex a recommendation to the user.

Anthropic’s Project Vend: what happens when an agent runs a shop and nothing documented checks its decisions?

It loses money in instructive ways. In Project Vend, Anthropic and Andon Labs had a Claude model run a small office shop for about a month. The model, called Claudius, decided what to stock, how to price it and how to answer customers on Slack, and could change prices at the checkout. People at Andon Labs restocked the shelves. Employees could and did question its prices and discounts, but nothing documented required Claudius to listen.

The failures are the documented part. Claudius priced items below cost, was talked into handing out discount codes, told customers to pay into an account it had hallucinated, and failed to take up a $100 offer for a six-pack that costs about $15. Anthropic’s verdict:

If Anthropic were deciding today to expand into the in-office vending
market, we would not hire Claudius.

The second phase, published in December 2025, tests the obvious fixes. Anthropic moved to newer models, added a CRM, better inventory data and payment links for customers, revised procedures, required a human check before purchases, and gave Claudius a manager: a second agent acting as CEO, which approved or refused financial requests. Weeks with negative margins were largely eliminated. Of the turnaround, the authors write that it “may have been in spite of the CEO, rather than because of it”, and the agents “still needed a great deal of human support”. When the agents were ready to go ahead with a proposed onion futures deal, a staffer stepped in to point out that a 1958 US law bans them.

A second model as supervisor is the obvious next move. By Anthropic’s account, the CEO ran on the same underlying model and shared Claudius’s blind spots, and the team would sometimes wake up to find the two agents had been chatting all night. One shop is one data point, but it fits what I argued in the earlier essay: a judge counts as an outside check only to the degree it fails differently from the worker. In the onion episode the catch came from a person who knew something neither model did.

Agentic AI examples side by side: where does the check sit in each?

Read across the five, what the model is free to do varies less than the perimeter around it.

SystemWhat ends a runOutside check at run timeFailures the builder published
Anthropic research systemthe lead’s judgment, guided by effort rules in the promptcitation matching; no documented check of correctness; the reader, after deliveryyes: over-spawning, endless search, content-farm bias
Claude CodeClaude finishes its response; the user can interruptthe person watching; tests or hooks where configurednot in the overview
GitHub Agentic Workflowstimeout, iteration cap, credit budgetdeclared write types; injection scan (warns by default); review where the repo requires itlimitations, not incidents
OpenAI Codex cloudnot stateduser review recommended before commit or PRnot in the guide
Project Vendnot stated per run; researchers set the experiment’s lengthphase one: none required; phase two: human check before purchases, CEO agent on financial requests, staff ad hocyes, in both phases

Two of the five, gh-aw and Codex, put a hard boundary in front of shared state: the agent works inside its sandbox, and nothing reaches the repository without a separate step. Only one, gh-aw, documents limits that end a run without the model’s consent, and all three are budgets: time, iterations, credits. They tell you the run stopped, not that it worked, which is an exit that is not a verdict again. And in no row is there a built-in automated check on whether the output is right. Where the check exists, it is a person, or a test or hook the user wired in.

Agentic AI examples: the question to put to the next one

The agent-or-workflow test doesn’t separate these five. Anthropic draws that line at whether code prescribes the path or the model directs its own process and tool use, and by that line all five are agents, even where, as in gh-aw, the agent runs inside a coded outer workflow. What separates them is where a person stands. In gh-aw and Codex the person stands at the boundary to the shared repository. In Claude Code the person stands next to the loop, for as long as they keep watching. In the research system, and in the first phase of Project Vend, the documentation puts nobody there.

So ask one thing of the next agentic AI example a list offers you: at run time, what looks at the result that isn’t the model, and is it a gate on this run or an evaluation somebody ran before launch?

01 / Discussion

No comment section here — all discussions happen on X.

Max Nardit@mnardit

02 / More articles