{
  "schemaVersion": 1,
  "generatedAt": "2026-08-12T23:36:22.127Z",
  "generationKey": "fac3d4a1c0f27b08fe01780906f50e6e28db1fc6a500ca4f212349ca6a631db0",
  "metadataPayloadSha256": "227b97db99258e550fab56325dd2dfc87c3b7a9540aaa1aaaa280b7338012401",
  "diagram": {
    "id": "agent-memory-lifecycle-3e76f14c",
    "title": "Agent memory — lifecycle",
    "description": "Memory is recalled at run start, updated during the run, and persists to the next one.",
    "status": "current",
    "canonicalAppearanceKey": "tsx:src/app/(docs)/docs/concepts/agent-memory/page.tsx:lifecycleChart#1"
  },
  "aliases": [],
  "concepts": [
    "Agent memory",
    "Lifecycle"
  ],
  "keywords": [
    "kb_memory.recall (load per-agent memory)",
    "kb_memory.remember (persist a durable fact)",
    "kb_memory.forget (retract)",
    "reason + call tools",
    "token budget exceeded?",
    "summarize older turns, keep facts",
    "memory persists to next run"
  ],
  "mermaid": {
    "type": "state",
    "sourceSha256": "3e76f14ca31f7d662731c42b83490b997e0bf60de0b4d1a9fe6ab85e1914a1d5"
  },
  "provenance": [
    {
      "appearanceKey": "tsx:src/app/(docs)/docs/concepts/agent-memory/page.tsx:lifecycleChart#1",
      "surface": "route",
      "sourcePath": "src/app/(docs)/docs/concepts/agent-memory/page.tsx",
      "line": 29,
      "route": "/docs/concepts/agent-memory",
      "symbol": "lifecycleChart",
      "caption": "Memory is recalled at run start, updated during the run, and persists to the next one."
    }
  ],
  "embeddedMetadata": [
    {
      "sourcePath": "src/app/(docs)/docs/concepts/agent-memory/page.tsx",
      "caption": "Memory is recalled at run start, updated during the run, and persists to the next one."
    }
  ],
  "generation": {
    "application": {
      "name": "eli-ai",
      "version": "0.1.0"
    },
    "environment": {
      "node": "v26.3.1",
      "yarn": "4.17.1",
      "platform": "linux",
      "architecture": "x64",
      "containerImage": "playwright:v1.62.1-noble@sha256:c091b21d9fae78c76e85cd4356431e9b018402f172a214fc7d7a5e9a7e29d8ac+node:26.3.1-bookworm-slim@sha256:209558c3e5e40e8adff68959d3c2ba7cd73723e716d89196878a0c362fa1e109"
    },
    "packages": {
      "mermaid": "11.16.0",
      "mermaidCli": "11.16.0",
      "playwright": "1.62.1",
      "playwrightCore": "1.62.1",
      "puppeteer": "25.6.0",
      "puppeteerCore": "25.6.0"
    },
    "renderer": {
      "mermaidConfigSha256": "68c10966fe84406ee626034d58bfabd555df9f65f691204b7c46db24038da101",
      "themeCssSha256": "c80287a78d80ad63d27bd5ca348b2ef9a7e2f44da289e436be6484ea28a1b033",
      "browser": {
        "name": "chromium",
        "revision": "1234",
        "version": "151.0.7922.34",
        "executableSha256": "0b20b130e7edd9dd51873be867761295fe0cfad490c2b9a64f95bd3cfc08fa71"
      },
      "font": {
        "family": "Eli Diagram Inter Variable",
        "fileSha256": "3100e775e8616cd2611beecfa23a4263d7037586789b43f035236a2e6fbd4c62",
        "licenseSha256": "3b0a5fca3d17942cde889069889dedbbbd075e9b599968c82a95f4d944e9b345"
      }
    },
    "adapterVersions": {
      "diagramGenerator": "2",
      "drawioFlowchart": "1",
      "drawioSequence": "1",
      "drawioState": "1",
      "drawioGantt": "1"
    }
  },
  "artifacts": {
    "mmd": "/diagrams/agent-memory-lifecycle-3e76f14c/agent-memory-lifecycle-3e76f14c.mmd",
    "svg": "/diagrams/agent-memory-lifecycle-3e76f14c/agent-memory-lifecycle-3e76f14c.svg",
    "png": "/diagrams/agent-memory-lifecycle-3e76f14c/agent-memory-lifecycle-3e76f14c.png",
    "drawio": "/diagrams/agent-memory-lifecycle-3e76f14c/agent-memory-lifecycle-3e76f14c.drawio",
    "json": "/diagrams/agent-memory-lifecycle-3e76f14c/agent-memory-lifecycle-3e76f14c.json"
  },
  "artifactSha256": {
    "mmd": "1494e43f5c62c8f75eb0c6070ef7723cec4e0fc0aee1d10e25682b2a31b48a25",
    "svg": "4b73470baad0f12687900851d1ae422c5f750d58f8134ef0e3c6d772bfa93ee4",
    "png": "171801caff8e86df84f2f0c1f2034f90e21ee9cd0e63ba32ec49c9cd1564b3e7",
    "drawio": "2e5887a5d097b0805193a20f21f0c5d5af1c529c5b29e75ef3294dfb475fd09c"
  }
}
