Graph Engineering for Agents: Explicit Procedures, Memory and Governance

Neo4j’s Zachary Blumenfeld describes three kinds of graphs and demonstrates a graph-shaped loan-review skill.

ZBZachary Blumenfeld연사 · Neo4j
채널
AI Engineer
게시일
2026년 11월 3일
영상
20:35
읽기
3분
슬라이드
4
원문
영어
YouTube에서 열기
스크롤하면 영상이 오른쪽 아래로 작아져 계속 재생됩니다. 자막은 읽기 언어를 따릅니다.
읽기 언어2개 언어로 읽을 수 있음
이 글은 아직 한국어 번역이 없어 영어 원문으로 표시합니다.
요약

30초 요약

Zachary Blumenfeld of Neo4j presents graph engineering as an explicit way to organize agent work, context and procedures. He argues that graph-shaped artifacts can make steps easier to govern, inspect and reuse across runtimes. A fictional loan-review demo compiles successful traces and policies into a portable skill, with programmatic routing and human escalation. He reports faster runs in a small demonstration and distinguishes it from formal research.

  1. 1Three kinds of graphExecution graphs coordinate work, context graphs connect evidence, and procedural graphs express repeatable steps.
  2. 2Compile a skillThe approach turns written procedures and supporting files into nodes for decisions, routes and execution.
  3. 3Traceability is not enforcementA record of an agent’s decisions does not by itself ensure that future runs follow the same path.
  4. 4Route programmaticallyThe demo uses a CLI and scripts to enforce parts of the loan-review procedure.
  5. 5Treat the results as a demoThe small comparison reports faster execution and lower cost with a smaller model, not a general benchmark.

핵심 정리

  1. Execution, context and procedural graphs serve different roles in agent systems.
  2. A portable procedural graph can make steps, routing and provenance explicit.
  3. Written skills and decision traces can be compiled into structured artifacts with scripts and references.
  4. Programmatic rules and escalation can limit the decisions left to a model.
  5. The loan example is a small demo; its timing and cost figures should not be generalized without further testing.
전문

챕터별로 다듬은 전문 읽기

원본 자막만 보기
01

Three views of graph engineering

Blumenfeld defines execution, context and procedural graphs and describes portability and governance.

Zachary Blumenfeld of Neo4j defines graph engineering as designing agent work as an explicit graph: nodes do work and edges route state. The name is new, he says, but ideas such as state machines, workflow graphs and knowledge graphs are not.

Execution, context and procedural graphs
슬라이드 1 / 4Execution, context and procedural graphsThe slide contrasts the roles of the three graph types.

He distinguishes execution graphs, context graphs and procedural graphs. Execution graphs coordinate runtime work; context graphs connect decisions and traces to domain data; procedural graphs represent steps, routing, validation and escalation in a repeatable process.

Blumenfeld argues that explicit graphs can make behavior more predictable, governable and auditable. A graph stored as an artifact alongside data can also be portable between runtimes, rather than existing only inside one orchestration framework.

02

Skills and memory as graph artifacts

He discusses compiling procedures and connecting them to prior decision traces and source data.

He describes a knowledge layer between systems of record and agents. In Neo4j’s approach, this layer connects source data, documents and memory, while protocols and artifacts expose procedures to different agent runtimes.

A context graph can connect short-term conversation history, longer-term entities and decision traces. Neo4j researchers asked whether procedural knowledge in a written skill, its scripts and references could be compiled into a graph of decisions, routes and executable steps.

Compiling skills into graphs
슬라이드 2 / 4Compiling skills into graphsA written skill and its supporting files are transformed into a validated graph-shaped artifact.

Blumenfeld says their earlier research found higher task reward when agents followed the compiled graph, including with a smaller model. He notes the results were from earlier experiments and were being updated for newer models.

The team also explored distilling a skill from memory and connecting it to prior decision traces. He says this can preserve provenance, version history and governance, allowing humans to inspect or revise the process and trace where decisions came from.

He gives examples of compliance reporting across multiple data sources and geographic configuration rules. In each case, the proposed graph connects data to the logic needed to interpret it. He notes that customers may use different implementations from the lab project.

