Execution Graph

Foundational Ch7 primitive: an immutable, queryable graph of every decision / retrieval / tool-call / LLM-call an agent made for a specific query. Nodes are atomic operations carrying input/output/timestamp/ latency/cost/tokens; edges are TRIGGERED relationships establishing the full causal lineage. Two-phase write — create-on-start (captures structure even on failure), fill-on-complete (latency + cost + output). Enables diagnostic queries that flat logs cannot answer ("every tool invocation that followed an LLM call with confidence < 0.7 and resulted in latency > 3s"). Use BEFORE building any Ch7 evaluation or self-evolution machinery — it is the substrate everything else depends on. NOT for one-shot single-call agents (no graph to trace), NOT for systems where observability already lives in OpenTelemetry-to-graph pipeline (you have it already).

AnthonyAlcaraz 0040a79 3 files · 26.6 KB Updated

File contents

AnthonyAlcaraz/agentic-graph-rag-skills/tree/main/skills/self-evolution/execution-graph commit 0040a79681

Frequently asked questions

npx skillmds@latest add anthonyalcaraz/execution-graph