Building a Neo4j Memory and Graph Agent for IBM watsonx Orchestrate Neo4j published a technical guide for building a Neo4j-backed agent on IBM watsonx Orchestrate, combining a native Orchestrate agent that queries Neo4j via the Model Context Protocol (MCP) with a LangGraph agent that uses the Neo4j Agent Memory Service (NAMS) for long-term memory. The architecture uses zero-infrastructure MCP, managed credentials, and custom Python tools, with full code available in the Neo4j Agent Integrations repository. Building a Neo4j Memory and Graph Agent for IBM watsonx Orchestrate Senior Engineering Lead 10 min read Bring your organizational knowledge graph and long term memory to agents on IBM watsonx Orchestrate This guide outlines the architecture and implementation steps for building a Neo4j-backed agent on IBM watsonx Orchestrate . It covers two capabilities. First, a native Orchestrate agent that answers questions about companies, people, and investments by querying Neo4j through the Model Context Protocol MCP , augmented with a custom Python tool. Second, a LangGraph agent imported into Orchestrate that adds long-term memory across sessions, using the Neo4j Agent Memory Service NAMS , so Neo4j serves as both the knowledge layer and the memory layer. You can find the full code in the Neo4j Agent Integrations repository https://github.com/neo4j-labs/neo4j-agent-integrations/tree/main/ibm-watsonx . Key features of this architecture - Platform-native agents: The primary agent is a declarative Orchestrate agent. Its behavior is defined by a model, instructions, and a toolset, with no application code to host. - Zero-infrastructure MCP: The official Neo4j MCP server runs as a local stdio toolkit that Orchestrate installs and executes inside its own runtime. There is no container to deploy and no public endpoint to maintain. - Managed credentials: Neo4j credentials are stored in an Orchestrate connection and injected into the MCP server as environment variables, with separate draft and live scopes. - Extensible logic: A custom Python tool is registered alongside the MCP tools, giving the agent a curated operation next to general-purpose Cypher execution. - Cross-session memory: A LangGraph agent, imported into Orchestrate, recalls and persists facts through Neo4j Agent Memory Service NAMS https://neo4j.com/labs/agent-memory/how-to/use-nams/ , so the agent remembers users across separate conversations. 1. Connecting Neo4j through MCP The Model Context Protocol is an open standard for exposing tools to AI agents. Neo4j publishes an official MCP server, neo4j-mcp-server https://pypi.org/project/neo4j-mcp-server/ which exposes schema inspection and read-only Cypher execution as tools. Orchestrate can consume an MCP server either as a remote HTTP server that you host, or as a local server that it installs and runs itself. This integration uses the local option to avoid hosting entirely. All configuration is performed through the Orchestrate ADK command-line tool. The environment is registered first: pip install ibm-watsonx-orchestrateorchestrate env add -n trial -u "https://api.