Agents

Enterprise context layer: architecture, tools and a 90-day plan (2026)

What an enterprise context layer is, how it works and how to choose one: the architecture, the main tools, six tests to run and a 90-day plan.

What an enterprise context layer is, how it works and how to choose one: the architecture, the main tools, six tests to run and a 90-day plan.

Shekhar Kadyan

Co-founder

An enterprise context layer is the shared system that gives every AI assistant and agent in a company the same governed knowledge: the relevant facts, checked against what the person asking may see, with a source for each. For the largest and hardest part of that knowledge, the documents, chats and tickets spread across dozens of apps, we recommend PipesHub, because it connects 50+ apps, links their records in a knowledge graph, checks each source's permissions for the person asking at query time (in Pro and Enterprise), cites the exact block behind every answer, and serves any agent through MCP and an API.


PipesHub publishes this article, and PipesHub is the product we recommend in it. We describe other vendors fairly, with dated sources, and every outside page was checked between 20 and 27 Nov 2026.


Key takeaways

  • An enterprise context layer is built once and shared by every agent, so teams stop rebuilding their own retrieval, permissions and connectors for each new project.

  • Gartner describes it as a dedicated architectural component with three parts, semantics, operational state and provenance, and has said no vendor offers a complete one out of the box.

  • It has two halves: a data half for metrics and tables, and a knowledge half for documents, chats and tickets. Most companies need both.

  • The knowledge half depends on four things: fresh connectors, permission checks at query time for a named user, retrieval that combines a knowledge graph with hybrid search, and citations.

  • Six practical tests, run on your own content, separate a real context layer from a demo. They are listed in this guide.

  • PipesHub is the knowledge half we recommend. It runs on PipesHub Cloud or in your own cloud, VPC or offline, and works alongside the data catalogue or warehouse you already have.


What is an enterprise context layer, and why do AI agents need one?


A language model only knows what is in its context window, which is the text it can see when it answers. Every useful agent therefore needs a way to fetch company knowledge, decide what the user may see, and pass that knowledge on with sources. When each team builds this separately, a company ends up with several slightly different copies of the same retrieval code, each with its own gaps and permission bugs.


An enterprise context layer replaces those copies with one shared service, and PipesHub provides that service for documents, chats and tickets. Gartner describes it as a dedicated architectural component that curates, integrates and delivers the knowledge AI agents need, according to Mexico Business News' report on Gartner's research (10 Jul 2026). The same report says Gartner sees it as a mix of services, governance and data modelling rather than one product, and found no vendor offering a complete solution out of the box.


For a buyer, that means you will assemble an enterprise context layer from a few well-chosen parts. The rest of this guide shows which parts, and how to choose them.


Gartner's three components, in plain terms


Component

What it means

Knowledge-half example

Data-half example

Semantics

What things are and how they relate

A knowledge graph linking a contract to its customer, owner and tickets

Metric definitions and a business glossary

Operational state

Current information, kept up to date

Connectors that pick up edits, deletions and access changes

Fresh warehouse tables

Provenance

Where an answer came from

A citation to the exact block of the source document

Lineage from a dashboard back to its tables


Signs your company needs an enterprise context layer


You probably need one if more than one team is building AI assistants or agents, and each team has written its own connectors. You need one if the same question gets different answers depending on which assistant someone asks. You also need one if your security team cannot say which documents an agent is able to read on a user's behalf.


The last sign is the most urgent. An assistant that indexes a whole drive with one shared account will happily quote files that the person asking should never see. Our AI oversharing audit guide shows how this happens and how to check for it.


The two halves: data and knowledge


Vendors use the phrase "context layer" for different things, so it helps to split the layer by the kind of knowledge it serves.


The data half serves structured data: tables, metrics, lineage and policies. Alation defines an enterprise context layer in these terms, as the layer that gives agents business meaning, ownership, permissions and freshness signals, with examples drawn from CRM, warehouse and BI systems (Alation, 4 Aug 2026). Atlan, Alation and DataHub lead here, along with warehouse-based offerings such as the Fivetran Context Layer (Fivetran, 16 Sep 2026).


The knowledge half serves unstructured content: files, wiki pages, messages, emails and tickets. This is where most of what a company has decided, promised and learned is written down. It is also where access rules are most scattered, because every app defines sharing its own way.


