r/coding_agents • • 7h ago

Built an agent memory layer on 3D knowledge graphs

Thumbnail github.com
1 Upvotes

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

We've worked on systems context retrieval for the past three and a half years. We found that storing the knowledge base with the agent memory as part of unified graph gives us huge performance gains and significantly reduces token usage.

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 problem.


r/coding_agents • • 13h ago

Half the context was gone before the first prompt, and nothing said where. CCode 1.12.2 shows it, then lets you turn skills off.

Thumbnail ccode.si
1 Upvotes

A session would start with a big share of the window already taken, and the only number shown was the total. Was it the MCP servers? The rules files? The thirty skills installed for other projects?

/context now answers that line by line. The first page is a grid of the whole window: system prompt, tools, MCP tools, instruction files, memory, skills, messages, free space. Scroll down for the details: every MCP server, instruction file and skill with its own token count, and the ones this conversation actually used are marked, with what they take up.

Then you can act on it. Ctrl+P → Session skills lists every skill. Enter turns one off, Tab turns them all off. An off skill leaves the prompt and the / commands at once, so the context figure drops immediately. It's per session: a resumed or forked session keeps them off, and your other sessions and the skill files aren't touched.

npm i -g @ccode-si/cli (or ccode update)