iCentric Insights Insight

Agent Memory: Why Graph Beats Vectors for Multi-Hop Reasoning

A striking accuracy gap between vector-only and graph memory is forcing UK engineering teams to rethink how AI agents store and retrieve connected knowledge.

July 13, 2026
AI AgentsKnowledge GraphsEnterprise Architecture
Agent Memory: Why Graph Beats Vectors for Multi-Hop Reasoning

There is a quiet crisis playing out inside many UK organisations that deployed AI agents over the past two years. The agents look capable in demos, handle simple queries well, and pass internal benchmarks with confidence. But push them on anything requiring joined-up reasoning across multiple retrieved facts — 'Which of our suppliers has both an active contract and an outstanding compliance flag?' or 'Which customer segments overlap with the highest-risk payment patterns?' — and accuracy collapses. The culprit, increasingly, is not the language model. It is the memory architecture underneath it.

Recent benchmarking has put a precise figure to what many teams have been experiencing informally. On multi-hop reasoning tasks — questions that require connecting two or more retrieved facts to reach a correct answer — vector-only retrieval achieves around 32% accuracy. Graph-based memory achieves 86% on the same tasks. That is not a marginal improvement to be noted and filed away. It is a fundamental architectural difference that determines whether an AI agent is genuinely useful in production or merely impressive in controlled conditions.

What Multi-Hop Reasoning Actually Means in Practice

Multi-hop reasoning is not an academic concept. It describes the ordinary cognitive work that knowledge workers perform dozens of times a day: following a chain of connected information to reach a conclusion. In agent terms, it means the system must retrieve Fact A, recognise that Fact A points to Entity B, retrieve information about Entity B, and synthesise both retrievals into a coherent answer. A vector database, which surfaces semantically similar text chunks ranked by embedding distance, is well-suited to the first retrieval step. It struggles badly with the relational traversal required for subsequent steps.

Consider a procurement agent asked to identify vendor risk. A vector search might surface a document mentioning a specific supplier. But determining whether that supplier is also referenced in a separate compliance audit, linked to a flagged financial instrument, and associated with a contact whose communication patterns are anomalous — that requires traversing explicit relationships, not finding similar text. This is precisely where the 32% accuracy figure materialises in production. The agent retrieves plausibly relevant content but cannot follow the connective tissue between facts.

Why the Vector-First Approach Became So Dominant

The dominance of vector databases in agent architectures from 2023 onwards was not irrational. They offered a genuinely fast route from raw documents to semantic search, with excellent tooling, strong cloud provider integrations, and a straightforward implementation model. For retrieval-augmented generation on single-hop questions — 'What does our refund policy say?' or 'Summarise the key findings of this report?' — vector retrieval performs well and is entirely proportionate to the task. The architecture fitted the early use cases that organisations were prioritising.

The problem emerged as ambitions grew. Engineering teams that had succeeded with document Q&A began extending the same stack to agentic workflows, automated reasoning, and knowledge-intensive tasks. The vector database did not change; the demands placed on it did. Without an explicit representation of how entities and concepts relate to one another, the system had no mechanism for following a reasoning chain. Every hop beyond the first retrieval became, in effect, a guess dressed up as inference.

How Graph Memory Changes the Architecture

Graph-based memory represents knowledge as a network of entities and the typed relationships between them — not as a flat collection of embedding vectors. When an agent queries a graph store, it can traverse relationships explicitly: starting at a known entity and following edges to connected entities, across as many hops as the reasoning task demands. The 86% accuracy figure on multi-hop benchmarks reflects this structural advantage. The agent is not guessing at relevance through similarity; it is following a defined path through connected knowledge.

In practice, this means richer data modelling upfront. Engineering teams must decide what entities matter, how they relate, and which relationship types carry semantic weight. Tools such as Neo4j, Amazon Neptune, and the emerging class of knowledge-graph-native agent frameworks provide the infrastructure, but the intellectual work is in the schema design. Teams accustomed to the relatively frictionless ingestion pipeline of vector stores will find graph construction more demanding — and will also find that the resulting system handles complex queries in ways that vector architectures simply cannot match.

Hybrid Architectures: A Realistic Path Forward

The conclusion here is not that vector databases should be abandoned. For lexical similarity, document retrieval, and single-hop semantic search, they remain highly effective and operationally mature. The more defensible position for most UK engineering teams is a hybrid architecture: vector retrieval for surface-level similarity and broad document coverage, graph memory for entities, relationships, and the multi-hop reasoning chains that determine whether an agent is genuinely intelligent or merely articulate.

Several production deployments have adopted exactly this pattern, using a vector index to identify candidate documents and a knowledge graph to resolve entity relationships and validate reasoning chains before the language model synthesises a response. The engineering overhead is real, but so is the accuracy differential. Organisations that are committing to agents for compliance, risk, research, or operations — domains where connected reasoning is not optional — will find the architectural investment pays off rapidly once they move beyond prototype conditions.

