Glassbrain

voidixyn.github.io

Open-source CLI to open, diff and review the knowledge graphs your AI agents write.

Pricing
Open source
Published
Nov 10, 2026

Next steps

What it does

glassbrain (MIT) lets you read the knowledge graphs that agents keep about code, docs, research or their own plans, and shows exactly what changed when the agent learns something. The format is plain JSON with nodes and edges and a JSON Schema, so agents can write it without a library. The CLI opens a graph in the browser as a single HTML file, validates graphs with exit codes for CI, and diffs versions or git commits, with --json output an agent can act on.

Use cases

  • Open and read the knowledge graph an agent wrote about a codebase or docs
  • Diff two versions of an agent's graph to see exactly what it learned
  • Validate agent-written graphs in CI with machine-readable output

Frequently asked questions

What format does glassbrain read?
Plain JSON with two arrays, nodes and edges, described by a JSON Schema; no SDK needed.
How do I run it?
With npx glassbrain kg/ to open a graph, or npx glassbrain diff HEAD~1 kg/ to see changes.
Is it free?
Yes. It is MIT licensed and outputs a single HTML file.
Log in to join the discussion