sqlite-graphrag 1.1.3

Persistent GraphRAG memory for Claude Code, Codex, Cursor, and 24+ AI agents — one self-contained Rust binary, zero daemon. Never re-explain your codebase again. Hybrid retrieval (FTS5 BM25 + cosine similarity + multi-hop graph traversal) surfaces the right memory in milliseconds. Embedding and entity enrichment run as parallel REST calls against your cloud LLM — no fragile headless subprocesses, no ONNX runtime, no model downloads. Soft-delete with full version history, transactional atomic writes, BLAKE3-tracked mutations. OAuth-only: raw API keys ABORT the spawn.
Documentation
{
  "$defs": {
    "RelatedMemory": {
      "additionalProperties": false,
      "properties": {
        "description": {
          "type": "string"
        },
        "hop_distance": {
          "minimum": 1,
          "type": "integer"
        },
        "memory_id": {
          "type": "integer"
        },
        "name": {
          "type": "string"
        },
        "namespace": {
          "type": "string"
        },
        "relation": {
          "type": [
            "string",
            "null"
          ]
        },
        "source_entity": {
          "description": "Present when traversal found a relationship.",
          "type": [
            "string",
            "null"
          ]
        },
        "target_entity": {
          "type": [
            "string",
            "null"
          ]
        },
        "type": {
          "type": "string"
        },
        "weight": {
          "maximum": 1.0,
          "minimum": 0.0,
          "type": [
            "number",
            "null"
          ]
        }
      },
      "required": [
        "memory_id",
        "name",
        "namespace",
        "type",
        "description",
        "hop_distance"
      ],
      "type": "object"
    }
  },
  "$id": "https://github.com/daniloaguiarbr/sqlite-graphrag/schemas/related.schema.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "description": "Response emitted by `sqlite-graphrag related` on stdout as a single JSON line. Exit codes: 0 success, 1 runtime error, 2 CLI usage error, 4 not found.",
  "properties": {
    "elapsed_ms": {
      "description": "Wall-clock time in milliseconds.",
      "minimum": 0,
      "type": "integer"
    },
    "max_hops": {
      "description": "Maximum traversal depth requested.",
      "minimum": 1,
      "type": "integer"
    },
    "name": {
      "description": "Name of the seed memory.",
      "type": "string"
    },
    "related_memories": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "results": {
      "items": {
        "$ref": "#/$defs/RelatedMemory"
      },
      "type": "array"
    }
  },
  "required": [
    "results",
    "elapsed_ms"
  ],
  "title": "RelatedResponse",
  "type": "object"
}