Canonia
A git-backed, MCP-served knowledge graph for AI coding agents — one canonical source of truth that many repositories reference instead of copying.
Status: pre-alpha. This release only reserves the name across registries; the framework is in active design. Watch this repo for the first working version.
The idea
Knowledge that AI agents (and humans) rely on tends to get copied into every
repository's CLAUDE.md/AGENTS.md/docs — and then drifts out of sync. Canonia
inverts that:
- One canon — a git repository of small, single-concept Markdown files (the source of truth). Persisted on GitHub, versioned, mergeable.
- Reference, not copy — each consuming repo holds a concept id, not a duplicated copy.
- Fetch on demand over MCP — agents query the Canonia MCP server for a concept when they need it, and write updates back so every other session and repo inherits them.
- A graph, not a tree — concepts link to concepts; backlinks and a browsable web view come for free.
- Versioning & authorship from git — every change is a commit, so history and "who (human or agent) changed what" are built in.
How it will fit together
producers serving layer consumers
───────── ───────────── ─────────
Claude / agents ─▶ Canonia MCP server ─▶ reference a concept id
you (git commit) ─▶ (search·get·write) ─▶ read-only web view (graph)
│
your canon (git repo = source of truth) ─▶ GitHub
License
MIT © 2026 André Lopes
Metadata
Release files for canonia 0.0.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 | Provenance | Actions |
|---|---|---|---|---|
| canonia-0.0.1.tar.gz | 2.9 kB | Without provenance | Details for canonia-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| canonia-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for canonia-0.0.1-py3-none-any.whl |
Total release size: 6.2 kB
Release files / canonia-0.0.1.tar.gz
| Download URL | canonia-0.0.1.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
402844f5cde26a6a7836b55e0a2549049137464c008809ba3893931a3d902c78
|
|
BLAKE2b-256 checksum How to use checksums |
180613117f9eebf995ede3034b86b9c302804fedc670da0b3bb2bdacfc9ae9da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Release files / canonia-0.0.1-py3-none-any.whl
| Download URL | canonia-0.0.1-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a3c6f167592b07434af84fe318c04b387e05a57020fe6637bc512010c1e2f886
|
|
BLAKE2b-256 checksum How to use checksums |
76ac3658784185d09e9623f2bc14f457e97f6f638640fa18c60d250362cf9a78
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Security for canonia 0.0.1
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.