#databases/graph

Public notes from activescott tagged with #databases/graph

Saturday, November 7, 2026

Friday, November 6, 2026

AIP's design response preserves human authorship while adding structure. A compiler meta-skill translates human-written source material (existing skills, documentation, informal descriptions) into the graph form, acting as a quality gate that surfaces type errors and ambiguities at authoring time. Steps carry parallel and one_of control modifiers; satellite nodes hold trigger conditions, anti-patterns, scenarios, and integrations, keeping the entire specification queryable. Notably, AIP is currently a specification rather than an enforcing protocol: the agent loads the full YAML graph into context and follows traversal through its own reasoning, with nothing enforcing adherence to graph topology.

Title:AIP: A Graph Representation for Learning and Governing Agent Skills

Authors:Zachary Blumenfeld, Jim Webber

Agent Skills today consist largely of free-form prose requiring the agent to read, interpret, and re-derive how to act in every session. This imposes two compounding costs: reduced reliability on implementation-heavy tasks, and difficulty in skill creation and improvement, since editing prose is a fragile process that both humans and agents struggle with, particularly for domain-specific procedural knowledge underrepresented in model training. The Agent Instruction Protocol (AIP) addresses both by modeling a skill as a directed execution graph: discrete steps as nodes backed by deterministic scripts or natural-language descriptions, connected by explicit typed input/output edges, and governed by a schema-validated YAML specification. A compiler meta-skill translates existing human-written skills into this form. The benefits are twofold. First, compiling human-written skills to AIP raised Claude Sonnet's mean task reward from 0.60 to 0.71 and pass rate from 53% to 67% across 27 real agent tasks from SkillsBench - a statistically significant gain

Second, on creation and improvement, because each skill is schema-validated, functionally testable, and addressable node-by-node, failures can be diagnosed and repaired precisely.

AIP is used to distill domain knowledge into procedures that even small, inexpensive agents follow step by step, with explicit control flow and optional server-side recording for auditing every run.

AIP fills the gap between them. It builds on Agent Skills, so a procedure stays a portable, human-readable skill, and adds what Skills lack: typed steps, explicit control flow, and a runtime any client can drive, the way MCP gave tools a service any agent can call. The result is predictability, portability, auditability, and lower cost for teams running autonomous agents.

Wednesday, August 19, 2026