Open-source project
trustgraph-ai/trustgraph avatar
trustgraph-ai/trustgraph

TrustGraph: every package stamped 0.0.0, and an RDF example that stops mid-string

The context orchestration layer powered by hypergraphs. Build a unified semantic context layer where agentic outcomes are deterministic and agent behavior is not just traceable, but cryptographically verifiable.

3,221 stars377 forksPythonApache-2.0

At a glance

What is it?
An ontology-native semantic platform in Python, split across ten installable packages, that stores knowledge as RDF and retrieves it with SPARQL or GraphRAG. Its Makefile derives no version at all and hardcodes 0.0.0 into every package, its one dependency file pins nothing, and the worked example that anchors the whole argument ends with an unterminated string literal.
Who is it for?
TrustGraph suits teams that already model their domain in OWL and need retrieval answers they can trace back to source triples, rather than teams shopping for a vector store. Two things to check before committing.
Can I use it commercially?
Yes. Apache-2.0 is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
Is it still maintained?
Yes. The repository received new commits within the last day.
What is it written in?
Mainly Python, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on November 22, 2026, and from our analysis. They are not legal advice.

From daily snapshots

Star history

  • trustgraph-ai/trustgraph3,221 ★ · +513
Star history
Repository2026-09-112026-11-22
trustgraph-ai/trustgraph2.7k3.2k

513 Stars in the last 72 days, measured from the daily GitHub snapshot. Compare with other projects

Editorial analysis

The Makefile stamps every package 0.0.0 and uploads under that name

The build has a version scheme that was switched off. The line that would derive it from git is present but commented out:

code
# VERSION=$(shell git describe | sed 's/^v//')

VERSION=0.0.0

What remains is a hardcoded `0.0.0`. The `update-package-versions` target then writes that value into a version module inside each package, generating one shell echo line that assigns the version variable to a dunder-version attribute, redirected into a file such as `trustgraph-base/trustgraph/base_version.py`, and repeating it for each of the ten packages. The upload target then uses the same variable as a filename glob:

and the upload target uses the same variable as a filename glob:

