{
  "schemaVersion": 1,
  "generatedAt": "2026-08-12T23:36:30.722Z",
  "generationKey": "10c54ab3be462a797c6d919b8bcfb38ffc0ce905e0a798265cbe76c19f8bc1b6",
  "metadataPayloadSha256": "a89d2c77a7319b5ce222504f684a336f6129f011873c79ace42576d2e670dea2",
  "diagram": {
    "id": "agent-surface-simplified-system-view-10745f2c",
    "title": "Agent surface — simplified system view",
    "description": "Agent surface — simplified system view maps the principal capabilities, boundaries, and data paths in this architecture.",
    "status": "archived",
    "canonicalAppearanceKey": "md:docs/architecture/workspace/05-agent-surface.md#1"
  },
  "aliases": [],
  "concepts": [
    "Agent surface"
  ],
  "keywords": [
    "SQLite + files / Supabase RLS",
    "streamable HTTP / SSE + Bearer",
    "mints eli_pat_* tokens",
    "PAT / JWT / MCP_LOCAL_TOKEN",
    "External AI agent",
    "stdio binary",
    "Auth + rate limit",
    "Setup wizard",
    "PAT lifecycle UI",
    "JSON-RPC over",
    "HTTP/SSE",
    "writes 5 agent config files",
    "Settings - Developers (SaaS)",
    "registers eli in agent configs",
    "bin/eli-mcp.mjs",
    "/api/mcp",
    "lib/mcp/tools",
    "stdin/stdout",
    "local",
    "route",
    "StorageAdapter",
    "Claude Code / Cursor / Codex / Gemini / OpenClaw"
  ],
  "mermaid": {
    "type": "flowchart",
    "direction": "LR",
    "sourceSha256": "10745f2cdc074b00f83649a6c5ecba73cb8087537204372df54b7db98c8fae42"
  },
  "provenance": [
    {
      "appearanceKey": "md:docs/architecture/workspace/05-agent-surface.md#1",
      "surface": "markdown",
      "sourcePath": "docs/architecture/workspace/05-agent-surface.md",
      "line": 41,
      "heading": "System view — simplified"
    }
  ],
  "embeddedMetadata": [
    {
      "sourcePath": "docs/architecture/workspace/05-agent-surface.md",
      "heading": "System view — 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-surface-simplified-system-view-10745f2c/agent-surface-simplified-system-view-10745f2c.mmd",
    "svg": "/diagrams/agent-surface-simplified-system-view-10745f2c/agent-surface-simplified-system-view-10745f2c.svg",
    "png": "/diagrams/agent-surface-simplified-system-view-10745f2c/agent-surface-simplified-system-view-10745f2c.png",
    "drawio": "/diagrams/agent-surface-simplified-system-view-10745f2c/agent-surface-simplified-system-view-10745f2c.drawio",
    "json": "/diagrams/agent-surface-simplified-system-view-10745f2c/agent-surface-simplified-system-view-10745f2c.json"
  },
  "artifactSha256": {
    "mmd": "f9a7f312e97d2325aad23c05bb1f68bf5abfa73af1ee3f99beb1de5e2c7369b1",
    "svg": "93964582c9dbd5a983e78ba0acdd755ca76386596dd0944b264e4d68d5bef622",
    "png": "40982d00bca206b3006efc3e8f1a90369dd1edbe9a47dffbf2d919b10fd46cdc",
    "drawio": "753a32a0a2c2dc3001c794f9fd7d88693e48da12506bc6da36d30d3d42d7f650"
  }
}
