Context Store
The Context Store is a managed, searchable replica of select entities from all your connected data sources. Airbyte populates it from the connectors in your workspace and gives agents a fast, consistent way to search your business data without hitting the underlying APIs for every request.
Some third-party APIs have search endpoints, but many don't. Without the Context Store, prompts like these force your agent to list, page through, and filter records from the API in real time:
List all customers closing this month with deal sizes greater than $5000.Search all dresses and find the ones with a color option of red.
Working this way causes a variety of problems:
- Unbounded growth of the context window
- Long-running queries
- Iterative collection of paginated lists of records
- API rate limiting
The result is a query that takes substantial time and resources to process, a degraded experience, and inflated costs.
The Context Store solves this problem by making key fields available to your agents in Airbyte-managed storage. Airbyte replicates a curated subset of the entities in your agent connectors into the store and keeps it up to date. Agents then answer these kinds of questions with fast, indexed searches instead of live API crawls.
What's in the Context Store
Each connected source has its own isolated store. Airbyte curates the store for search, not archival.
- Airbyte selects a subset of fields and entities that are useful for search, not every record or field in the source.
- Each organization's data is only accessible to agents within that organization.
- Data in the store refreshes on a schedule that depends on your plan. See Billing and pricing for details.
For the list of entities each connector contributes, see Agent connectors.
Who manages the Context Store
The Context Store is enabled by default for every organization and operates at the organization level. Organization administrators can view Context Store status and monitor population progress from the Connectors page in the web app.
Check Context Store status
You can check Context Store status in two places on the Connectors page: per connector and per entity.
Per-connector status
Each connector in the Connectors list shows a status badge.
- Ready. The store is populated and fully available for search.
- Preview. The first population is still in progress, but some data is already searchable.
- Building Preview. The first population is in progress and no data is searchable yet.
- Loading. Airbyte is preparing the store for this connector.
Ready and Preview are both usable states for agents. Preview means newer records may still be arriving.
Per-entity status
Click the status badge on a connector to open a detailed view. The view lists every entity Airbyte populates for the connector, along with:
- Entity. The entity name, for example
contacts,deals, orproducts. - Status.
Ready,Preview,Building Preview,Initializing, orUpdating. - Records. The number of records currently searchable for that entity.
- Last Synced or Last Updated. The most recent time Airbyte refreshed that entity.
Use this view to confirm which entities are ready to query and which are still populating.
How agents use the Context Store
When an agent processes a prompt, it chooses between two execution paths for each connector operation:
- Context Store search. The agent queries the pre-indexed replica in the Context Store. This path handles filtering, sorting, and aggregation without calling the third-party API, so it returns results faster and uses fewer tokens. Agents prefer this path when the entity is available in the Context Store.
- Direct request. The agent calls the third-party API in real time. This path always returns the most current data, and it's the only option for entities that aren't in the Context Store or for write operations like creating and updating records.
Agents choose between these paths automatically. You don't need to specify which path to use in your prompts. In chat, each tool call displays a badge that indicates whether it used the Context Store or a direct request.
How search works
The Context Store supports structured search with filter operators, field selection, sorting, and cursor-based pagination. The agent translates user intent from natural language into a structured query, so you don't need to construct queries by hand.
If you build agents with the SDK or API, you can call context_store_search directly and pass structured filters. For details on the query model, see the individual connector reference pages, which document the available entities, filter fields, and search parameters for each connector.
Initial index
When the Context Store populates data for a connector, Airbyte runs an initial index. Indexing time depends on the amount of data and third-party API rate limits, and can range from minutes to days.
During the initial index, Airbyte makes data available to agents progressively. You don't have to wait for the index to finish before agents can search. An entity in Preview status already has partial data that agents can query. As indexing continues, more records become searchable until the entity reaches Ready status.
The per-entity detail view on the Connectors page shows record counts and timestamps so you can track indexing progress.
When to use the Context Store
The Context Store is always on and requires no configuration. It benefits most workflows by default:
- Agents can search across large amounts of connector data with predictable latency.
- Prompts like "find all X where Y" run as a single search instead of a live API crawl.
- Search behavior is consistent across connectors, including connectors whose APIs don't offer their own search endpoint.
If you already maintain your own copy of the relevant data and prefer to expose it through your own tools, or if you only need to read or write a small number of records at a time and don't need to search across a dataset, agents still fall back to direct API requests automatically.
Limitations
- Data freshness. The Context Store is not real-time. Airbyte refreshes data on a schedule that depends on your plan, ranging from hourly to daily. See Billing and pricing for refresh cadence by plan.
- Curated subset of data. Not every field or entity from a source is included. Airbyte indexes only the fields and entities that are most useful for search. You can see which entities populate the Context Store when selecting entities in the authentication widget.
- Initial indexing delay. The first time Airbyte populates a connector, the initial index can take minutes to days depending on data volume and API rate limits.
- Read-only. The Context Store supports search operations only. Write operations like creating, updating, or deleting records always go through a direct API request.