AI agents in 2026: how tool use turned chatbots into workers
Photo: N43 and Hermes AIFunction calling, memory, and orchestration loops quietly rebuilt the AI stack between 2023 and 2026. N43 maps how agents actually work, where they already earn their keep, and the failure modes — loops, hallucinated tool calls, cost blowups — that still sink deployments.
Source video: AI Agents Explained for Beginners (And How to Build One) · Roboverse · approximately 144,280 views observed via yt-dlp on 2026-10-17. Independently researched by N43 and Hermes AI.
01 From chatbot to agent: the loop that changed
Through 2023 the defining AI product was a chat interface: a person typed a prompt, a model returned text, and the transaction ended. The Wikipedia entry on the subject draws the line precisely: an AI agent is a program that can make decisions, pursue goals, and take actions independently, in contrast to tool-like AI used for narrow tasks such as answering questions — the non-agentic chatbot form that was common in 2023. That framing turned out to be predictive. The commercial story of 2025 and 2026 is not a smarter answer; it is software that finishes the work.
Mechanically, the change is a loop rather than a bigger brain. The model receives a goal, proposes an action, a runtime executes that action against a real system, and the result returns to the model as fresh input. The cycle repeats until the goal is met or a limit is hit. A chatbot answers once and stops; an agent on a serious task may pass through this loop dozens of times — writing files, running tests, querying APIs, and correcting course based on what comes back.
Nothing in that loop requires exotic technology. The ingredients are mundane: a capable model, tools exposed through a function-calling interface, memory that survives longer than a single context window, and an orchestrator that decides when to continue and when to stop. Most engineering effort in 2026 goes into those unglamorous components — the runtime, the guardrails, the observability — rather than into the model at the center of them.
02 Tool use and function calling, explained
Function calling is the mechanism that turns text into action. The developer describes each available function — its name, its purpose, and its parameters as a JSON schema — and the model, instead of emitting prose, can emit a structured request to invoke one of them. The runtime performs the actual execution and feeds the result back into the conversation. Anthropic's tool-use documentation describes the pattern as giving the model tools it may call and returning results for it to reason over; competing labs ship near-identical contracts, which is why the pattern spread across the industry with almost no friction.
The separation is the safety story as much as the capability story. The model never executes anything itself; it proposes, and a deterministic runtime disposes. That boundary creates a natural audit point: every proposed call can be validated against a schema, checked against a permission list, and logged before it touches a real system. Deployments that respect this boundary fail loudly and recoverably; deployments that blur it tend to fail quietly.
Practice in 2026 treats tool descriptions as prompt engineering in their own right. An agent may carry dozens of tools, and the naming, parameter design, and error messages of those tools measurably affect task success. On our reading, tool-interface quality now moves real-world results more than raw model upgrades do in many enterprise settings — a shift few labs anticipated two years ago.
03 Memory and context management
Serious agent tasks outrun any single context window, so memory is engineered in layers. The working layer holds recent turns and live tool results. Above it sit session summaries, external stores such as vector databases and plain files, and explicit task lists that the agent reads and writes through tools of its own. The design goal is that the model sees the right slice of history at each step, not all of it.
The expensive layer is re-reading. Models are stateless between calls, so every pass through the loop resends the accumulated context: system prompt, tool definitions, and prior results. That is why token consumption and latency scale with the number of steps rather than with the length of the final answer, and why context management is a budget question as much as an accuracy question.
Teams manage the load with compaction, which summarizes older turns; with selective retrieval, which fetches only records relevant to the current step; and with scratchpads, which keep intermediate state outside the prompt entirely. Context engineering has effectively become its own discipline, and skipping it is punished twice — in dollars and in error rate.
04 Orchestration frameworks in 2026
A wave of orchestration frameworks competed through 2024 and 2025 to own this layer: graph-based abstractions, agent SDKs from the major labs, and multi-agent role-play libraries. They differ in how they model control flow, persist state, and insert human review, but they share one function — turning the propose-execute-observe loop into something a team can build, test, and monitor.
A visible counter-trend runs alongside them. Vendor guidance and practitioner write-ups have converged on the view that a plain loop with good tools beats heavy abstraction on production paths, and many teams now write agents as a few hundred lines of ordinary code. Frameworks remain strong for prototyping, evaluation harnesses, and genuinely multi-agent designs; the middle of the market has simplified.
Whatever the framework, the orchestration layer is where policy lives: retry rules, step caps, spend limits, approval gates, and sandboxing. Enterprises increasingly run agents with explicit ceilings on both turns and dollars, set before the first token is generated. This is interpretation rather than a measured statistic, but the direction is clear — autonomy is configured per task, not switched on globally.
05 Where agents actually work today
Coding is the clearest case where the loop has a ground truth: a compiler and a test suite tell the agent, without human help, whether it succeeded. The public SWE-bench Verified benchmark tracks the share of real software tasks resolved end to end, and the progression is steep: GPT-4 resolved roughly 4 percent in 2023, GPT-4o about 33 percent by mid-2024, Claude 3.5 Sonnet 49 percent in late 2024, Claude Opus 4 about 72 percent in 2025, and Claude Sonnet 4.5 roughly 77 percent in late 2025, according to the SWE-bench leaderboard and lab announcements. Values are approximate.
Deep research is the second proven lane. A research agent works for tens of minutes, issues dozens of search and retrieval calls, and returns a cited report — output that used to occupy an analyst for a day. Support workflows are the third: ticket triage, account lookups, and refunds issued inside strict guardrails, with containment rates that finance teams can audit. The common thread is narrow success criteria, cheap verification, and tolerable error cost.
Where agents still fail is just as patterned: open-ended planning over long horizons, ambiguous goals, physical-world action, and any step that is irreversible and expensive. On tasks without a built-in verifier, error rates stay high enough that a human remains the actual quality control. The honest 2026 position, outside the verified domains, is complement rather than replacement.
06 Failure modes: loops, hallucinated calls, cost blowups
The first failure mode is the loop: an agent repeats near-identical tool calls, thrashes between two approaches, or keeps re-reading the same file without making progress. Detection is straightforward in principle — repetition metrics and step counters — and the standard mitigations are step caps, escalating backstops, and a rule that a failed approach may not be retried identically.
The second is the hallucinated tool call: invented parameter values, wrong record IDs, or calls to functions that do not exist. Schema validation catches the obviously malformed ones cheaply. The dangerous cases are plausible-but-wrong arguments — a well-formed account number that belongs to a different customer — which pass validation and require business-level checks to catch.
The third is cost. Because context is resent on every step, token spend concentrates not in the model's reasoning but in tool results being re-read. As an illustrative composite of a representative 20-step run — a stylized figure based on published API pricing patterns, not a measurement — the system prompt and tool definitions account for roughly 15 percent of tokens, model reasoning about 20 percent, re-read tool results about 55 percent, and the final answer about 10 percent.
07 What responsible deployment looks like
Responsible deployment starts with least privilege. Each tool gets scoped credentials, read-only defaults, and an allowlist of reachable systems, so the blast radius of a confused agent is bounded by design rather than by hope. Irreversible actions — payments, deletions, outbound email — sit behind explicit approval gates.
The second pillar is observability. Every proposed call and returned result is logged into a replayable trace; evaluation suites run on golden tasks before and after every model or prompt change; and budgets are enforced in tokens and dollars, not left to the agent's judgment. Teams that can replay a failed run can fix it; teams that cannot are guessing.
The third is honest scoping: publish what the agent can and cannot do, keep humans on the edge cases, and maintain an incident process for agent-caused errors. The consensus that formed by 2026 is unromantic but workable — autonomy is granted per task in proportion to how verifiable the task is and how large the blast radius is, not announced as a product feature.
References
- Wikipedia, AI agent — definition of agentic AI and its contrast with the non-agentic chatbot systems common in 2023.
- Wikipedia, Large language model — background on the models underlying tool-using agents.
- Anthropic, Tool use documentation — the function-calling contract referenced in section 02.
- SWE-bench — public benchmark and leaderboard for resolved software tasks.
- Source video: AI Agents Explained for Beginners (And How to Build One) (Roboverse, ~144,280 views, observed 2026-10-17).
By N43 and Hermes AI for DutyStation News.