If your organisation has AI agents in production or in serious evaluation, the right question to ask now is not 'Does our retrieval return relevant documents?' but 'Can our retrieval follow a chain of connected reasoning across multiple facts?' If the honest answer is no, you are likely looking at the 32% side of that accuracy gap whenever the queries get interesting. The vector-first architecture that served the early adoption phase well is not the same architecture that will serve mature, knowledge-intensive agent deployment.

Reviewing your current memory layer — understanding its structural limitations, mapping which production queries require multi-hop reasoning, and scoping what a hybrid or graph-native approach would involve — is not a long-horizon research exercise. It is the kind of architectural audit that pays for itself the first time a production agent gets a complex query right rather than confidently wrong. If you would find it useful to work through that assessment with engineers who have navigated this transition in practice, we are well placed to help.

What is a multi-hop reasoning task in the context of AI agents?

A multi-hop reasoning task requires an AI agent to connect two or more separate pieces of retrieved information to reach a correct answer. Rather than matching a query to a single relevant document, the agent must follow a chain: retrieve Fact A, identify that it points to Entity B, retrieve information about Entity B, and synthesise both to respond. Standard contract or policy lookups are single-hop; questions involving relationships between entities — suppliers, risks, customers — are typically multi-hop.

Where does the 32% versus 86% accuracy figure come from?

These figures come from benchmarking studies comparing retrieval architectures on standardised multi-hop question-answering datasets. Vector-only retrieval, which ranks text chunks by embedding similarity, achieves roughly 32% accuracy on such tasks. Graph-based memory, which traverses typed relationships between entities, achieves approximately 86% on the same tasks. The gap reflects the structural difference between similarity-based retrieval and relationship-aware traversal.

Does this mean we should remove our vector database entirely?

No. Vector databases remain highly effective for single-hop semantic search, document retrieval, and lexical similarity tasks. The recommended approach for most organisations is a hybrid architecture: vector retrieval handles broad document coverage and surface-level relevance, while graph memory manages entity relationships and multi-hop reasoning chains. Replacing one with the other entirely is rarely the right move.

What types of business questions specifically require graph memory?

Any question that requires connecting multiple entities through defined relationships benefits from graph memory. Examples include: identifying a supplier that appears in both a contract register and a compliance risk log; finding customers who match two or more behavioural or demographic criteria stored in separate systems; or tracing the chain of approvals associated with a specific transaction. If the answer requires following links between named things, it is a graph problem.

What graph database technologies should UK engineering teams evaluate?

The most established options are Neo4j (the dominant open-source graph database with strong enterprise support), Amazon Neptune (suitable for teams already on AWS infrastructure), and Azure Cosmos DB for Apache Gremlin (for Microsoft-centric organisations). Emerging agent-specific frameworks such as Microsoft GraphRAG also merit evaluation. The right choice depends on your existing cloud provider relationships, team expertise, and data volume.

How much additional engineering effort does a graph memory layer require?

Significantly more than a vector database, primarily because graph construction requires explicit schema design — defining entities, relationship types, and how source data maps to graph structures. Ingestion pipelines must extract and link entities rather than simply chunk and embed text. Expect the initial build to take weeks rather than days for a non-trivial domain, though ongoing maintenance costs reduce as the schema matures.

Can a large language model partially compensate for weak retrieval architecture?

To a limited extent. A capable language model can sometimes infer implicit connections from retrieved text, but this is unreliable and degrades rapidly as reasoning chains lengthen. The 32% accuracy figure already assumes a strong language model; the bottleneck is the retrieval layer, not the model's reasoning capability. Upgrading the LLM without fixing the memory architecture will not close the accuracy gap on multi-hop tasks.

How do we identify whether our production agents are hitting multi-hop limitations?

Review a sample of queries where your agents returned incorrect, incomplete, or vague answers. Classify each failure by whether the correct answer required connecting information from more than one source entity. If a significant proportion of failures cluster around relational or cross-reference questions, you are observing the multi-hop retrieval ceiling. Structured red-teaming with deliberately multi-hop queries is also an efficient diagnostic approach.

Is GraphRAG the same as using a graph database for agent memory?

Not exactly. GraphRAG, popularised by Microsoft Research, is a technique that builds a graph of entities and relationships from source documents and uses that structure to improve retrieval before passing context to a language model. A graph database is the persistent infrastructure that stores and queries such structures at scale. GraphRAG is a methodology; a graph database is a technology. In practice, mature implementations use both together.

What sectors in the UK are most exposed to this architectural gap?

Any sector where agents are expected to reason across interconnected records stands to lose most from vector-only architectures. Financial services — where risk, compliance, counterparty, and transaction data are heavily relational — is the clearest example. Legal, healthcare, and government sectors share similar characteristics. Retail and logistics organisations deploying agents for supply chain reasoning across supplier, inventory, and logistics data are also materially affected.

AI Agents Knowledge Graphs Enterprise Architecture

Get in touch today

Book a call at a time to suit you, or fill out our enquiry form or get in touch using the contact details below

iCentric
July 2026
MONTUEWEDTHUFRISATSUN

How long do you need?

What time works best?

Showing times for 14 July 2026

No slots available for this date