Skip to content
@trustgraph-ai

TrustGraph

The Deterministic Context Engineering Platform

Website | Docs | YouTube | Launch TrustGraph | Discord | Blog

The Semantic Intelligence Layer for Ontologies

Bring your own ontology, build one, or use a domain standard in OWL. TrustGraph turns raw data into governed, traceable, ontology-enhanced knowledge that agents can retrieve through native natural-language search.

AI applications need shared, unambiguous semantics. Vector search over isolated text chunks can leave agents without the structure or provenance to produce consistent outcomes. TrustGraph provides that foundation: typed facts, defined relationships, and agent actions traceable to source knowledge in interoperable, standards-compliant formats.

The Problem: "Common Semantic Understanding"

To understand why AI struggles in complex use cases, 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.

Why Vector Embeddings and Keyword Search Fail Here

If you feed this scenario into a standard RAG pipeline using vector embeddings or keyword search, it breaks completely.

If a user asks: "Who is playing on first base?"

  1. The vector database converts the query into an embedding.
  2. Cosine similarity searches for vectors close to "playing," "first base," and "who."
  3. Because "Who" is a common pronoun, the embedding space maps it to general inquiries about identity, not the specific name of a baseball player.
  4. The LLM retrieves irrelevant documents and hallucinates, failing to understand that "Who" is an entity (a Person), not a question.

Cosine 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.

Put Ontologies in Action

An ontology defines the concepts, unique definitions, and relationships that matter in a domain. In the “Who’s on First?” example, it distinguishes a player’s name from their position, so “Who” can be the name of the player at first base without being mistaken for a question. It gives knowledge extraction and retrieval a shared understanding instead of leaving a LLM to infer entity types, definitions, and relationships from each text chunk.

TrustGraph puts that shared understanding to work. Bring an OWL ontology, build your own, or start with a domain standard. For each chunk of source text, TrustGraph retrieves the relevant part of the ontology to guide extraction, turning raw data into more consistent, ontology-enhanced knowledge. Native natural-language retrieval then makes that knowledge available to agents, with its provenance intact.

The Semantic Intelligence Layer

A semantic intelligence layer 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:

@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 Know" .

:FirstBase a :BaseballPosition ;
    rdfs:label "First Base" .

:SecondBase a :BaseballPosition ;
    rdfs:label "Second Base" .

:ThirdBase a :BaseballPosition ;
    rdfs:label "Third Base" .

# The Explicit Relationships
:Who :playsPosition :FirstBase .
:What :playsPosition :SecondBase .
:IDontKnow :playsPosition :ThirdBase .

When an agent queries the TrustGraph semantic intelligence layer, 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.

Core Components

  • Semantic Intelligence Layer — An RDF 1.2‑compliant named graph system with automated natural language retrieval, semantic filtering, and reranking, so queries return grounded, contextually relevant answers rather than raw search hits.
  • Semantic Compliance — Native support for OWL ontologies, enabling formal class hierarchies, property constraints, and logical inference over your knowledge graph.
  • Agent Runtime — Bring your own agent framework and integrate via the TrustGraph API Gateway, or use the native TrustGraph Agent Runtime, which traces all agent behavior and links every decision back to its source semantic intelligence with full provenance.
  • Semantic Intelligence Management — Workspaces, Collections, Flows, and Knowledge Cores give you multiple independent degrees of freedom for isolating, accessing, and versioning semantic knowledge over time.
  • Semantic Interoperability — Built on open standards (RDF 1.2, OWL, PROV-O), TrustGraph stores intelligence in interoperable serializations like Turtle that can be exported or migrated to any RDF-compliant system.
  • Unstructured Data Ingest — Converts PDF, DOCX, XLSX, PPTX, HTML, Markdown, CSVs, and images into structured semantic intelligence.
  • Full LLM Inference Stack — Connect to all major LLM provider APIs, or self-host open-weight models on Nvidia, AMD, or Intel hardware.

TrustGraph vs. Conventional Graph Systems

