TrustGraph is an open-source Context Operating System that enables organizations to build, manage, and deploy intelligent context graphs. Transform fragmented enterprise data into AI-optimized knowledge structures that power accurate, trustworthy AI agents.
Instead of relying on generic RAG solutions or proprietary black boxes, TrustGraph gives you a complete platform to:
- Build Context Graphs β Automatically extract entities, relationships, and knowledge structures from your enterprise data
- Manage Context β Organize, version, and govern your knowledge graphs with enterprise-grade tools
- Deploy Intelligent Agents β Run AI agents grounded in your own precise context with full visibility and control
- Maintain Full Sovereignty β Keep your data and AI stack entirely under your control, deployed on-prem, in the cloud, or on bare metal
Ground your AI with contextually rich intelligence built from your own data. TrustGraph's knowledge graphs provide precise context that dramatically reduces hallucinations and improves response accuracy.
Deploy the entire TrustGraph platformβincluding your sensitive knowledge graphs and dataβwherever you choose: on-premises, private cloud, public cloud, or bare metal. You maintain ultimate control over your data and AI infrastructure.
Automatically build knowledge graphs with ontology-driven construction, hybrid retrieval combining vector and graph search, and structured data processing for seamless integration of XML, JSON, and CSV data from across your enterprise.
- Automated Entity & Relationship Extraction β AI-powered agents automatically identify key concepts and connections in your data
- Ontology-Driven Graphs β Define what should be extracted, not just what can be extracted, for consistent, controlled knowledge representation
- Multi-Format Data Support β Process PDFs, documents, databases, APIs, and structured data sources simultaneously
- Vector Embedding Integration β Automatic semantic embeddings mapped to graph relationships for hybrid retrieval
- Context Cores β Package and version your processed context for reuse across projects and deployments
- Collections β Organize knowledge by domain, project, or dataset with enterprise governance controls
- Flow Configuration β Design flexible data processing pipelines with runtime control and prompt management
- Observability & Telemetry β Monitor processing status, costs, performance, and agent behavior in real-time
- GraphRAG Queries β Intelligent retrieval combining graph structure and semantic search for deep contextual understanding
- Agentic Workflows β Build sophisticated agents that understand relationships, perform reasoning, and make decisions based on your knowledge
- Model Context Protocol (MCP) β Connect agents to external tools, APIs, and services while maintaining grounded context
- Multi-Model Support β Deploy local open-source models or connect to Anthropic, OpenAI, Google, Mistral, and other LLM providers
- Production Deployment β Kubernetes-native, fully containerized, ready for enterprise scale
- Cost Observability β Real-time tracking of token usage, inference costs, and resource consumption
- Access Controls & Secrets Management β Enterprise security with fine-grained permissions and credential handling
- Flexible Storage β Graph databases (Neo4j, Cassandra, Memgraph), vector stores (Qdrant, Pinecone, Milvus), and support for structured data
# Clone the repository
git clone https://github.com/trustgraph-ai/trustgraph.git
cd trustgraph
# Use the Configuration Builder for your deployment
# Visit: https://trustgraph.ai/builder
# Deploy locally with Docker Compose
docker compose up -dOnce deployed, the TrustGraph Workbench is available at http://localhost:8888:
- Load & Manage Data β Add documents and manage knowledge
- Design Flows β Create processing pipelines and configure how data becomes knowledge
- Build Agents β Test agents and GraphRAG queries
- Monitor Progress β Track processing status and system performance
- Manage Ontologies β Define custom ontologies for structured knowledge extraction
- Quickstart Guide β Get running in 5 minutes
- Core Concepts β Understand knowledge graphs, GraphRAG, and vectors
- Architecture Guide β Deep dive into system design
- Configuration Builder β Visually assemble your deployment
- Example Notebooks β Real-world use cases
- API Documentation β CLI, REST APIs, and SDK reference
TrustGraph connects seamlessly with your existing enterprise stack:
Anthropic Claude β’ OpenAI β’ Google AI Studio β’ Google VertexAI β’ Mistral β’ Cohere β’ AWS Bedrock β’ Azure OpenAI
Ollama β’ LM Studio β’ vLLM β’ Hugging Face TGI β’ Llamafiles
Qdrant β’ Pinecone β’ Milvus β’ Chroma β’ Weaviate
Neo4j β’ Apache Cassandra β’ Memgraph β’ FalkorDB β’ ArangoDB
AWS β’ Azure β’ Google Cloud β’ OVHcloud β’ Scaleway β’ Intel Tiber Cloud
Prometheus β’ Grafana
Model Context Protocol (MCP) for seamless agent integration with external APIs and tools
TrustGraph is built on a modular, microservices architecture designed for enterprise scale:
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Enterprise Data Sources & External Services β
β (Documents, Databases, APIs, LLMs, Enterprise Systems) β
ββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββ
β API Gateway
ββββββββββββββββββββββββββ΄βββββββββββββββββββββββββββββββββββββ
β TrustGraph Platform β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β Context Graph Construction Agent Intelligence β
β β’ Data Ingestion & Librarian β’ GraphRAG Engine β
β β’ Entity & Relationship Extract β’ Agentic Workflows β
β β’ Ontology-Driven Graphs β’ MCP Integration β
β β’ Knowledge Core Management β’ Agent Orchestration β
β β
β Context Knowledge Layer β
β β’ Knowledge Graph Storage (Neo4j, Cassandra, etc.) β
β β’ Vector Embeddings (Qdrant, Pinecone, etc.) β
β β’ Structured Data Stores β
β β
β Model Serving & Orchestration β
β β’ LLM Deployment (Local & API) β’ Cost Observability β
β β’ Embeddings Models β’ Real-time Monitoring β
β β’ OCR & Document Processing β’ Access Controls β
β β
β Infrastructure & Control Plane β
β β’ Apache Pulsar (Event Streaming) β’ Secrets Management β
β β’ Flow Configuration β’ Observability & Logging β
β β’ Prompt Management β’ Hardware Resource Mgmt β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Connect fragmented data silosβdatabases, documents, APIsβand transform them into a unified knowledge graph that powers accurate AI systems.
Deploy sophisticated agents that perform deep contextual reasoning across your knowledge graphs, reducing hallucinations and providing grounded answers.
Automatically extract structured information from diverse document types (PDFs, emails, reports) and build searchable knowledge graphs.
Process vehicle telematics, maintenance records, and operational data into actionable insights with knowledge graphs that understand relationships and context.
Maintain complete control and transparency over how enterprise data is processed and used by AI systems, with full audit trails and access controls.
Build knowledge graphs from customer data, product information, and market intelligence to power personalized AI experiences.
| Repository | Purpose |
|---|---|
| trustgraph | Core platform codebase |
| trustgraph-docs | Documentation and guides |
| trustgraph-examples | Example projects and notebooks |
| mcp-servers | Model Context Protocol integrations |
We welcome contributions from developers, data engineers, and researchers:
- Read the Contributing Guide β Guidelines and process
- Check Open Issues β Find opportunities to contribute
- Join the Discord β Discuss ideas with the community
- Submit a PR β Contribute improvements
- β 632 Stars β Growing community of data engineers and AI practitioners
- π¦ 50 Forks β Actively extended and customized by organizations
- π Open Source β Apache 2.0 licensed, no vendor lock-in
- π¬ Active Community β Discord, GitHub discussions, and regular updates
| Resource | Link |
|---|---|
| Official Website | trustgraph.ai |
| Documentation | docs.trustgraph.ai |
| Configuration Builder | Build Your Deployment |
| YouTube Channel | @trustgraph |
| Discord Community | Join the Community |
| Blog | Latest News & Tutorials |
| GitHub Issues | Report Bugs & Request Features |
| GitHub Discussions | Ask Questions & Share Ideas |
- Data Sovereignty β Complete control over where your data lives and how it's processed
- Open Source Transparency β Audit every component; no hidden algorithms or proprietary black boxes
- Enterprise Authentication β MCP authentication, access controls, and secrets management
- Production Ready β Kubernetes-native, horizontally scalable, built for mission-critical workloads
- Compliance Support β Full audit logging, data governance, and transparency for regulatory requirements
TrustGraph is licensed under the Apache License 2.0. See LICENSE for details.
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.
- π¬ Have Questions? Join our Discord
- π Found a Bug? Open an issue
- π Need Help? Check the documentation
- π€ Want to Discuss? Start a discussion
- π€ Ready to Contribute? See the contributing guide
Built by data engineers, for data engineers. Transform your data into intelligent context.