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 01Core

How we got here

You do not need this history for its own sake. You need it because every architectural decision you make today is a bet on which rung of the ladder holds. And because an interviewer at staff level is listening for one thing: whether you know which parts of your stack exist to work around a limitation that has already been fixed.

Dates are the least interesting thing about how we got here. Anyone can recite them, and reciting them is how a strong candidate ends up sounding like a newsletter.

The framing that survives scrutiny is a ladder. Four transitions, and each one made a whole category of workaround unnecessary. A fifth is in motion now, and its consequences are not yet settled.

Commercially, this matters because of depreciation. Every workaround in your codebase has a lifespan tied to a model limitation. On the day that limitation is fixed, the workaround stops being an asset and becomes a liability you are still paying to maintain.

Anthropic’s Building Effective Agents is still the clearest short definition of the workflow/agent split. It now opens with an editorial note saying much of the tooling landscape it describes has changed. That note is not an embarrassment. It is the lesson.

Interactive · the whole ladder at once

Each rung deleted something underneath it

Read the bottom row left to right — that is the real story. Select any rung for the detail.

What became possible
Models that do what you asked
A structured call, with a schema and an id
Twenty-turn loops you could afford to run
Search running inside the model
The loop arrives packaged, not written
What stopped being necessary
Prompt contortions and few-shot format tricks
The regex parser in the middle of your agent
Summarising every turn just to save money
External generate-evaluate-backtrack scaffolds
Nothing yet — and that is the point

Five rungs, four deletions. The one at the end has not deleted anything yet.

The four rungs, and what each one made possible

You have just seen the shape. Now the detail, one rung at a time, with the sources for each.

Click a rung to see what it made possible that was impossible before it. Then switch the question. The second view is the one that changes what you do on Monday, because it names code still sitting in your repository for a reason that expired.

Interactive · climb the ladder

Four rungs, and the one currently in motion

Select a rung, then switch the question. The second view is the useful one — it names the code that is still in your repository for a reason that expired.

2022Instruction following2023Native tool calling2024Long context and prompt caching2024–25Reasoning models2026Harnesses as infrastructure

Below the bottom rung: a model that continued your text. You could not build a loop on it, because it would not reliably take an instruction.

Rung · 2023Still holds
Native tool calling

The regex parser in the middle of the agent. ReAct interleaved reasoning and action as text — Thought / Action / Observation — and something had to parse that text back into a function call. From June 2023 the model emitted the call object directly, and the parser and all of its failure modes went with it.

In 2026 · Holds. Cite ReAct for the concept, use the API for the mechanism.

The signal is not knowing what each rung enabled. It is knowing what each rung deleted. Still hand-rolling a Thought/Action/Observation text format? You are working around a 2022 limitation on 2026 infrastructure. Building an external search scaffold on top of a reasoning model? You are paying twice for the same capability.
Training language models to follow instructions with human feedbackarXiv 2203.02155ReAct: Synergizing Reasoning and Acting in Language ModelsarXiv 2210.03629Function calling and other API updatesOpenAI · 13 Jun 2023Tool use with ClaudeClaude Docs

The rung people skip

Rung three gets left out of the story because it did not make anything new possible. It made the existing thing affordable.

Here is the before. An agent has no memory. The entire state of a run is an array you rebuild and resend on every turn, so a twenty-turn loop pays for its own history twenty times over. Cache reads are priced at a tenth of base input, and that is the whole of rung three.

And the after: caching did not change what the loop could do. It changed whether you could charge for it.

why_caching_mattered.py
# The 2024 rung was an economics change, not a capability one.
# An agent has no memory, so every turn resends the entire history.

PREFIX = 6000         # system prompt + tool definitions: identical every turn
NEW_PER_TURN = 800    # what each turn actually adds to the array
TURNS = 20

# Without caching, you pay full input price for that prefix, twenty times.
plain = sum(PREFIX + NEW_PER_TURN * t for t in range(TURNS))
print(f"{plain:,} input-token-equivalents")      # 272,000

