Graphnosis — Dual-Graph AI Knowledge System | by nehloo

TL;DR — Graphnosis’ contribution is a specific combination that hasn't been published as a unified system — until now… Graphnosis intakes user files of any kind, processes them locally with $0 zero-API, and outputs .gai files with directed/undirected graphs of connected data that aren’t meant to be human-readable. It's a binary format designed for how AI actually processes knowledge — not how we read it. It resolves dynamic memory 100% (LongMemEval), temporal awareness, relationship-aware reasoning, automated contradiction detection, token efficiency — $0 to build the giki (graphWiki):

https://github.com/nehloo/graphnosis

Graphnosis is the only system that combines dual-graph structure, AI-native binary format, $0 construction, human corrections with provenance, temporal confidence decay, identity extraction, automated reflection, and full audit traceability — in one open-source package:

1. Dual-graph over the same node set

2. $0 graph construction

3. AI-native binary format (.gai)

4. Human audit trail with full traceability

5. Human corrections that feed back into the graph.

6. Temporal awareness with confidence decay

7. Identity as a first-class graph concept

8. Reflection engine — automated graph self-improvement

9. Enhanced query pipeline

10. Conversation memory integrated into the knowledge graph

11. SQLite persistence with access tracking

12. Optional LLM enrichment — enhancement, not foundation

13. All dependencies MIT or Apache-2.0

14. 100% LongMemEval benchmark


In 1990, I wrote my first lines of code in Basic on a ZX Spectrum clone connected to a TV and a tape cassette, in Romania.

A few years later, at the Informatics high school in Piatra Neamț, I learned about directed and undirected graphs (or oriented and non-oriented graphs, as we called them in those times).

In the late '90s, at Transilvania University in Brașov, I built a C++ neural network that could recognize hand-drawn letters. It worked. It felt like the future. But the future wasn't ready yet.

In the early 2000s, I explored modeling electrical harnesses as undirected graphs — a concept that showed promise but was left unexplored.

Over the years, I explored many ideas across software, music, events, nonprofits, and research. Each one taught something. None brought all the threads together.

Then, recently (last midnight), I asked an AI a simple question: "Are AI models based on non-oriented graphs?"

Graphnosis — Dual-Graph Knowledge System

And suddenly, everything connected and I started coding a dual-graph knowledge system that serializes relevant subgraphs into a format designed for machine comprehension, not human readability.

Graphnosis is an open-source system that transforms any files into AI-optimized knowledge graphs — using both directed and undirected edges over the same data. The output isn't meant to be human-readable. It's a binary format designed for how AI actually processes knowledge — not how we read it. But, I designed and appended to this system an audit process where humans can actually vet and validate the giki output (giki = graphWiki), should that’s needed.

It's what happens when three decades of scattered ideas finally find their moment.

Graphnosis’ contribution is a specific combination that hasn't been published as a unified system — until now.

The code, the research, and the original conversation that started it all, are all now open-sourced on GitHub, along with a comprehensive comparison with others’ recent agentic memory systems — read the story, test it, and contribute/fork, or tell me what you think:

https://github.com/nehloo/graphnosis

Update: I renamed this open-source project to Graphnosis — Graph, dual graph / -gnosis, Greek for knowledge. Didn’t realize the first name I imagined was too broad and already featured in some other works. — but Graphnosis gives this project the perspective of a library of knowledge built on top of a dual graph, which is exactly the original concept of this open-source repo… My other options were Graphoteka or Zalmograph (last one from Dacian roots) ;)