TrustGraph

Build deterministic, traceable agents on reusable context graphs and open-model infrastructure.

Stars
★ 3.5k
Last updated
3d ago v2.8.17
FARS reviewed
Nov 08, 2026
License
Apache-2.0
Primary language
Python

At a glance

How it runs
CLISelf-hosted serviceWeb app
Works with
Universal · cross-platformOpenAI API · Claude API
Cost
Free software; you pay for model usage
Setup effort
High · needs real infrastructure
You'll need
npxDocker, Podman, or MinikubeShell / CLINetwork accessLocal filesystemMCP Server
Typical use
Teams deploying agents in audited production environments can use GraphRAG, explicit relationship paths, and fact-level provenance to inspect the evidence behind generated claims.
Not a fit if
  • Teams wanting a lightweight single-process RAG without Cassandra, Qdrant, Garage, and a message queue
  • Users who want flat-text RAG with no ontology or knowledge-modeling work
  • Evaluators needing documented minimum hardware and a copyable first query
Website
trustgraph.ai ↗ set on GitHub
Maintenance
Commits in the last 30 dayslast commit 2026-11-30latest release v2.8.17 (2026-09-08)+25.6 ★/day over 7 days

What does this agent do, and when should you use it?

TrustGraph is a self-hosted context-engineering platform for production agent systems, packaging ontologies, entities, relationships, evidence, embeddings, provenance, and retrieval policies into deployable, versioned Context Cores. It supplies knowledge ingestion, graph construction, DocumentRAG, GraphRAG, OntologyRAG, graph-grounded retrieval, agent orchestration, and an LLM inference stack. Workspaces, Collections, and Flows separate tenant boundaries, domain knowledge, and running data-processing pipelines, with isolation enforced across messaging, storage, and the API gateway. Operators can work through Agent Console, GraphRAG View, Context Explorer, Document Ingestion, Ontology Workbench, Schema Workbench, and Prompt Editor, while TypeScript libraries support custom interfaces. The system runs as a collection of containers on Docker, Podman, or Kubernetes and can connect to hosted model APIs or local backends including vLLM, Ollama, TGI, LM Studio, and Llamafiles.

Raw documents enter a Flow, where configurable pipelines perform ingestion, extraction, structuring, and storage; automated entity and relationship extraction plus ontology-driven graph construction populate a Collection with graph structures, embeddings, documents, and evidence. Queries can use DocumentRAG, GraphRAG, or OntologyRAG: vector embeddings identify semantic entry points, explicit graph paths retrieve related entities, edges, and subgraphs, and that context is sent to the selected LLM. Outputs can carry reasoning paths and fact-level provenance that identify the source document, ingestion time, and extraction method. Agent Console streams answers and live explainability events; GraphRAG View displays an explainability DAG with inline provenance; Context Explorer provides a 3D graph, BFS neighborhood extraction, and animated edges. The orchestration layer supports single-agent and multi-agent operation, ReAct, Plan-then-Execute, Supervisor patterns, and MCP integration, while Cassandra, Qdrant, S3-compatible Garage, and either Pulsar or RabbitMQ provide storage and messaging.

  1. Teams deploying agents in audited production environments can use GraphRAG, explicit relationship paths, and fact-level provenance to inspect the evidence behind generated claims.
  2. Platform operators serving multiple customers or departments can isolate each tenant in a Workspace, divide domain knowledge into Collections, and process it through separate Flows.
  3. Knowledge-engineering teams with RDF, OWL, SKOS, or SHACL assets can build ontology-directed context graphs and OntologyRAG pipelines around their semantic models.
  4. Organizations seeking fewer hosted dependencies can run storage, messaging, and open-model inference locally, using external APIs only when they select hosted LLMs or third-party OCR.
  5. Teams that need the same domain knowledge across agents and environments can build, pin, roll back, and promote versioned Context Cores.
  6. Analysts investigating dense entity networks can inspect relationships and provenance through the 3D Context Explorer, BFS neighborhood extraction, and GraphRAG View.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • npx @trustgraph/config
Config files
docker-compose.yaml resources.yaml
Install notes cover
Docker

How do you install or deploy this agent?

The documented quickstart does not require cloning the repository. Prepare a command-line environment capable of running npx and choose Docker, Podman, or Minikube, then run:

npx @trustgraph/config

The configurator produces deploy.zip containing docker-compose.yaml for Docker or Podman, or resources.yaml for Kubernetes, together with INSTALLATION.md. Follow that generated file for deployment because the supplied material does not specify one universal start command. Most included services require no third-party API key; credentials are needed when selecting hosted LLMs such as Anthropic or OpenAI, third-party OCR such as Mistral OCR, and for the TrustGraph API gateway key set by the operator.

