Graph Engineering is a discipline for designing the topologies that AI agents use to remember (knowledge graphs) and work (task graphs), packaged as a practical skill file and reference material.

Stars

160

7-day growth

No data

Forks

19

Open issues

0

License

MIT

Last updated

2026-07-23

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

It bridges two formerly separate fields—knowledge graphs and agent orchestration—into a cohesive practice, grounded in a long-running university course and validated by recent research from Google DeepMind and MIT.

Who it is for

  • AI engineers building agentic systems
  • Knowledge graph practitioners seeking modern patterns
  • Students and researchers in AI and data engineering
  • Developers using skill-compatible agent frameworks like Claude Code

Use cases

  • Building a knowledge graph from a set of documents using a structured 9-stage pipeline
  • Teaching graph engineering interactively with your own project as the running example
  • Designing task graphs with diamond splits, separate verifiers, and human gates
  • Evaluating when agent teams benefit from splitting work vs. sequential execution

Strengths

  • Includes a ready-to-use skill file that teaches the full pipeline to compatible agents
  • Based on a proven graduate course (4.4K stars) and backed by empirical research on agent scaling
  • Clear 9-stage pipeline with verification at every stage, avoiding the 'pile of triples' pitfall
  • Provides paste-ready prompt blocks for both teaching and single-purpose tools

Considerations

  • Requires a skill-compatible agent harness (currently demonstrated for Claude Code only)
  • Original course material is in Chinese; the repo provides English distillation but does not redistribute original PDFs
  • Task-graph rules are drawn from emerging research and may evolve as the field matures

README quick start

Graph Engineering

The discipline of designing the structures AI agents work through — not the prompts.

It has two halves:

  1. Knowledge graphs — what agents remember. Nodes are entities and facts, edges are relationships with time and provenance. Ontology → extraction → fusion → serving.
  2. Task graphs — how agents work. Nodes are jobs, edges are execution dependencies. Parallel fan-out, separate verifiers, the stop rule, the human gate.

Prompt engineers steered the model's words. Loop engineers steered its iterations. Graph engineers steer its topology.

This repo turns Southeast University's graduate Knowledge Graph course (npubird/KnowledgeGraphCourse, 4.4K★, taught in Chinese since 2019) — plus the modern agent-orchestration research behind task graphs — into things you can actually use today.

What's inside

PathWhat it is
graph-engineering/The skill. Hand it to your agent (Claude Code / any skill-compatible harness) — it learns the full 9-stage knowledge-graph pipeline, the task-graph patterns, and a teaching mode that explains every stage with diagrams drawn from your domain.
graph-engineering/references/The distilled course: curriculum map (translated, with links to the original Chinese decks), modeling, extraction, fusion + GraphRAG, task graphs.
WORKFLOWS.mdNine paste-ready prompt blocks — a /kg-tutor that teaches you the whole course interactively, plus eight single-purpose tools (/kg-scope/kg-rag) that chain into a full build.
dist/graph-engineering.skillThe packaged skill file.

Install (two commands)

git clone https://github.com/codejunkie99/graph-engineering.git
cp -r graph-engineering/graph-engineering ~/.claude/skills/

Then ask your agent to build ("build a knowledge graph from my docs") or to teach ("teach me graph engineering") — teaching mode walks the pipeline stage by stage with worked examples and generated diagrams, using your own project as the running exa

Description

Graph engineering for AI agents: the 9-stage knowledge-graph pipeline (translated from SEU's graduate course) + task-graph orchestration patterns, as a Claude skill with teaching mode and paste-ready workflows

Related repositories

Similar projects matched by category, topics, and programming language.

MoonshotAI
Featured
MoonshotAI GitHub avatar

Kimi-K3

Kimi K3 is an open-weight, 2.8T-parameter native multimodal agentic model with a 1M-token context window, designed for frontier coding, knowledge work, and reasoning tasks.

AI & Machine LearningAI Agents
3,348
xuchonglang
Featured
xuchonglang GitHub avatar

investing-for-beginners

A structured investing guide for Chinese beginners covering US stocks, options, and cryptocurrency, with focus on foundational concepts and risk awareness.

Blockchain & Web3
2,739
Krishnagangwal
Featured
Krishnagangwal GitHub avatar

CS-Fundamentals

A curated collection of Computer Science fundamentals (PDFs, notes, cheatsheets, interview question banks) for placement preparation, covering seven core subjects plus general resources.

Data & DatabasesDatabases & Storage
2,326