Skip to content

trustgraph-ai/.github

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

The Context Operating System for AI Apps

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

Why TrustGraph?

Reduced Hallucinations, Higher Accuracy

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.

Full Stack Privacy

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.

Enterprise-Grade Context Engineering

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.


πŸ—οΈ Key Capabilities

Context Graph Construction

  • 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 Management

  • 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

Agent Intelligence

  • 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

Enterprise Infrastructure

  • 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

πŸš€ Getting Started

Deploy TrustGraph in Minutes

# 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 -d

Access the Workbench

Once 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

Learn & Explore


πŸ”Œ Integrations

TrustGraph connects seamlessly with your existing enterprise stack:

LLM Providers

Anthropic Claude β€’ OpenAI β€’ Google AI Studio β€’ Google VertexAI β€’ Mistral β€’ Cohere β€’ AWS Bedrock β€’ Azure OpenAI

Local Model Orchestration

Ollama β€’ LM Studio β€’ vLLM β€’ Hugging Face TGI β€’ Llamafiles

Vector Databases

Qdrant β€’ Pinecone β€’ Milvus β€’ Chroma β€’ Weaviate

Graph Storage

Neo4j β€’ Apache Cassandra β€’ Memgraph β€’ FalkorDB β€’ ArangoDB

Cloud Platforms

AWS β€’ Azure β€’ Google Cloud β€’ OVHcloud β€’ Scaleway β€’ Intel Tiber Cloud

Observability & Monitoring

Prometheus β€’ Grafana

External Tools & Services

Model Context Protocol (MCP) for seamless agent integration with external APIs and tools


πŸ›οΈ Platform Architecture

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  β”‚
β”‚                                                               β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ’‘ Use Cases

Enterprise Data Integration & Knowledge Management

Connect fragmented data silosβ€”databases, documents, APIsβ€”and transform them into a unified knowledge graph that powers accurate AI systems.

Agentic RAG at Enterprise Scale

Deploy sophisticated agents that perform deep contextual reasoning across your knowledge graphs, reducing hallucinations and providing grounded answers.

Intelligent Document Processing

Automatically extract structured information from diverse document types (PDFs, emails, reports) and build searchable knowledge graphs.

Fleet & Logistics Intelligence

Process vehicle telematics, maintenance records, and operational data into actionable insights with knowledge graphs that understand relationships and context.

Compliance & Audit Intelligence

Maintain complete control and transparency over how enterprise data is processed and used by AI systems, with full audit trails and access controls.

Customer & Product Intelligence

Build knowledge graphs from customer data, product information, and market intelligence to power personalized AI experiences.


πŸ› οΈ For Developers

Key Repositories

Repository Purpose
trustgraph Core platform codebase
trustgraph-docs Documentation and guides
trustgraph-examples Example projects and notebooks
mcp-servers Model Context Protocol integrations

Contributing

We welcome contributions from developers, data engineers, and researchers:

  1. Read the Contributing Guide β€” Guidelines and process
  2. Check Open Issues β€” Find opportunities to contribute
  3. Join the Discord β€” Discuss ideas with the community
  4. Submit a PR β€” Contribute improvements

πŸ“Š Community & Stats

  • ⭐ 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

πŸ“š Resources

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

πŸ” Security & Enterprise Readiness

  • 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

πŸ“„ License

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.

🀝 Support & Community


Built by data engineers, for data engineers. Transform your data into intelligent context.

Get Started β€’ Explore Examples β€’ Join the Community