Skip to content

VeritasGraph

VeritasGraph, open-source Knowledge Graph & GraphRAG framework on GitHub. Build multi-hop reasoning, ontology-aware retrieval, and verifiable attribution over your own data.…

Install: pip install veritas-reason && veritasreason-policy-demo

Install

$pip install veritas-reason && veritasreason-policy-demo

Install command taken from the project's README or registry entry. Always review code before running it.

VeritasGraph — The Governed, On-Prem GraphRAG & Agent Framework

A knowledge graph your agents can trust: every answer cites its sources, the vocabulary is governed by a certified ontology, and the system says "I don't know" instead of guessing. Runs 100% locally.

🎯 Traditional RAG guesses based on similarity. VeritasGraph reasons based on structure — and refuses to answer when the evidence isn't there.

🌐 Live site · 🎮 Try the Studio live · ⭐ Star · 🍴 Fork · 💬 Discuss · 🐛 Report a bug

 

▶️ Watch the full talk & live demo on YouTube (27 mins)


✨ What's new

Area What you get
🧭 Ontology & business glossary Entity types, predicates (with domain/range) and glossary terms move through proposed → certified → deprecated. Certified vocabulary steers extraction.
⚙️ Ontology compiler compile normalizes types and predicates, finds duplicate entities, suggests new terms, checks domain/range rules and flags orphans. It only changes the graph when a mapping is unambiguous; everything else becomes a reviewable suggestion.
🛡️ Governed answers mode="governed" answers only when certified terms cover the question, and withholds answers whose citations don't match retrieved sources.
🧾 Answer receipts Every answer gets an answer_id. You can replay it later with its question, mode, citations, grounding and feedback.
🚫 Strict citations & abstention Each response carries grounded, unknown_citations and abstained. If no entity matches, it says so instead of guessing.
💾 Shared SQLite store Studio, the MCP server and the CLI share one transactional store. Legacy JSON graphs are migrated on first start.
🔐 Governance A SHA-256 hash-chained audit log with a verify endpoint, snapshots and restore (the graph is snapshotted automatically before it is cleared), and entity merge.
🕵️ PII policy Choose off, tag, redact_before_extract or reject. Email, SSN, credit card (Luhn-checked), phone and IP are detected and redacted on read for low-privilege roles.
🔑 Auth & roles Bearer tokens with viewer / editor / admin roles, an SSRF allowlist for HTTP tools, and a CORS allowlist.
🔌 MCP modes read / write / admin tool tiers, plus new tools: answerability check, ontology, term search, answer receipts and structured data.
🗄️ Structured data layer Connect read-only to Postgres, MySQL, SQLite, DuckDB, ClickHouse, Trino, Hive, Snowflake or Databricks. Govern a semantic layer and ask questions answered by SQL.
🧰 veritasgraph CLI serve, mcp, migrate, compile, export, import --dry-run, structured ….
🐳 Docker docker compose up for Studio + Ollama, an on-prem stack with pgvector, and a hardened MCP container.

📑 Table of contents

Similar plugs

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype…

Java 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发

MCP serverDatabases+105 this week

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

Explore related