Braj Kishore
JourneyVaultML FoundationsAI PM GuideAgenticNewsWork With MeMentorshipPulseNow
Say hi

Hiring · Building · Investing

Have a system — or a team —that needs to scale?

info@avyxon.ai

Usually replies within a day · track record here

JourneyVaultML FoundationsAI PM GuideAgenticNewsWork With MeMentorshipPulseNow
LinkedInXYouTubeSubstackInstagramThreadsFacebookDiscordGitHubTopmate
© 2026 Braj Kishore · Bengaluru, INThink Big · Start Small · Scale Fast
Agentic engineering
Lesson 03Foundations

What an agent actually is

The definition takes one sentence. The hard part is the decision that comes straight after it. For most tasks the right answer is to build something cheaper than an agent — and that is the part the field is worst at saying out loud.

Someone on the team says “let’s make it an agent”. Ask five people what that would mean in code and you get five answers. Simon Willison spent years arguing the word was too vague to be worth using. Then, in September 2025, he published the one sentence he was willing to accept: an LLM agent runs tools in a loop to achieve a goal.

That is the whole definition. Memory, planning, multi-agent crews, harnesses — all of that is machinery bolted onto the loop. None of it changes what the loop is.

The distinction that actually decides budgets is Anthropic’s, published in December 2024 and now the most quoted framing in the field. Workflows are systems where models and tools are orchestrated through predefined code paths. Agents are systems where models dynamically direct their own processes and tool usage.

So there is one axis, and it is not how clever the model is. It is who owns the control flow: you, or the model.

Interactive · six properties, one strip

What each fact about the task can do to the verdict

Six properties across the top, read left to right, first match wins. The upper lane is the answer that fires and where it sends you; the lower one is the answer that fires nothing and passes the question along. Read the upper lane across — that is the whole argument. Select any column for the detail.

The answer that fires — and where it sends you
Yes
Not an LLM problem
No
Not yet — viability first
Yes
A workflow
or one enriched call, where the outcome will not pay for a pipeline
No
A workflow
No
A workflow
No
Agent proposes, human commits
The answer that fires nothing
No — it needs judgement over unstructured input.
next question
Yes — I have run them and read every output.
next question
No — the steps depend on what it finds.
next question
Yes — two near-identical requests take different paths.
next question
Yes — and I can name the value of one completed task.
next question
Yes — tests, review, rollback, or it only drafts.
next question

Three of the six columns can only send you to a workflow, two take the task out of the loop entirely, and one puts a human on the end of it. None of them promotes a task to an agent. The loop is what is left when nothing else fires.

The same document that gave the field its vocabulary also says the part nobody quotes. Find the simplest solution possible, and increase complexity only when it is needed — which might mean not building an agentic system at all. That line sits in the canonical reference. Almost every talk that cites the document skips it.

Gate 0 — four questions before you build anything

Ask these four before you write any orchestration. A “no” on any one of them means drop a tier: down to a coded workflow with model calls inside it, or down to a single enriched call.

Notice that none of the four asks about the model. All four ask about the task.

Complexity. Is the task genuinely multi-step and hard to specify in advance? If you can draw the flowchart before the model runs, you have just drawn a workflow. Build that.

Value. Anthropic reports agents using roughly four times the tokens of a chat interaction, and multi-agent systems roughly fifteen times. That is the price of the trade, and something has to be worth paying it.

Viability. Can the model do this task type at all? Run twenty real cases through the bare model and read them by hand, before you write a line of orchestration.

Cost of error. Can mistakes be caught and undone? Where they cannot — money moved, data deleted, permissions changed — that action stays behind a gate permanently, whatever the measured reliability turns out to be.

How we built our multi-agent research systemAnthropicBuilding Customer Support AI Agents at 100M-User ScaleNubank · arXiv 2606.08867
Interactive · Gate 0, executable

Does this want a workflow, an agent, or neither?

