A 14-part technical course

Knowledge Graphs for AI Agents
From RAG Limits to Self-Updating Codebase Brains

Your coding agent reads 147 files to fix a 3-line bug because it has no map. This course teaches the three context layers that fix it — structural graphs (tree-sitter, Graphify, CodeGraph), narrative knowledge (Google's Open Knowledge Format), and vector RAG where it still belongs — plus the pipelines that keep them honest in production.

Start with Module 0 →

📂 The hands-on labs and the orderflow sample repo live in the course repository: github.com/varasrinivas/knowledge-graph-course — git clone https://github.com/varasrinivas/knowledge-graph-course.git

▶ Walkthroughs — four scenarios stepped through: the 147-file bug fix, a Graphify run, the MCP handshake, and the four-arm benchmark

13+1
modules + capstone
6
tracks
10
hands-on labs
1
mock monorepo you graph end-to-end

Structural

What the code is — deterministic AST call graphs. tree-sitter, Graphify, CodeGraph, okf-rs. Zero LLM cost, zero hallucination.

Narrative

What engineers know — curated Markdown + YAML concepts in Google's Open Knowledge Format. Git-native, agent-readable, one required field.

Semantic

The messy long tail — vector RAG over tickets, threads, and old docs. Still the right tool, once it stops being the only tool.

Track 0 — Overview

1 module

Track 1 — Foundations

2 modules

Track 2 — Structural Graphs

3 modules

Track 3 — Narrative Knowledge

3 modules

Track 4 — Serving & Architecture

2 modules

Track 5 — Production

2 modules

Capstones

1 required ¡ 1 bonus

Suggested path

  1. Everyone starts at M00 — the whole picture before the pieces.
  2. Tracks 1–3 in order: each module adds exactly one layer onto the orderflow running example.
  3. Already run agents in production? You may jump from M04 to M08 → M09 → M11, then return for M05/M10.
  4. Finish with the capstone — it reuses every lab solution you built along the way.