2024-10-26 10:35:08 -07:00
2025-11-01 10:58:45 -07:00
< div align = "center" >
2025-07-24 20:35:48 -07:00
2025-11-23 15:19:04 -08:00
< img src = "TG-fullname-logo.svg" width = 100% / >
2025-10-05 18:51:13 -07:00
[](https://pypi.org/project/trustgraph/) 
[](https://discord.gg/sQMwkRz5GX) [](https://deepwiki.com/trustgraph-ai/trustgraph)
2024-10-10 18:37:40 -07:00
2025-12-02 13:41:27 -08:00
[**Website** ](https://trustgraph.ai ) | [**Docs** ](https://docs.trustgraph.ai ) | [**YouTube** ](https://www.youtube.com/@TrustGraphAI?sub_confirmation=1 ) | [**Configuration Builder** ](https://config-ui.demo.trustgraph.ai/ ) | [**Discord** ](https://discord.gg/sQMwkRz5GX ) | [**Blog** ](https://blog.trustgraph.ai/subscribe )
2024-10-10 18:37:40 -07:00
2026-01-15 11:27:44 -08:00
< a href = "https://trendshift.io/repositories/17291" target = "_blank" > < img src = "https://trendshift.io/api/badge/repositories/17291" alt = "trustgraph-ai%2Ftrustgraph | Trendshift" style = "width: 250px; height: 55px;" width = "250" height = "55" / > < / a >
2024-10-10 18:37:40 -07:00
2026-02-07 19:34:32 -08:00
# Graph powered context harness for AI agents
2025-11-06 18:23:36 -08:00
2026-01-15 11:27:44 -08:00
< / div >
2026-02-07 15:21:25 -08:00
TrustGraph continuously builds a context graph creating a living context harness, so agents act with connected understanding — not isolated chunks.
2025-12-17 18:23:48 -08:00
2026-02-07 15:21:25 -08:00
Ingest your data into a unified context graph, enrich that graph with ontologies, and serve that graph as structured context to your agents and applications. Instead of letting LLMs guess from flat text, TrustGraph harnesses your graph so every response, tool call, and decision is driven by connected context.
TrustGraph gives you a graph-backed context harness with:
2026-02-11 20:00:18 -08:00
- A context graph over your data (nodes, edges, embeddings)
- Graphs built to your ontologies and protocols
2026-02-07 15:21:25 -08:00
- GraphRAG APIs for context-aware retrieval
2026-02-11 20:00:18 -08:00
- An agent harness that lets LLMs query, traverse, and update the graph with isolated collections and modular context cores
2026-02-07 15:21:25 -08:00
Use it as the context layer under any model or agent framework with model inferencing for open models on Nvidia, AMD, or Intel hardware.
2025-04-07 13:46:20 -07:00
2026-02-11 19:43:29 -08:00
## Quickstart
```
npx @trustgraph/config
```
2026-02-11 20:00:18 -08:00
TrustGraph downloads as Docker containers and can be run locally with Docker, Podman, or Minikube. The config tool will generate:
- `deploy.zip` with either a `docker-compose.yaml` file for a Docker/Podman deploy or `resources.yaml` for Kubernetes
- Deployment instructions as `INSTALLATION.md` .
2026-02-11 19:54:56 -08:00
2026-02-11 19:43:29 -08:00
< p align = "center" >
< video src = "https://github.com/user-attachments/assets/2978a6aa-4c9c-4d7c-ad02-8f3d01a1c602"
width="80%" controls>< / video >
< / p >
2025-04-20 15:49:04 -07:00
< details >
< summary > Table of Contents< / summary >
< br >
2025-10-05 12:22:10 -07:00
- [**Key Features** ](#key-features )< br >
2026-01-21 13:47:23 -08:00
- [**What is a Context Graph?** ](#what-is-a-context-graph )< br >
2025-06-13 11:23:20 -07:00
- [**Why TrustGraph?** ](#why-trustgraph )< br >
2026-02-11 20:04:50 -08:00
- [**Getting Started** ](#getting-started-with-trustgraph )< br >
2026-01-21 13:47:23 -08:00
- [**Context Cores** ](#context-cores )< br >
2026-02-11 20:04:50 -08:00
- [**Tech Stack** ](#tech-stack )< br >
2025-06-13 11:23:20 -07:00
- [**Observability & Telemetry** ](#observability--telemetry )< br >
- [**Contributing** ](#contributing )< br >
- [**License** ](#license )< br >
- [**Support & Community** ](#support--community )< br >
2025-04-20 15:49:04 -07:00
< / details >
2025-04-07 13:46:20 -07:00
2025-10-05 12:22:10 -07:00
## Key Features
2025-12-17 18:37:20 -08:00
- **Ontology-Driven Context Engineering**
2026-02-05 18:39:07 -08:00
- **Unify Data Silos into a Single Context Graph**
2025-12-25 16:56:02 -08:00
- **Automated Context Graph Construction and Retrieval**
2025-12-17 18:39:49 -08:00
- **3D GraphViz**
2025-12-17 18:37:20 -08:00
- **Single Agent or Multi-Agent Systems**
- **Interoperability with MCP**
- **Run Anywhere from local to cloud**
- **Observability and Telemetry**
2025-11-23 15:14:13 -08:00
- **Serve Models for Private LLM Inference**
2025-12-17 18:37:20 -08:00
- **Create Custom Workflows**
- **Control Data Access for Users and Agents**
2025-12-25 16:56:02 -08:00
- **Backend Orchestration for Context Graphs, Datastores, and File and Object Storage**
2025-12-17 18:37:20 -08:00
- **High Throughput Data Streaming**
- **Fully Containerized**
2025-10-05 12:41:28 -07:00
2026-01-21 13:45:46 -08:00
## What is a Context Graph?
2025-03-06 12:19:22 -08:00
2026-01-21 13:45:46 -08:00
[](https://www.youtube.com/watch?v=gZjlt5WcWB4)
2025-03-06 12:19:22 -08:00
2026-01-21 13:45:46 -08:00
## Why TrustGraph?
2025-08-22 12:13:47 -07:00
2026-01-21 13:45:46 -08:00
[](https://www.youtube.com/watch?v=Norboj8YP2M)
2025-08-22 12:13:47 -07:00
2026-02-11 20:04:50 -08:00
## Getting Started with TrustGraph
2025-07-03 14:58:29 +01:00
2026-02-11 20:04:50 -08:00
- [**Getting Started Guides** ](https://docs.trustgraph.ai/getting-started )
- [**Using the Workbench** ](#workbench )
2026-01-08 08:59:23 +00:00
- [**Developer APIs and CLI** ](https://docs.trustgraph.ai/reference )
2026-02-11 20:04:50 -08:00
- [**Deployment Guides** ](https://docs.trustgraph.ai/deployment )
2024-10-15 13:14:42 -07:00
2025-07-09 20:35:42 -07:00
### Watch TrustGraph 101
2025-07-09 20:30:21 -07:00
2025-07-09 20:35:42 -07:00
[](https://www.youtube.com/watch?v=rWYl_yhKCng)
2025-07-09 20:30:21 -07:00
2025-07-08 17:04:05 -07:00
## Workbench
2024-12-30 10:28:50 -08:00
2025-11-23 22:03:49 -08:00
The **Workbench** provides tools for all major features of TrustGraph. The **Workbench** is on port `8888` by default.
2024-12-30 10:28:50 -08:00
2025-11-23 15:36:41 -08:00
- **Vector Search**: Search the installed knowledge bases
2025-11-23 22:03:49 -08:00
- **Agentic, GraphRAG and LLM Chat**: Chat interface for agents, GraphRAG queries, or direct to LLMs
2025-11-23 15:36:41 -08:00
- **Relationships**: Analyze deep relationships in the installed knowledge bases
- **Graph Visualizer**: 3D GraphViz of the installed knowledge bases
- **Library**: Staging area for installing knowledge bases
- **Flow Classes**: Workflow preset configurations
- **Flows**: Create custom workflows and adjust LLM parameters during runtime
- **Knowledge Cores**: Manage resuable knowledge bases
- **Prompts**: Manage and adjust prompts during runtime
- **Schemas**: Define custom schemas for structured data knowledge bases
2025-11-23 22:03:49 -08:00
- **Ontologies**: Define custom ontologies for unstructured data knowledge bases
2025-11-23 15:36:41 -08:00
- **Agent Tools**: Define tools with collections, knowledge cores, MCP connections, and tool groups
2025-08-22 12:10:35 -07:00
- **MCP Tools**: Connect to MCP servers
2024-12-30 10:28:50 -08:00
2025-12-17 18:37:20 -08:00
## TypeScript Library for UIs
2025-12-17 19:14:21 -08:00
There are 3 libraries for quick UI integration of TrustGraph services.
2025-12-17 18:37:20 -08:00
- [@trustgraph/client ](https://www.npmjs.com/package/@trustgraph/client )
- [@trustgraph/react-state ](https://www.npmjs.com/package/@trustgraph/react-state )
- [@trustgraph/react-provider ](https://www.npmjs.com/package/@trustgraph/react-provider )
2025-12-26 13:06:29 -08:00
## Context Cores
2025-04-07 17:21:05 -07:00
2026-01-21 13:45:46 -08:00
A challenge facing GraphRAG architectures is the ability to reuse and remove context from agent workflows. TrustGraph can build modular and reusable Context Cores. Context cores can be loaded and removed during runtime. Some sample context cores are [here ](https://github.com/trustgraph-ai/catalog/tree/master/v3 ).
2025-04-07 17:21:05 -07:00
2025-12-26 13:06:29 -08:00
A Context Core has two components:
2025-04-07 17:21:05 -07:00
2025-12-26 13:06:29 -08:00
- Context graph triples
- Vector embeddings mapped to the context graph
2025-04-07 17:21:05 -07:00
2026-02-11 20:04:50 -08:00
## Tech Stack
2025-11-23 15:18:18 -08:00
TrustGraph provides component flexibility to optimize agent workflows.
2025-04-07 14:28:45 -07:00
2025-06-13 17:35:43 -07:00
< details >
< summary > LLM APIs< / summary >
2025-06-13 17:59:05 -07:00
< br >
2025-06-13 17:35:43 -07:00
- Anthropic< br >
- AWS Bedrock< br >
- AzureAI< br >
- AzureOpenAI< br >
- Cohere< br >
- Google AI Studio< br >
- Google VertexAI< br >
- Mistral< br >
- OpenAI< br >
2025-06-13 17:59:05 -07:00
2025-06-13 17:35:43 -07:00
< / details >
< details >
< summary > LLM Orchestration< / summary >
2025-06-13 17:59:05 -07:00
< br >
2025-04-07 17:21:05 -07:00
2025-06-13 17:35:43 -07:00
- LM Studio< br >
- Llamafiles< br >
- Ollama< br >
- TGI< br >
- vLLM< br >
2025-04-07 14:02:23 -07:00
2026-01-21 13:45:46 -08:00
< / details >
< details >
< summary > Graph Storage< / summary >
< br >
- Apache Cassandra (default)< br >
- Neo4j< br >
- Memgraph< br >
- FalkorDB< br >
2025-06-13 17:35:43 -07:00
< / details >
< details >
< summary > VectorDBs< / summary >
2025-06-13 17:59:05 -07:00
< br >
2025-04-07 14:02:23 -07:00
2025-06-13 17:35:43 -07:00
- Qdrant (default)< br >
- Pinecone< br >
- Milvus< br >
2025-04-07 14:02:23 -07:00
2025-06-13 17:35:43 -07:00
< / details >
< details >
2026-01-21 13:45:46 -08:00
< summary > File and Object Storage< / summary >
2025-06-13 17:59:05 -07:00
< br >
2026-01-21 13:45:46 -08:00
- Garage (default)< br >
- MinIO< br >
2025-06-13 17:59:05 -07:00
2025-06-13 17:35:43 -07:00
< / details >
< details >
< summary > Observability< / summary >
2025-06-13 17:59:05 -07:00
< br >
2025-04-07 14:28:45 -07:00
2025-06-13 17:35:43 -07:00
- Prometheus< br >
- Grafana< br >
2025-06-13 17:59:05 -07:00
2025-06-13 17:35:43 -07:00
< / details >
< details >
2026-02-11 19:43:29 -08:00
< summary > Data Streaming< / summary >
2025-06-13 17:59:05 -07:00
< br >
2025-06-13 17:35:43 -07:00
- Apache Pulsar< br >
2025-06-13 17:59:05 -07:00
2025-06-13 17:35:43 -07:00
< / details >
< details >
< summary > Clouds< / summary >
2025-06-13 17:59:05 -07:00
< br >
2025-06-13 17:35:43 -07:00
- AWS< br >
- Azure< br >
- Google Cloud< br >
2025-08-22 11:59:51 -07:00
- OVHcloud< br >
2025-06-13 17:35:43 -07:00
- Scaleway< br >
2025-06-13 17:59:05 -07:00
2025-06-13 17:35:43 -07:00
< / details >
2025-04-07 14:28:45 -07:00
2025-06-13 11:21:23 -07:00
## Observability & Telemetry
2025-04-07 15:24:58 -07:00
Once the platform is running, access the Grafana dashboard at:
```
http://localhost:3000
```
Default credentials are:
```
user: admin
password: admin
```
The default Grafana dashboard tracks the following:
2025-08-31 12:34:03 -07:00
< details >
< summary > Telemetry< / summary >
< br >
- LLM Latency< br >
- Error Rate< br >
- Service Request Rates< br >
- Queue Backlogs< br >
- Chunking Histogram< br >
- Error Source by Service< br >
- Rate Limit Events< br >
- CPU usage by Service< br >
- Memory usage by Service< br >
- Models Deployed< br >
- Token Throughput (Tokens/second)< br >
- Cost Throughput (Cost/second)< br >
< / details >
2025-04-07 15:24:58 -07:00
2025-06-13 11:21:23 -07:00
## Contributing
2024-12-28 16:59:11 +00:00
2025-07-10 18:08:02 -07:00
[Developer's Guide ](https://docs.trustgraph.ai/community/developer.html )
2024-07-16 17:06:07 +01:00
2025-06-13 11:21:23 -07:00
## License
2025-05-08 18:59:58 +01:00
**TrustGraph** is licensed under [Apache 2.0 ](https://www.apache.org/licenses/LICENSE-2.0 ).
Copyright 2024-2025 TrustGraph
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
2024-07-16 17:06:07 +01:00
2025-06-13 11:23:20 -07:00
## Support & Community
2025-04-07 15:18:35 -07:00
- Bug Reports & Feature Requests: [Discord ](https://discord.gg/sQMwkRz5GX )
- Discussions & Questions: [Discord ](https://discord.gg/sQMwkRz5GX )
2025-07-10 13:34:51 -07:00
- Documentation: [Docs ](https://docs.trustgraph.ai/ )