How do you use this agent?

Run npx @trustgraph/config, select a Docker, Podman, or Minikube target, and start the generated container deployment by following INSTALLATION.md. After deployment, the TrustGraph UI is available on port 8888 by default: use Document Ingestion to upload and inspect material, Ontology Workbench to import or edit OWL/XML and Turtle ontologies, Schema Workbench to manage schemas, and Agent Console to issue streaming queries. GraphRAG View exposes the retrieved graph and provenance for inspection. Custom UIs can integrate through @trustgraph/client, @trustgraph/react-state, and @trustgraph/react-provider. Developer API and CLI documentation is linked, but the supplied material contains no copyable query request, CLI query command, or complete end-to-end invocation, so exact first-query parameters must come from the generated installation guide and developer reference.

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

External MCP tool bridge

Inherits capabilities of connected MCP servers; audit third-party servers before enabling.

What are this agent's strengths and limitations?

Pros
  • A Context Core bundles ontology, knowledge graph, embeddings, provenance, and retrieval policies, allowing domain context to be versioned, rolled back, and reused across teams or environments.
  • Explainability is tied to explicit graph paths and node- and edge-level provenance, with UI support for explainability DAGs, inline sources, and live event tracking.
  • The stack includes DocumentRAG, GraphRAG, and OntologyRAG alongside ReAct, Plan-then-Execute, Supervisor, single-agent, and multi-agent orchestration.
  • It supports multiple hosted model APIs and local inference through vLLM, Ollama, TGI, LM Studio, and Llamafiles, reducing dependence on one model provider.
  • Workspaces, Collections, and Flows provide distinct layers for tenant isolation, domain organization, and data processing, with structural enforcement at messaging, storage, and gateway layers.
Limitations
  • A full deployment includes container orchestration, Cassandra, Qdrant, Garage, and either Pulsar or RabbitMQ, creating a larger operational surface than a small single-process RAG application.
  • The quickstart describes generated deployment artifacts but does not provide a universal start command, minimum hardware requirements, or a copyable first query.
  • Hosted LLM and third-party OCR integrations still require provider credentials, network access, and reliance on those external services.
  • Ontology-driven graphs, retrieval policies, and Context Cores add knowledge-modeling and governance work; migrating from flat-text RAG requires reorganizing entities, relationships, and evidence.
  • Although several clouds and inference backends are listed, the material provides no comparative performance, scaling limits, or feature-parity evidence for those combinations.

How does this agent compare with similar options?

Compared with conventional RAG that retrieves flat chunks from a vector store, TrustGraph combines embeddings with an explicit relationship graph: embeddings locate semantic entry points, while graph traversal assembles entities, relationships, and supporting evidence with fact-level provenance. The tradeoff is that adopters must manage ontologies, graph structures, retrieval policies, and a multi-component infrastructure stack instead of only chunking and vector indexing.

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
TrustGraph This agent 51 · Major gaps CLIFree + model costs ★ 3.5k 3d ago Python OpenAI API · Claude API
BISHENG Enterprise LLM DevOps Platform 61 · Some gaps Self-hosted serviceFree ★ 13k today Python —
Agency Orchestrator: One Sentence to Orchestrate an AI Expert Team 71 · Some gaps CLIFree + model costs ★ 2.5k 1d ago TypeScript Codex · Claude Code · OpenAI API · Claude API
Astron Agent 70 · Some gaps Self-hosted serviceFree + model costs ★ 8.9k 1d ago Python —

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Major gaps
51/ 100 5-point scale 2.6 / 5
Trust 12/29
Reliability 5/14
Adaptability 10/18
Convention 13/18
Effectiveness 7/13
Verifiability 4/8
Why each dimension lost points
Trust12 / 29 · 2.1/5

The README describes gateway keys, external LLM/OCR keys, and storage components. The provenance example traces answers toward source documents, while the agent provenance code records queries, actions, arguments, candidate tools, and token/model metadata, providing some data-flow transparency. Deductions: the packet does not show least-privilege enforcement, sensitive-field protections, confirmation for external effects, or rollback implementation. The no-auth specification explicitly grants administrator access to any caller reaching the gateway, and the config write/delete interfaces shown have no recovery mechanism. Dependency security is described at a high level without version-audit evidence. Publisher identity is unverified; the repository has a security contact and Apache license, but maintenance responsibility is not specific.

Reliability5 / 14 · 1.8/5