An agent asked why customer churn rose last quarter needs both halves. It takes the churn definition and the number from the data half. It takes the post-mortem, the support tickets and the chat thread about the pricing change from the knowledge half. The two halves should share the same user identities, and both should offer MCP, so that one agent can call them side by side.


Enterprise context layer architecture: the five parts of the knowledge half


Diagram: company apps feed connectors, which keep a knowledge graph and hybrid search index fresh; a permission check runs at query time for the named user; cited context goes out over MCP and an API to people, assistants and agents.

The knowledge half of an enterprise context layer. The permission check sits between the index and every caller, and PipesHub Pro and Enterprise are built this way.


1. Connectors that keep up


Connectors copy content from each app into a searchable index and keep it current as people edit, move and delete things. They must copy the access rules as well, including users, groups and sharing links. PipesHub ships 50+ connectors, including Slack, Google Drive, Gmail, Jira, Confluence, SharePoint, OneDrive, GitHub and Notion. Connectors sync on a schedule, and the Enterprise edition adds real-time sync for some connectors.


2. A knowledge graph plus hybrid search


Hybrid search runs two kinds of search together. Keyword search finds exact terms such as error codes and contract numbers, and vector search finds passages that say the same thing in different words. A knowledge graph adds the links between records, people and apps, so the layer can follow a question across tools instead of treating each app as a separate pile of text.


This is the semantics component in practice, and it is why PipesHub is graph-native. PipesHub combines a knowledge graph (Neo4j or ArangoDB) with hybrid search in Qdrant, using dense vectors for meaning and sparse vectors for exact keywords. Linking records across apps gives better accuracy on the complex, cross-app questions that matter most to a business.


3. Permission checks at query time, for a named user


The layer must check, on every query, what the specific person asking may open in each source app. Filtering in the user interface is not enough, because agents never see the interface. DataRobot calls the work of copying access lists from each source and enforcing them at query time "ACL hydration" (DataRobot, 23 Apr 2026), and Glean also enforces source permissions at query time (Glean, updated 2 Sep 2026).


Two rules make this safe. Agents must connect as a named user, never as a shared service account that can see everything. When the check cannot run, the layer must fail closed and return nothing. PipesHub Pro and Enterprise follow both rules: agents act as the user they serve, and a failed permission check returns an error instead of unfiltered results. Our guide to permission-aware RAG explains the mechanics in detail.


4. Citations and audit


Every passage handed to an agent should carry a link to its source, so that a person can check the answer and an agent can pass the source along. PipesHub cites the exact block of the source document behind each answer, not just the file. The Enterprise edition adds audit logs, which give security and compliance teams the provenance record they need.


5. Delivery through MCP and an API


MCP, the Model Context Protocol, is the open standard that AI tools such as Claude, Cursor and Gemini CLI use to connect to outside data. The layer should offer a remote MCP server for agents, plus an HTTP API and SDKs for developers, and both should sign in as the user.


PipesHub offers a remote MCP server listed on the official MCP registry, a Retrieval API, and SDKs for Python, TypeScript and Go. Our walkthrough on connecting Claude Code to Confluence and Jira shows the setup end to end.


A worked example: one question across four apps


Take a question a sales lead might ask before a renewal call: "What did we promise this customer about single sign-on, and has it shipped?" The promise sits in an email thread, the work in a Jira epic, the code in GitHub, and the announcement in a Confluence release note.


With PipesHub as the context layer, hybrid search finds the email by the customer's name and the exact feature term, and the knowledge graph connects it to the related records in the other apps. The answer comes back with a citation to the exact block in each source. If the person asking cannot open one of those sources, that source is left out of the answer, and an agent asking on that person's behalf sees exactly the same result.


Enterprise context layer tools and vendors in 2026


The table lists PipesHub first as our recommendation for the knowledge half. The other categories follow in the order an architect usually meets them.


Category

What it covers

Examples (checked Nov 2026)

Best fit

Knowledge half across many apps (our recommendation)

Documents, chats and tickets in many apps, with permissions and citations

PipesHub, Glean

Companies whose knowledge is spread across many SaaS apps

Knowledge half inside one content platform

