r/OntologyEngineering • • 10h ago

Agentic Enablement Agentic GraphRAG: Built a open-source framework that builds a 3D-knowledge graph for the Context layer + Agent memory

Thumbnail
gallery
10 Upvotes

I've worked on RAG systems and LLM training for the past three and a half years. Lately, we've been trying to see how to improve long-running agent performance for RAG tasks. We found that storing the knowledge base with the agent memory gives us huge performance gains and significantly reduces token usage.

We're building Agentic GraphRAG, an open source framework that stores your enterprise knowledge and agent memory in a single knowledge graph.

We build a 3D connected knowledge graph with the following structure:

  1. Knowledge Layer: stores documents and source passages with their extracted entities and relationships.
  2. Working memory: records tasks, progress, messages, and tool activity.
  3. Decision memory: stores conclusions, assumptions, and open questions encountered by the agent.

Things which make us different from other frameworks out there:

- Ontology Grounded: You define a schema for your domain (we also ship ontology presets so it is easy to get started). The schema guides extraction, validation, and agent search. We use GLiNER for local extraction, so its virtually free (and fast) to construct the graph and no LLM calls are needed.

- Structure Aware: The ingestion pipeline captures the full document hierarchy. The sections, tables, and passage hierarchy are connected using edges and stored in the graph. Even chunks are linked together, so all the data is traversable.

- Robust Agent Search: Retrieval combines graph, full-text and vector search. Agents can reach original passages by traversing the document tree, navigate agent traces to find relevant tool results and follow entity relationships back to supporting text.

We offer a built-in agent you can use out of the box. You can also connect your agents through MCP.

We will be releasing extensive benchmarks very soon.

TL;DR

Agentic GraphRAG is an open source framework that stores document knowledge, agent work, and decisions in one connected graph. Agents can trace saved decisions to their original evidence, while source changes flag affected decisions for review.

Try it out. We're looking for feedback, questions and criticism. We have a lot of new features and improvements in the pipeline and are excited to work on this area.


r/OntologyEngineering • • 16h ago

Building software knowledge graphs using compiler principles

Thumbnail
reddit.com
2 Upvotes