Dimension TrustGraph Conventional Graph Databases (e.g., Neo4j)
Primary purpose Semantic Intelligence Layer purpose-built for AI: make knowledge unambiguous, traceable, and retrieval-ready for LLMs and agents General-purpose property graph database for transactional workloads and graph analytics
Data model RDF 1.2 named graphs (quads) with reification — statements are first-class, addressable resources enabling n-ary relationships Labeled property graph — nodes and edges with key-value properties; no native statement reification
Semantic rigor OWL ontology enforcement: typed entities and properties with formally defined meaning Schema-optional; semantics live in application code or conventions, not the data model
Provenance Built-in, standards-based (W3C PROV-O); extraction lineage, query traces, and agent behavior stored as queryable graph triples Not native; provenance must be hand-modeled as ordinary nodes/edges with no standard vocabulary
Natural language retrieval Automated NL-to-graph retrieval with semantic filtering and reranking Requires manual Cypher queries or add-on vector search with no semantic grounding
Agent integration Native Agent Runtime with full behavioral tracing linked to source intelligence, plus API Gateway for bring-your-own-framework None; agents access the graph as an external data source with no behavioral traceability
Knowledge lifecycle management Workspaces, Collections, Flows, and Knowledge Cores for isolation, access control, and versioning of semantic intelligence Database-level separation only; versioning and lifecycle management are application concerns
Unstructured data ingest Integrated pipeline converts PDF, DOCX, XLSX, PPTX, HTML, Markdown, CSV, and images into ontology-typed knowledge Not included; requires external ETL and custom extraction pipelines
LLM stack Full inference stack: all major provider APIs or self-hosted open-weight models on Nvidia, AMD, or Intel None; LLM integration is entirely external
Interoperability Open standards throughout (RDF 1.2, OWL, PROV-O); exports to Turtle portable to any RDF-compliant system Proprietary property graph model; Cypher is not a W3C standard; migration requires data transformation
Query paradigm SPARQL + semantic graph patterns with automated natural language access Cypher / GQL pattern matching requiring graph expertise

No API Keys Required

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:

  • 3rd party LLM services like Anthropic, Cohere, Gemini, Mistral, OpenAI, etc.
  • 3rd party OCR like Mistral OCR
  • The API key you set for the TrustGraph API gateway

Everything else is included.

Support & Community

Pinned Loading

  1. trustgraph trustgraph Public

    The Semantic Intelligence Layer for Ontologies

    Python 2.8k 327

  2. demo-agentic-finance demo-agentic-finance Public

    Shell 12 4

  3. workbench-ui workbench-ui Public archive

    [LEGACY] Workbench UI for TrustGraph. This is the previous product, see https://github.com/trustgraph-ai/trustgraph-ui

    TypeScript 5 6

  4. demo-retail-agentic-mcp demo-retail-agentic-mcp Public

    An agentic structure using knowledge graphs and MCP connections

    Python 3 1

  5. trustgraph-ts-client trustgraph-ts-client Public

    Typescript client library for TrustGraph

    TypeScript 1

  6. trustgraph-client trustgraph-client Public archive

    TrustGraph TS API client - ARCHIVED. See https://github.com/trustgraph-ai/trustgraph-ui

    TypeScript 1 2

Repositories

Showing 10 of 52 repositories
  • trustgraph Public

    The Semantic Intelligence Layer for Ontologies

    trustgraph-ai/trustgraph's past year of commit activity
    Python 2,763 Apache-2.0 327 17 (2 issues need help) 2 Updated Sep 29, 2026
  • trustgraph-ai/trustgraph-templates's past year of commit activity
    Jsonnet 1 2 0 1 Updated Sep 29, 2026
  • badges Public

    Badges for READMEs

    trustgraph-ai/badges's past year of commit activity
    JavaScript 0 0 0 0 Updated Sep 28, 2026
  • trustgraph-ui Public

    TrustGraph's web UI, built with React 19, TypeScript, and Vite - includes context graph UX

    trustgraph-ai/trustgraph-ui's past year of commit activity
    TypeScript 1 Apache-2.0 2 0 0 Updated Sep 28, 2026
  • demo-standard Public

    Standard demo datasets

    trustgraph-ai/demo-standard's past year of commit activity
    Python 0 0 0 0 Updated Sep 28, 2026
  • .github Public

    The Context Operating System for AI

    trustgraph-ai/.github's past year of commit activity
    6 0 0 0 Updated Sep 28, 2026
  • trustgraph-config Public

    Trustgraph config client CLI

    trustgraph-ai/trustgraph-config's past year of commit activity
    JavaScript 0 0 1 0 Updated Sep 25, 2026
  • simple-config-ui Public

    Simple UI, code largely taken from research-ui

    trustgraph-ai/simple-config-ui's past year of commit activity
    JavaScript 5 Apache-2.0 0 0 0 Updated Sep 25, 2026
  • docs.trustgraph.ai Public

    TrustGraph docs

    trustgraph-ai/docs.trustgraph.ai's past year of commit activity
    HTML 0 1 0 0 Updated Sep 22, 2026
  • contributor-license-agreement Public

    Contributor license agreement

    trustgraph-ai/contributor-license-agreement's past year of commit activity
    JavaScript 0 0 0 0 Updated Sep 13, 2026

People

This organization has no public members. You must be a member to see who’s a part of this organization.