SophiaGraph
Durable memory, provenance, and knowledge-workspace primitives for local AI systems.
GitHub · PyPI · Website · Docs · X
SophiaGraph v0.0.5 is a standalone alpha package for durable, typed memory.
It stores memory records, relations, provenance, lifecycle state, and portable
workspace data without importing the OpenMinion runtime.
Read This First
- Read At a Glance to confirm the package boundary.
- Follow Install and Quick Start for a durable SQLite-backed memory round trip.
- Read How It Fits before combining SophiaGraph with OpenMinion, PragmaGraph, or GraphFakos.
- Use the package docs for workspace, storage, service, retrieval, and production-oriented guidance.
- Read Development before changing the package.
Trust and Brand Safety
- Official GitHub: https://github.com/openminion/sophiagraph
- Official website: https://www.openminion.com
- Official X account: https://x.com/OpenMinion
SophiaGraph has no official token, coin, NFT, airdrop, staking program, treasury product, or investment offering. Any claim otherwise is unauthorized and should be treated as a scam.
At a Glance
| Package | sophiagraph |
| Current line | v0.0.5 alpha |
| Python | 3.11+ |
| Best fit | Durable agent memory, provenance, lifecycle, and local knowledge workspaces |
| Default durable backend | SQLite |
| Additional backends | In-memory, optional Kuzu and Neo4j graph adapters, optional Qdrant vector adapter |
| Not the claim | Agent orchestration, provider routing, or automatic semantic inference |
Common Commands
python3.11 -m pip install sophiagraph
sophiagraph-smoke
sophiagraph-ui --screen explore --serve --open
Create and inspect a persistent workspace:
python3.11 -m sophiagraph workspace-init .sophia-workspace \
--scope agent:local --agent-id local --graph-id main --json
python3.11 -m sophiagraph workspace-status .sophia-workspace --json
Install
Install the base package:
python3.11 -m pip install sophiagraph
Install an optional backend only when you need it:
python3.11 -m pip install "sophiagraph[kuzu]"
python3.11 -m pip install "sophiagraph[neo4j]"
For a source checkout:
python3.11 -m pip install -e ".[dev]"
Quick Start
External Consumer Quickstart
Store and retrieve one typed memory record:
from pathlib import Path
from uuid import uuid4
from sophiagraph.models import MemoryNamespace, MemoryRecord
from sophiagraph.query import SearchQueryOptions
from sophiagraph.storage import create_sqlite_store
store = create_sqlite_store(Path(".sophiagraph"))
namespace = MemoryNamespace(agent_id="demo", graph_id="main")
record = MemoryRecord(
id=str(uuid4()),
scope="agent:demo",
type="fact",
key="project:apollo",
title="Apollo launch window",
content={"text": "Apollo launches in Q2."},
created_at="2026-01-01T00:00:00+00:00",
updated_at="2026-01-01T00:00:00+00:00",
source="validated",
confidence=0.95,
namespace=namespace,
)
store.put_record(record)
matches = store.search_records(
SearchQueryOptions(
query="Apollo",
scopes=["agent:demo"],
namespaces=[namespace],
)
)
print(matches)
Run the complete example:
python3.11 examples/basic_usage.py
Use create_memory_store() instead when a test or short-lived consumer needs
an ephemeral in-memory store rather than a durable SQLite path.
What SophiaGraph Provides
- typed memory records, namespaces, relations, provenance, and citations
- SQLite and in-memory stores with explicit capability reporting
- portable snapshots and import/export contracts
- lifecycle, trust, governance, deletion, audit, and freshness helpers
- structural queries, graph paths, connected components, and knowledge views
- workspace initialization, sync planning, history, templates, and publishing
- optional graph and vector backend adapters
- bounded local UI and server surfaces for package-owned workflows
What SophiaGraph Does Not Provide
- application or agent orchestration
- model-provider selection or routing
- session and turn execution
- automatic fact, relation, tag, or summary inference from prose
- automatic embedding-provider calls or model selection
- hosted collaboration, hosted administration, or managed sync
- ownership of a host application’s authorization or policy decisions
The core package operates on explicit typed inputs. Hosts remain responsible for LLM calls, semantic interpretation, scheduling, credentials, and user-facing policy.
How It Fits
| Package | Responsibility |
|---|---|
| OpenMinion | Agent runtime, turns, tools, sessions, and orchestration |
| SophiaGraph | Durable memory, provenance, lifecycle, and workspace knowledge |
| PragmaGraph | Deterministic observed facts from code, docs, artifacts, and Git history |
| GraphFakos | Provider-neutral graph viewing and interaction contracts |
SophiaGraph can run by itself. OpenMinion may use it as a memory backend, and GraphFakos may visualize a provider projection, but neither integration changes who owns memory truth.
Storage and Workspace Paths
Use the in-memory store for tests and ephemeral consumers. Use SQLite for the default durable local path. Optional Kuzu, Neo4j, and Qdrant adapters expose capability-specific behavior and should be selected explicitly.
The workspace surface adds persistent scope, namespace, import, sync, review, and publishing workflows on top of those package contracts:
python3.11 -m sophiagraph workspace-import-plan \
.sophia-workspace ./notes --json
python3.11 -m sophiagraph workspace-sync-apply \
.sophia-workspace ./notes --json
Read docs/workspace-mode.md,
docs/storage-retrieval-backends.md, and
docs/retrieval-boundary.md before building a
larger integration.
Development
make dev-install
make hooks-install
make check
Use make release-check before publishing or changing the documented public
surface.
Docs and Release
docs/README.md: package documentation mapdocs/getting-started.md: contributor bootstrapdocs/api-stability.md: public stability guidancedocs/production-foundations.md: production-oriented package boundariesdocs/backend-compatibility-matrix.md: backend support and proofdocs/source-tree-owner-map.md: code owners and package layoutdocs/standalone-claim-alignment.md: public claims mapped to shipped package surfaces and proofAPI_COMPATIBILITY.md: supported import rootsRELEASING.md: release and publish flow
License and Brand-use Boundary
- Source code license: Apache-2.0
- Brand/trademark grant: none
The license grants rights to use, modify, and redistribute the code. It does not grant rights to present a fork, clone, token, website, or social account as the official SophiaGraph or OpenMinion project or imply affiliation or endorsement.
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 sophiagraph-0.0.5.tar.gz.
File metadata
- Download URL: sophiagraph-0.0.5.tar.gz
- Upload date:
- Size: 532.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ceb55b60648f5d47a7e7f5ab8c882263e746a7689d558123196cffeab6be14ab
|
|
| MD5 |
9f07a53f0384c051ec6b2e4db7643784
|
|
| BLAKE2b-256 |
ce20ad1e52ad3da6eafca4d1dfc045d8271ea8a42781829f21860a75675bca10
|
Provenance
The following attestation bundles were made for sophiagraph-0.0.5.tar.gz:
Publisher:
release.yml on openminion/sophiagraph
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sophiagraph-0.0.5.tar.gz -
Subject digest:
ceb55b60648f5d47a7e7f5ab8c882263e746a7689d558123196cffeab6be14ab - Sigstore transparency entry: 2255397517
- Sigstore integration time:
-
Permalink:
openminion/sophiagraph@8cfb4d8cdc381237b3f96e3592c00700c5174101 -
Branch / Tag:
refs/tags/v0.0.5 - Owner: https://github.com/openminion
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@8cfb4d8cdc381237b3f96e3592c00700c5174101 -
Trigger Event:
push
-
Statement type:
File details
Details for the file sophiagraph-0.0.5-py3-none-any.whl.
File metadata
- Download URL: sophiagraph-0.0.5-py3-none-any.whl
- Upload date:
- Size: 449.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a9b2d6a460b0998e0cfef23a42de08bb61247125bc59129c28c5f2eec47ddf34
|
|
| MD5 |
4d1e1747ebea9c6454b1ccc173ee8b08
|
|
| BLAKE2b-256 |
96125a27f0c0aff61d435938f0c3ae674df819c35d8d6508c4f51297137b0389
|
Provenance
The following attestation bundles were made for sophiagraph-0.0.5-py3-none-any.whl:
Publisher:
release.yml on openminion/sophiagraph
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sophiagraph-0.0.5-py3-none-any.whl -
Subject digest:
a9b2d6a460b0998e0cfef23a42de08bb61247125bc59129c28c5f2eec47ddf34 - Sigstore transparency entry: 2255397525
- Sigstore integration time:
-
Permalink:
openminion/sophiagraph@8cfb4d8cdc381237b3f96e3592c00700c5174101 -
Branch / Tag:
refs/tags/v0.0.5 - Owner: https://github.com/openminion
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@8cfb4d8cdc381237b3f96e3592c00700c5174101 -
Trigger Event:
push
-
Statement type: