Context Is Data: AI Builders Should Start Treating It That Way
Context determines what an AI system knows and produces, so it needs the schemas, lineage, controls, and quality discipline applied to other critical data.
For most of the history of software, data was treated as something worth managing. We gave it schemas, identifiers, lineage, access controls, versions, indexes, retention policies, quality checks, and systems designed specifically to move it from one place to another.
Then AI arrived, and a lot of that discipline disappeared the moment the data entered a prompt. We started calling it context, which makes it sound temporary. It might come from retrieved documents, conversation history, tool outputs, instructions, or examples, but we often treat all of it as material assembled for the next model call rather than data that needs to be managed.
But increasingly, context is one of the most important forms of data inside an AI system. It determines what the model knows at a particular moment, what assumptions it makes, what sources it trusts, and ultimately what it produces. If we treated context more like data, I think we would build much better AI systems.
1. Context Needs Structure
We would never design a serious data system where every application received a giant blob of vaguely related information and was expected to figure out what everything meant. Yet that is remarkably close to how many AI systems work.
We gather documents, tool results, conversation history, instructions, user preferences, examples, and intermediate outputs, concatenate some combination of them into a prompt, and ask the model to make sense of it. Models are unusually good at doing exactly that, which is probably why we have gotten away with it for so long.
Their ability to interpret unstructured information should not become an excuse for the surrounding system to have no structure at all. Data systems distinguish between tables, records, fields, entities, relationships, and types. Context systems need similar concepts.
A policy is different from a customer record. A human-approved decision is different from a model-generated summary. A source document is different from an interpretation of that document. Those distinctions should exist before the context reaches the model.
Once context has structure, the system can make better decisions about what to include, how to present it, and how much authority to assign to it. The model no longer has to infer the entire information architecture from a pile of text every time it runs.
2. Context Needs Provenance
Data engineers care deeply about where data came from. If a number appears in a report, we want to know its source, which transformations produced it, and what upstream systems contributed to it.
AI context deserves the same treatment. If a model receives a claim that a customer has a particular contract term, where did that information come from? Was it extracted directly from the signed contract, copied from a CRM field, summarized by another model three weeks ago, or mentioned casually in a Slack conversation?
Those pieces of information should not be treated as interchangeable simply because they can all be converted into tokens. A system should know the original source, when it was retrieved, what transformations were applied, which model produced any derived interpretation, and whether a human reviewed or modified it.
This matters even more as AI systems create context for other AI systems. A model generates a summary, another model uses that summary to make a recommendation, and a third model later treats the recommendation as input. Very quickly, generated information can become indistinguishable from source information unless the system explicitly preserves the difference.
Data systems learned to track lineage because downstream outputs become difficult to trust when their origins disappear. AI systems have the same problem, except the transformations between source and output are probabilistic.
3. Context Needs Change Management
Once context is durable, another familiar data problem appears: it changes. A policy is updated, a customer changes plans, a project moves into a new phase, someone corrects a document, a human rejects an earlier model conclusion, or a source that was authoritative yesterday is superseded today.
The question is no longer simply what context should the model receive. The system also needs to know which context is still valid.
Data engineering has spent decades dealing with this problem through incremental processing, change data capture, lineage, materialized views, invalidation, and selective recomputation. The terminology may differ for AI, but the underlying problem is nearly identical.
Imagine an AI system generated ten downstream artifacts using a policy that has now changed. It should be possible to determine which artifacts depended on that policy, whether the change materially affects them, and which pieces of work need to be regenerated or reviewed.
Without that information, there are only a few options: trust potentially stale context, rerun everything, or hope somebody notices when the outputs stop making sense. None of those approaches scales particularly well.
This also changes how we should think about caching. A generated artifact is not reusable merely because we have seen the same request before. It is reusable if the inputs that mattered have not changed.
That requires dependencies, versions, and identity. Those are already familiar data concepts, and context needs them too.
4. Context Needs a Lifecycle
A surprising amount of AI context currently exists for only a few seconds. A tool is called, its output enters the context window, the model uses it, the response is generated, and much of the useful intermediate work disappears into a transcript or is discarded entirely.
Data infrastructure generally does not work this way. Important data moves through a lifecycle. It may begin as raw input, get cleaned or enriched, turn into a derived dataset, and eventually feed reports, applications, or other downstream processes.
AI context needs a lifecycle too. Some context begins as source material. A model may extract facts from it, combine those facts with other information, produce an intermediate interpretation, receive human feedback, and eventually generate an approved artifact or decision.
Those stages matter. A raw document should not necessarily have the same status as a reviewed conclusion. A temporary hypothesis should not quietly become permanent organizational knowledge. A model-generated interpretation should not overwrite its source.
If the system preserves these stages, context can move from raw information toward increasingly useful and trusted forms without losing its history. The result of an AI task should also frequently become durable context rather than disappearing after the response, because today’s output may be tomorrow’s input.
5. Context Needs Governance
Once context is treated as data, governance has to be part of the architecture around it. Data platforms have permissions because not everyone should see every row, retention rules because information should not necessarily live forever, and authoritative sources because conflicting copies of the same fact eventually create problems.
AI context has all of the same requirements. The fact that a model technically can retrieve something does not mean that information should automatically enter every context window.
Context should be assembled according to permissions, purpose, authority, freshness, and relevance. This is particularly important as agents gain access to more systems.
Giving an agent twenty tools does not just increase its capabilities. It dramatically expands the universe of information that might enter its working context. The important architectural question is not only whether the model can find information, but whether the system can control the information the model is allowed to reason over.
Data governance developed because unrestricted access to data eventually creates reliability, security, and ownership problems. AI systems will face the same pressures around context.
The Context Window Is Not the Context System
The context window has become one of the dominant abstractions in AI. We measure how many tokens fit inside it, optimize prompts around it, cache pieces of it, and increasingly build retrieval systems whose primary job is deciding what gets inserted into it.
But the context window is only the final delivery mechanism.
We spent decades learning how to manage data because unmanaged data eventually becomes unreliable data. As AI systems accumulate more sources, artifacts, decisions, memories, tool results, and generated knowledge, context will need the same discipline.
Follow the argument into the product model.