Skip to main content

Embedded, file-backed GraphStore for AgentForge (Kùzu)

Project description

agentforge-memory-kuzu

Embedded, file-backed GraphStore for AgentForge, backed by Kùzu — a persistent property graph in a single directory, in-process, no server (feat-027).

It is the graph analogue of the SQLite MemoryStore: zero-ops local development, CI, single-host deployments, and embedded products. The driver implements the locked GraphStore contract and passes run_graph_conformance, so it is swap-compatible with the Neo4j and SurrealDB drivers.

from agentforge_memory_kuzu import KuzuGraphStore
from agentforge_core.values.graph import GraphNode, GraphEdge

async with await KuzuGraphStore.from_path(".ckg") as store:
    await store.add_node(GraphNode(id="a", labels=("Func",)))
    await store.add_node(GraphNode(id="b", labels=("Func",)))
    await store.add_edge(GraphEdge(src="b", dst="a", edge_type="CALLS"))
    callers = await store.get_edges("a", edge_type="CALLS", direction="in")

Via YAML, anywhere a graph_stores driver is accepted:

store:
  driver: kuzu
  config:
    path: .ckg          # directory; created if absent

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agentforge_memory_kuzu-0.4.0.tar.gz (11.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agentforge_memory_kuzu-0.4.0-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

Details for the file agentforge_memory_kuzu-0.4.0.tar.gz.

File metadata

  • Download URL: agentforge_memory_kuzu-0.4.0.tar.gz
  • Upload date:
  • Size: 11.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for agentforge_memory_kuzu-0.4.0.tar.gz
Algorithm Hash digest
SHA256 9c34c2603c28f923b781c53b7887e951cff246c1a41936b398ce3917d2b754cd
MD5 b9128f96195b13250568c582c84e4c97
BLAKE2b-256 a3c01fec3dc356c674e519a665af2a2cd61f82170c3c0e114a87ea8b8e48f09b

See more details on using hashes here.

File details

Details for the file agentforge_memory_kuzu-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for agentforge_memory_kuzu-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 50a4e8b3d71930bae7e3a6fb95932e7440a88078aedfe760370e3ad68f3ca166
MD5 492be8c26a99b6a7647e2c3dd4ff7957
BLAKE2b-256 13cb2dced6e6f02038e581672c9c7f2e56fca58c21e3eb70cd32ee8f2e863cb9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page