{
  "schema": "agent-buildprint/publication.v1",
  "publish": true,
  "fileExcludes": [],
  "slug": "portable-durable-agent-graph-runtime",
  "title": "Portable Durable Agent Graph Runtime",
  "creator": "Agent Buildprint",
  "category": "Mapped Project",
  "tier": "agent-grade",
  "status": "validated",
  "runtime": [
    "TypeScript",
    "Clean-room runtime proof"
  ],
  "stack": [
    "Typed state graph",
    "Reducers",
    "Checkpointing",
    "Interrupt/resume",
    "Send fanout"
  ],
  "iconKeys": [
    "typescript",
    "json",
    "md"
  ],
  "difficulty": "Advanced",
  "featured": true,
  "summary": "LangGraph-inspired durable graph runtime Buildprint with source trace, scoped TypeScript reversal proof, checkpoints, interrupts, streaming, reducers, and Send fanout.",
  "plainDescription": "A blueprint for a durable agent graph runtime: define graph nodes, route state through edges, checkpoint progress, resume interrupted runs, and stream execution events.",
  "promise": "A validated mapped-project Buildprint for rebuilding a small portable durable graph runtime from evidence-backed LangGraph architecture concepts without claiming clone, drop-in, API, provider, cloud, storage, or Pregel parity.",
  "whatYouGet": [
    "Durable agent graph runtime",
    "Graph builder API",
    "State schema and reducer model",
    "Conditional routing and fanout",
    "Checkpoint/resume behavior",
    "Interrupt/recovery and stream events"
  ],
  "whatYouNeed": [
    "Nothing for local/mock runtime proof",
    "Database/storage credentials only if replacing the in-memory checkpoint saver",
    "AI/model/tool provider keys only if your nodes call real external services"
  ],
  "architectureFlow": [
    "Graph builder",
    "State",
    "Routing",
    "Checkpoint",
    "Interrupt",
    "Stream"
  ],
  "includes": [
    "Pinned LangGraph source trace",
    "Builder / compile / runtime architecture map",
    "Typed-ish state schema and reducers",
    "Directed and conditional routing",
    "Invoke/stream contracts",
    "Checkpoint tuple and in-memory saver contract",
    "Pending-write recovery simulation",
    "Interrupt/resume via Command",
    "Send fanout proof",
    "Async invoke/stream proof",
    "Serializer safety gate",
    "Clean-room TypeScript reversal proof",
    "QA and reversal reports"
  ],
  "risks": [
    "Accidentally implying LangGraph clone parity",
    "API compatibility overclaiming",
    "Pregel concurrency/performance overclaiming",
    "Provider/tool ecosystem scope creep",
    "Production storage adapter overclaiming",
    "Serializer/checkpoint byte compatibility overclaiming"
  ],
  "checks": [
    "Pinned source commit is recorded: 076e2a3627206f5a1aef573aaca4a01e5af897ca",
    "166 source references checked with 0 missing and 0 bad line ranges",
    "Clean-room TypeScript proof uses Buildprint docs only, not LangGraph source imports",
    "npm test runs tsc and node --test",
    "12/12 proof tests pass",
    "Claim boundary remains workflow-proof + contract-parity + mocked-runtime-proof",
    "Full clone/API/provider/cloud/storage/Pregel parity are explicitly out of scope"
  ],
  "trustBadges": [
    {
      "label": "Scoped reversal proof passed",
      "detail": "Clean-room TypeScript proof passes 12/12 tests from the Buildprint package.",
      "tone": "success"
    },
    {
      "label": "Evidence trace checked",
      "detail": "166 pinned-source references checked with 0 missing files and 0 bad ranges.",
      "tone": "success"
    },
    {
      "label": "LangGraph-inspired, not clone",
      "detail": "Public claim boundary excludes clone, API, cloud/provider, storage, and Pregel parity.",
      "tone": "warning"
    },
    {
      "label": "TypeScript proof",
      "detail": "Includes tsc build, public declarations, async surfaces, Send fanout, and pending-write recovery simulation.",
      "tone": "info"
    }
  ],
  "originGithubUrl": "https://github.com/langchain-ai/langgraph",
  "originLabel": "langchain-ai/langgraph",
  "copyPrompt": "Use the Portable Durable Agent Graph Runtime Buildprint. First bootstrap exact snapshots: agb start https://agent-buildprint.com/buildprints/portable-durable-agent-graph-runtime/package.json . If agb is not installed, clone https://github.com/DomEscobar/agent-buildprint and run node agent-buildprint/bin/agb.js start https://agent-buildprint.com/buildprints/portable-durable-agent-graph-runtime/package.json . Then read .buildprint/next-agent.md and continue. Do not write Buildprint snapshots manually. Keep claims scoped to workflow proof and mocked runtime; do not claim LangGraph drop-in parity or production storage equivalence."
}
