cd /news/ai-agents/add-a-knowledge-and-context-layer-to… · home › topics › ai-agents › article
[ARTICLE · art-181927] src=cloud.google.com ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

Add a knowledge and context layer to Gemini with the Neo4j Agent

Google Cloud and Neo4j published a walkthrough showing that installing the Neo4j Agent from Google Cloud Marketplace alongside other third-party agents in Gemini gives the orchestration system a knowledge and context layer — a graph of accounts, people and systems — so multi-agent workflows can resolve cross-system questions. The post argues Gemini converts natural language into agent requests but lacks the context to understand relationships between entities in separate applications, such as provisioning a new salesperson in Workday and then assigning that person's accounts in Salesforce Sales Cloud. Neo4j states that Gemini's natural language understanding plus the Neo4j Agent now makes it easier to extract entities across enterprise systems and automatically populate a living knowledge graph, which Gemini can query at runtime to resolve cross-domain dependencies with minimal context bloat.

recommendation

When orchestrating multiple domain agents, add a graph-based context layer and query it first to resolve cross-system entity relationships before dispatching agent requests, reducing context bloat.

more in playbook: Designing agent systems
by read4 min views3 publishedDec 4, 2026

With Gemini, you can bring third-party agents from leading enterprise applications into one place and use them together to answer complex questions. But those agents don't know how the entities in one system relate to the entities in another. In this post, we show how adding the Neo4j Agent gives Gemini a knowledge and context layer: a graph of your accounts, people and systems that helps multi-agent workflows resolve cross-system questions accurately.

The Google Cloud Marketplace lists many AI Agents as a Service. A number of these agents interface with packaged applications, including:

These applications specialize in their own domains. For instance, Salesforce Sales Cloud is excellent at bringing deep CRM expertise and managing sales cycles while Sana Workday is great for managing HR and finance. Many business functions cross domains. A new salesperson might need to be provisioned from within Workday. That would then flow to Salesforce, where the accounts managed by that salesperson would be assigned. Gemini can orchestrate multiple agents interacting across platforms.

Gemini is great at converting natural language into agent requests. However, it lacks the knowledge and context to understand the relationships between systems and the entities within them. Knowledge graphs and context graphs are approaches to representing that information. An agent containing knowledge and context can be used in conjunction with other platform agents to create agentic flows that reason intelligently across systems.

Adding a knowledge graph and context layer such as the one provided by the Neo4j Agent is necessary for the following reasons:

Understanding relationships: It enables the AI to grasp the connections and context between disparate systems and their entities.

Intelligent reasoning: It facilitates agentic flows where an agent can reason intelligently across multiple systems.

Orchestration: It lets Gemini coordinate multiple third-party agents, allowing them to interact across platforms to solve complex, cross-domain problems.

Neo4j is a graph database well-suited to representing knowledge and context graphs. This pattern has emerged in the broader industry and led to the adoption of a context and knowledge layer in AI systems.

The Neo4j Agent available in Google Cloud Marketplace integrates tightly with Gemini. By installing that agent in a Gemini instance alongside other agents, requests can be made to the system that work across agents.

Historically, a primary barrier to graph adoption was the manual overhead of designing ontologies and executing complex data migrations. Today, the combination of Gemini's natural language understanding and the Neo4j Agent makes it easier to extract entities across enterprise systems and automatically populate a living knowledge graph.

However, creation is only the first step of the lifecycle. Once established, this graph becomes a shared context layer. At runtime, Gemini can query this pre-grounded relationship topology first resolving cross-domain dependencies across customer accounts, organizational structures and IT entitlements to orchestrate multi-agent execution with high fidelity and minimal context bloat.

The resulting architecture is shown below.

Once subscribed to the Neo4j Agent, it is available within Gemini. The same process can be followed to subscribe to other agents. That then results in a Gemini instance with multiple agents available.

So, we might query Gemini, using the Agentforce agent, asking a question such as: “Return a list of accounts including sales regions and sub-regions. Give the account owner for each.”

We can then pass the result to the Neo4j agent, with a prompt like: “Convert the information provided by the Agentforce agent to a knowledge graph showing the hierarchy of regions and accounts.”

In complex enterprise environments, coordinating multiple domain-specific agents within a single workflow requires a unified context layer. By leveraging modern agentic protocols like Google's Agentic Resource Discovery (ARD) alongside a Neo4j knowledge graph, Gemini can dynamically identify available agents, resolve cross-system relationships and coordinate multi-agent workflows.

The result is a graph showing our sales organization and assigned accounts. This can be overlaid against the representation of the reporting structure for these salespeople within Workday. Gemini can then flag discrepancies in account mappings and org structure. A user can work in an iterative loop with the AI to resolve those issues.

Graph-grounded architectures improve efficiency by retrieving only relevant subgraphs instead of feeding raw database schemas or large documents into models. This reduces context token overhead by over 70%, lowers inference costs by up to 4x and slashes latency in multi-turn flows.

A recent NICD and Neo4j study also showed that grounding agentic flows with knowledge graphs halves hallucinated responses and doubles task success rates, eliminating wasteful retries.

This is one example of how agents can interact with each other within Gemini, reasoning across multiple systems. Many more are possible. If you’re using Gemini today with third-party agents through the Google Cloud Marketplace, this approach may be useful to you.

<sub>Acknowledgements: Special thanks to Nithin Reddy Cheruku, Principal Applied AI Architect at Google Cloud, for contributing the multi-agent ARD orchestration architecture and driving efficiency, research synthesis and technical validation for this post.</sub>

── more in #ai-agents 4 stories · sorted by recency
── more on @google cloud 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/add-a-knowledge-and-…] indexed:0 read:4min 2026-12-04 · —