# With caching: one write at 1.25x the input price, then reads at 0.1x.
cached = PREFIX * 1.25 + PREFIX * 0.1 * (TURNS - 1)
cached += sum(NEW_PER_TURN * t for t in range(TURNS))
print(f"{cached:,.0f} input-token-equivalents")  # 170,900

# The prefix cost fell by 84%. The conversation cost did not move at all,
# and it is 89% of what remains.
Two things fall out of this. Caching is enormous for the stable prefix — system prompt, tool definitions — and does nothing at all for the conversation itself, which is the part that actually grows quadratically. The lever for that one is removing turns.

One caveat belongs in the same breath as the capability, because leaving it out is how people get caught. Prompt caching is a prefix match, and a hierarchical one: tools first, then system, then messages. Change anything at one level and you invalidate that level and everything after it.

So a timestamp in the system prompt quietly costs you the entire saving. So does a tool list that serialises in a different order on each request. The code still looks correct, which is why nobody notices.

The same warning applies to the context window itself. Gemini 1.5 reported retrieval holding above 99% out to at least ten million tokens. That is a genuine engineering achievement, and it is not a promise about your task.

Lost in the Middle found accuracy highest when the relevant passage sits at the start or the end of the context. In the middle it is materially worse, and that holds “even for explicitly long-context models”. A large window is a capacity spec, not a performance guarantee.

When the scaffolding became the liability

Tree of Thoughts is the cleanest example on the ladder of good work becoming dead weight. In 2023 it reported 74% on Game of 24 against chain-of-thought’s 4%.

That was an enormous result, and the right answer to the model of the day. Nothing inside the model would search, so a scaffold outside it generated candidates, evaluated them and backtracked.

Then search moved inside the model. DeepSeek-R1 reported self-reflection, verification and strategy adaptation emerging from reinforcement learning, rather than being orchestrated around the model.

Later work measured the specific thing this buys you. Thinking mitigates self-conditioning — the tendency of a model to become more error-prone once its own earlier mistakes are sitting in its context. That is exactly the failure an external backtracking scaffold was built to catch.

None of this makes the Tree of Thoughts paper wrong, and citing it as an idea is still correct. Implementing it on top of a reasoning model in 2026 is paying twice for one capability, and doing it slower.

The general form of the error is worth naming, because it recurs on every rung: a technique and the limitation it was designed for depreciate together. Only one of the two is ever written down.

Tree of Thoughts: Deliberate Problem Solving with Large Language ModelsarXiv 2305.10601DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement LearningarXiv 2501.12948The Illusion of Diminishing Returns: Measuring Long Horizon Execution in LLMsarXiv 2509.09677

The 2026 rung, and why it is unstable

The rung in motion right now is harnesses becoming infrastructure. The loop, the permission model, compaction and tool plumbing now arrive packaged rather than written by you.

That is my read of the present rather than a settled fact, and I would say so in an interview. But the uncomfortable version of the argument comes from the vendors themselves. Anthropic’s engineering writing states plainly that agent harnesses “encode assumptions about what Claude can’t do on its own”. Those assumptions, it adds, “grow stale as Claude gets more capable”.

The worked example in that post is the one to remember. Claude Sonnet 4.5 would wrap up work prematurely as it sensed the context limit approaching. So the team added context resets to the harness to compensate for that “context anxiety”.

On Claude Opus 4.5 the behaviour was gone, and the resets were dead weight. Still running, still costing something, still there to be maintained by someone who had never read the original reason.

Treat every harness feature as a temporary patch over a specific model limitation, and be able to name the limitation. Here is the test to run in a design review. Ask which model behaviour this component exists to compensate for. If nobody can answer, you have found either dead scaffolding or an undocumented assumption. Both are worth an hour.

Agent Harness Design: 3 Patterns for Harnessing Claude's IntelligenceLance Martin, Anthropic · 2 Apr 2026

Depreciation, at your size

The leadership version of this lesson is a budgeting one. Agent scaffolding is a twelve-to- eighteen-month asset, not a platform investment.

