Neo4j-backed MemoryStore and GraphStore for AgentForge
Project description
agentforge-memory-neo4j
Neo4j-backed MemoryStore and GraphStore for the AgentForge
framework.
What this is
Neo4jMemoryStore—MemoryStore(claim audit log) over Neo4j. Claims map to(:Claim {…})nodes; queries become parameterised Cypher.Neo4jGraphStore—GraphStore(knowledge graph traversal) over Neo4j. Nodes and edges map directly to property graph nodes and relationships.match()andtraverse()compile to Cypher.
Both pass the locked agentforge_core.testing.run_*_conformance
suites — drop-in alternatives to agentforge-memory-sqlite when you
need real graph semantics, multi-writer concurrency, or production
operability (clustering, fine-grained auth, query planner).
Usage
from agentforge_memory_neo4j import Neo4jGraphStore
async with Neo4jGraphStore.from_url(
"bolt://localhost:7687",
auth=("neo4j", "password"),
database="neo4j",
) as store:
await store.add_node(GraphNode(id="paper:1", labels=("Doc",)))
...
Local development
docker compose -f docker-compose.dev.yml up -d
RUN_LIVE_NEO4J=1 NEO4J_URL=bolt://localhost:7687 \
NEO4J_USER=neo4j NEO4J_PASSWORD=test \
uv run pytest packages/agentforge-memory-neo4j/tests/integration -v
Capabilities
{"transactions", "cypher", "fulltext"} — Neo4j 5.x ships native
fulltext indexes; transactions are first-class (every write goes
through session.execute_write).
Vector search is not declared: Neo4j 5.x has vector indexes but
adopting them is tracked separately. Pair Neo4j with
agentforge-memory-postgres (pgvector) or agentforge-memory-sqlite
for embeddings.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agentforge_memory_neo4j-0.2.4.tar.gz.
File metadata
- Download URL: agentforge_memory_neo4j-0.2.4.tar.gz
- Upload date:
- Size: 24.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ef05bfa746193ecb9f816fb11ef8c2a48b8b75ed054d7aae3e3b55c325b640f
|
|
| MD5 |
ae0ad3ee346386e3bb8dc365c5894344
|
|
| BLAKE2b-256 |
a2aaaaaaf641a92e366200f575e0baf8250d2280c8d077e1b7e732024609a2c2
|
File details
Details for the file agentforge_memory_neo4j-0.2.4-py3-none-any.whl.
File metadata
- Download URL: agentforge_memory_neo4j-0.2.4-py3-none-any.whl
- Upload date:
- Size: 22.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
13eae92e57362cf964bb28e6c4f1a8b099796f09c6ab6e5efc78c73ce997554e
|
|
| MD5 |
a2756082de175eba4bd8f12c04edf091
|
|
| BLAKE2b-256 |
69ed38ec3b56a2eb59384696e038af7f3845072893e604a11284e295284ceb93
|