# WTF Is the Context Layer? The Missing Infrastructure for Production Agents — Prukalpa Sankar
<!--
ref: @content/youtube/aie/2026-07-14-wtf-is-the-context-layer
version: 3
updated_at: 2026-10-31T20:06:54.650Z
-->

Prukalpa Sankar (AI Engineer, 2026-07-14): Sankar's argument is that real-world performance is a function of two variables — intelligence and context — and the industry has compounded on only one.

*Synthesized from Prukalpa Sankar on AI Engineer, 2026-07-14.*

Prukalpa Sankar is a co-founder of Atlan, which works with companies including GitLab, Zoom, Discord, Affirm, MasterCard, and General Motors on making business context available to AI.

## Core Thesis

Sankar's argument is that real-world performance is a function of two variables — intelligence and context — and the industry has compounded on only one. Model intelligence has 1,000x'd in a decade while the situated knowledge of a specific business has barely moved, which is why exponentially smarter models are not exponentially more useful. The fix is a *context layer*: a system that converts the knowledge, expertise, and norms a good employee accumulates into machine-usable context, managed with the lifecycle discipline of code rather than hardcoded per agent.

## Key Insights

- The gap in numbers: models that could not pass the bar two years ago would now score in the **top 1%** of test takers, yet only **1 in 5** AI use cases reaches production and **56% of CEOs report zero financial benefit** from AI today.
- Sankar's diagnostic analogy comes from human performance research: only **~10% of job performance variance is explained by IQ**. The highest SAT scorer on your team is not usually your best teammate — the person who works most, takes the most feedback, and learns fastest is.
- Intelligence has **1,000x'd over the last decade** and **2x'd in just the last six months**. Context has effectively stalled — some data moved to the cloud, and the rest lives in dashboards, Slack threads, and the head of an analyst who might leave next week.
- Her worked example is "Maya," a data analyst at a fictional burger chain, answering the seemingly trivial question *why is my drive-thru time up this week?* Answering it requires three distinct classes of context. **Knowledge/facts:** what "drive-thru time" means, who is asking (finance and ops mean different things by it), and what "this week" means — Monday-to-Sunday cutoff, Pacific or Eastern time. **Expertise:** a diagnostic playbook — knowing Q3 is seasonal due to weather patterns and checking that first, knowing a product launched the prior quarter and checking whether that broke the root-cause analysis. **Norms:** persona scoping — who is asking and how you answer them.
- Humans acquire this by shadowing the best teammate, making mistakes, receiving manager feedback, and hitting edge cases — not from onboarding training. That learning path is the design target.
- **Era one at Atlan (~18 months ago): bootstrapped single-purpose agents.** The team ran a jobs-to-be-done map over the customer experience function, hypothesized which jobs AI could take (documentation, meeting prep) versus which it could not (relationship management), and built narrow agents — "Hermione" as health intelligence lead, "MoneyPenny" as financial risk analyst — each very good at one thing.
- Four failure modes killed that approach. (1) **Context engineering cost:** by mid-last year building an agent took about **five minutes**, but giving it enough business context to be accurate took forever, and agent quality tracked context-engineering quality, producing lost-trust incidents with stakeholders. (2) **Island agents:** when marketing changed positioning, the SDR agent on the website kept pitching the old version — human orgs have a town hall for this, agents had no equivalent, and nobody could see how the agents were even connected. (3) **Untraceable failures:** when an agent got something wrong, there was no way to tell whether the model, the agent, or the context was at fault. (4) **Context sprawl:** each agent had its own memory system, so they learned separately and differently, and no single version of truth existed.
- **Agentic-layer churn compounds the trapping problem.** In roughly 12 months Atlan went from the no-code builder Relevance, to Google ADK, to Glean, to Claude Code at the start of this year, and is now roughly **50/50 Claude and Codex**. Every migration left context trapped in the system being left behind.
- **Era two: general-purpose agents over shared context.** The reframe is that Maya is not a lone star but part of a dream team, and dream teams run on shared context — shared language, a shared picture of what is true today, shared playbooks, shared norms about who may decide what, shared memory of last quarter's failure, and compounding learning loops about what good looks like.
- The architecture that followed: humans across the org author **domain skills**, all of which land in one common "company brain" — the context layer — which exposes retrieval mechanisms to general-purpose agents across the ecosystem.
- The marketing team's build, as an example: on the left, the systems marketing uses (data, social/community, ad platforms, analytics). On the right, a deliberately open agent block — Claude Code, Cowork, an in-house agent deployed into Slack channels, plus external products Qualified and Artisan. In the middle, the context layer itself, authored by domain experts — the best SEO person writing the SEO skill, the best competitive intel person writing the competitive intel skill — as a shared repo everyone pushes to and pulls from.
- What that brain turned out to need: a **data graph** (the autonomous ads agent doing daily analysis needs to know which table to pull from), a **library of skills**, **semantics and metrics** (what ARR means and how it is measured, what counts as a qualified lead), and **org structure and entities**.
- Scale reached: about **300 skills and 40 agents** in that one team over six months.
- **Era two's own failure mode: context needs to be managed like code.** Dependency chains break — the competitive intelligence skill learns from market changes and feeds the category positioning skill, which feeds the sales battle card skill, so every improvement upstream breaks something downstream, and skills drift and go stale. Ownership of skill quality was unclear. Security and governance was, in her word, a nightmare: secrets hardcoded in `.env` files, people downloading public skill repos. And context portability across agent systems remained unsolved.
- Sankar's framing question for the category: **what does the GitHub for context look like?** Company context needs lifecycle management, collaboration, and versioning the way code does, plus answers to what is local versus global context and how it stays current. Skills should carry a profile like code does, with a self-learning loop baked in, quality management, and security posture management — plus declared impact ("this thing affects all these other things"), an approver, a maintainer, and contributors, inside human-plus-AI workspaces.
- **Traces are the compounding learning loop.** Every AI interaction creates more context. Atlan deploys a harness specialized in reverse-constructing signal from traces and routing it back to the maintainer as approve/reject decisions, so quality improves over time rather than depending on a self-improving loop running unattended.
- **Where to start when the business is disparate** (the question she gets most, from people with ~60 systems): context is hidden inside business systems, and its quality compounds across them. Connecting Salesforce and HubSpot to the data warehouse and the application layer, then reverse-constructing how those things actually relate — context normally gets lost at every hop — and deploying AI on top of that reconstruction produced high accuracy for a first-pass company brain.
- Her end-state picture of a context layer: continually mine context from business systems → feed one company brain → harness it through skills and context development lifecycles as teams deploy agents → expose multiple retrieval paths (MCP, SQL, vector retrieval, hybrid assembly) → pull from traces to close the compounding learning loop.
- The risk she flags: today's default is hardcoding context per agent, which she believes is underhyped as a problem because it becomes unsustainable and dangerous at scale. The old joke that sales and finance report two different revenue numbers is about to be reproduced by autonomous systems.
- **Context is IP.** When you and your competitor have the same models and the same intelligence, what differentiates a customer support agent at American Express from one at Amazon is how that company does business — context is how culture and norms get encoded.

