By NHI Mgmt Group Editorial TeamBased on Archestra: “The context layer that pays for itself” (September 23, 2026)

TL;DR: The fastest way to cut AI agent costs is not a smaller model but a context layer that deduplicates fetches, normalizes tool results, and serves only the fields an agent actually needs, according to Archestra, because raw tool fan-out can put 60–80% of tokens into repeated payloads. The architectural win is real when agents stop treating every upstream response as context.


At a glance

What this is: This is an analysis of how an AI agent context layer reduces duplicate tool calls, trims oversized payloads, and lowers token spend without changing the underlying model.

Why it matters: It matters because identity and access teams increasingly have to govern what agents can read, re-read, and cache when operational systems like Jira, GitHub, and Salesforce become part of the agent workflow.

By the numbers:

  • Most production traces show 60–80% of tokens going to tool results, not to reasoning.

Context

AI agent context layers sit between an agent and the systems it queries, then reduce repeated retrieval, oversized payloads, and unnecessary prompt bloat. In practice, the problem is not the model alone but the way agents keep re-reading the same upstream data and paying for it multiple times.

That matters for agentic AI identity because every delegated read, cache entry, and scoped verb becomes part of the governance surface. When agents fetch Jira tickets, PRs, or CRM records, the control question is no longer just what they can access, but how much they can repeatedly ingest and expose.


Key questions

Q: How should teams stop AI agents from paying for the same data twice?

A: Use a context layer that caches repeated reads, normalises upstream payloads, and serves only the fields the agent actually needs. The aim is to reduce duplicate retrieval, not just compress output. In practice, that means scoped verbs, stable views, and trace-level caching so planner and summariser steps do not keep re-ingesting the same record.

Q: Why do raw tool integrations make AI agents so expensive to run?

A: Because each tool call often returns a full object, then the model pays to ingest that object again when it reasons over it. When agents re-fetch the same ticket or record across multiple steps, token cost compounds. The spend problem sits in retrieval design as much as in model choice.

Q: What signals show that an agent context layer is actually working?

A: The clearest signs are fewer repeated upstream calls, smaller prompt payloads, and a lower share of tokens spent on tool results. If the agent still fetches the same record multiple times or keeps pulling unused fields, the layer is not yet constraining context well enough.

Q: Should security teams control agent access at the tool level or the field level?

A: Field-level control is stronger when the task only needs a narrow answer, because it prevents the agent from seeing or caching unnecessary data. Tool-level access is too coarse for many operational workflows. The better pattern is least privilege for both action and read scope, with the smallest useful payload by default.


Technical breakdown

Why tool fan-out inflates agent token spend

A naive agent calls tools directly, receives a full upstream response, and appends that response to the next reasoning step. If the upstream object is a Jira issue with dozens of fields or a CRM record with nested arrays, the model pays to ingest data it never needs. Multi-step agents also reissue the same fetch because planner, worker, and summarizer steps do not share a compact state model. The result is not only duplication but repeated summarisation overhead, where the model spends tokens re-describing the same content it already saw. See the MCP Security Guide.

Practical implication: Design the agent’s read path so repeated upstream payloads do not keep re-entering context.

How normalisation and scoped reads reduce cost

A context layer lowers token use by rewriting large upstream objects into smaller, stable views and exposing narrow read verbs such as get_ticket_status instead of whole-record retrieval. Normalisation removes fields the agent never uses, while scoped reads prevent unnecessary data from ever being fetched. Cache hits then serve the compact view for the rest of the trace, which keeps token volume and latency under control without changing the underlying business system. See the AI Agent Authorisation Guide.

Practical implication: Expose the smallest useful read surface and cache the normalised view, not the raw payload.


NHI Mgmt Group analysis

Context bloat is now a governance problem, not just a cost problem. When an agent repeatedly re-fetches the same operational record, the security issue is not merely duplicated spend. It is repeated exposure of the same business data across multiple reasoning steps, which expands the places where access, retention, and redaction must be controlled. Practitioners should treat context reduction as part of data minimisation, not just platform optimisation.

Scoped agent reads are the right unit of control. The article’s strongest architectural point is that a model should ask for one field, not inherit an entire record shape by default. That aligns cleanly with task-scoped agent authorisation because the same principle that limits action scope should also limit read scope. The practical conclusion is that agents need per-action, per-field boundaries before they need bigger models.

