The traditional approach to integrating AI agents with business systems relies heavily on individual Multi-Client Plugins (MCPs), each querying specific business systems in isolation. While effective for single-tool tasks, this fragmented approach forces agents to manually piece together context from disparate sources. This becomes particularly problematic when agents need to reason across a broad spectrum of an organization’s data. The core issue, as identified by Airbyte, lies in the assumption that raw APIs and most existing MCPs require users to possess pre-existing knowledge of specific endpoints, object IDs, and exact fields. This puts agents at a disadvantage, as their initial step often involves discovery – searching and identifying relevant data sources, parameters, and entities before they can even begin data retrieval. This process grows exponentially more complex as businesses expand and integrate a larger number of systems.
Airbyte’s Agent MCP aims to fundamentally alter this paradigm. By establishing a single connection, it grants AI agents access to an organization’s entire business context, unified and readily queryable. This unified context is powered by Airbyte’s proprietary Context Store, a data index specifically optimized for agentic search. The Context Store consolidates data from across various business systems, creating a cohesive information layer.
The proliferation of AI assistants like ChatGPT, Claude, and Cursor has underscored the growing need for more sophisticated integration capabilities. As users leverage these tools for increasingly complex workflows, the limitations of fragmented data access became apparent. Airbyte, a company known for its data integration platform, recognized this burgeoning demand for a more cohesive approach to AI agent enablement.
The development of the Agent MCP can be traced back to the observed inefficiencies in current agent deployments. When an agent needs to interact with multiple business systems – for instance, to retrieve customer information from a CRM, check support ticket status from a helpdesk, and review billing records – it traditionally requires separate API calls to each system. This process is not only time-consuming but also computationally expensive, often leading to high token consumption within the AI model’s context window.
Airbyte’s initiative to build a unified MCP was driven by the goal of simplifying this complex interaction. The company’s existing expertise in data connectivity and orchestration provided a strong foundation for developing a solution that could aggregate and present business data in a standardized, easily digestible format for AI agents.
The Airbyte Agent MCP distinguishes itself by offering a singular point of integration. This unified connection grants an AI agent access to an organization’s entire business context, facilitated by the Context Store. This innovative component acts as a central repository, indexing and optimizing data from across all connected systems for efficient agentic search.
Beyond providing read access to data, the Agent MCP also facilitates direct read and write actions to APIs. This crucial feature empowers agents to not only gather information but also to act upon it, enabling them to update records, create new entries, or trigger workflows within business systems. This bidirectional capability is essential for creating truly autonomous and productive AI agents capable of performing complex operational tasks.
The setup process for the Agent MCP is designed for simplicity and speed. Users connect the Agent MCP once within their chosen AI client. After authenticating with their Airbyte account, individual data sources can be connected directly through the Airbyte UI, utilizing either OAuth or API keys. This streamlined integration minimizes the technical overhead typically associated with connecting multiple disparate systems.
With the Agent MCP in place, the nature of agent queries undergoes a significant transformation. Instead of executing single-system lookups, agents can now perform queries that span multiple business functions simultaneously. For example, a request to "find all outstanding issues for our top enterprise clients" can now draw data from CRM, support desk, and billing systems in a unified manner.
Without the Context Store, fulfilling such a request would necessitate multiple API calls, complex data joins, and schema matching across different systems – a process that is prone to errors and significant latency. The Agent MCP, through the Context Store, allows the agent to query a single, unified layer, delivering a comprehensive overview in a matter of seconds.
Furthermore, the enhanced write capabilities of the Agent MCP are crucial for operational efficiency. A growing number of Airbyte’s connectors support write operations, enabling agents to perform actions such as updating customer records in a CRM, creating support tickets in a helpdesk system, or posting updates to collaborative platforms like Slack. This ability to automate actions based on data insights makes AI agents far more valuable in day-to-day business operations.
One of the most compelling benefits of the Airbyte Agent MCP is its impact on efficiency, particularly in terms of token consumption and the number of tool calls made by AI models. Traditional MCPs often flood an AI model’s context window with raw API responses, leading to increased processing costs and potential performance degradation.
In early testing, Airbyte observed that the use of the Context Store resulted in approximately 40% fewer tool calls and up to an 80% reduction in token consumption when compared to querying individual vendor MCPs directly. This significant efficiency gain is attributed to the structured and optimized data provided by the Context Store, which allows the AI model to process information more effectively.
Airbyte conducted comparative tests across five popular connectors: Gong, Linear, Salesforce, Slack, and Zendesk. These tests encompassed scenarios involving data retrieval, listing, and searching. The results consistently demonstrated substantial token savings when utilizing Airbyte’s Agent MCP. For instance, in scenarios involving data retrieval from Salesforce, the Airbyte MCP reportedly achieved a 70% token saving. Similarly, for listing operations in Zendesk, the savings were as high as 80%. Searching for information within Slack also saw significant reductions, with token consumption lowered by approximately 60%.
Airbyte plans to release its benchmark harness publicly, allowing users to replicate these tests and verify the efficiency gains for themselves. This commitment to transparency underscores the company’s confidence in the performance of its new solution.
The efficiency savings offered by the Agent MCP extend beyond mere cost reduction. They translate into tangible improvements in AI agent performance and the quality of their outputs. Consider a common request: finding specific information within Slack. While the Slack API offers search functionality, its effectiveness can be hampered by factors such as user permissions, token configurations, and workspace settings. An agent attempting to perform this search directly might need to enumerate channels, parse message histories, and examine individual threads, a process that is both time-consuming and token-intensive.
However, with the Airbyte Agent MCP and its integrated Context Store, Slack data is already indexed. This means the agent can perform a direct, optimized search within the indexed data, bypassing the need to sift through thousands of individual messages. This focused approach keeps the AI model’s context window narrow, providing it with clean, structured data. This allows the model to dedicate more of its computational resources to reasoning and problem-solving, ultimately leading to more accurate and relevant responses. In essence, the efficiency gains enable AI agents to operate with greater clarity and less cognitive load, improving their overall utility.
A significant challenge in the current AI agent ecosystem is the inherent inconsistency among vendor-specific MCPs. Each MCP returns information in its own unique format, adhering to distinct standards, limitations, and truncation rules. This forces AI agents to dynamically adapt to a multitude of differing data structures and protocols on the fly.
While this can be manageable when an agent is interacting with a single tool, the complexity escalates dramatically when an agent needs to synthesize information from three or four different systems for a single task. The agent is then burdened with deciphering and reconciling the inconsistencies from each source simultaneously. Each additional API call introduces more tokens, increases latency, and heightens the risk of the agent losing track of previously retrieved information.
The Airbyte Agent MCP offers a substantial advantage by providing a consistent and standardized context layer. Because all information flows through the Context Store, the AI agent receives well-structured and uniform context for every task, regardless of the originating system. This uniformity significantly reduces the cognitive load on the AI model, enabling it to process information more efficiently and reliably.
The Airbyte Agent MCP is positioned to benefit a wide range of users and organizations. It is designed for anyone currently utilizing AI clients like Claude, ChatGPT, or Cursor who aspires to build AI agents that possess a genuine understanding of their business operations. This includes not only technical professionals but also individuals in marketing, human resources, operations, and other departments who have an idea and the necessary tools to implement it.
The product’s ease of use aims to democratize the development of sophisticated AI agents. By abstracting away the complexities of multi-system integration, Airbyte empowers a broader audience to leverage the power of AI for their specific business needs.
The Agent MCP is compatible with a variety of popular AI clients, including Claude Desktop, Claude Code, ChatGPT (with Developer Mode enabled), Cursor, VS Code Copilot, Codex, and any other client that supports the MCP standard. The setup process is reportedly straightforward and takes only a few minutes, irrespective of the client chosen.
Airbyte’s Agent MCP is launching with a robust foundation, offering 50 production-ready connectors that cover a wide array of critical business systems. These include widely adopted platforms such as Salesforce, HubSpot, Zendesk, Jira, Slack, GitHub, Stripe, Gong, and Linear, among others. The company has indicated a commitment to expanding its connector library, with new additions slated for release on a weekly basis.
The Context Store, serving as the unified layer for business context, is now available. Airbyte acknowledges that further development is ongoing and encourages users to anticipate future feature releases. While the current offering is functional and already demonstrating tangible results for early adopters, Airbyte emphasizes its commitment to an open development process, aiming to collaborate with the community on future enhancements.
The Agent MCP is currently available with a generous free plan, catering to initial experimentation and smaller-scale deployments. Paid plans are offered for users who scale their usage, ensuring that the solution can adapt to the evolving needs of growing businesses.
For detailed setup instructions and a comprehensive list of supported clients, users are directed to the official MCP documentation. The overarching message from Airbyte is clear: one MCP can unlock access to an entire business’s context, empowering AI agents with the intelligence they need to drive significant operational improvements. The company invites users to explore the capabilities of the Agent MCP and experience its transformative potential firsthand.
]]>The fundamental limitation of many current AI agent implementations, particularly those showcased in demos, lies in their reliance on predetermined data paths. These agents operate under the assumption that they know precisely which customer to query, which specific API endpoint to access, and which data fields are relevant. This level of certainty is rarely present in live production scenarios. Users frequently pose ambiguous or multifaceted questions, requiring agents to navigate a labyrinth of disparate data sources, understand unfamiliar data schemas, and rapidly pinpoint the exact location and relevance of the necessary information.
This manual assembly of information at runtime, often involving fetching data from multiple endpoints into a limited context window, degrades the quality of the agent’s eventual output. Raw APIs, the bedrock of many current integrations, are inherently designed for applications that possess a clear understanding of the required data: the endpoint, object ID, specific fields, and the desired operation. Production agents, however, often initiate their tasks at an earlier stage – the discovery phase. Without a robust mechanism to identify pertinent entities and their locations across an organization’s diverse data landscape, these agents are severely hampered before they can even begin to perform their intended functions.
Airbyte’s Agent SDK tackles these challenges head-on with a split architecture that bifurcates agent operations into distinct, yet integrated, layers. This approach comprises a dedicated context layer for intelligent data discovery, live connectors for efficient and accurate execution, and a robust system for audited writes back to source systems, ensuring data integrity and accountability.
The successful implementation of production-grade AI agents hinges on the effective separation and execution of three core operations: discovery, fetching, and action. The prevalent issue within existing API integration paradigms is the attempt to bundle these distinct phases into a single, often inefficient, runtime loop.
Discovery: The Pinnacle of Complexity
The discovery phase is unequivocally the most demanding. It necessitates that an agent meticulously search, identify, and disambiguate relevant data sources, the precise parameters required for querying them, and the specific entities that hold the pertinent information. This complexity escalates exponentially as businesses grow and integrate an increasing number of disparate systems, each with its own unique data structures and access protocols. The agent must act as a highly sophisticated data detective, piecing together clues from various systems to form a coherent understanding of the user’s request.
Fetching: Real-Time Data Acquisition
Once the agent has successfully navigated the discovery phase and pinpointed the relevant systems and parameters, the subsequent step involves fetching fresh, up-to-date state data from the source systems. This data retrieval must be performed in real-time to ensure that the agent is operating with the most current information available, thereby preventing decisions or actions based on outdated or stale data.
Action: Executing with Precision and Auditability
With the necessary information acquired, the agent is then empowered to act. This action could range from updating a customer record in a CRM system, posting a new support ticket in a helpdesk platform, or sending a crucial notification via a messaging application like Slack. Crucially, the action phase carries the highest inherent risk among the agent operations. Therefore, it is paramount that every action undertaken by the agent is meticulously logged and auditable. This provides a transparent trail of the agent’s activities, crucial for troubleshooting, compliance, and maintaining system integrity.
While this entire loop can be executed at runtime, it is only effective when application code already possesses explicit knowledge of the endpoint, object ID, and operation. This approach falters when an agent begins with a user’s intent rather than a specific identifier. For instance, when a production agent is tasked with answering a question like, "Should we refund this customer?", it cannot simply make a call to a predefined API. Instead, it must first embark on a complex discovery process: identifying the customer, correlating them with recent support tickets, scrutinizing their billing history, assessing their account status, and determining which system holds the definitive source of truth for each piece of information.
When these multi-step discovery and data retrieval processes are executed through raw APIs at runtime, the underlying AI model incurs significant costs. These costs manifest not only in terms of token consumption – a critical resource in Large Language Models (LLMs) – but also in increased latency and a higher number of tool calls. Furthermore, the reliability of the agent can be compromised as it is forced to infer data structures from API responses that were not originally designed for such interpretative tasks. The ideal scenario dictates that an agent should only proceed to fetch and act after a successful discovery phase, and this discovery should be conducted against a structured, indexed context. Airbyte’s split architecture, featuring a dedicated context layer and live connectors, provides precisely this solution.
The Agent SDK is engineered to bring this crucial split architecture for discovery and execution to life. It offers developers a seamless Python interface, granting them access to Airbyte’s extensive library of Agent Connectors and the Context Store – a unified and intelligent data index.
The Context Store: Empowering Discovery
The Context Store serves as the linchpin for the discovery process. It ensures that searchable business context is not only structured but also meticulously indexed before the agent begins its operations. This pre-processing eliminates the need for the agent to perform rudimentary data searches and schema interpretation on the fly, significantly accelerating the discovery phase and improving its accuracy.
Connectors: Driving Execution with Auditability
Complementing the Context Store are the live connectors, which are responsible for the execution phase. These connectors facilitate real-time data reads, enable direct writes back into source systems, and crucially, maintain an immutable audit trail for every action performed. This comprehensive logging ensures complete transparency and accountability for all agent-initiated modifications to an organization’s data.
This architectural distinction means that the agent is liberated from the arduous task of stitching together raw API responses at runtime. Instead, it can efficiently locate the precise business entity of interest and then, with confidence, fetch the most current state data or initiate an action when it is most pertinent.
The SDK is designed with developer accessibility in mind, offering a straightforward Python interface. Installation is a one-command operation:
uv add airbyte-agent-sdk
This command, utilizing the UV Python package manager, allows developers to become operational within minutes. The core execution loop is elegantly simple: connect to a source, execute defined operations, and receive strongly typed results back.
from airbyte_agent_sdk import connect
github = connect("github")
result = await github.execute("issues", "list", params="per_page": 10)
for row in result.data:
print(row)
Each connector within the SDK exposes distinct entities (such as "issues," "contacts," "deals," or "invoices") and a range of actions (including "list," "get," "search," "create," and "update"). For connectors that support typed submodules, developers benefit from invaluable IDE autocompletion and method-level docstrings, making code development intuitive and less error-prone. For instance, await hubspot.contacts.list(limit=10) functions precisely as one would expect, offering predictable and self-documenting code. For connectors that do not offer typed submodules, the generalized execute(entity, action, params) interface provides a flexible means of interaction.
A key consideration for development teams is how a new SDK will integrate with their existing technology stacks. Airbyte’s Agent SDK is intentionally designed to complement, rather than replace, existing frameworks. It functions as a robust data layer that can be seamlessly integrated beneath popular orchestration tools and agent development frameworks such as Claude Agent SDK, OpenAI Agents SDK, PydanticAI, LangChain, and FastMCP, or even custom Python-based agent loops. The fundamental pattern involves wrapping an Airbyte connector as a tool, exposing it to the agent, and then allowing the LLM to leverage it for data retrieval and action execution.
For scenarios requiring broad operational coverage without the need for individual operation wiring, the tool_utils decorator proves invaluable. This decorator automatically generates a comprehensive tool description directly from the connector’s schema. It encompasses every entity, every action, and every parameter, providing the LLM with a complete understanding of the available functionalities without requiring additional developer effort.
from pydantic_ai import Agent
from airbyte_agent_sdk import connect
from airbyte_agent_sdk.connectors.github import GithubConnector
agent = Agent("openai:gpt-5.4")
github = connect("github")
@agent.tool_plain
@GithubConnector.tool_utils
async def github_execute(entity: str, action: str, params: dict | None = None):
return await github.execute(entity, action, params or )
Conversely, for teams desiring granular control over the agent’s perception of available tools, the SDK allows for the definition of individual tools per connector, complete with hand-written, descriptive docstrings. Regardless of the chosen approach, the Context Store remains the foundational element that underpins all operations. The SDK intelligently wraps each connector as a tool accessible by the agent. Developers initiate connections using connect(), and then leverage execute() to perform operations. The agent, guided by the user’s natural language prompt, intelligently determines which entity and action to invoke.
The initial benchmarking of the Context Store against alternative approaches yielded expected reductions in token consumption. However, the true significance of these savings became apparent when considering their compounding effects on overall agent performance and reasoning capabilities.
Compared to agents that rely on raw API calls, the integration of the Context Store has demonstrated a reduction of up to 40% in tool calls and an impressive decrease of up to 80% in token consumption. This finding, detailed further in Airbyte’s launch blog, signifies more than just a cost reduction. These token savings translate directly into an expanded "reasoning budget" for the agent. With fewer tokens dedicated to raw data retrieval and formatting, more of the LLM’s context window becomes available for crucial instructions, prior conversational turns, intermediate reasoning steps, and subsequent tool calls.
In a production environment, agents are not designed for single executions; they are expected to operate continuously, potentially thousands of times a day. For an estimated 10,000 daily calls, the token savings translate into hundreds of millions of tokens that are not paid for, do not introduce unnecessary latency, and do not burden the model with extraneous information. This quantitative improvement represents the critical differentiator between an agent that performs adequately in a controlled demonstration and one that can reliably and efficiently operate in the demanding landscape of production.
Beyond the raw numerical benefits, two fundamental aspects of the Context Store provide substantial advantages for production agents: consistency and structured data.
Consistency Across Diverse Data Sources:
Every vendor’s system returns information in its own unique way, often without adherence to standardized formats. They impose their own operational limits and truncation rules, forcing agents to dynamically decipher these variations on the fly. The Context Store, however, provides consistently structured information, ensuring that agents can always reason effectively and predictably, regardless of the underlying data source. This standardization significantly reduces the cognitive load on the AI model.
Structured Data for Programmatic Operations:
The Context Store returns data in a typed JSON format, which agents can programmatically filter, sort, and join. Many alternative data retrieval methods, such as those from Multi-Cloud Providers (MCPs), often return loosely structured natural-language outputs or raw API payloads. While a paragraph stating "Sarah opened a P1 issue last Tuesday about the checkout bug" is human-readable, it is not readily amenable to programmatic analysis. An agent cannot easily sort such data by severity or join it with corresponding records in a CRM system. Typed JSON, as provided by the Context Store, bypasses this complex parsing step entirely, delivering data fields that agents can directly operate on.
While read-only agents are capable of reporting on existing data, they lack the ability to enact changes. Recognizing this limitation, the Airbyte SDK actively supports write operations across a growing portfolio of connectors. This enables agents to perform critical tasks such as creating Jira tickets, updating Salesforce records, or posting messages to Slack, all through the same intuitive execute() interface.
Crucially, every write operation is meticulously logged and traceable. In production environments where agents interact with systems of record, it is imperative to maintain a clear record of what actions were performed, when they were executed, and which credentials were used. This level of auditable traceability is considered a fundamental requirement for any production-ready agent.
The Airbyte Agent SDK represents an early but powerful iteration of a solution designed to address long-standing challenges in AI agent development. The underlying replication infrastructure powering the SDK has been in production for years, serving thousands of companies, and the Context Store is already proving effective for teams actively building on the platform. Airbyte remains committed to continuous development and is actively shipping new features and improvements.
The SDK is launching with an initial offering of 50 production-ready connectors, encompassing popular platforms such as Salesforce, HubSpot, Zendesk, Jira, Slack, GitHub, Stripe, Gong, and Linear. The company has committed to releasing new connectors on a weekly basis, further expanding the SDK’s utility and reach.
Developers can begin building with the Airbyte Agent SDK today through its Free plan, with paid plans available to accommodate scaling usage. Comprehensive installation instructions, code examples, and the complete API reference are readily accessible in the SDK documentation.
For developers grappling with data-related limitations in their agent development endeavors, Airbyte’s Agent SDK offers a potent and purpose-built solution. Its innovative architecture and robust feature set are designed to bridge the critical gap between theoretical agent capabilities and their practical, reliable deployment in production environments.
]]>The Limitations of Metric Abstraction for Agentic Systems
The core issue lies in the fundamental difference between an analyst’s query and an agent’s operational requirement. While a semantic layer excels at defining and standardizing metrics for aggregate analysis, it falls short when an agent needs to perform complex, multi-system tasks. Consider an agent tasked with resolving a customer issue. It might need to correlate a Stripe charge, a Zendesk support ticket, and a Salesforce contact to identify a single individual and understand their recent interaction history, including any negative experiences. This necessitates understanding entities—customers, transactions, support interactions—and the intricate web of relationships connecting them across different operational systems.
Weekly discussions with founders and operators building agents on top of established data stacks reveal a recurring pattern. These teams have diligently implemented robust data foundations, including dbt for data transformation, LookML or Cube for semantic modeling, and carefully governed metric definitions. Their dashboards present a unified view of key performance indicators, yet their agents frequently falter in production. The common failure point isn’t in the underlying data models or the prompt engineering; it’s the agent’s inability to reliably resolve that records from billing, support, and CRM systems all refer to the same real-world customer.
This breakdown occurs because semantic layers were architected for a different consumer: the human analyst interacting with BI tools. They address the "meaning" layer of context engineering, ensuring that "revenue" is understood uniformly. However, agents require more than just a shared vocabulary of metrics. They need "structure" (entities and their cross-system relationships) and "control" (permissions, auditability, and defined action capabilities). When teams invest heavily in metric definition and discover that agents struggle with operational edge cases, they often realize the critical absence of structure and control.
The Entity Gap: A Fundamental Architectural Mismatch
The problem extends beyond missing features; it points to a deeper architectural mismatch. For the past decade, the modern data stack has been optimized around the metric as the atomic unit of data infrastructure. Tools like dbt, LookML, and Cube, along with calculated fields in BI platforms, are designed to define, govern, and query metrics. This focus has been immensely successful in achieving metric consistency, enabling analysts to confidently report on figures like Monthly Recurring Revenue (MRR).
However, this metric-centric paradigm has created a significant blind spot: the operationalization of entity identity and relationships across systems. While teams can meticulously define MRR and ensure its consistency, they often cannot definitively state that a customer_id 4821 in Stripe is the same individual as [email protected] in Zendesk. The industry has excelled at standardizing the meaning of aggregate data without addressing the operational consistency of identity across systems. This asymmetry has emerged as a critical bottleneck for agentic applications.
The advent of AI agents necessitates a paradigm shift. If the Business Intelligence (BI) era elevated the metric to a first-class citizen of data infrastructure, the agentic era demands that the entity achieve this status. This is not a mere feature gap but a fundamental reorientation. The vast majority of modern data stack tools are geared towards defining, governing, and querying metrics. Far fewer tools, workflows, and dedicated roles exist for resolving, connecting, and traversing entities across diverse systems. The current imbalance explains why many organizations with sophisticated data governance still struggle to enable agents to execute multi-step workflows. As noted by Jessica Talisman in Metadata Weekly, AI systems reason differently than human analysts. They don’t primarily need metrics presented in charts; they require a robust understanding of concepts, their inherent relationships, and the ability to infer meaning from these connections.
Lessons from the Text-to-SQL Graveyard
The early wave of text-to-SQL products, which emerged following the launch of ChatGPT, offers a prescient cautionary tale. These tools promised users the ability to "chat with their database" and receive instant answers. While they demonstrated impressive capabilities in narrow, clean environments, sustained production usage proved elusive for many. The post-mortems often focused on simplistic implementations or model quality. However, conversations with builders from that era reveal a more nuanced failure mode rooted in the complexity of multi-system data interactions.
Text-to-SQL solutions often performed remarkably well when queries were confined to a single system with a well-defined schema. Questions like "How many orders last week?" or "Top SKUs" were easily handled because all necessary information resided within that system’s schema. The models appeared brilliant. The challenge arose when teams integrated a second or third system—support tickets, refund data, billing events, CRM contacts. Suddenly, the agent wasn’t failing on SQL generation; it was failing on the implicit meaning of relationships that were absent from any single schema. The model lacked the contextual knowledge to understand which ticket belonged to which order, which refund was associated with which customer, or what constituted a "negative" support experience within that specific company. The models could not reason about relationships that had never been formally defined.
.png)
These teams stumbled because they inherited the semantic layer’s foundational assumption: that "understanding data" equates to knowing what individual columns mean. They discovered that agents require something beyond column-level abstraction—namely, a comprehensive understanding of how entities connect across disparate systems. The initial success within single systems ironically made the multi-system failures harder to diagnose, as the teams had evidence that "it works." This pattern suggests a structural prediction: any team building agents on top of a semantic layer without a formal ontology is undertaking a similar experiment, albeit with a longer timeline before critical failures emerge.
Ontology vs. Semantic Layer: A Map vs. A Dictionary
The distinction between a semantic layer and an ontology can be visualized as the difference between a dictionary and a map. A semantic layer, much like a dictionary, defines the meaning of words. It tells you what "revenue" signifies and how it’s calculated. An ontology, however, functions as a map, illustrating how different entities and concepts connect. One can possess a perfect dictionary and still be utterly lost when trying to navigate a complex territory.
Kirk Marple emphasizes that metadata, when structured as a model, is crucial. Providing agents with a semantic ontology is as vital as the data itself. When this ontology is populated with live data, it transforms into a knowledge graph—a dynamic, operational network of entities and their relationships that agents can traverse in real time. The semantic layer never needed to evolve into this because dashboards do not traverse relationships; agents do.
This difference becomes starkly evident when comparing the workflows of human analysts and AI agents. An analyst typically poses a question and receives a numerical answer. An agent, however, begins with an entity, such as a customer, then follows a relationship to their recent transactions, then to refund activity, then to open support tickets, checks communication history, makes a decision on an appropriate action, and finally executes a write operation. Each step is contingent on the preceding one, and each step demands an understanding of the connection between distinct entities. This process is traversal, and traversal necessitates a map—an ontology—not merely a dictionary.
The Convergence Trap: Extending the Old or Building the New?
As the industry grapples with the limitations of current data infrastructure for agentic applications, a predictable instinct emerges: extend what already exists. dbt has open-sourced MetricFlow, framing it as a bridge between AI and structured data. Microsoft, at its Ignite conference, introduced an ontology-based "IQ layer," a move significant enough for SoftwareReviews to note its use of the term "ontology" in this context. Vendors in the semantic layer space, such as Galaxy and Atlan, are beginning to integrate entity resolution and relationship modeling alongside their metric governance capabilities. The prevailing narrative is one of convergence, suggesting the semantic layer is evolving to meet the demands of the agentic era.
However, this framing can be a trap. When metric-first systems attempt to bolt on entity awareness, the fundamental architectural center of gravity remains unchanged. Design decisions, default behaviors, and optimizations continue to prioritize aggregate computation. Entity traversal becomes a secondary capability, struggling for resources within an architecture not originally designed for it. This is akin to adding a camera to a flip phone; while it can technically take pictures, the underlying architecture was never conceived around the camera’s functionality. The success of the iPhone stemmed not from adding a camera to an existing phone but from designing the device around the camera, while also integrating phone capabilities. An "ontology-first" infrastructure, with metric governance integrated, represents this iPhone architecture. A semantic layer with bolted-on entity awareness is the flip phone with a camera.
Jessica Talisman’s observations in Metadata Weekly are pertinent here: the gap between metric definitions, often expressed in YAML, and formal ontologies, which represent fundamentally different approaches to knowledge representation, may be too wide to bridge incrementally. Transitioning from one paradigm to another through gradual extension is unlikely to succeed.
"Ontology-First" Architecture: A New Paradigm
The agent designs that have successfully shipped to production often reflect an inversion of the typical approach. They are "ontology-first," with metric governance capabilities then integrated. This starting point—entities and their relationships—and layering metric governance on top creates a distinctly different architecture than beginning with metrics and attempting to add entity awareness later. The order of operations dictates the center of gravity, which in turn determines scalability and operational effectiveness. Teams that grasp this distinction are more likely to build functional agents, while others may continue to produce sophisticated demos that falter in real-world scenarios.
The Unclaimed Territory: Ownership of the Entity Model
The most significant hurdle in this transition is not technical but organizational. Ask a data team, "Who owns metric definitions?" The answer is usually clear: analytics engineers, managed through a dbt project or a semantic layer configuration. Ownership, workflows, and accountability are well-established.