code
pypi-upload:
	twine upload dist/*-${VERSION}.*

So every artefact matches `dist/*-0.0.0.*`, and every package reports itself as 0.0.0. A registry rejects a repeat upload of a version it has already seen, so the second `pypi-upload` cannot succeed against the same name.

This has nothing to do with the release history. The single release listed is `v2.8.17`, titled TrustGraph 2.8, published 2026-09-08. So the number in a release tag and the number any installed package reports come from two unrelated places, and neither is derived from the other.

The `wheels` target is marked not used, and the container tool is set to podman while the image base still points at `docker.io/trustgraph`.

The dependency file names 24 packages and pins none of them

There is a single requirements file at the root, and it is a flat list of bare names. Nothing carries a version constraint. The list runs from `torch`, `transformers` and `sentence-transformers` through `rdflib`, `pymilvus`, five `langchain` packages, `huggingface-hub`, `requests`, `pypdf`, `anthropic`, `google-cloud-aiplatform`, `pyyaml`, `prometheus-client`, `pyarrow`, `boto3`, `ollama` and `python-logging-loki`.

An install from this file resolves to whatever is newest on the day it runs, which for a set including torch and transformers is not a stable outcome. Two entries matter most for a rebuild: torch is where an unpinned upgrade most often changes numerical behaviour, and the five langchain packages move together, so a partial upgrade across them is possible.

The list also names the stateful services the platform expects to talk to. `pymilvus` is a vector store, `scylla-driver` and `pulsar-client` are the queue and wide-column store, `python-logging-loki` and `prometheus-client` cover logs and metrics. That is five backing services behind a page which describes the system as containerized and API-first, and none of them is declared in this file with a version either.

Two install scripts sit at the root, `install_packages.sh` and `install_trustgraph.sh`, and ten separate package directories exist, so this list is one part of a larger dependency surface rather than the whole of it.

The RDF example ends mid-string and never states who plays first base

The worked example is the argument the page rests on, and it is cut short:

turtle
@prefix : <http://trustgraph.ai/baseball#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .

# Ontology Classes
:Player a owl:Class ;
    rdfs:subClassOf owl:Thing .

:BaseballPosition a owl:Class .

# Object Properties
:playsPosition a owl:ObjectProperty ;
    rdfs:domain :Player ;
    rdfs:range :BaseballPosition .

# Data (The Context)
:Who a :Player ;
    rdfs:label "Who" .

:What a :Player ;
    rdfs:label "What" .

:IDontKnow a :Player ;
    rdfs:label "I Don't

The last line is an unterminated string literal. The block does not parse as it stands, and the player named in the prose, I Don't Know, never gets its closing quote.

There is a larger gap underneath. The vocabulary is declared: a Player class, a BaseballPosition class, and a playsPosition property whose domain is Player and range is BaseballPosition. Three individuals are then typed as Players. But no triple ever connects a player to a position. `:FirstBase` is never declared as an individual, and nothing asserts that `:Who` plays it.

So the page states that the agent knows `:Who` is a `:Player` whose `:playsPosition` is `:FirstBase`, and the data above does not contain that fact. It contains the shape that would let you assert it. The two classes are also declared unevenly, with Player given a superclass and BaseballPosition given none.

The description promises cryptographic verifiability, the page describes provenance

The repository description and the page make different promises. The description calls the project a context orchestration layer powered by hypergraphs, building a semantic context layer where agent behavior is not just traceable but cryptographically verifiable.

Neither half of that appears in the page. There is no mention of hypergraphs anywhere in the visible text; the whole stack is described in terms of RDF, OWL, named graphs, SPARQL and Turtle, which is a triple-and-quad model rather than the generalisation hypergraphs refers to. And the Agent Runtime component is described as tracing all agent behavior and linking every decision back to its source semantic intelligence with full provenance.

Provenance and cryptographic verification are different guarantees. Provenance records where a fact came from. Cryptographic verifiability means a third party can check that a record has not been altered, which needs a signature, a digest chain or a ledger, and the page names none of those. The one standard it does list in that area is PROV-O, the W3C provenance vocabulary, which is an attribution model.

This matters for anyone choosing the project on the strength of the description rather than the documentation. What the documentation supports is traceability to source knowledge. Whether anything is signed is not stated on this page.

Ten packages, five test documents, and a stray test file at the root

The repository is wide because it publishes ten Python packages: `trustgraph` itself plus `trustgraph-base`, `trustgraph-flow`, `trustgraph-vertexai`, `trustgraph-bedrock`, `trustgraph-embeddings-hf`, `trustgraph-cli`, `trustgraph-ocr`, `trustgraph-docling` and `trustgraph-mcp`. The Makefile builds each one with a separate `python -m build` call into a shared `dist/`, which is why the version stamp has to be written ten times.

The testing surface is documented at least as heavily. Four separate documents sit at the root, `TESTS.md`, `TEST_CASES.md`, `TEST_SETUP.md` and `TEST_STRATEGY.md`, alongside three test directories, `tests/`, `tests.manual/` and `test-api/`, a `run_tests.sh` driver, a `.coveragerc` and a `check_imports.py`.

Then there are the files that do not belong to any of that. `iam-testing.txt` sits at the repository root next to three SVG diagrams. `prompt.txt` and `ontology-prompt.md` are committed at the top level rather than under a prompts directory, alongside `schema.ttl`, the three diagrams named `TG-fullname-logo.svg`, `TG-hero-diagram.svg` and `product-platform-diagram.svg`, and a `context7.json`.

Two README files also exist at the root, `README.md` and `README.dev-install.md`, with a separate `DEVELOPER_GUIDE.md` and a `SECURITY.md`. Which of the two READMEs a visitor lands on depends on which one the link points at.

The item labelled Playground links to a signup form

The navigation row at the top of the page carries six links, and one of them does not go where its label suggests. Playground points at a document on a Google Forms address, which is a request form rather than an editor. Self-Host points at a configuration interface on a demo subdomain, Docs at the documentation site, and then YouTube, Discord and the main website.

So there is no playground reachable from this page. Either access is gated behind submitting a form, or the label is wrong, and nothing on the page distinguishes the two cases.

The rest of the entry points are self-describing. Docker Hub and PyPI badges sit above them, and the page describes the architecture as containerized and API-first with modular agent services. The repository holds `containers/` for the container definitions, plus `dev-tools/`, `docs/` and `specs/` directories.

For a reader deciding whether to try the product, the practical reading is that the documentation site and the self-hosted configuration UI are the real entry points, and the form is the only path to whatever the Playground is meant to be.

Ingest covers eight formats and the provider stack names four clients

Two component bullets carry most of the capability claim. Unstructured Data Ingest is described as converting PDF, DOCX, XLSX, PPTX, HTML, Markdown, CSVs and images into structured semantic intelligence. The Full LLM Inference Stack is described as letting you connect to all major LLM provider APIs, or self-host open-weight models on Nvidia, AMD or Intel hardware.

Neither bullet names a provider, so the dependency list and the package directories are what make the claim concrete. The requirements file names four clients: `anthropic`, `google-cloud-aiplatform`, `boto3` and `ollama`. The package list adds `trustgraph-vertexai` and `trustgraph-bedrock` as dedicated integration packages, `trustgraph-embeddings-hf` for local embeddings, and `trustgraph-ocr` and `trustgraph-docling` for the document formats named in the ingest bullet.

So the local path is torch, transformers and sentence-transformers plus ollama, and the hosted path is split one package per provider. The hardware claim, Nvidia, AMD and Intel, has no corresponding entry in the visible dependency file, which is consistent with hardware being a deployment concern rather than a library one.

One structural note: with `trustgraph-mcp/` present and an `API-first` claim, the platform exposes itself through at least two protocols, an HTTP API and an MCP server, and the page describes the Agent Runtime as something you can bring your own framework to, or use the native one.

Editorial conclusion

TrustGraph suits teams that already model their domain in OWL and need retrieval answers they can trace back to source triples, rather than teams shopping for a vector store. Two things to check before committing. Versioning is not something the build currently produces, since the git-derived number is commented out and the hardcoded value is what gets written into each package and matched by the upload glob, so pin by commit. And the dependency file resolves everything unpinned, which means an install is only reproducible if you capture the resolved set yourself. The architecture claims are worth taking on trust rather than from the worked example, which does not encode the fact it describes.

Frequently asked questions

What alternatives to TrustGraph does the project itself name?

The page includes a comparison table titled TrustGraph versus conventional graph databases, naming Neo4j as the example, and it also mentions GraphRAG alongside SPARQL as a way to traverse the graph. It does not enumerate other projects as alternatives, and the comparison table is cut off after its header row.

What does TrustGraph store and in what format?

Knowledge Cores, held in an RDF 1.2 compliant named graph system. The page says intelligence is stored in interoperable serializations like Turtle and can be exported or migrated to any RDF-compliant system, built on RDF, OWL and PROV-O.

Which file types can TrustGraph ingest?

PDF, DOCX, XLSX, PPTX, HTML, Markdown, CSVs and images, which the Unstructured Data Ingest component converts into structured semantic intelligence. Document-specific handling lives in the trustgraph-docling and trustgraph-ocr packages.

Which LLM providers does TrustGraph connect to?

The dependency file names anthropic, google-cloud-aiplatform, boto3 and ollama, and there are separate trustgraph-vertexai and trustgraph-bedrock packages. The page says you can also self-host open-weight models on Nvidia, AMD or Intel hardware.

What version of TrustGraph is published to PyPI?

The Makefile hardcodes VERSION=0.0.0, writes that into each package's version module, and matches uploads with the glob dist/*-0.0.0.*. The one release in the history is the unrelated tag v2.8.17, titled TrustGraph 2.8, so the installed version and the release tag are different numbers.

Official sources

  1. License: Apache-2.0
  2. Project website
  3. README
  4. Releases
  5. trustgraph-ai/trustgraph on GitHub
Community

Where developers are discussing it

Posts on Hacker News, dev.to and Lobsters that link to this repository, found by our scan of those communities. 1 in the last 30 days; newest first.

Add this badge to your README

If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.

Add this badge to your README

markdown
[![Hysen Labs](https://hysenlabs.com/badge/trustgraph-ai-trustgraph.svg)](https://hysenlabs.com/projects/trustgraph-ai-trustgraph)

Star history chart for your README

markdown
[![Star history](https://hysenlabs.com/chart/trustgraph-ai-trustgraph.svg)](https://hysenlabs.com/projects/trustgraph-ai-trustgraph)

Was this useful?