Six facts about your task. No scoring and no weights — an ordered ladder of rules, first match wins, with the whole ladder shown so you can disagree with a specific line rather than with a number.

  • A deterministic rule could compute the right answer.

  • The bare model already succeeds on twenty real cases, with no harness.

  • I can list the steps before the model runs.

  • Similar inputs genuinely need different tool sequences.

  • The outcome justifies roughly 4× the tokens of a single call, plus the latency.

  • Every action it takes can be caught and undone.

VerdictA workflowrule 4 fired

Model calls orchestrated through code paths you wrote. You get a stack trace, a fixed cost per run, a latency you can quote, and unit tests on each step. This is the answer for the large majority of what gets pitched internally as an agent, and saying so out loud is a stronger signal than reaching for the loop.

The ladder
  1. 1A rule could compute it→ Not an LLM problem
  2. 2The bare model has not done it yet→ Not yet — viability first
  3. 3Steps are listable and the outcome is cheap→ One enriched LLM call
  4. Steps are listable→ A workflow
  5. 5The outcome does not pay for the loop→ A workflow
  6. 6Runs do not actually diverge→ A workflow
  7. 7Actions cannot be undone→ An agent that proposes, a human that commits
  8. 8Nothing above fired→ An agent loop
All 64 ways to answer
  • Not an LLM problem32/64
  • Not yet — viability first16/64
  • One enriched LLM call4/64
  • A workflow10/64
  • An agent that proposes, a human that commits1/64
  • An agent loop1/64

Exactly one of the sixty-four combinations returns an agent loop, and one more returns a gated agent. That is not a rhetorical trick — it is what these six questions do when you answer them honestly. If you think the distribution is wrong, argue with a numbered rule.

The ladder in that component is mine, not anyone’s published framework. It encodes Gate 0 plus the ordering I would defend in a design review: viability before value, and reversibility last, because reversibility never promotes a task — it only demotes one. If you disagree with a specific rule, good. That argument is the one worth having before the project starts, not after.

The building block underneath every pattern

Before any orchestration there is the augmented LLM: a model with three additions. Retrieval, so it can fetch what it does not know. Tools, so it can act. Memory, so it can carry state. The model writes its own queries, picks its own tools, and decides what is worth keeping. Every pattern in the next lesson is built out of this one block.

The lineage matters because it tells you what is already settled. ReAct, in October 2022, established that interleaving reasoning with actions lets a plan be revised as observations arrive. Toolformer, four months later, showed a model could learn for itself when an external call beat its own weights.

Both ideas now live in the post-training of frontier models rather than in your prompt. That is why the augmented LLM is a starting point and not a project. Get this layer right and a surprising number of “agent” problems dissolve. Get it wrong and no amount of orchestration above it will help.

ReAct: Synergizing Reasoning and Acting in Language ModelsarXiv 2210.03629Toolformer: Language Models Can Teach Themselves to Use ToolsarXiv 2302.04761

Why the multi-agent reflex reads as a downgrade

Opening a design discussion with “I would build a crew of specialised agents” is the most reliable negative signal on this topic. It also contradicts the platform vendors’ own written advice.

Google’s architecture guidance comes from the company with the most to gain if you build the complicated thing. It still says that if you are early in agent development, start with a single agent and refine its logic, prompt and tool definitions first.

Watch their vocabulary too. They reserve “specialised” for the multi-agent step. Borrowing the word for a single agent marks you as someone who read the summary rather than the page.

Underneath all this sits a genuine, unresolved disagreement, and knowing both sides is worth more than picking one. Anthropic reports an orchestrator-worker research system beating single-agent Opus 4 by 90.2% on their internal research evals. The same piece says the architecture is a poor fit anywhere agents must share context or depend on each other, which covers most coding work.

Cognition published the opposite case in June 2025: share full traces rather than messages, because actions carry implicit decisions and conflicting decisions carry bad results. Their April 2026 follow-up narrowed that position rather than retracting it. They now deploy multi-agent setups, but only ones where the writes stay single-threaded.

Here is the synthesis I would defend out loud. It is my reading of both camps rather than a quote from either: fan out over reads, stay single-threaded over writes. Extra agents may contribute intelligence; only one should contribute actions. Parallel sub-agents work for read-heavy search with an objective aggregation step. They fail on interdependent writes, because each branch commits to assumptions the assembler was never told about.