Now, ask, "Who owns the entity model?" Who is responsible for deciding that a customer record in Stripe, Salesforce, a support platform, and a product database all represent the same real-world entity? Who maintains the rules governing how these entities connect? In many organizations, this question is met with hesitation, confusion, or a simple shrug.
The knowledge required to build an entity model often resides within the institutional memory of individuals—account managers, support representatives, sales operations specialists, or long-tenured engineers. They possess the implicit understanding that "Acme Corp" in Salesforce is equivalent to "Acme Corporation Ltd" in billing systems, or that certain tags in a support ticket signify billing-related issues versus technical ones. However, this knowledge has rarely been formally requested or codified into infrastructure.
Because no job description explicitly includes "maintain the entity model," it remains an unaddressed responsibility. No tool directly solicits this knowledge, no workflow captures it, and no role is formally accountable for it. This is why ontologies often fail to materialize. The necessary organizational practice has not yet evolved, leaving critical entity knowledge trapped in tribal memory, inaccessible to the agents that desperately need it. Data engineers built schemas for data storage, analysts built dashboards for reporting, but no one has systematically built the "map" of business entities and their interconnections. This is the true gap.
For the semantic layer to succeed, it provided a defined role: define metrics, maintain them in code, review changes, and deploy. Ontology will only achieve similar traction when an equivalent structure exists: a dedicated role responsible for entity definitions, a workflow for maintaining cross-system relationships, and a clear expectation that entity knowledge is treated as core infrastructure, not mere anecdotal understanding. Without this organizational commitment, even the most advanced tooling risks becoming shelfware. Technology is the easier part; fostering a team discipline around entity resolution as a first-class engineering concern is the more challenging, yet critical, determinant of an agent’s operational success.
A Simple Diagnostic: The Two-Question Test
Organizations can quickly assess their readiness for agentic applications by posing two simple questions to their AI agent. The first question tests the efficacy of the existing semantic layer: "What was Q3 revenue?" If the semantic layer is functioning correctly, the agent should provide an accurate answer, demonstrating its ability to define and retrieve consistent metrics.
The second question, however, probes deeper into the agent’s ability to navigate and act upon entity relationships: "Email the customers who received refunds last week and also had a negative support experience. Personalize each message based on their history." If the agent falters on this second query, it’s rarely due to a forgotten metric definition. The breakdown typically occurs because the organization possesses metric meaning but lacks the essential structure and control required for such complex workflows.
The first question relies solely on metric definitions—what constitutes revenue, the relevant quarter, and the currency. This is precisely what the semantic layer was designed to address. The second question, however, demands entirely different infrastructure. It requires an understanding of how entities connect across systems, the contextual meaning of terms within specific operational domains, and the ability to traverse from one business function to another. This is the domain of ontology.
Administering this two-question test to an organization’s agent can swiftly identify the missing components. If the second question fails, it signals a fundamental gap that cannot be resolved with a simple feature request; it necessitates a different foundational approach.
The Missing Practice: Formalizing Entity Knowledge
Semantic layers empowered a generation of teams to excel at defining and managing quantitative metrics. The teams that will successfully deploy functional agents will adopt a similar rigorous approach to entities and their relationships. This involves assigning ownership, establishing change management processes, and demanding production-grade control over the entity model. Without this discipline, organizations will continue to produce impressive demos that invariably collapse the moment a workflow crosses system boundaries.
The critical gap is not a lack of tools but a missing organizational practice. While tooling for entity resolution and relationship modeling is available, the supporting organizational muscle is not yet developed. The success of the semantic layer was not solely due to a superior product; it was driven by its ability to provide analytics engineers with a clear, defined role: define metrics, maintain them in code, review changes, and deploy. This fostered an entire discipline with clear ownership and a well-defined workflow. Ontology currently lacks this established structure. No one officially "owns" it, no formal process governs its maintenance, and there is no widespread expectation of rigor surrounding it. The tooling may be ready, but until the organizational discipline emerges, entity knowledge will remain confined to the heads of individuals, inaccessible to the agents that depend on it.
The pertinent question for data teams is no longer "How can we adapt our semantic layer for agents?" but rather, "Who within our organization possesses the understanding of how our business entities connect, and why has this crucial knowledge never been formalized into our data infrastructure?" This knowledge represents the map. And without it, agents are effectively navigating blind.
]]>The Genesis of an Automated Handover
The concept for the PTO Bot emerged from a practical need. Dallas had initially planned to compile a comprehensive document detailing ongoing customer interactions and project statuses, a common practice to facilitate knowledge transfer during planned leave. This document had been meticulously updated since February, serving as a running log of processed customer calls and critical information. However, as the departure date neared and preparations for a trip to London and Scotland commenced, a more ambitious idea took root: what if the need for a human to "pick up threads" could be entirely eliminated?
"The idea was simple," Dallas explained in the original post. "I’m taking two weeks off, and whoever picks up my threads should have context without asking me for it." This initial objective evolved into a more sophisticated ambition: to build an agent capable of responding directly to colleagues on Slack, thereby freeing Dallas from the expectation of being available for urgent queries. This transformation from a static document to a dynamic AI agent underscores a commitment to continuous improvement and the exploration of AI’s practical applications in the workplace.
Inspiration from Multi-Agent Architectures
The architectural blueprint for the PTO Bot was significantly influenced by a paper from Prithvi Rajasekaran on the Anthropic Labs team. This research explored "harness design for long-running applications," proposing a multi-agent system inspired by Generative Adversarial Networks (GANs). In this model, a "generator" agent creates content, and an "evaluator" agent assesses its quality, iterating until a defined standard is met. While Rajasekaran’s use case focused on frontend design and full-stack coding, the core principle of separating the work producer from the work judge resonated deeply with Dallas.
"I wanted that same tension for my PTO bot," Dallas stated. The objective was not to introduce unnecessary complexity to Slack replies, but to instill a robust quality control mechanism. The fear of an AI agent confidently disseminating incorrect information to colleagues while Dallas was enjoying a golf course in Scotland served as a powerful motivator for this adversarial approach. This concept of a self-critiquing AI system is a key differentiator, moving beyond simple query-response models to a more nuanced and reliable interaction.
Leveraging a Rich Data Ecosystem
A significant advantage in developing the PTO Bot was the pre-existing integration of Dallas’s workflow with various data sources. Airbyte’s role as a data integration platform proved instrumental, connecting to systems such as:
These connectors, already in daily use for Dallas’s personal AI workflows, facilitated a straightforward integration into the PTO agent. Furthermore, a local folder, referred to as the "Jarvis," was incorporated. This personal repository houses notes from customer meetings, nascent ideas, and other contextually vital information not residing in standard SaaS tools.
The inclusion of Kapa.ai, an internal product knowledge platform, further enriched the bot’s capabilities. This allowed the agent to access and draw from official product documentation, such as details about the "Agent Engine," rather than relying on potentially inaccurate inferences or general knowledge. This deep integration of internal knowledge bases is a hallmark of effective enterprise AI deployments.
The Two-Agent Adversarial Architecture
The core of the PTO Bot’s functionality lies in its two-agent architecture:
The Draft Agent: This agent is equipped with the full suite of tools. It possesses the capability to access all connected data sources, conduct searches across replicated data, and compose initial responses. Its primary role is to gather information and formulate a coherent answer to a user’s query.
.jpg)
The Review Agent: In stark contrast, the review agent is intentionally stripped of all tools. It receives the draft response generated by the draft agent, along with all captured tool results, presented as plain text within its prompt. Its sole function is to provide one of two verdicts: "approve" or "revise."
The operational flow is as follows: when a query is received, the draft agent retrieves relevant information and formulates a response. This draft is then presented to the review agent. If the review agent deems the draft satisfactory, it returns an "approve" verdict, and the response is sent to the user. However, if the review agent identifies deficiencies, it returns a "revise" verdict along with specific, actionable feedback. The draft agent then incorporates this feedback and attempts to generate a new draft. This iterative process, known as an "adversarial loop," continues until the review agent grants approval, ensuring a high standard of accuracy and quality before any response is disseminated.
The provided code snippet illustrates this loop:
async def run_adversarial_loop(client, user_message: str, max_rounds: int = 3):
# Session-based – client preserves conversation history
await client.query(build_draft_prompt(user_message))
draft = await get_assistant_response(client)
for round in range(max_rounds):
review = await run_review(user_message, draft, captured_tool_results)
if review["verdict"] == "APPROVE":
return draft
# Only sends feedback – session already has the original context
await client.query(f"## Reviewer feedbacknreview['feedback']")
draft = await get_assistant_response(client)
return SAFE_FALLBACK # never returns a rejected draft
A critical performance enhancement is the use of the ClaudeSDKClient session management. This preserves conversation history, meaning subsequent revision rounds only need to transmit the reviewer’s feedback, not the entire prompt and tool results again. This significantly reduces the data transfer and processing overhead for each iteration, making the loop remarkably lightweight.
The review agent’s stateless nature and lack of tools are deliberate design choices. This constraint forces the review agent to evaluate the draft based solely on the information provided. It cannot independently verify facts or access fresh data to compensate for any gaps or inaccuracies in the draft agent’s output. This adversarial setup ensures that the draft must withstand scrutiny on its own merits.
For quality assurance, both agents utilize Opus, the most advanced model available, to ensure the reviewer can be genuinely critical and not merely a passive approver. A crucial fallback mechanism is also implemented: if the loop exhausts its maximum rounds without an approval, the agent does not transmit the last rejected draft. Instead, it returns a "safe fallback" message, prioritizing accuracy and avoiding the dissemination of potentially erroneous information. This principle of erring on the side of caution, by communicating a fallback rather than a bad answer, is a key tenet of the system’s design.
Optimizing for Speed: The Data Layer’s Role
Contrary to expectations that a multi-agent, iterative process might be slow, the PTO Bot is designed for speed, primarily due to its sophisticated data layer. Airbyte’s replication of data from all connected sources into a central context store is the linchpin. When the draft agent needs to access customer threads or check Linear tickets, it queries this pre-replicated data rather than making sequential API calls. This bypasses the complexities of pagination, rate limits, and network latency inherent in direct API interactions. Consequently, tool calls return almost instantaneously.
In most scenarios, the entire adversarial loop resolves within one or two rounds. This efficiency is largely attributable to the draft agent having immediate access to comprehensive context, enabling it to generate a well-informed first draft more often than not, which the review agent can then readily approve. Direct API calls are reserved for situations where truly real-time data is indispensable, acting as an exception rather than the norm.
The Broader Technological Stack
The PTO Bot is built upon a robust and modern technology stack:
Anticipating the Real-World Test
With Dallas’s departure imminent, the PTO Bot has undergone internal development and deployment, with the traditional coverage document standing by as a contingency. The true test, however, lies in its performance over two weeks of continuous operation, fielding a barrage of real-time queries from colleagues.
Several key questions remain as Dallas prepares to monitor the system’s performance:
Dallas plans to provide a follow-up report, likely from a pub in Edinburgh, detailing the real-world performance of the PTO Bot. This ongoing series, "Deployed with Dallas," chronicles his journey of integrating AI into his daily responsibilities as a Forward Deployed Engineer at Airbyte, offering valuable insights into practical AI implementation for enterprise environments. The successful deployment of this PTO Bot signifies a potential paradigm shift in how teams manage continuity and operational tasks, underscoring the transformative power of intelligent automation.
]]>The Genesis of Automated Intelligence
Dallas’s role at Airbyte inherently requires a deep understanding of the competitive landscape. Historically, this involved a manual and time-consuming process of scouring websites, social media platforms like X (formerly Twitter), and industry publications. Recognizing the inefficiency and the potential for missed insights, Dallas, an avowed tinkerer and proponent of automation, embarked on a project to create a more systematic approach. His objective was clear: to develop a tool that could autonomously gather, process, and synthesize competitive information, delivering actionable intelligence directly to his workflow.
OpenClaw: A Customizable AI Assistant for Tailored Insights
The selection of OpenClaw as the foundational technology for this project was strategic. OpenClaw, an open-source AI assistant, offered the critical advantage of deep customization. Unlike off-the-shelf AI tools that often impose rigid parameters, OpenClaw allowed Dallas to meticulously define the parameters of his intelligence gathering. This included the freedom to select specific search tools, precisely dictate the desired output format, integrate a robust memory layer to retain context across multiple operations, and iteratively refine prompts to ensure the accuracy and relevance of the results.
This level of control was instrumental in addressing the limitations of standard scheduling features found in many AI assistants. Dallas’s implementation, which he affectionately nicknamed "Caddie" after a golf caddie who anticipates needs, was designed to proactively deliver insights. The core of the system is a single cron job, scheduled to execute every Monday at 8:00 AM Pacific Time. This timing ensures that Dallas receives his competitive intelligence brief before he has even fully settled into his work week, a testament to the system’s efficiency.
The "Monday Morning Brief": Architecture and Execution
The architecture of the automated brief is a sophisticated orchestration of data retrieval and synthesis. A key component is the "rolling window" memory system, a concept previously explored by Dallas in earlier projects. This feature ensures that the AI retains context from previous runs, specifically the outputs from the last four executions. This is not a generalized summarization but a direct injection of previous outputs into the current session’s context, preventing the AI from forgetting crucial historical data. This "amnesia-free" approach is critical for tracking evolving trends and identifying subtle shifts in competitor strategies over time.
The operational flow of the Monday morning brief begins with the cron job initiating the OpenClaw instance. Before executing the primary prompt, the system accesses three key data sources:
During each execution, Caddie performs several critical actions: it queries Mem0 for relevant prior intelligence, leverages the Exa search engine to gather up-to-date information on each identified competitor, and systematically updates all three data sources. The output of this process is then used to rewrite the living document, with new findings appended to a weekly log file.
The end-user experience is a concise summary delivered directly to Dallas’s research Discord channel. This brief encapsulates key developments across all tracked competitors, highlights new market entrants, provides links to original source materials, and crucially, offers a brief analysis of the implications of these developments. This direct delivery mechanism eliminates the need for manual intervention, transforming raw data into easily digestible intelligence.
.jpg)
Addressing the "Almost Right" Problem: The Imperative of Accuracy
Early iterations of the system, while functional in gathering data, suffered from a critical flaw: occasional inaccuracies. Dallas recounts an incident where the brief reported a competitor’s funding round at nearly double the actual amount. This error arose from Caddie’s aggregation of figures from two different sources that reported the same round with conflicting numbers, rather than critically reconciling them. This experience underscored a profound challenge in AI implementation: the danger of "almost right" information, which can be more insidious than outright fabrication.
This realization prompted a significant refinement of the prompting strategy. The focus shifted from merely enhancing the AI’s "intelligence" to bolstering its "honesty" and reliability. This led to the integration of three critical accuracy-enforcing mechanisms directly within the prompt engineering:
These prompt-based accuracy rules, rather than requiring complex external validation layers, proved to be a highly effective method for building trust in the system’s output. They transformed an unreliable novelty into a dependable tool for strategic decision-making.
Broader Implications and Lessons Learned
The deployment of this automated competitive intelligence system has yielded several significant observations over its two-month operational period.
Cost-Effectiveness: The operational cost of running the system, including the use of a large language model like Sonnet 4.6 and Exa queries, has been deemed "trivial." This minimal expenditure is dramatically outweighed by the strategic value derived from consistently identifying and understanding competitor actions, a benefit that is difficult to quantify but undoubtedly substantial.
The Indispensable Role of Memory: The "rolling window" feature has proven to be not just beneficial but essential. Without the context of previous reports, Caddie tended to reiterate the same findings. With this memory layer, the AI can effectively differentiate between novel developments and previously reported information, significantly enhancing the utility of the weekly brief. This reinforces the broader principle that for AI agents to be truly useful, memory and contextual awareness are not optional extras but fundamental requirements.
The Underrated Power of Prompt Accuracy Rules: The emphasis on honesty and verifiable reporting through prompt engineering has yielded disproportionately high returns. While much attention is often placed on making AI agents "smarter," Dallas’s experience highlights that making them more "honest" and transparent in their reporting can be a more impactful strategy for fostering trust and enabling reliable decision-making. The inclusion of an "Unconfirmed" section, for instance, dramatically improved the user’s confidence in the presented data.
Looking ahead, Dallas anticipates further layering additional cron jobs and AI functionalities onto this foundational system. The "Monday Morning Brief" has established itself as the bedrock of his automated intelligence gathering, a system he would prioritize rebuilding if starting from scratch.
This project also holds significant implications for the broader AI ecosystem, particularly concerning data access and integrity. At Airbyte, the development of the Context Store aims to enable AI agents to interact with real business data. Dallas’s experience with the competitive intelligence brief reinforces a parallel lesson: it is not sufficient for AI agents to merely access data; they must also possess the capacity to discern its accuracy and reliability. This underscores the critical need for AI systems that are not only intelligent but also trustworthy. The ability to integrate verified, accurate data into AI workflows is paramount for unlocking their full potential in complex business environments.
]]>