Token optimisation exposes the hidden statefulness of agent workflows. A context layer only pays off when the team acknowledges that planners, workers, and summarizers are not independent consumers. They are part of one trace with shared memory pressure, shared cache behaviour, and shared governance risk. Teams that ignore that coupling will keep tuning models while the true waste sits in the retrieval layer.

The cost story also doubles as an inventory story. Once teams start normalising and caching agent reads, they can see which upstream systems are driving the most repeated access, which fields are never used, and where verbs are too broad. That makes the context layer a control surface for both spend and governance, not just a middleware convenience.

From our research library:

What this signals

Context control is becoming the new cost-control boundary. As agent workloads move deeper into operational systems, the teams that win will be the ones that limit what the model can repeatedly ingest, not just what it can execute. A context layer turns retrieval policy into a practical control over spend, exposure, and workflow stability.

Field-level governance will matter more than model size. The next optimisation wave is likely to come from understanding which fields, records, and tools are overused, then constraining them at the source. That is why the same design pattern also strengthens task-scoped agent authorisation: the more precise the read boundary, the less unnecessary context the agent can accumulate.


For practitioners

  • Define narrow read verbs for agent tools Expose only field-level or intent-specific reads where the task truly needs them, so the agent cannot default to full-record retrieval.
  • Cache normalised responses inside the trace Return a compact, stable representation for repeated reads within the same turn or workflow, and avoid rehydrating the full upstream object.
  • Measure repeated fetches before tuning models Track how often the same Jira issue, PR, or record is retrieved more than once in a single trace, then fix the retrieval pattern before changing models.
  • Treat payload shape as a governance input Review which systems still emit oversized responses, which fields never get used, and where data minimisation should be enforced at the source.

Key takeaways

  • Agent cost overruns often come from repeated retrieval and oversized tool responses rather than from the model itself.
  • A context layer changes the economics by caching, normalising, and narrowing what gets added to the prompt.
  • Teams that measure fetch repetition and payload size can usually reduce spend without changing the core model.

Related NHI Mgmt Group resources: AI Agent Authorisation Guide · AI Agent Observability, Audit and Incident Response Guide · Shadow AI and AI Agent Discovery Guide · MCP Security Guide


Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Agentic AI Top 10 addresses the attack and risk surface, while NIST AI RMF and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Agentic AI Top 10ASI03 — Identity & Privilege AbuseAgent read scope and delegated access are central to this context-layer pattern.
ASI02 — Tool MisuseThe article focuses on repeated tool calls and over-broad tool outputs driving waste.
Recommendation — Constrain agent read and action scope so tools cannot expose more data than the task requires. Redesign tools so agents use narrow verbs and cannot over-fetch full records by default.
NIST AI RMFGOVERN — AI Governance and AccountabilityContext-layer decisions affect accountability for data exposure, cost, and workflow control.
Recommendation — Document ownership for agent retrieval policy, caching rules, and prompt-boundary decisions.
NIST CSF 2.0PR.AA-05 — Access Permissions, Entitlements and AuthorizationsScoped reads and least-privilege access are the control model behind the proposed architecture.
Recommendation — Apply least-privilege authorization to agent tools and data reads, not just to human users.

Key terms

  • AI Agent Context Graph: An AI Agent Context Graph is a structured map of agents, tools, resources, permissions, prompts, and action paths. It helps teams understand how an agent can behave across connected systems, where trust is inherited, and which dependencies expand risk. Without this view, inventory and testing remain incomplete.
  • Scoped Read Verb: A scoped read verb is a narrowly defined tool action that returns only the fields needed for one task, such as status or assignee instead of a full record. It reduces unnecessary exposure, lowers token spend, and makes agent behaviour easier to reason about.
  • Prompt Bloat: Prompt bloat is the accumulation of unnecessary text, metadata, and repeated payloads inside an agent’s context window. It increases cost, slows responses, and can hide the actual signal the model needs to complete the task correctly.
  • Normalised Payload: A normalised payload is a compact, stable representation of upstream data that removes irrelevant fields, flattens nested structures, and standardises shape across reads. In agent systems, it improves cache reuse and prevents model prompts from drifting with every upstream response.

Deepen your knowledge

NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, machine identity security, and secrets management. It helps practitioners connect identity control to the wider security and AI workflows their programmes now depend on.
NHIMG Editorial Note
Published by the NHIMG editorial team on October 22, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org