What to actually do about this, at your size

The controls here are decisions rather than code. Four of the five cost almost nothing. The expensive one is the one teams reach for first.

Interactive · calibrate to your stage

What to actually do about this, at your size

Nearly all guidance on this topic is written for one company size and then read by everyone. Pick yours — the list re-sorts, and what you should deliberately not build drops to the bottom.

  • Twenty real cases through the bare modelNon-negotiable

    Before any harness: run twenty genuine inputs through the model with no orchestration, and read every output yourself.

    At this stage · Now with the twenty cases drawn from real traffic rather than from imagination, because the ones you invent are systematically easier than the ones users send.

  • Gate 0 as a written artefactDo it

    One page: complexity, value, viability, cost of error. Four answers, a date, and a name on it.

    At this stage · Now it prevents the second and third team from re-deriving the same answer badly. One page per agent project, in the repo, not in a deck.

  • Workflow-first as a stated defaultDo it

    A written policy that the burden of proof sits on the agent, not on the workflow.

    At this stage · Write it down at the point the first engineer joins who did not hear you say it. That is usually somewhere around the twentieth hire.

  • Cost per completed taskDo it

    Not cost per request, and not cost per token. Cost per task that actually finished correctly.

    At this stage · Instrument it now, because this is the stage where the gap between cost-per-request and cost-per-completed-task becomes the whole story — retries and abandoned runs are invisible in the first number.

  • A multi-agent architectureSkip it

    Splitting the work across several coordinating agents rather than one model with good tools.

    At this stage · Still skip. The published price is roughly 15× the tokens of a chat interaction against 4× for a single agent, and you do not yet have the eval infrastructure to tell whether you got anything for it.

1 of 5 deliberately skipped at this stage. Knowing which controls you are choosing not to build, and being able to say why, is a stronger signal than having built all of them.

The case that keeps being told wrong

Klarna is the most cited AI customer-service deployment in the world, and one of the most badly summarised. Both halves are on the record, and both are worth knowing precisely. The interesting failure here is not in the technology.

🇸🇪 Sweden

Klarna — the metric that made the decision was the wrong metric

2.3m
chats, month one (company-reported)
~700
full-time agents, claimed equivalent
14 months
from launch to public reversal

The February 2024 release is precise about what it measured: 2.3 million conversations in the first month, two-thirds of Klarna’s customer service chats, “the equivalent work of 700 full-time agents”, resolution in under two minutes against eleven, and an estimated $40m profit improvement for 2024. Every one of those figures is company-reported. Then, on 8 May 2025, the chief executive told Bloomberg that “as cost unfortunately seems to have been a too predominant evaluation factor when organizing this, what you end up having is lower quality”. Klarna began recruiting people back.

The engineering lesson is about the headline number, not about the model. Share-of-chats-handled is a containment metric. Containment is trivially maximised by a system that declines to escalate: the worse it is at recognising its own limits, the better it scores. Nothing in that figure tells you whether the customer’s problem was solved. If you take one operational habit from this lesson, take this one — the number you optimise has to be the number that goes down when the thing gets worse. Cost per completed task does that. Containment does not, which is exactly why it is the one everybody reports.

Klarna AI assistant handles two-thirds of customer service chats in its first monthKlarna · PR NewswireKlarna Rethinks AI Cost-Cutting Plan With Call for Real PeopleBloomberg

What to remember

  1. 1
    The axis is who owns the control flow

    Workflows run models through code paths you wrote. Agents let the model direct its own process. Everything expensive about agents follows from that one handover: unbounded cost, unbounded latency, and debugging from a transcript.

  2. 2
    If you can draw the flowchart, you have drawn a workflow

    So build it. It is cheaper, it is unit-testable, it fails with a stack trace, and you can quote its latency to a customer. Make the team argue their way up to an agent, not down to a workflow.

  3. 3
    Viability before architecture

    Twenty real cases through the bare model, read by hand, before any harness. A harness amplifies a capability; it cannot create one. Finding that out after a quarter of orchestration work is the most common expensive mistake in this field.

  4. 4
    Fan out over reads, single-threaded over writes

    Extra agents may contribute intelligence; only one should contribute actions. Reaching for a crew of specialised agents before you have exhausted one model with good tools reads as poor capital allocation, not as sophistication.