The durable line items are the ones a model upgrade makes more valuable rather than less: your eval suite, your tool definitions and your data access layer. Prompt scaffolding and orchestration glue are consumables. What follows is what that costs at each stage — including the review process a four-person team should not build.

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.

  • Workaround registerDo it

    One line per non-obvious component naming the model limitation it exists to work around, kept next to the code rather than in a wiki.

    At this stage · Now a real list, because the person who wrote the workaround has stopped being the person who maintains it and the reason is no longer in anyone's head.

  • An eval suite that outlives the modelDo it

    Cases written against your task and your data, not against a model's quirks or a prompt's phrasing.

    At this stage · This is the asset a model upgrade makes more valuable rather than less, which is the opposite of almost everything else you have built. Fund it accordingly.

  • Pinned versions and a deprecation calendarDo it

    Explicit model version strings in config, plus a dated list of when each one is retired by its provider.

    At this stage · Retirement dates now sit in the same planning cycle as everything else, because discovering one a fortnight before it lands is how a quarter gets rearranged.

  • Tool definitions that survive a framework changeDo it

    Tools defined as schemas and handlers your own code owns, rather than as decorators belonging to an orchestration library.

    At this stage · Tool definitions are the other durable asset here: a model upgrade makes a well-specified tool more useful, not less. Framework glue does not have that property.

  • Deletion review on model upgradeCheap version

    On each upgrade, remove one scaffolding component at a time and measure whether anything got worse.

    At this stage · One afternoon per upgrade against a handful of components, using the eval suite you already have. Anthropic's own harness team describes exactly this loop, and their example — context resets added for one model, dead weight on the next — is the shape you will find.

Nothing is optional at this stage. That is itself the finding — the cost of the control set is part of the cost of operating here.

A system built around a rung that moved

The clearest way to see workaround depreciation in a real deployment is to find a system whose central design decision exists purely to patch a model limitation. This one says so in the paper.

🌍 Kenya · India · Ethiopia · Nigeria

Digital Green Farmer.Chat — a pipeline built to work around the model

300,000+
queries handled
9.05s
average response time
~75%
of queries answered

Farmer.Chat answers smallholder farmers’ agricultural questions across four countries, with more than 15,000 users. Its central architectural decision is a translation sandwich: take the query in the local language, translate it to English, reason and retrieve in English, then translate the answer back. The team chose that over generating directly in the source language, on the basis of their own multilingual benchmarking. Of the roughly a quarter of queries the system does not answer, 66% are content gaps in the knowledge base, 23% are out of context and 11% concern crops outside the collection. That breakdown is itself a model of honest reporting.

The engineering lesson is what that sandwich costs, and what it is pegged to. Two extra model calls sit inside a 9.05-second average response, and the whole structure works around one thing: weaker reasoning in the source language. That is a rung. When it moves, the translation layer stops being clever architecture and becomes two calls of latency plus two chances for meaning to drift — still running, because it was correct when it was written. The durable parts of that system get more valuable when the model improves: the knowledge base, the unanswered-query taxonomy, the retrieval evaluation. The pipeline gets less. Knowing which of your components sit on each side of that line is the whole point of this lesson.

Farmer.Chat: Scaling AI-Powered Agricultural Services for Smallholder FarmersarXiv 2409.08916

