Chapter 8

Multi-agent & KG

Patterns

Collaboration

Supervisor · handoff · critic · map-reduce

Supervisor

LangGraph team

Researcher + Writer + Reviewer → supervisor routes

Multi lab

Supervisor lab

CSV brief task · compare vs single agent

KG

Triples

(Subject) —[PREDICATE]— (Object)

Multi-hop > vector for linked entities

Build

Extract → Neo4j

LLM triple extraction · entity merge · Cypher load

Retrieve

Graph retrieval

Text-to-Cypher · k-hop subgraph

Hybrid: vector + graph tools

GraphRAG

Community summaries

Local = entity subgraph

Global = map community summaries

Lab

Practice

Baseline RAG fail → add KG → re-eval 5 questions

Eval

Multi-agent + KG

Handoff accuracy · multi-hop recall · token cost

Done

Scroll labs + eval: course-full-multiagent.html

Next: ⑨ Multimodal · Eval guide

Intro
1 / 1 Hub Space F