Most Going Meta sessions share the same core stack: a running Neo4j instance, the Neosemantics (n10s) plugin, and a Python environment with a handful of libraries. Setting everything up once means you can move between sessions without friction. This guide walks you through each component from scratch.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/jbarrasa/goingmeta/llms.txt
Use this file to discover all available pages before exploring further.
Sessions 1–20 work entirely with Cypher scripts or Jupyter notebooks and require only Neo4j + n10s. Python dependencies become important from session 5 onward, and the GenAI stack (LangChain, OpenAI, neo4j-graphrag) is used from session 22 onward.
Steps
Provision a Neo4j Instance
You need a running Neo4j instance accessible over the Bolt protocol. Two options are recommended for Going Meta sessions:
- Neo4j AuraDB (Cloud)
- Neo4j Desktop (Local)
Neo4j AuraDB offers a free tier that requires no local installation. It is the fastest way to get started.
- Visit console.neo4j.io and create a free account.
- Click New Instance → AuraDB Free.
- After the instance starts, download the generated
.envfile — it contains yourNEO4J_URI,NEO4J_USERNAME, andNEO4J_PASSWORD. - Connect via Neo4j Browser at the URL shown in the console.
Install the Neosemantics (n10s) Plugin
Neosemantics enables RDF import/export, SKOS taxonomy loading, ontology import, SHACL validation, and SPARQL execution within Neo4j. It is required for the majority of Going Meta sessions.Once installed, verify the plugin is active by running this in Neo4j Browser:
- Neo4j Desktop
- AuraDB / Manual Install
- Open your database in Neo4j Desktop.
- Click Plugins in the right-hand panel.
- Find Neosemantics (n10s) and click Install.
- Restart the database.
AuraDB does not support custom plugins. For sessions that require n10s (sessions 2, 3, 4, 8, 12, 14, and many others), use Neo4j Desktop or a self-managed instance.
Create a Python Virtual Environment
All Python-based sessions use standard
venv. Create one virtual environment for the entire Going Meta series and install dependencies incrementally as needed.Install Core Python Dependencies
Install the full set of libraries used across all sessions. Individual session folders may also include a
pyproject.toml with pinned versions — use those for exact reproducibility.| Package | Used In | Purpose |
|---|---|---|
neo4j | All Python sessions | Official Neo4j Python driver for Bolt connections |
rdflib | Sessions 5, 12, 18, 29, 30, 36 | Parse and manipulate RDF graphs in Python |
openai | Sessions 17, 25, 26+ | OpenAI Completions and Chat API |
langchain | Sessions 22, 23, 24, 27, 34+ | LLM chaining, tool calling, agents |
langgraph | Sessions 27, 35+ | Stateful multi-step agent graphs |
neo4j-graphrag | Sessions 32, 33+ | Neo4j’s official GraphRAG Python SDK |
streamlit | Sessions 15, 23, 32 | Interactive web UI for demos |
pydantic | Sessions 30, 34+ | Structured output validation from LLMs |
prefect | Session 9 | Orchestration for automated KG construction |
Configure Environment Variables
Sessions read credentials from environment variables rather than hard-coded values. Create a Load these variables in Python using Or export them directly in your shell session:
.env file at the root of your working directory:python-dotenv:Quick Reference: Environment Variables
| Variable | Default | Description |
|---|---|---|
NEO4J_URI | bolt://localhost:7687 | Bolt URI of your Neo4j instance |
NEO4J_USER | neo4j | Neo4j username |
NEO4J_PASSWORD | — | Neo4j password (no default; must be set) |
OPENAI_API_KEY | — | OpenAI API key for LLM sessions |