Talk to an expert
Back to the blog

· Technology

Semantic agents: when intelligence is no longer the bottleneck

Plugging an LLM into the database isn’t enough: it answers confidently and gets it wrong. What’s missing is governed business context.

We hooked an LLM up to the database and it answered confidently... with the wrong answers.

That’s the feeling we usually get when we visit a client with complex databases or data warehouses with some degree of governance. There’s a lot of knowledge that isn’t in the data, or in its structure, but that is vital when it comes to answering business questions.

People sometimes call this hallucination, but I always say that a person with the same information the AI model has available at that moment would hallucinate too. Models are built to answer, and they answer with the most probable option based on the information available.

Why isn’t RAG enough?

It has become fairly common to work with semantic or fixed searches (BM25 or similar), as well as hybrid models, over document repositories or collections of information. These systems usually return the top-k most probable results for the question, or for whatever the agent is looking for, with what it has available: poor recall, context without relationships and unstructured chunks that produce answers that are plausible but false.

Basing an answer on this alone is a recipe for breeding distrust among users. Documentation is rarely up to date, and you have to be very careful when indexing documents. It’s similar to the work needed to keep the data in a database’s tables as clean as possible. If the data is wrong, whether in tables or in documents, it doesn’t matter which model we use: even with an AGI, the answers will still be wrong, because the bottleneck is no longer intelligence.

What does “semantic” really mean?

When we talk about semantic agents, we mean agents whose available information is the minimum needed to correctly answer the questions they’re asked, assuming, as we said earlier, that the underlying data is sound. Getting and maintaining that minimum information is what’s known as context engineering, and it’s a very hard problem to tackle.

Semantic means understanding what an open order is even if we don’t have that specific status in a column of the orders table. It means we understand how a given type of customer should be invoiced even if that isn’t written in a process document. It means we know which metrics are currently valid for each department and what lineage they have, among many other examples.

For us, the context layer is what truly makes real semantic agents possible: agents that understand the business and the data.

How do we tackle this problem with a Business Context Engine?

We focus mainly on discovering, and managing the lifecycle of, the company’s context and knowledge. As you can probably infer, this isn’t a one-off state: it’s something alive that evolves, just as data models change and need migrations, and the same goes for business metrics, processes and people’s tribal knowledge. All of this together makes up the company’s knowledge. A business context engine exists precisely to consolidate all of it and make it available.

A business context engine relies on data security, with the company’s relevant authorization levels, as well as on knowledge being approved by PowerUsers who know the business and the data. It’s important to keep the human-in-the-loop because, in our experience, the best AI systems are hybrid systems, in which humans direct, approve and orchestrate the AI’s actions. It must also let third-party agents and systems consume and generate context via API and MCP. We believe context and data are going to be a company’s most important competitive moat, and the company must keep them sovereign, on a solid infrastructure layer that lets it work independently and securely.

What impact do semantic agents have?

We don’t see AI as software: we see it as a user that’s going to be in every company, and whose onboarding has to be accelerated as much as possible so it becomes productive as soon as possible. That’s why managing the context lifecycle is vital. And this is where semantic agents come in.

These agents, once the data, security and context are right, or start to reach a good level of quality, are the real lever that drives organizations’ productivity gains, as well as new use cases and automations that genuinely scale processes and tasks.

The debate we run into at every client is the same: everyone wants agents on top of their data, but almost nobody knows where the knowledge lives that’s neither in the tables nor in the documents. It usually lives in the heads of three or four people.