The deterministic context engineering platform for open source AI. Connect open models and ontologies with context graph harnesses to build explainable, reliabl
The deterministic context engineering platform for open source AI. Connect open models and ontologies with context graph harnesses to build explainable, reliabl
TrustGraph is an open-source context orchestration layer designed to power the next generation of enterprise AI.
AI applications fail without shared context. LLMs are powerful, but without a structured, unified context layer — one that bridges silos, captures complex relationships, and enforces governance — agents hallucinate, violate policies, and produce non-deterministic outcomes.
TrustGraph builds that layer. It uses hypergraphs to turn raw enterprise data into AI-ready context: a unified semantic context layer where agentic outcomes are deterministic and agent behavior is not just traceable, but cryptographically verifiable.
To understand why AI struggles in the enterprise, consider Abbott and Costello’s classic "Who's on First?" routine.
Abbott explains the baseball lineup: Who is on first base, What is on second base, and I Don't Know is on third base. Costello is driven mad because he assumes Abbott is asking questions rather than stating the names of the players: Who, What, and I Don't Know.
Two agents cannot communicate if they do not share the same context understanding.
If you feed this scenario into a standard RAG pipeline using vector embeddings and semantic similarity, it breaks completely.
If a user asks: "Who is playing on first base?"
Semantic similarity operates on fuzzy, statistical probability. It cannot distinguish between the linguistic usage of a word as a pronoun and its usage as a proper noun within a specific, localized context.
A HyperGraph, specifically built using standards like RDF and OWL, establishes explicit, unambiguous semantics. It doesn't rely on "guessing" based on word proximity; it relies on defined relationships.
Here is the "Who's on First" routine modeled in RDF with an OWL ontology. By structuring data this way, the LLM knows exactly what "Who" means in this context:
…When an agent queries a TrustGraph hypergraph, it uses SPARQL or GraphRAG to traverse these explicit paths. The agent knows that :Who is a :Player whose :playsPosition is :FirstBase. Hallucination is eliminated because context is structured, not inferred via probability.
Standard Knowledge Graphs (KGs) are limited to binary relationships (Node A → Node B). Enterprise context is rarely this simple.
TrustGraph leverages RDF 1.2 and Named Graphs as N-Quads to achieve a cutting-edge hypergraph architecture. RDF 1.2 introduces the ability to reference entire statements (triples) as nodes themselves. Combining RDF 1.2 with Named Graphs enbables grouping complex, multi-entity events into a single, addressable conceptual unit for true n-ary relationships.
Document → AuthorDocument, Author, Approving Manager, Compliance Policy, and Time/Location Metadata into a single, complex relational event.This hyper-relational context is what enables autonomous agents to reason through complex enterprise workflows and governance policies.
TrustGraph provides the infrastructure to convert raw data into agentic context and manage it at scale.
Raw Data to AI-Ready Context TrustGraph isn't just a graph database; it is a processing engine. It ingests unstructured, raw enterprise data (PDFs, wikis, APIs, databases), extracts entities and relationships using LLMs, and structures them directly into the hypergraph—transforming chaotic data into AI-ready context.
Hyperflows: Custom Agents and Workloads Hyperflows are unique agentic workflows where processing capabilities are chained together. Developers can configure specific LLMs and specific Context Graph access permissions for every step of a workflow. A Hyperflow can route a query from a lightweight local model for classification, to a heavy reasoning model, drawing from different hypergraph collections at each step based on governance rules.
Context Management: Workspaces, Collections, and Context Cores Managing enterprise context requires strict orchestration. TrustGraph provides purpose-built context management features:
Beyond the hypergraph and context management, TrustGraph is built to provide the full agentic stack for enterprise AI.
| Capability | Standard Enterprise Search (e.g., Glean) | TrustGraph |
|---|---|---|
| Core Architecture | Search indexing over documents/connectors | Context Interoperability Layer via Hypergraph |
| Context Depth | Document retrieval & vector similarity | Hyper-relational Context: N-ary relationships capturing true enterprise events |
| Context Management | Basic RBAC tied to SSO | Workspaces, Collections, & Cores: Modular, isolated, reusable context units |
| Agent Orchestration | Basic Q&A or simple LLM chains | Hyperflows: Complex, chained agentic workflows with step-level LLM and graph config |
| Traceability | Logs of search queries | Provenance: Real-time hypergraph traceability for all agent reasoning |
| Compute | API calls to proprietary LLMs | Open LLM Stack: Runs open models natively on Nvidia, AMD, or Intel hardware |
| Deployment | SaaS only | Flexible: Self-hosted, BYOC, or SaaS |
How many times have you cloned a repo and opened the .env.example to see the dozens of API keys for 3rd party dependencies needed to make the services work? There are only 3 things in TrustGraph that might need an API key:
Everything else is included.
No need to clone the repo unless you are building from source. TrustGraph deploys as a set of Docker containers. Configure it on the command line in one step:
npx @trustgraph/configThe config process will generate an app config that can be run locally with Docker, Podman, or Minikube. The process will output:
deploy.zip with either a docker-compose.yaml file for a Docker/Podman or resources.yaml for KubernetesINSTALLATION.md
For a browser based configuration, try the Configuration Terminal.
The UI provides tools for all major features of TrustGraph. The UI deploys on port 8888 by default.
There are 3 libraries for quick UI integration of TrustGraph services.
TrustGraph is licensed under Apache 2.0.
C
No open issues yet, or sync has not completed.