Back to notes

Project note

The agent is not the application

A model can be replaced only when the application retains authority, canonical state, evidence, verification, and recovery outside the model's control.

agent architecture / Published Jul 19, 2026 / Revised Jul 22, 2026

On this page

The durable unit of AI operation is not the chatbot, copilot, or autonomous agent. It is the governed application in which a model participates without being allowed to improvise authority, state, or evidence.

The application does not become a security kernel by doing this. A security kernel is the small, protected and verifiable part of a trusted computing base that mediates access. The design task is to keep that mediation boundary small, even when the application owns a much wider assurance process. See Where the assurance questions are already answered and A field guide to assurance-managed AI development for the established vocabulary behind this synthesis.

Model capability changes the bottleneck. A weak model needs help completing the task. A strong model needs unambiguous context, authority, verification, and a recoverable way to affect the world. Intelligence becoming cheaper does not make those concerns cheaper. It makes their absence more consequential.

The resulting application has two regions:

application-owned assurance process
  identity and authority
  contracts and state transitions
  canonical records
  capability enforcement
  evidence and verification
  reconciliation and recovery
            |
            v
generative operational shell
  interfaces and views
  plans and queries
  situational code
  reports and explanations
  adapters and execution strategies

The shell can change with the task, user, model, or environment. The small, enforced mediation boundary decides which changes count.

This is a different boundary from putting an LLM inside an existing product. The familiar application still assumes a person will interpret the interface, carry context between screens, decide which button is appropriate, and notice whether the result made sense. An agent-operable application has to make those joins explicit because the operator can no longer supply them invisibly.

Retrieval becomes context compilation

Ordinary retrieval finds related material. Governed operation needs an exact context projection.

The application has to resolve which source is authoritative, which revision applies, which claims are ratified, what superseded them, which parts constrain this work, and which uncertainties remain unresolved. It should produce a task-bound packet and record what the actor actually received.

organizational sources
  -> resolve identity and authority
  -> select applicable revisions
  -> evaluate policy and scope
  -> compile a context packet
  -> bind packet to attempt

This is closer to compilation than search. The output is not a bag of plausible passages. It is a projection with declared inputs and a validity boundary.

Longer context windows do not weaken this requirement. They make it easier to carry more material while leaving authority, applicability, and staleness just as unresolved. More context is not the same thing as governed context.

Tool calls become capability use

A tool definition explains how to call an operation. A capability explains why this actor may call it now.

Broad credentials plus a prompt to behave sensibly are an implementation shortcut, not an agent security model. The kernel should issue short-lived authority bound to a principal, work reference, action, target, constraints, and expiry. The target verifies that authority and returns a receipt tied to the effect it observed.

The agent can remain flexible about how it reaches an outcome while structurally unable to cross selected boundaries. Better reasoning then improves operation inside the envelope rather than increasing the amount of policy entrusted to a prompt.

Memory becomes projection, not personality

An organization’s memory should not live in a model vendor’s conversation history. Claims, observations, work state, document revisions, capabilities, artifacts, consequences, and reconciliation results belong in systems with their own retention and authority rules.

The agent receives projections of that state and contributes observations or proposed transitions. A later session can use a different model without asking it to imitate the previous model’s private recollection. Replaceability is not merely a procurement benefit. It is evidence that the application owns its own continuity.

Evaluation moves outside the answer

Answer quality remains useful, but process assurance becomes the application evaluation:

  • Was the right work selected under the right policy?
  • Did the actor receive current and sufficient governing context?
  • Was the attempted transition authorized?
  • Did independent checks establish the required properties?
  • What consequence actually occurred?
  • Can the decision and effect be reconstructed or reversed?
  • Did later evidence invalidate an earlier assumption?

Improving the model helps with some of these questions. It cannot answer all of them on its own without becoming witness, defendant, and judge for the same action.

The interface changes accordingly. Chat remains useful for ambiguity and conversation, but much of the mature operator surface will be an exception queue, proposed change, evidence graph, simulation, work portfolio, or ordinary domain screen backed by agents. Most people will manage desired outcomes and material exceptions. The application will manage model selection and routine execution according to policy.

None of this makes produced code or other exact artifacts irrelevant. Where assurance depends on what would happen under unobserved inputs, concurrency, or adversarial conditions, the artifact remains the inspectable object of record. The generative shell expands only where assurance can attach to the generation and verification process instead. That boundary is the subject of Derived status is earned.

The product implication follows. A thin model wrapper retains little that survives replacing the model. A durable application owns authoritative context, state semantics, authority, integrations, evaluation history, and evidence of real outcomes. Models remain important, but model choice becomes one scheduling decision inside a larger operating contract.

The agent is not the application. The application is the structure that lets a replaceable agent act without making authority, memory, or truth replaceable with it.