What to remember

  1. 1
    Four rungs, each defined by what it deleted

    Instruction following made models steerable. Native tool calling replaced a regex parser with a protocol. Long context and caching made the loop affordable rather than possible. Reasoning models absorbed the search scaffolding people used to build by hand.

  2. 2
    The 2024 rung is economics, not capability

    It is the one people miss, and the one that made twenty-turn loops commercially viable. Caching is a prefix match, so a timestamp in the wrong place silently costs you the entire saving.

  3. 3
    Cite ReAct for the concept, use the API for the mechanism

    Interleaving reasoning and action became the default loop. But the Thought/Action/Observation text format, parsed with regex, was replaced by structured tool calling in 2023. Implementing it literally today is working around a limitation that is already fixed.

  4. 4
    Budget scaffolding as a depreciating asset

    Twelve to eighteen months, not a platform. Ask of every component which model limitation it patches. The ones nobody can answer for are the ones to delete. Evals, tool definitions and data access get more valuable as models improve; everything else gets less.

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
  • Training language models to follow instructions with human feedbackarXiv 2203.02155

    InstructGPT, Ouyang et al., 4 March 2022. The first rung. Human raters preferred the 1.3B InstructGPT outputs over the 175B GPT-3 ones — 100x fewer parameters. Steerability, not scale, was the missing ingredient.

  • ReAct: Synergizing Reasoning and Acting in Language ModelsarXiv 2210.03629

    Yao et al., 6 October 2022, ICLR 2023. Cite it for the concept — interleaved reasoning traces and actions — not the mechanism. +34pp absolute on ALFWorld, +10pp on WebShop.

  • Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextarXiv 2403.05530

    8 March 2024. The capacity half of the 2024 rung: retrieval holding above 99% out to at least 10M tokens, against Claude 3.0 at 200k and GPT-4 Turbo at 128k at the time of writing.

  • Lost in the Middle: How Language Models Use Long ContextsarXiv 2307.03172

    Liu et al., July 2023. The corrective: accuracy is highest when the relevant passage sits at the start or end of the context and degrades in the middle, "even for explicitly long-context models". A window is a capacity spec, not a performance guarantee.

  • Tree of Thoughts: Deliberate Problem Solving with Large Language ModelsarXiv 2305.10601

    Yao et al., May 2023. Game of 24: 4% for chain-of-thought GPT-4, 74% for external tree search. The best possible argument for scaffolding — made against a model that could not search on its own.

  • DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement LearningarXiv 2501.12948

    22 January 2025. Reasoning incentivised by pure RL, with self-reflection, verification and strategy adaptation emerging rather than being scaffolded. This is the paper that made the fourth rung legible in the open.

  • The Illusion of Diminishing Returns: Measuring Long Horizon Execution in LLMsarXiv 2509.09677

    Sinha et al., September 2025, ICLR 2026. Self-conditioning: a model becomes more error-prone once its own earlier mistakes are in context, and scaling alone does not fix it — but "thinking mitigates self-conditioning". The measured case for the reasoning rung.

  • Farmer.Chat: Scaling AI-Powered Agricultural Services for Smallholder FarmersarXiv 2409.08916

    Digital Green with Microsoft Research India, September 2024. 15,000+ users and 300,000+ queries across Kenya, India, Ethiopia and Nigeria. Translate to English, reason, back-translate — a pipeline that exists to patch a model limitation, with its cost stated in latency.

Read
  • Function calling and other API updatesOpenAI · 13 Jun 2023

    The rung nobody writes histories about. gpt-4-0613 and gpt-3.5-turbo-0613 were trained to emit a JSON call object, which retired the regex parser sitting in the middle of every agent loop. The page blocks automated fetching; title, URL and date confirmed by search.

  • Building Effective AI AgentsAnthropic · 19 Dec 2024

    Still the best short definition of the workflow/agent split. Now opens with its own editorial note: "Much of the tooling landscape described in this post has changed since December 2024." Read the note as part of the lesson.

  • Agent Harness Design: 3 Patterns for Harnessing Claude's IntelligenceLance Martin, Anthropic · 2 Apr 2026

    The source of the depreciation argument, stated by the vendor: "Agent harnesses encode assumptions about what Claude can't do on its own, but those assumptions grow stale as Claude gets more capable." Includes the context-reset example that stopped being load-bearing one model later.

Docs
  • Tool use with ClaudeClaude Docs

    What the 2023 rung looks like as a protocol today: a tool_use block, stop_reason: "tool_use", your code executes, a tool_result goes back on a user message. Also the per-model token cost of the tool-use system prompt.

  • Prompt cachingClaude Docs

    The economics rung, in numbers: cache reads at 0.1x base input price, writes at 1.25x (5-minute TTL) or 2x (1-hour). Hierarchical prefix — tools, then system, then messages — and a change at any level invalidates that level and everything after it.

Lesson 02
Choosing what you build on