In May 2025, Databricks agreed to buy Neon, a Postgres company. The announcement said that more than 80% of the databases created on Neon were created by AI agents, not by people [1]. Agents now create databases as well as query them. So who, or what, tells them what the data inside means?
Most of my recent work sits on that question. I gave three models (GPT-6.1 Sol, Kimi K3.1 Pro and gpt-oss-120b) the same question about a bank's data: how many accounts in one region get a statement after every transaction? Then I swapped two lines in the notes they read, so "a statement after every transaction" and "a weekly statement" traded places.
All nine runs wrote SQL that ran without an error. All nine returned the wrong count [2]. None of them warned me.
Recently, someone on X shared a tip for people building agents that query databases. DuckDB, like PostgreSQL, lets you store business definitions inside the database with COMMENT ON, so an agent does not have to guess what a column such as "revenue" means. A reply named the catch: "keeping those definitions in sync when business logic changes". The author agreed that the comments should change when the logic does.
My runs show what happens when they don't. That gap, between the data and what an agent is told it means, is where I work.
What sits between a question and an answer?
When an agent answers a question from company data, the model is only one part. Three other things shape the answer:
- The data: what exists, and which rows the agent is allowed to see.
- The meaning: the definitions that say what codes, columns and metrics mean. Some teams call this a semantic layer or a context layer.
- The record: the traces and checks that show what actually ran.
This area can be called AI-powered data systems: the models, data sources and tools that help people query and understand data.
It is more than a model problem. If a fact is not in the data, a stronger model cannot work it out. A code that appears in a table tells you that the code exists, not what it means.
Why now?
Data companies are building and buying the pieces around agents. In January 2026, ClickHouse bought Langfuse, an LLM observability platform that already ran on ClickHouse [3]. Langfuse's CEO said why they built it on ClickHouse: "LLM observability and evaluation is fundamentally a data problem" [4]. In July, ClickHouse released its own agent, which answers questions over Postgres and ClickHouse and shows the SQL it used [5]. In November, it bought Xata to add instant branches and clones to its Postgres service, features it calls agentic [6].
When the database company also ships the agent, what the agent believes about the data becomes a database problem.
Three problems inside the area
- Meaning: do the definitions match the data? BIRD, a popular text-to-SQL benchmark, describes a bank's transaction types but leaves out one of the codes,
VYBER. With BIRD's own description, the two models I tested left it out in all 18 runs [2]. - Scope: does the answer say what data it covered? When an agent could see only the rows a user was allowed to see, three cheaper models presented partial answers as complete in 70โ95% of affected cases [7].
- Change: which answers become wrong when the data, the definitions or the access rules change? This is the problem the reply on X named. I have not tested it yet.
Why I care
People act on what a data system reports: an invoice, a permit record, a flag for an investigator. I have built systems like these, including a billing engine that produces invoices and a pipeline that loads building-permit records for a government ministry. Research is how I want to ask when an answer can be trusted, and what it costs to check it.
What's next
I am building a check that compares each definition with the data before an agent reads it. Similar checks already exist for dataset documentation, so my question is narrower: which wrong definitions change an agent's answer, and can a check find those without flagging correct ones? It will not catch everything. A definition can match the data and still be wrong, and that is the harder problem I want to work on.
If you work on any of this, I would like to hear from you.
References
- Databricks, "Databricks agrees to acquire Neon to deliver serverless Postgres for developers + AI agents," press release, 14 May 2025. [Online]. Available: https://databricks.com/company/newsroom/press-releases/databricks-agrees-acquire-neon-help-developers-deliver-ai-systems
- B. Madukoma, "When does a semantic layer make a data agent worse?," 16 Nov. 2026. [Online]. Available: https://www.mblessed.space/blog/semantic-layer-errors
- ClickHouse, "ClickHouse welcomes Langfuse: The future of open-source LLM observability," ClickHouse Blog, 16 Jan. 2026. [Online]. Available: https://clickhouse.com/blog/clickhouse-acquires-langfuse-open-source-llm-observability
- Orrick, "Open-source LLM observability: Langfuse acquired by ClickHouse, Inc.," Jan. 2026. [Online]. Available: https://www.orrick.com/en/news/2026/01/open-source-llm-observability-langfuse-acquired-by-clickhouse-inc
- ClickHouse, "ClickHouse Agents is now available for Managed Postgres," ClickHouse Blog, 2 Jul. 2026. [Online]. Available: https://clickhouse.com/blog/clickhouse-agents-managed-postgres
- S. Srirampur, "ClickHouse Managed Postgres goes GA and Xata acquisition brings agentic capabilities to the service," ClickHouse Blog, 9 Nov. 2026. [Online]. Available: https://clickhouse.com/blog/managed-postgres-ga-xata-acquisition
- B. Madukoma, "Does an AI agent know when it cannot see all the data?," 26 Sep. 2026. [Online]. Available: https://www.mblessed.space/blog/does-an-ai-agent-know-when-it-cannot-see-all-the-data