## Actionable Takeaways

1. Stop scoring your AI program on model capability and start scoring it on context coverage — the three classes Sankar separates are facts/knowledge (definitions, time boundaries, audience-specific meanings), expertise (diagnostic playbooks and known confounders like seasonality or a recent launch), and norms (who is asking, how you answer them).
2. Do not build a fleet of narrow single-purpose agents each carrying its own memory. That path produces island agents that miss org-wide changes, untraceable failures, and no single version of truth.
3. Put the context in a shared layer outside any agent framework, so a migration between agent stacks does not strand it. Atlan's four-hop path in ~12 months — Relevance → Google ADK → Glean → Claude Code → 50/50 Claude and Codex — is the argument for portability.
4. Have domain experts author their own domain skills into one common repo, rather than centralizing context engineering. The best SEO person writes the SEO skill.
5. Populate the company brain with four specific asset types: a data graph (so agents know which table to query), a skill library, semantics and metric definitions (ARR, qualified lead), and org structure/entities.
6. Manage skills with code discipline from day one — versioning, declared downstream dependencies, a named approver and maintainer, contributor list, quality checks, and security posture. Skills that learn continuously will break their dependents otherwise.
7. Audit for the specific security failures Sankar hit: secrets hardcoded in `.env` files, and untrusted public skill repos being pulled in.
8. Build a trace harness that reverse-constructs candidate context from interaction traces and routes it to a human maintainer as approve/reject, rather than letting agents self-improve unsupervised.
9. To bootstrap in a sprawling estate, connect the CRM systems (Salesforce, HubSpot) to the data warehouse and application layer, reverse-construct the relationships across those hops, and let AI draft the first version of the company brain from that.
10. Expose the layer through several retrieval paths — MCP, SQL, vector retrieval, hybrid assembly — rather than committing to one.

## Notable Quotes

> "Context is king." — Prukalpa Sankar

> "Context is also IP." — Prukalpa Sankar

> "The models are getting exponentially smarter by the day. On the other hand, they're not exponentially more useful by any benchmark." — Prukalpa Sankar

> "Building an agent was really easy. Took like 5 minutes. Giving it the business context to actually be accurate took forever." — Prukalpa Sankar

> "Our marketing agents changed positioning, and our SDR agent on the website was still pitching the old version." — Prukalpa Sankar (condensed)

> "What does the GitHub for context look like?" — Prukalpa Sankar

> "Every AI interaction creates more context, and harnessing this is gold." — Prukalpa Sankar

---

*You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).*

*Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*