Skip to main content

agentforge-memory-surrealdb

SurrealDB-backed MemoryStore, VectorStore, and GraphStore for the AgentForge framework.

What this is

SurrealDB is uniquely multi-modal: a single store supports documents, graphs, and vectors. This package implements all three locked contracts against one SurrealDB connection:

  • SurrealMemoryStore — claim audit log
  • SurrealVectorStore — semantic search (HNSW index)
  • SurrealGraphStore — knowledge graph traversal via RELATE / ->edge-> SurrealQL syntax

All three pass the locked agentforge_core.testing.run_*_conformance suites.

Usage

from agentforge_memory_surrealdb import (
    SurrealGraphStore,
    SurrealMemoryStore,
    SurrealVectorStore,
)

async with SurrealGraphStore.from_url(
    "ws://localhost:8000/rpc",
    namespace="agentforge",
    database="dev",
    auth=("root", "root"),
) 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_SURREAL=1 SURREAL_URL=ws://localhost:8000/rpc \
  uv run pytest packages/agentforge-memory-surrealdb/tests/integration -v

Capabilities

  • Graph: {"transactions", "surrealql", "vector", "live_query"}
  • Vector: {"native_ann"} (when init_schema() provisions the HNSW index)
  • Memory: {"transactions"}

Metadata

Release files for agentforge-memory-surrealdb 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agentforge-memory-surrealdb 0.4.0
File Size Uploaded Provenance Actions
agentforge_memory_surrealdb-0.4.0.tar.gz 22.0 kB With provenance Details for agentforge_memory_surrealdb-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for agentforge-memory-surrealdb 0.4.0
File Interpreter ABI Platform Actions
agentforge_memory_surrealdb-0.4.0-py3-none-any.whl Python 3 none any Details for agentforge_memory_surrealdb-0.4.0-py3-none-any.whl

Total release size: 45.2 kB

Release files / agentforge_memory_surrealdb-0.4.0.tar.gz

Download URL agentforge_memory_surrealdb-0.4.0.tar.gz
Size 22.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c01673c1a49b6798cf692cbcafa2d6609c75e15985d602141fc31877c7657455
BLAKE2b-256 checksum
How to use checksums
b60f3b2cf8bb8100707ea8d33e3a16ae73bd275c8bc956566601484483258b61
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 24, 2026.

Transparency log

Release files / agentforge_memory_surrealdb-0.4.0-py3-none-any.whl

Download URL agentforge_memory_surrealdb-0.4.0-py3-none-any.whl
Size 23.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2fbfe3db96e589726a6ac77b485b34375d7d4fe950a6104496f29a1b39095d20
BLAKE2b-256 checksum
How to use checksums
ce4a0087f570ec554d1e77b4a35c237b365bddd3ad0cf0e0a07b97b51432b6de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 24, 2026.

Transparency log

Security for agentforge-memory-surrealdb 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for agentforge_memory_surrealdb-0.4.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 24, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page