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.
Knowledge and context
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.
Source Credit: https://cloud.google.com/blog/products/ai-machine-learning/add-knowledge-graphs-to-your-context-layer-in-gemini-with-the-neo4j-agent/