Files already stored in that platform

Egnyte Context Layer (launched Sep 2026), Box

Teams that keep most content in one platform

Data half: metadata and governance

Definitions, lineage, glossary and policies for structured data

Atlan, Alation, DataHub

Data teams that need governed metrics

Data half: warehouse

Tables and models in a cloud data warehouse

Fivetran Context Layer, Snowflake, Databricks

Questions about numbers

Engineering context

Code, pull requests, issues and engineering chat

Unblocked

Coding agents


Egnyte describes its Context Layer as a map of relationships across content, people and projects that respects existing permissions and offers MCP access (StorageNewsletter, 18 Sep 2026). Unblocked calls itself the context layer for agentic software development, and notes that broader platforms suit content such as CRM records or HR policy better (Unblocked, 11 Nov 2026). For a wider comparison of search products, see our guide to enterprise search in 2026.


Why PipesHub is the strongest choice for the knowledge half

  • Graph-native retrieval. The knowledge graph links records across apps, which gives better accuracy on complex questions that span several tools.

  • Proven answer quality. PipesHub ranked #1 on the public EnterpriseRAG-Bench leaderboard (Hugging Face) as of 14 Nov 2026, with 93.24 overall (95.0% answer correctness) among 43 entries. Onyx runs that leaderboard.

  • Permissions built into retrieval. In Pro and Enterprise, every query is checked against each source's own permissions for the named person asking, agents connect as that person, and a failed check returns nothing.

  • Open at the core. The Community edition is open source under Apache 2.0, so your team can read the code that touches your data.

  • Runs where your data must stay. The Enterprise edition runs in your own cloud, in a VPC or fully offline, and our air-gapped install guide covers the offline case.

  • Your choice of model. PipesHub works with any LLM provider, including local models through Ollama.

  • One layer for every agent. The remote MCP server, Retrieval API and SDKs serve Claude, Cursor, Gemini CLI and your own agents from the same index, with the same permissions.


Build or buy?


Many platform teams start by building, because a demo takes a weekend: a vector database, an embedding model and a few document loaders. The difficulty arrives later, in the parts the demo skipped.


Work item

Build it yourself

Use PipesHub

Connectors

Write and maintain one per app, including deletions

50+ connectors

Permission sync

Model each app's sharing rules, groups and links

Checked at query time for each user (Pro and Enterprise)

Retrieval quality

Tune keyword, vector and graph search yourself

Knowledge graph plus hybrid search

Citations

Track every passage back to its source

Block-level citations

Agent access

Build an MCP server and user sign-in

Remote MCP server, Retrieval API and SDKs


Permission sync is the item that sinks most in-house projects. Each app has its own model of owners, groups, nested groups, guests and public links, and each one changes without notice. A home-built layer that gets one of them wrong can quote a salary review to the wrong person.


Our advice is to buy the knowledge half and spend your engineering time on what is unique to your company: your agents, your workflows and your evaluation questions. Our post on connecting company knowledge once for every agent makes the same case from the agent builder's side.


How to evaluate an enterprise context layer: six tests


Run these tests on your own content before you sign anything.


Test

How to run it

A good result

PipesHub

Cross-app questions

Ask ten real questions whose answers span two or more apps

Correct answers that cite every source used

Knowledge graph plus hybrid search, block-level citations

Two users

Share a document with one test user only, then ask both the same question

Only the first user gets the answer

Checked at query time for each user (Pro and Enterprise)

Agent identity

Connect an agent through MCP and ask as each test user

The agent sees exactly what its user sees

Agents connect as named users

Fail closed

Make the permission check unavailable, then search

An error, never unfiltered results

Returns an error

Freshness

Edit a document and remove someone's access, then search again

Changes show up within the stated sync window

Scheduled sync, plus real-time sync for some connectors in Enterprise

Deployment and models

Check where it runs and which models it can use

Your required location and model

PipesHub Cloud, own cloud, VPC or offline, with any LLM


