Why trustworthy AI agents need Open Data Infrastructure
.png)
An AI revenue agent reports monthly recurring revenue at $8.4 million. The answer arrives in seconds, includes a polished segment breakdown, and shows 6% month-over-month growth.
There is only one problem: the correct figure is $7.5 million.
The model did not misunderstand the question or generate invalid SQL. It queried an unapproved billing table, used a customer mapping from before a restructuring, and applied a retired definition that counted one-time fees as recurring revenue. Every component worked as designed, but the answer was still wrong.
This scenario captures the central challenge explored in the new O’Reilly ebook Open Data Infrastructure: Governed, Machine-Readable Data Infrastructure for Trustworthy AI Agents, which is that trustworthy AI depends on more than a capable model. It requires fresh data, governed definitions, traceable lineage, appropriate access, and machine-readable context built into the infrastructure beneath it.
[CTA_MODULE]
AI agents are not faster analysts
It is tempting to think of an AI agent as a junior analyst who works at machine speed. But analysts bring experience that rarely appears in a schema. They remember recent reorganizations, know which tables are unreliable, recognize when a number looks unusual, and ask someone when a definition is unclear.
Agents begin with none of that knowledge. If a definition, limitation, or ownership rule is not available in a form they can read, it effectively does not exist.
The scale of their work also changes the risk. Analysts run a limited number of queries, inspect the results, and usually share their conclusions with another person. Agents can run thousands of queries around the clock and send the results directly to executives, customers, applications, and operational workflows.
When an analyst makes a mistake, it may result in one correction. When an agent makes the same mistake repeatedly, it can affect decisions across the business before anyone notices.
And there are 6 recurring failure modes:
- Stale context: The agent uses outdated data, mappings, or definitions.
- Ambiguous meaning: It chooses among competing definitions without knowing which one is authoritative.
- Invisible lineage: It produces a number nobody can trace or defend.
- Missing data: It answers from an incomplete set of sources without recognizing the gap.
- Ungoverned access: It reaches restricted or unapproved data.
- Unbounded cost: It repeatedly uses an expensive path when a more efficient one exists.

A more capable model does not solve these problems. It may simply present the same unreliable answer more convincingly.
5 capabilities create an agent-ready foundation
The answer is not to place more documentation into a prompt. Documentation becomes stale, retrieval systems can surface outdated material, and a larger context window cannot enforce permissions or detect a failed sync.
Context must be continuously produced, updated, governed, and made available at runtime. That requires Open Data Infrastructure.
Open Data Infrastructure is not a single product or another name for open source. It is an architecture that keeps organizations in control of the formats, interfaces, metadata, and business definitions on which their agents depend, and it gives agents a trusted foundation through 5 capabilities that work together:
- Open access and automated data movement
An agent’s answer cannot be more current or complete than the data underneath it. Automated data movement brings information together from applications, databases, events, and other sources while managing schema changes and publishing sync metadata.
This is the role Fivetran plays in the architecture. Managed connectors continuously move data and provide the freshness and coverage information agents need to determine whether an answer can be trusted.
- Open storage and a single source of truth
Every additional copy of a dataset creates another place for definitions, mappings, and access policies to diverge.
Open table formats such as Apache Iceberg allow multiple engines to work from a single governed copy of the data in customer-controlled storage. Organizations can centralize freshness checks, lineage, quality controls, and access policies without tying the data to a given proprietary compute engine.
Versioned snapshots also make answers reproducible. If an agent’s result is questioned later, teams can return to the state of the data used when the answer was generated.
- Compute flexibility
Agent workloads do not resemble traditional dashboard workloads. They combine frequent metadata lookups, unpredictable analytical queries, and occasional large scans running at all hours.
Open storage allows organizations to route each workload to the engine that offers the right balance of performance and cost. Agents can use lightweight compute for simple lookups and more powerful engines for complex transformations without creating additional copies of the data.
- Governed transformation and semantic trust
Fresh, complete data can still produce an incorrect answer if the metric is calculated incorrectly.
dbt brings software engineering practices to transformation through version control, testing, documentation, and lineage. Its Semantic Layer allows teams to define governed metrics once rather than recreating them across dashboards, notebooks, and prompts.
An agent should not have to choose among 4 definitions of revenue. It should receive one authoritative definition with a named owner and a traceable history.
- Machine-readable context
Even governed data does not automatically tell an agent which assets to use.
Machine-readable context makes definitions, documentation, lineage, ownership, and freshness available through a queryable surface such as Agents Schema. Instead of inferring meaning from column names, an agent can first determine which metric is authoritative, which data product is approved, and whether the underlying data is current.
A context layer can help gather, organize, and serve that business knowledge, while Agents Schema stores it in an open, queryable structure alongside the data it describes.
Together, these 5 capabilities turn fragmented data assets into a foundation agents can understand and use.
Agents need governed paths, not unrestricted access
Building trustworthy data and context is not enough if an agent can bypass them. Instead, enterprises need an agent-ready architecture in which data moves through 6 layers:
- Automated movement brings source data into open tables.
- Tested transformations turn raw data into trusted data products.
- A semantic layer establishes governed metrics.
- Machine-generated and human-curated context explains the data.
- Runtime checks verify freshness, permissions, lineage, and policy.
- Governed tools provide the agent’s only way to interact with the system.
The final point is critical: agents should not roam the warehouse or write unrestricted SQL against every table they can reach. They should use narrow tools that retrieve approved metrics, query governed datasets, check freshness, explain lineage, estimate costs, and cite sources.
Runtime checks are equally important. Tests and access reviews may confirm that a system is trustworthy when it is deployed, but conditions can change afterward. A pipeline might fail overnight, a permission could be revoked, or a metric definition could be retired minutes before the next request. Governance must therefore happen every time an agent acts — not only when the system is built.

