Agent Frameworks
Agent frameworks give developers the building blocks to go beyond single LLM calls — connecting language models to tools, memory, and external data sources. Instead of a linear prompt-response cycle, agents can reason over multiple steps, choose which tools to invoke, and adapt their behaviour based on intermediate results.
Neo4j fits naturally into agent workflows as both a knowledge source and a memory store. Agents query the graph through MCP tools or direct driver integrations to retrieve structured context, traverse relationships across entities, and ground responses in real data rather than model weights alone.
The connection point is usually the Neo4j MCP server, which exposes schema inspection and Cypher execution as standard tools that any MCP-compatible agent can call. For frameworks that prefer direct integration, the Neo4j Python driver and langchain-neo4j / llama-index-graph-stores-neo4j packages provide native tool definitions and vector store support.
Agent Frameworks
Neo4j integrates with all major agent frameworks through the Neo4j MCP server, direct driver connections, and framework-native tool definitions.
-
LangChain — ReAct-style agents with
langchain-neo4jand MCP adapter support -
LlamaIndex — FunctionAgent with
BasicMCPClient,Neo4jVectorStore, and GraphRAG retrievers -
LangGraph — Stateful multi-actor graph workflows with Neo4j checkpoint persistence
-
OpenAI Agents SDK — Tool-calling agents using the OpenAI Agents SDK with Neo4j MCP
-
AWS Strands Agents — AWS-native agent framework with Bedrock model support
-
Pydantic AI — Type-safe agent framework with structured tool definitions
-
Claude Agent SDK — Anthropic’s agent SDK with tool use and MCP integration
-
Microsoft Agent Framework — Multi-pattern integration: Direct SDK, MCP, HTTP API, and Context Provider
-
Google ADK — Google’s Agent Development Kit with MCP Toolbox support
GraphAcademy Courses
If you want to learn how LLMs and Knowledge Graphs combine to improve GenAI applications, check out the Neo4j & LLM courses on GraphAcademy.