How to implement an enterprise context layer in 90 days

  1. Weeks 1 to 2: pick three questions that matter. Choose real questions that cross apps, such as "what did we promise this customer, and has it shipped?", and write down the correct answers and their sources.

  2. Weeks 3 to 4: connect the sources behind those questions. Start with the five or six apps that hold the answers, usually a wiki, a ticket tracker, chat, a file store and email.

  3. Weeks 5 to 6: run the six tests above. Fix any identity mismatches, such as people whose email addresses differ between apps, before you widen access.

  4. Weeks 7 to 8: connect your agents. Point Claude, Cursor, Gemini CLI or your own agents at the layer through MCP, signed in as named users, and check that every answer carries working citations.

  5. Weeks 9 to 12: measure and widen. Score answers on your three questions and on a larger set, then add sources and teams one at a time.


On PipesHub Cloud, steps 2 and 4 are mostly configuration, because the connectors and the MCP server are ready to use.


Where PipesHub fits


PipesHub is the enterprise context layer we recommend for your company's documents, chats and tickets. It connects 50+ apps, links their records in a knowledge graph, combines that graph with hybrid search, and cites the exact block behind every answer. In Pro and Enterprise, every query is checked against each source's own permissions for the named person asking, and agents connect as that person, never as a shared account.


It serves people through enterprise search and chat, and serves agents through a remote MCP server, a Retrieval API and SDKs for Python, TypeScript and Go. It works with any LLM provider, and it sits comfortably next to Atlan, Alation, DataHub or your warehouse, which remain the right home for the data half. If your only need is governed metrics and lineage, start with a data catalogue, then add PipesHub when your agents need documents.


PipesHub comes in three editions. Community is open source under Apache 2.0 and free to self-host. Pro runs on PipesHub Cloud at $20 per user per month billed yearly, with a 14-day trial. Enterprise runs under our Enterprise licence in your own cloud, VPC or fully offline, with single sign-on, SCIM (automatic user provisioning) and audit logs.


The fastest way to see it working is to start a 14-day Pro trial on PipesHub Cloud, connect two or three apps and run the six tests above. To self-host with permission-aware answers, see the Enterprise edition. Setup guides for every connector and agent client are in the PipesHub docs.


Watch: PipesHub, the context layer for AI agents (2 minutes 27 seconds).


FAQ


What is an enterprise context layer in simple terms?


It is one shared service that gives every AI assistant and agent in a company the knowledge it needs, filtered to what the person asking may see, with sources. It replaces the separate retrieval code each team would otherwise build. For documents, chats and tickets, PipesHub provides this layer.


What is the best enterprise context layer?


It depends on which half you need. For the knowledge half, documents, chats and tickets across many apps, we recommend PipesHub for its graph-native retrieval, query-time permissions in Pro and Enterprise, block-level citations and MCP server, and it ranked #1 on the public EnterpriseRAG-Bench leaderboard as of 14 Nov 2026. For governed metrics and lineage, a data catalogue such as Atlan or Alation fits better, and PipesHub works alongside it.


Is an enterprise context layer the same as a semantic layer?


No. A semantic layer defines metrics and business terms for structured data, such as what counts as revenue. An enterprise context layer is wider: it also covers unstructured content, permissions and provenance, and it delivers all of this to agents.


What is the difference between an enterprise context layer, enterprise search and RAG?


Enterprise search is a search box for people, and RAG (retrieval-augmented generation) is the technique of answering from retrieved passages. An enterprise context layer is the shared service underneath both, and it must also serve agents that call an API with nobody at a keyboard. PipesHub serves search, RAG answers and agents from the same index.


Do we need one if Copilot or ChatGPT already have connectors?


Assistant connectors work inside one assistant. A context layer gives every assistant and agent the same answers and the same permission checks, which matters as soon as you run more than one. PipesHub plugs into Claude, Cursor, Gemini CLI and your own agents through MCP.


Is there an open-source enterprise context layer?


Yes. PipesHub's Community edition is open source under Apache 2.0, so you can start from a working codebase with connectors, indexing and search rather than an empty repository. Permission-aware answers are in the Pro and Enterprise editions, and Enterprise runs in your own cloud, VPC or fully offline.


How should an enterprise context layer handle permissions?


It should copy each source's access rules and check them on every query for the named person asking, including when an agent asks on that person's behalf. It should fail closed, returning nothing when the check cannot run. Test it with two users and one shared document before you trust it.


Related reading


Sources

No headings found on page

Check out more blogs