{
  "schemaVersion": 1,
  "generatedAt": "2026-08-12T23:36:18.189Z",
  "generationKey": "e8e7c290408f369c8057b6c092d45a88ba7d0e3783b41ba1cad8d81d55dc6136",
  "metadataPayloadSha256": "74875b7da2de5dd976634b2f94b488989b7ca3c99dcc6e8379763ac26ae15a40",
  "diagram": {
    "id": "agent-and-api-integration-overview-75cdeede",
    "title": "Agent and API integration overview",
    "description": "Agent and API integration overview maps the principal capabilities, boundaries, and data paths in this architecture.",
    "status": "archived",
    "canonicalAppearanceKey": "md:docs/architecture/workspace/10-end-to-end-journeys.md#9"
  },
  "aliases": [],
  "concepts": [
    "End to end journeys"
  ],
  "keywords": [
    "notes_save RPC + RLS in SaaS",
    "HTTP MCP",
    "/ OpenAI-compatible API",
    "SSE events, git commit as agent",
    "eli_pat prefix + secret",
    "StorageAdapter: .md + SQLite locally",
    "Agent spawns node",
    "SaaS PAT minted at",
    "PAT auth + rate limit",
    "Setup dialog writes 5 agent configs",
    "claude, cursor, codex, gemini, openclaw",
    "stdio JSON-RPC, no per-call auth",
    "Side effects: agent-attributed versions",
    "RAG injection + optional vault tools",
    "Digest note + embed:backfill CLI",
    "bridge agent-written notes to vectors",
    "bin/eli-mcp.mjs",
    "Settings/Developers",
    "/api/mcp/transport",
    "60/min",
    "template / daily / comment / diff / memory"
  ],
  "mermaid": {
    "type": "flowchart",
    "direction": "LR",
    "sourceSha256": "75cdeede71e7ea5365aea2b4e63d3824ed34df38cf5202b20a19ae7df9b76ee9"
  },
  "provenance": [
    {
      "appearanceKey": "md:docs/architecture/workspace/10-end-to-end-journeys.md#9",
      "surface": "markdown",
      "sourcePath": "docs/architecture/workspace/10-end-to-end-journeys.md",
      "line": 489,
      "heading": "Overview — simplified"
    }
  ],
  "embeddedMetadata": [
    {
      "sourcePath": "docs/architecture/workspace/10-end-to-end-journeys.md",
      "heading": "Overview — simplified"
    }
  ],
  "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-and-api-integration-overview-75cdeede/agent-and-api-integration-overview-75cdeede.mmd",
    "svg": "/diagrams/agent-and-api-integration-overview-75cdeede/agent-and-api-integration-overview-75cdeede.svg",
    "png": "/diagrams/agent-and-api-integration-overview-75cdeede/agent-and-api-integration-overview-75cdeede.png",
    "drawio": "/diagrams/agent-and-api-integration-overview-75cdeede/agent-and-api-integration-overview-75cdeede.drawio",
    "json": "/diagrams/agent-and-api-integration-overview-75cdeede/agent-and-api-integration-overview-75cdeede.json"
  },
  "artifactSha256": {
    "mmd": "7d03c5c348d5740cddc2e83e603029e34bd3d00346227574639e56059cbf4311",
    "svg": "3746d1a13b4f14f64ac58fabab6e4811eb8a95a64ffaee668afb9116d5a0cd82",
    "png": "83cc3f5d71179daf532c9412109b9f090f49682e582632e3686d896ef7a4ecb4",
    "drawio": "3dd81347714e316a1a83a840f7069106803e6099275918d4f186921d8dd1ff61"
  }
}
