Mavis-native knowledge graph skill. Cross-corpus (code, ops, notes, images) with PII-safe extraction and Mavis memory wiring.
Reason this release was yanked:
Not ready for MVP; see GitHub issue
Project description
graphite-graph
Mavis-native knowledge graph skill. Cross-corpus (code, ops, notes), privacy-aware, and wired into Mavis memory.
The binary is gph (not graphite) to avoid colliding with the unrelated graphite PyPI package (text graph renderer, v0.71).
What this is
A Mavis-shaped fork of graphify, with three deliberate additions:
| graphify | graphite-graph | |
|---|---|---|
| Multi-corpus (code + ops + notes) | single-folder | unified corpus tag on every node |
| PII safety | none | .graphite-redact config + per-node pii_level |
| Memory wiring | memory folder (graphify #1441, in proposal) | writes back to AGENTS.md / MEMORY.md |
| Provenance | EXTRACTED / INFERRED / AMBIGUOUS |
same — kept verbatim |
| Platform bet | cross-platform (Claude, Codex, OpenCode, ...) | Mavis + Python |
| Clustering | Leiden via graspologic | Leiden via leidenalg (Python-only) |
| CLI binary | graphify |
gph (no collision) |
Install
# base install — gets you build/query/path/explain/redact/inspect
pip install graphite-graph
# with clustering (Leiden)
pip install graphite-graph[cluster]
# with MCP server (so Mavis agents can query the graph live)
pip install graphite-graph[mcp]
# all of the above
pip install graphite-graph[cluster,mcp]
Use
gph build ./corpus # build graph
gph query "tenant" # ask the graph
gph path "AuthService" "DB" # shortest path
gph explain "RateLimiter" # explain a node
gph serve ./graph.json # expose as MCP server
What you get
graphite-out/GRAPH_REPORT.md— readable report (god nodes, surprising connections, communities, suggested questions)graphite-out/graph.json— persistent, queryable graphgraphite-out/graph.html— interactive viewer (M2 stub; full viz landing soon)
Status
M3 complete. TestPyPI: https://test.pypi.org/project/graphite-graph/0.1.0/. Production release pending after this preview.
| Milestone | Status |
|---|---|
| M0 — pipeline shape (code-only corpus) | done, 74 tests |
| M1 — multi-extractor (text, ops, image) | done, 101 tests |
| M2 — cluster + analyze + query + MCP | done, 128 tests |
| M3 — PII redaction + memory wiring + SKILL.md | done, 144 tests |
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 graphite_graph-0.1.2.tar.gz.
File metadata
- Download URL: graphite_graph-0.1.2.tar.gz
- Upload date:
- Size: 43.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
30cdbf9a19edc61e2eab458ca108f9facebee53c078a6eb2175cba100253defd
|
|
| MD5 |
bd7d418c12bb375cd9e4189f57c06b81
|
|
| BLAKE2b-256 |
9020a650156366c0534ee40d97a2450c9583c5bac47bcdd40d0fc3fbd3eff2b6
|
File details
Details for the file graphite_graph-0.1.2-py3-none-any.whl.
File metadata
- Download URL: graphite_graph-0.1.2-py3-none-any.whl
- Upload date:
- Size: 37.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2bf809eb2c2b9f2382591dbfe6be83d7cd4f055ae221cdfdea39c3bdeb2096b4
|
|
| MD5 |
66717e0a8210aee82d96fa692becbe2f
|
|
| BLAKE2b-256 |
05a61ca9d7faa6ffb38523b8b0b8a8e6b3ea370c9e8990dd4753d436105b2e38
|