The goal is an evidence-backed answer that includes:
- The definition used
- A freshness confirmation
- Its source data and lineage
- The applicable permissions and policies
- Citations that allow someone to verify it
An answer that cannot show its work should not be allowed to drive a decision or trigger an action.
Start narrow, prove trust, and then scale
The fastest route to trustworthy AI is not enabling every domain at once. Broad rollouts spread governance work too thin and make it harder to establish clear ownership. Instead, work through these 3 steps to get to trustworthy AI capabilities faster.
Phase 1: Build the foundation
Begin with a small number of domains where questions arise frequently, incorrect answers would be costly, and analysts are already a bottleneck.
For each domain, assess whether its data is complete, current, performant, and accessible without prohibitive egress costs. Then create tested and documented data products with named owners.
Phase 2: Govern meaning and access
Give every metric an authoritative definition and an individual owner. Publish machine-generated context automatically, assign ownership for curated business context, and replace raw warehouse access with governed tools.
Context should be maintained alongside the models and definitions it describes. Otherwise, it becomes another outdated document that still appears authoritative.
Phase 3: Operate and scale
Turn on runtime checks, require evidence with every answer, and test agents against “golden questions” — questions whose correct answers are already known.
Measure performance across 5 dimensions:
- Accuracy: How often does the agent answer correctly?
- Trust: How often do users accept its answers without recalculating them?
- Cost: How much does each answer cost?
- Adoption: How much routine work now goes to the agent first?
- Incidents: How many incorrect answers reach a decision or action?
Once one domain performs reliably, apply the same ownership model, tests, tools, and controls to the next. Each new domain should benefit from what the previous one established.
Build trust beneath the agent
AI agents make weaknesses in a data strategy visible. They expose stale definitions, missing sources, unclear ownership, inconsistent metrics, and access policies that previously depended on human judgment.
That visibility creates an opportunity. With automated data movement, open storage, governed transformation, shared semantics, and machine-readable context, organizations can build infrastructure that supports both human analysis and autonomous work.
Fivetran and dbt provide the foundation for that approach: continuously moving data, turning it into tested and governed data products, defining shared business meaning, and making the resulting context available to agents.
The lesson is not to wait for a smarter model. Start with a narrow domain, give every metric and data product an owner, require agents to use governed paths, and prove that their answers can be trusted before expanding their autonomy.
[CTA_MODULE]
Related blog posts
Start for free
Join the thousands of companies using Fivetran to centralize and transform their data.
