GraphEngine 🕸️
A Git-backed knowledge graph for agents and humans.
Store knowledge as Markdown in your own private repository. GraphEngine adds search, relationships, memory maintenance and a web UI, with every change recorded in Git.
- Search with embeddings and BM25; explain results and graph connections.
- Extract entities and facts with source evidence and a review queue.
- Consolidate observations, organize memory into tiers and learn from feedback.
- Connect agents through the CLI, HTTP API or optional MCP server.
- Keep separate graphs with optional role and node access control.
Quickstart
Requires Python 3.11+ and Git. These instructions use current main;
published packages may have fewer features.
git clone https://github.com/SaltKing0/graph-engine.git
cd graph-engine
python3 -m venv .venv
source .venv/bin/activate
python -m pip install -e ".[dev]"
export IG_BRAIN_PATH="$PWD/demo-brain"
export IDEAGRAPH_EMBEDDER=hash
ig init --demo
python -m uvicorn graph_engine.server:app --host 127.0.0.1 --port 8000
Open http://localhost:8000. The demo uses deterministic hash embeddings with
no model download. For semantic search, install python -m pip install -e ".[st]"
and set IDEAGRAPH_EMBEDDER=st before starting a fresh brain.
On Windows, activate with .venv\Scripts\Activate.ps1 and set environment
variables using PowerShell's $env:NAME="value" syntax.
For a released package, use python -m pip install graph-engine-memory in a virtual
environment. Optional extras: [st] for semantic embeddings, [mcp] for MCP.
Version 0.6.1 is the first PyPI release under the graph-engine-memory package name
(previously ideagraph-live). Install it in a fresh virtual environment and
point IG_BRAIN_PATH at your existing brain. The ig commands remain;
Python imports and the uvicorn module now use graph_engine instead of
ideagraph.
Everyday use
ig ingest "User prefers short answers" --source agent
ig search "answer preferences"
ig entities "Alice works at Acme." --dry-run --json
ig pending
ig accept <edge_id>
ig explain <node_id> --query "answer preferences"
ig dream # preview memory maintenance
For your own brain, set IG_BRAIN_PATH and run ig init without --demo.
The default path is ~/graph-engine-brain. Connect a private remote with
ig init --remote <url>; Git mode commits changes and syncs with that remote.
Use one writer process per brain.
To connect an MCP client, install the MCP extra and run ig mcp.
It is read-only by default; ig mcp --write enables remember, recall and forget.
See the MCP setup for client configuration.
Documentation
- CLI reference and configuration
- Entities and facts
- Memory lifecycle, storage tiers and feedback
- Isolated graphs and access control
- Known limitations
- Changelog and contributing
The engine is public; your brain is a separate repository under your control. Extracted facts and heuristic relationships are claims to review, not verified truth.
Development
python -m pip install -e ".[dev,mcp]"
python -m pytest tests/ -q
MIT — see LICENSE.
Metadata
Release files for graph-engine-memory 0.6.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| graph_engine_memory-0.6.1.tar.gz | 237.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| graph_engine_memory-0.6.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 410.6 kB
Release files / graph_engine_memory-0.6.1.tar.gz
| Download URL | graph_engine_memory-0.6.1.tar.gz |
|---|---|
| Size | 237.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3a929f583ea2001169c1a67b19d79cba2e8b23d4c6170c0031b30021dabd8dea
|
|
BLAKE2b-256 checksum How to use checksums |
7e1e33a92e288e7c39fdde414aaf2963a7d6a75ce7fdb9685ef10cd35acf34ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 12, 2026.
Transparency logRelease files / graph_engine_memory-0.6.1-py3-none-any.whl
| Download URL | graph_engine_memory-0.6.1-py3-none-any.whl |
|---|---|
| Size | 173.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d983678d162b986858947ce9ada2d1ea9d89d848bef9913f0a1b4e59b51f9fe2
|
|
BLAKE2b-256 checksum How to use checksums |
01bf0806d4f803fc282c5f3bba0cf95ff967ea4445c2aa4b607d39bde5422fbe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 12, 2026.
Transparency log