Dev & Engineering neo4jcontext-graphagent-memoryfastapinextjsmcpsaas-connectors

Create Context Graph

Scaffold domain-specific full-stack agents with graph memory and decision traces.

FollowAgents review · FARS-2.0
Not yet reviewed
See the full review method →

What does this agent do, and when should you use it?

Create Context Graph is an interactive CLI that generates domain-specific context-graph applications from a chosen domain and agent framework. Each generated project includes a FastAPI backend, a Next.js and Chakra UI v3 frontend, a Neo4j schema, fixtures, and optionally an MCP configuration. It uses neo4j-agent-memory v0.4 for short-term, long-term, and reasoning memory, with hosted NAMS as the default backend or self-hosted Bolt Neo4j as an alternative. The generated UI includes SSE chat, live tool-call timelines, an expandable graph view, entity details, document browsing, and decision-trace viewing. It fits teams that want an opinionated, runnable graph-agent application scaffold rather than a small embeddable library.

The create-context-graph CLI collects choices through its wizard or options such as --domain and --framework, then generates a domain ontology, project scaffold, agent tools, and system prompt. Generated backend/app code includes main.py, agent.py, routes.py, context_graph_client.py, memory.py, gds_client.py, and vector_client.py; the frontend includes ChatInterface.tsx, ContextGraphView.tsx, DecisionTracePanel.tsx, and DocumentBrowser.tsx. In self-hosted mode it produces Neo4j schema and GDS projection files plus fixtures.json, and make seed loads demo data; in NAMS mode, conversation-driven extraction populates hosted memory. Optional connectors import data from GitHub, Slack, Notion, Linear, Google Workspace, Claude Code, Claude AI, ChatGPT, and other listed services, with make import available for re-imports. The --with-mcp option generates MCP server configuration for Claude Desktop to query the same graph.

  1. A healthcare product team needs a runnable Neo4j demonstration with Patient, Diagnosis, and Treatment entities plus a chat interface.
  2. A software engineering team wants to import GitHub, Slack, or Linear data and generate domain tools and a graph UI around it.
  3. A team that needs native graph edges, GDS, or arbitrary Cypher writes wants to run a --self-hosted --demo project.
  4. A developer wants to construct a personal context graph from local Claude Code sessions or Claude AI and ChatGPT data exports.
  5. A prototype team has an unlisted industry and wants to describe the domain in plain English to generate an ontology, relationships, and agent tools.

What are this agent's strengths and limitations?

Pros
  • One domain YAML drives schema, Pydantic models, agent tools, and visualization through Jinja2, keeping generated layers aligned.
  • It offers both hosted NAMS memory and self-hosted Bolt Neo4j; the latter supports native edges, GDS, and arbitrary Cypher writes.
  • The generated app includes more than chat: streaming tool-call visibility, graph exploration, document browsing, and decision traces.
  • It documents 27 domains, eight agent frameworks, and imports from multiple SaaS services and conversation exports.
Limitations
  • It generates an independent full-stack project, so adoption involves Python, Node.js, environment configuration, and optionally Neo4j operations.
  • The NAMS REST write surface is narrower: relationships are encoded as ccg-edges YAML in descriptions, and entity properties collapse into descriptions.
  • NAMS does not support preferences or facts through REST, and its GDS endpoints and arbitrary Cypher writes return 501; those needs require self-hosting.
  • Frameworks and connectors depend on their respective model credentials, service credentials, or local export files; end-to-end smoke tests additionally need a running Neo4j instance and API keys.

How do you install or deploy this agent?

For a development install, run: git clone https://github.com/neo4j-labs/create-context-graph.git && cd create-context-graph && uv venv && uv pip install -e ".[dev]". The generator requires Python 3.11+ and generated frontends require Node.js 18+. The default NAMS path needs MEMORY_API_KEY or --nams-api-key plus the API key required by the selected agent framework; the self-hosted path also needs Neo4j 5+ connection details.

How do you use this agent?

For hosted memory, run: uvx create-context-graph my-app --domain healthcare --framework strands --nams-api-key sk-nams-.... Then run cd my-app, add ANTHROPIC_API_KEY to .env, run make install and make start, and open http://localhost:3000. For self-hosted Neo4j with demo data, run: uvx create-context-graph my-app --domain healthcare --framework pydanticai --self-hosted --demo. In the generated directory, configure ANTHROPIC_API_KEY, then run make install, make docker-up, make seed, and make start. Use create-context-graph --list-domains to view the 27 built-in domains.

How does this agent compare with similar options?

Compared with simple RAG, the project combines short-term messages, a POLE+O long-term entity graph, and provenance-bearing reasoning memory. Its stated focus is structured graph reasoning and decision traceability rather than text retrieval alone.

FAQ

Do I have to run Neo4j?
No. NAMS hosted memory is the default path. Use --self-hosted with Neo4j 5+ when you need native graph relationships, GDS, or arbitrary Cypher writes.
Which model credentials are required?
They depend on the selected framework: the documented examples use ANTHROPIC_API_KEY for Strands and PydanticAI, OPENAI_API_KEY for OpenAI Agents, and GOOGLE_API_KEY for Google ADK. MEMORY_LLM and MEMORY_EMBEDDING can configure LiteLLM memory providers.
Can it ingest my existing conversations?
Yes. The CLI supports claude-ai and chatgpt --import-type values with .zip, .json, or .jsonl export files. The Claude Code connector can read local session history.
Can a generated graph be used from Claude Desktop?
Yes. --with-mcp generates MCP server configuration so Claude Desktop and the web application can query the same context graph.

Related agents