Before
Paste every document in
- 9,013 tokens of documents
- The model must find the facts and connect them itself
- 7, 4 and 4 of 7 right, with wrong customers added in 2 of the 3 runs
$0.00720 to $0.00773 per answer
May we use cookies so Meta, Google, LinkedIn and ChatGPT see your visit and we learn which ads work? PrivacyMay we use cookies to see which pages help, and let Meta, Google, LinkedIn and ChatGPT see your visit, so we know which of our ads work? That way we spend less on ads that do not work. We do not sell your data, and the site works the same if you decline. You can change your answer at any time under Cookie settings at the foot of the page. Privacy policy
Loading...
a hands-on course, in Python
Build what an AI agent reads before it answers: a knowledge graph in Neo4j, search inside it, and answers that name their sources.
₹25,000 or $450 paid once. Lifetime access, and every later part is included.
live drawing: what you build
It draws itself, then plays step by step. Press a number to see one step. The numbers are from the course's own lab runs on 6 Dec 2026.
1. The idea
An AI model answers from two things: what it learned in training, and what you put in front of it when you ask. Your company's customers, products and problems were never in its training. So for those questions, what you put in front of it decides the answer. Context engineering is the skill of choosing that well.
Think of an open-book exam.
A clever student with the wrong pages open still writes the wrong answer. Open the right two pages, and the answer takes a minute.
One question, four ways to fill the desk
“Which customers run a robot with the recalled motor?” The true answer is 7 customers. Same model, same instructions, 3 runs each.
0 of 7 in every run
7, 4 and 4 of 7, plus wrong customers in 2 runs
0 of 7: the right text did not look like the question
7 of 7 in every run, in 17.85 ms, about $0.0008 an answer
2. Why it matters now
An agent is a model that takes steps on its own: it looks things up, calls tools and acts. Every step starts from the context it was given. When a fact is missing, or buried in thousands of words, the agent guesses, and it guesses with confidence. In our first lab the model and the instructions never changed. Only the facts did.
Before
$0.00720 to $0.00773 per answer
After
$0.00079 to $0.00091 per answer
3. Why a graph
The measured result
12 questions about one company, each asked twice per method, every answer scored by code. That is 24 answers per method.
Vector search, top 5 chunks
10/24 right
about $0.00073 an answer, 723 tokens in
Graph, plain rows
17/24 right
about $0.00033 an answer, 152 tokens in
Graph, labelled rows
24/24 right
about $0.00034 an answer, 179 tokens in
Lookups were a tie, and the course says so: for one fact in one document, plain vector search is fine. The graph's first misses taught the most. Plain rows that did not say what they counted confused the model. Labelled rows, such as “FR-200 Picker: 18” instead of “robots: 18”, fixed every one.
Safe to run twice: the first load created 180 nodes and 491 relationships. Run again, it created 0 and 0.
4. What you build
The drawing at the top of this page is the finished system. These are the pieces, in the order you build them, each running on your own Neo4j.
On AuraDB Free or in Docker, checked by a script that ends with SETUP OK.
Designed from the questions people ask, loaded with the Python driver, every chunk linked to the facts it mentions.
An embedding for every chunk and a vector index you query from Cypher.
A model pulls out the facts, the neo4j-graphrag pipeline writes them, and you check the result.
Vector search then the graph, hybrid search for exact part numbers, and a citation for every fact.
The same retrieval with neo4j-graphrag and LangChain, and an agent that queries Neo4j through MCP with a read-only user.
Built on Graphiti and your own Neo4j: it remembers each customer and knows when a fact changed.
Answers computed from the data, scored by code, with the time and cost of every answer.
Sizing, fast loading, security when agents query the graph, many customers in one graph, and backups.
A graph assistant for documents you choose, measured against plain vector search, ready for your portfolio.
Neo4j is a trademark of Neo4j, Inc. This course is independent and is not made or endorsed by Neo4j.
5. After the course
Out now, in Part 1
Coming in Parts 2 to 7, included free
6. Where it is used
Builds product features on language models. Choosing and checking what the model reads is most of the job.
Owns retrieval and answers for one product. GraphRAG is the tool for questions plain search gets wrong.
Designs and loads the graph that other teams and agents query, and keeps it correct.
Runs the shared search, memory and evaluation that many agents use, safely and within cost.
Builds an AI system on a customer's own data, quickly, and has to prove it answers right.
Typical pay, from public salary data
Typical ranges, varies by company and experience.
United States, AI engineer
$176K to $381K
median total pay, from entry level to senior
India, machine learning engineer
₹21.3 lakh to ₹57.3 lakh
a year, the middle half of reported pay (median ₹34.8 lakh)
Sources: Levels.fyi AI engineer benchmark, US offers from Dec 2025 to Jun 2026, 2,300+ data points; Levels.fyi machine learning engineer, India, read 6 Dec 2026. Levels.fyi pay is self-reported and leans towards large tech companies. A course alone does not get you a job; the system you build and measure is what you can show.
7. Why this course
Each result on this page came from a recorded run on 6 December 2026, and the lesson that ran it shows the output.
Ferncliff Robotics is fictional and its data is synthetic, made from a fixed seed, so every answer can be checked by code.
The whole path in one course: the knowledge graph, search by meaning, GraphRAG, and an agent that remembers.
Read the Introduction, Before you start and What context engineering is before you pay anything.
One payment gives lifetime access to every lesson and every code zip.
Parts 2 to 8 are released one by one, and they cost nothing more once you have bought the course.
8. How we teach
Every lesson is written out in full and follows the same order, so you always know where you are. No lesson opens on code.
Each lesson opens on a question someone at Ferncliff needs answered.
An everyday comparison and a diagram, before any code.
You lock in your guess, then see what the real run measured.
A zip of the code with a START-HERE note, run on your own Neo4j.
A few questions, each answer explained.
Each lab lesson also says where it runs and what its own run cost. No lab needs a GPU.
9. The course plan
52 lessons: the opening lessons, then 8 parts. Part 1 is out now. The other parts are being released one by one, and each is included free once you have bought the course. Open a part to see its lessons.
The whole course told through one company's question, what you should already know, and a Neo4j database and a model key set up before the first lab.
What a model's context is and why it decides the answer, the property graph and Cypher from zero, the Ferncliff knowledge graph, vector indexes inside Neo4j, and graph against vector retrieval measured on real questions.
Designing the graph from the questions, the lexical graph, extraction with a model, the neo4j-graphrag pipeline, merging duplicates, measuring extraction quality, and one agreed meaning per term.
The vector baseline, vector search followed by the graph, hybrid search, questions turned into Cypher safely, whole-dataset questions, choosing a retriever and packing the context.
What Neo4j itself ships for GraphRAG and agents, and which parts you need for your own project.
What agent memory is, memory as a graph, facts that change over time, Graphiti from zero, searching and forgetting, and an agent that remembers across sessions.
A question set with agreed answers, scoring by code and a checked judge, the comparison, where the graph loses, cost and time, and a harness on every change.
Running the graph for real users.
Your own documents, from the schema to a measured comparison with plain vector search.
Start free, today
One question a fictional robot maker cannot answer today, and the knowledge graph, retrieval and agent memory you build in this course to answer it.
Read it now FreeBefore you startThe Python this course assumes, three ways to get a Neo4j database, a self-check that ends with your database answering, and a model key with a spending limit.
Read it now FreeWhat context engineering isOne question asked four ways, with no context, with every document, with the five most similar chunks, and with the rows of one graph query, and what each costs and gets right.
Read it nowWho it is for
who are building AI features and want answers that are right about their own company's data
who have built vector search and want to know when a knowledge graph does better, measured
who want to model, load and run a graph database for retrieval and agent memory
Before you start, you should know
You do not need
one payment
Hands-On Context Engineering with Neo4j: Knowledge Graphs, GraphRAG and Agent Memory
India pays in rupees by UPI, card or netbanking. Everywhere else pays in US dollars by card or PayPal. All sales are final (policy).
The course in one paragraph. Hands-On Context Engineering with Neo4j: Knowledge Graphs, GraphRAG and Agent Memory is a self-paced, written course by Roni Das on systemdesign.academy. It teaches context engineering, which means choosing what a language model sees when it answers, and it teaches it with a knowledge graph in the graph database Neo4j. You learn Neo4j and Cypher from zero, build a knowledge graph from a company's documents, answer questions with vector search and graph traversal together (GraphRAG), give an agent a memory that knows when a fact changed, and measure every answer with and without the graph. The company in every lesson is Ferncliff Robotics, a fictional maker of warehouse robots whose data is synthetic, so every answer can be computed and checked by code. It is for developers who know Python. No graph database or machine learning experience is needed, and no GPU.
It teaches you to choose what a language model sees when it answers, and to build that context with a knowledge graph in Neo4j. You learn Neo4j and Cypher from zero, build a graph from a fictional company's documents, answer questions with vector search and the graph together, give an agent a memory that knows when facts changed, and measure every answer with and without the graph.
No. The course is planned as 52 lessons. The course is released part by part, in book order. 9 lessons are ready to study today, about 0 minutes of learning. New lessons are added as they are finished, and you get every one. They cost nothing extra for anyone who has bought the course. Everything published later is included in the one payment.
You should be able to read and change a 200-line Python program and use the terminal. You need a Neo4j database, which can be AuraDB Free or Neo4j Community Edition in Docker, and a model API key with a spending limit. The free lesson "Before you start" sets both up. You do not need graph database experience, a machine learning background or a GPU.
No. Ferncliff Robotics is fictional, and every customer, person, robot, part and document in its data is synthetic, made by the course's own generator from a fixed starting number. That is what lets every answer in the course be computed from the data and scored by code.
No. That is a separate, older programme at /live/neo4j-graph-data-science-graphrag, with its own price, and buying one does not open the other. This course is about context engineering: choosing what a model sees, with a knowledge graph, GraphRAG retrieval and agent memory, each measured against plain vector search.
The lessons were written and run against Neo4j 2026.10.2 Community Edition, the neo4j Python driver 6.4.1, neo4j-graphrag 1.24.0, graphiti-core 0.32.1 and the openai package 3.65.0, the versions current on 6 December 2026. Each lesson states the versions its run used.
It is a written course, laid out like a book of parts and lessons. Every lesson is written out in full, with real screenshots from real runs, a diagram for each idea and a short knowledge check, and each lesson with code comes with a zip of that code. If videos are added to the lessons later, they are included at no extra cost.
No. It is its own course with its own price. Buying it gives lifetime access to all of its lessons and code, including every part published later.
In India you pay in rupees through Razorpay, by UPI, card or netbanking. Everywhere else you pay in US dollars by card through Razorpay, or with PayPal. The course unlocks on your account as soon as the payment is confirmed.
₹25,000 or $450 paid once, lifetime access
Buy the course for ₹25,000 or $450