The config-push specification describes subscribe-then-fetch ordering, version checks, and buffering to address a race, and it identifies startup dependence on config-service availability. Deductions: this is specification rather than implementation evidence; the sampled CLI and parameter specifications contain unfinished material, and the CLI spec's error-handling goal is not backed by inspectable implementation. The packet does not establish consistency or availability across the product as a whole.

Adaptability10 / 18 · 2.8/5

The README targets enterprise knowledge and agent governance and lists Docker, Podman, Minikube, local models, and external model services. The parameter specification covers model selection, resource tuning, and behavior settings. Deductions: the packet does not clearly establish capability boundaries or prerequisites, and trigger conditions or agent decision rules appear only in limited examples. The no-auth design does state that it is intended for development, evaluation, or network-protected single-tenant use, but that is not a product-wide boundary statement.

Convention13 / 18 · 3.6/5

The repository provides README navigation, a quickstart command, deployment artifact notes, examples, technical specifications, a security policy with supported-version ranges, and a complete Apache-2.0 license. Deductions: some specifications still describe planned implementation and open questions; the sample does not show a complete FAQ or changelog. Maintenance contact is mainly a general email and Discord; security response timelines are stated, but general maintenance and update paths remain limited.

Effectiveness7 / 13 · 2.7/5

The README presents a knowledge graph, policy runtime, and agent workflows; API/CLI specifications and the explainability example show potential uses for structured output, streaming events, and source tracing. Deductions: these benefits are mostly claims or demonstration paths, with no evidence here for output quality, workload saved, or cost. Deployment involves several data, messaging, and inference components, so cost-benefit is difficult to establish.

Verifiability4 / 8 · 2.5/5

The security policy states supported versions, a reporting channel, and response targets; the README gives concrete deployment entry points; the agent schema, provenance code, and example support some claims about streaming and trace structure. Deductions: independent corroboration between product claims, specifications, and implementation is limited, and several specifications are clearly design descriptions. The assessment distinguishes documented facts from implementation and effectiveness claims that this packet does not verify.

Risks and how to mitigate them
  • The no-auth specification says every caller who can reach the gateway has administrator access; do not expose it to the internet or use it for multi-tenant deployments.
  • Several technical specifications describe proposed designs or implementation tasks and do not establish that the features are implemented or tested.
  • Agent provenance can record queries, thought/action-related information, and tool arguments; operators should assess the sensitivity and retention of those traces.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision 184f6228e9eb New commits since this review; the score may not cover them
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/trustgraph.svg)](https://followagents.com/en/agents/trustgraph)
<a href="https://followagents.com/en/agents/trustgraph"><img src="https://followagents.com/badge/trustgraph.svg" alt="FARS review"></a>

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. v2.8.17 TrustGraph 2.8
    Release notes excerpt
    San Francisco, CA — [TrustGraph](https://trustgraph.ai/) 2.8 is here. This release delivers a foundational platform upgrade for teams deploying knowledge-driven AI systems at enterprise scale: fully asynchronous messaging infrastructure, hybrid Document RAG retrieval, native LLM structured output, image understanding, comprehensive auditability, and a redesigned extensible UI platform. TrustGraph 2.8 removes a major scaling constraint in multi-workspace deployments while expanding the ways developers can ingest, retrieve, govern, observe, and present contextual AI applications. …
    View on GitHub ↗

FAQ

Do I have to buy access to a hosted model API?
No. TrustGraph supports local inference through vLLM, Ollama, TGI, LM Studio, and Llamafiles. API keys are required only when you choose hosted LLMs such as Anthropic or OpenAI, or third-party OCR.
How does it isolate customer data?
A Workspace is the outer tenancy boundary for data, users, configuration, and pipelines. Isolation is enforced across the pub/sub queue, storage, and API gateway, while Collections separate knowledge domains inside a workspace.
How far can an answer be traced?
Graph nodes and edges carry provenance. The supplied description says claims can be traced to the source document, ingestion time, and extraction method, while operators can inspect the entities, relationships, and subgraphs used for a query.
Which credentials are required for deployment?
The operator sets a key for the TrustGraph API gateway. Hosted LLM and third-party OCR integrations require their own provider keys; the listed storage, vector, object, and messaging services are included in the deployment stack.
Does graph grounding guarantee that agents never hallucinate?
The platform is designed to constrain and explain generation through structured graphs, explicit relationships, and provenance, but the material supplies no absolute correctness guarantee or measured failure rate. Evaluate extraction, retrieval, and model behavior on your own ontologies, documents, and queries before adoption.
Was this page helpful?
View on GitHub ↗ Install ↓

Related concepts