The open source ontology hypergraph runtime for AI agents.
# Add to your Claude Code skills
git clone https://github.com/trustgraph-ai/trustgraphtrustgraph is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by trustgraph-ai. The open source ontology hypergraph runtime for AI agents. It has 3,470 GitHub stars.
trustgraph's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/trustgraph-ai/trustgraph" and add it to your Claude Code skills directory (see the Installation section above).
trustgraph is primarily written in Python. It is open-source under trustgraph-ai on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh trustgraph against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
Playground | Self-Host | Docs | YouTube | Discord | Website
Your ontology. Your hypergraph. Your agents. Your rules.
Take AI to the 4th dimension.
Every platform now sells you an ontology. TrustGraph is the one you own.
For enterprises deploying AI agents where decisions carry real risk, TrustGraph is the open-source hypergraph platform that unifies your knowledge, ontologies, business logic, complex process flows, prompts, configurations, policies, and audit trails in a single store—and governs what every agent and user can access or retrieve from it.
Flat property graphs and vector databases cannot solve enterprise AI. They collapse context, scatter prompts, business logic, and configurations across disconnected systems, and bolt on versioning and access control as afterthoughts. Only a hypergraph can solve these problems natively.
Built on W3C standards (RDF, RDF-star, OWL, SHACL, PROV-O), TrustGraph gives you total ownership and portability across any cloud, model, or deployment.
Enterprise AI is not a flat collection of facts. Every answer an agent produces depends on intersecting dimensions: which document or remote source a claim came from, which ontology version guided extraction, which business logic, process flow, prompt, and model configuration ran, and which policy governed the query.
A standard graph only connects nodes with binary edges. A hypergraph lets you group statements into higher-order structures and make statements about those statements. In TrustGraph, W3C named graphs and RDF-star turn your knowledge store into a multi-dimensional hypergraph:
urn:graph:retrieval), across the extracted knowledge graph and remote data retrievals, to the exact process flow, business logic, prompt version, ontology class, policy evaluation (urn:graph:policy), and source document chunk (urn:graph:source) that produced it. Ontologies · Logic · Flows · Prompts · Configs Your Documents & Remote Data
(versioned named graph dimensions) │
│ │
└───────────────────┬────────────────────┘
▼
┌──────────────────────┐
1. EXTRACT │ OntologyRAG │ Triples match classes and properties,
│ │ checked against ontology constraints
└──────────┬───────────┘
▼
┌──────────────────────┐
2. GROUND │ Hypergraph Store │ RDF & RDF-star across named graphs,
│ │ with cross-dimensional PROV-O lineage
└──────────┬───────────┘
▼
┌──────────────────────┐
3. GOVERN │ SHACL-AF Policies │ Every query & remote retrieval evaluated:
│ │ Allowed · Filtered · Violation
└──────────┬───────────┘
▼
GraphRAG · SPARQL · Agents · MCP
+ a queryable hypergraph trace of every decision
| TrustGraph | Platform Ontologies & Flat Graphs | |
|---|---|---|
| Data model | Hypergraph (W3C RDF, RDF-star, Named Graphs, OWL, JSON-LD) | Flat vendor object model or binary property graph |
| System state | Knowledge, ontologies, business logic, process flows, prompts, configs, policies, and remote data retrieval in one store | Scattered across databases, workflow engines, config files, and prompt registries |
| Versioning | Named graph dimensions with cross-graph relationships | Manual snapshots or external version control |
| Where it runs | Docker, Podman, Kubernetes, any cloud, on-prem, or self-hosted models | Inside one vendor's data estate |
| Knowledge source | Documents (PDF, DOCX, XLSX, PPTX, HTML, Markdown, CSV), images, structured data, and policy-governed remote data | Mostly warehouse tables and metadata |
| Access control | SHACL-AF policies evaluated per node on every query and remote retrieval | Coarse platform permissions |
| Audit trail | Cross-dimensional PROV-O lineage in queryable named graphs | Static platform logs |
| Models | All major LLM APIs, hosted or self-hosted open-weight models | Platform's choice |
| License | Apache 2.0 | Commercial |
.tgx bundles (tg-export-workspace / tg-import-workspace).rdf:type attributes are stored with graph embeddings, so you can filter vector searches by entity type.urn:graph:policy named graph.policy.evaluation audit event.urn:graph:source) directly to the ontology, business logic, and configuration graphs used.urn:graph:retrieval).tg-show-explain-trace and tg-show-extraction-provenance, or query across every dimension with SPARQL.