Sources

Every source in this lesson

Primary sources wherever one exists. Where a claim is contested or vendor-reported, the lesson says so at the point it is made.

Paper
  • Building Customer Support AI Agents at 100M-User ScaleNubank · arXiv 2606.08867

    Gupta et al., June 2026. Five production agents at Nubank. Cited here for the viability discipline rather than the architecture: they publish the gap to expert human agents on transactional NPS in every case, from 1.1 to 23.6 percentage points. A team that measures that gap is a team that can decide whether an agent is worth it.

  • ReAct: Synergizing Reasoning and Acting in Language ModelsarXiv 2210.03629

    Yao et al., first posted 6 October 2022. Interleaving a reasoning trace with actions so the plan can be revised mid-run — the shape the augmented LLM still has, even though the text scaffold it proposed has been replaced by native tool calling.

  • Toolformer: Language Models Can Teach Themselves to Use ToolsarXiv 2302.04761

    Schick et al., 9 February 2023. The other root: a model deciding for itself when an external call beats its own weights. Frontier models are now post-trained for this directly, which is why the augmented LLM is a starting point rather than a project.

Read
  • I think “agent” may finally have a widely enough agreed upon definitionSimon Willison

    18 September 2025. The definition that stabilised the vocabulary: “An LLM agent runs tools in a loop to achieve a goal.” Willison had spent years arguing the word was too vague to use; the post is him changing his mind, which is why it is worth reading rather than just quoting.

  • Building Effective AI AgentsAnthropic

    Erik Schluntz and Barry Zhang, 19 December 2024. Workflows orchestrate LLMs and tools “through predefined code paths”; agents are systems where LLMs “dynamically direct their own processes and tool usage”. It also says the part everyone skips: find the simplest solution possible, and that may mean not building an agentic system at all.

  • How we built our multi-agent research systemAnthropic

    13 June 2025. The source of the numbers everyone quotes: agents use about 4× the tokens of a chat interaction, multi-agent systems about 15×. Also the honest half — their orchestrator-worker system beat single-agent Opus 4 by 90.2% on internal research evals, and they state it is a poor fit where agents must share context or depend on each other.

  • Don’t Build Multi-AgentsCognition

    Walden Yan, June 2025. Two principles: share full agent traces rather than individual messages, and “actions carry implicit decisions, and conflicting decisions carry bad results”. The Flappy Bird example — one subagent building a Mario background for another subagent’s bird — is the clearest illustration of why parallel writes fail.

  • Multi-Agents: What’s Actually WorkingCognition

    Walden Yan, 22 April 2026. The follow-up narrows the earlier position rather than retracting it: Cognition now deploys multi-agent setups, but only ones “where multiple agents contribute intelligence to a task while writes stay single-threaded”. The unstructured swarm is still called a distraction.

  • Klarna AI assistant handles two-thirds of customer service chats in its first monthKlarna · PR Newswire

    27 February 2024, issued by Klarna Bank AB. 2.3m conversations in month one, two-thirds of chats, “the equivalent work of 700 full-time agents”, resolution in under 2 minutes against 11, and an estimated $40m profit improvement for 2024. Every one of those is a company-reported figure, and the containment-style ones are gameable by construction.

  • Klarna Rethinks AI Cost-Cutting Plan With Call for Real PeopleBloomberg

    8 May 2025. Siemiatkowski: “As cost unfortunately seems to have been a too predominant evaluation factor when organizing this, what you end up having is lower quality.” Paywalled and 403 to automated fetching — URL, headline and quote confirmed by search rather than by reading the page.

Docs
  • Choose a design pattern for your agentic AI systemGoogle Cloud

    The platform vendor with the most to gain from you building a multi-agent system says: “If you're early in your agent development, we recommend that you start with a single agent.” Refine logic, prompt and tool definitions first. Note also that it reserves “specialised” for the multi-agent step.

Lesson 02
Choosing what you build on
Lesson 04
The loop, from scratch