03

A loan-review demonstration

A fictional application combines policies, a business plan and past decisions. The team compiles a procedure to make routing more explicit.

The demo concerns a loan decision for a fictional bakery. The agent combines a business plan, past transactions, lending policy and previous decisions. Blumenfeld emphasizes that this is a demo, not a formal research result.

The loan-review demo
슬라이드 3 / 4The loan-review demoThe example connects a business plan, lending policy, banking data and prior decisions.

A graph connects those sources and records the agent’s reasoning and tool calls. But repeated runs can take different paths, and confidence claims around approval, denial or escalation are not necessarily calibrated.

The team compiles information from successful runs and policy documentation into a graph-shaped skill represented in YAML, with scripts and supporting assets. The aim is both traceability and a portable description of how to execute the procedure.

04

Execution, inspection and results

Scripts route the process and store individual runs for inspection. Blumenfeld reports limited demonstration results.

A command-line wrapper lets the agent run the compiled procedure. Rather than asking the model to decide every routing step, the system handles much of the policy and routing programmatically.

The demonstrated flow first checks hard policy rules. Cases not automatically decided can go to a decision model, then to report writing or human escalation; the report is checked before completion.

Runs and their individual steps can be stored in the graph. An inspector can show status, decisions and branches taken, helping a reviewer understand what happened and which parts of the procedure were exercised.

Small demonstration results
슬라이드 4 / 4Small demonstration resultsThe table compares runtime and cost for the illustrated runs and configurations.

In the small demo, Blumenfeld reports that adding a procedure shortened runtime, and using a smaller model with the procedure reduced it further. The displayed table shows different cost outcomes for the same model with and without the procedure; the cheaper-model combination is the one shown as substantially cheaper.

He stresses that the example involved a few runs and directs viewers to the code and resources. The broader proposal is to make procedural logic explicit and inspectable, while keeping it reusable across agent environments.

같은 채널의 다른 글

슬라이드 5장19:12EN
AI Engineer· 2026년 11월 4일Why AI Agents Need Reliable Processes to Scale Across a CompanyMitchell Troyanovsky · BasisBasis co-founder Mitchell Troyanovsky explains behavior specifications, trajectory forks and simulations for production agents.에이전트 엔지니어링평가(Evals)엔터프라이즈 AI+2
슬라이드 5장18:01EN
AI Engineer· 2026년 11월 4일How NatWest Tests Customer-Facing AI Agents Before LaunchJonathan Osborne · NatWest GroupJonathan Osborne explains routing controls, human validation, unreliable LLM judges and shadow deployment in a regulated bank.평가(Evals)금융 AIAI Safety+2
19:48EN
AI Engineer· 2026년 11월 4일Why Datasite Bought Its Document Parser Instead of Building ItAdit Abraham, Raj Bakhru · ReductoRaj Bakhru and Reducto CEO Adit Abraham discuss the engineering trade-offs behind AI for transaction data rooms.Document understanding & OCR엔터프라이즈 AI검색 증강 생성(RAG)+2
슬라이드 5장19:19EN
AI Engineer· 2026년 11월 4일Approve the Application, Not the AI Model: Building Evaluation Gates for a BankDoneyli De Jesus · Langfuse by ClickHouseDoneyli De Jesus explains how a bank tested an AI agent on its own data, added a calculator and used domain experts to set production gates.평가(Evals)금융 AI에이전트 엔지니어링+2
슬라이드 2장16:51EN
AI Engineer· 2026년 11월 3일Cristóbal Valenzuela on Interactive Video Models and Runway’s ContinuumCristóbal Valenzuela · RunwayRunway’s co-founder traces next-frame prediction from early generated film to research prototypes for interactive visual interfaces.비전과 영상World modelsGenerative media+2
슬라이드 4장19:42EN
AI Engineer· 2026년 11월 3일What Drives AI Agent Costs: Cache Hits, Input Tokens and TurnsGeorge Cameron · Artificial AnalysisArtificial Analysis co-founder George Cameron breaks down an agent benchmark and a framework for choosing models by cost and capability.AI cost & performanceInferenceKV caching & prefix reuse+2