← All projects
Project record1 mention
Originally shared on Hacker News

Glassbrain

glassbrain is a tool that lets LLM agents write their knowledge, plans, and memories as graphs (simple JSON files), then renders them for humans to inspect what the agent has expressed and how it changed over time. It features a custom cose-bilkent layout, animated transitions between graph versions, aligned diff views, search, editing, and support for massive graphs, and can be invoked from any agent prompt via `npx glassbrain` or integrated into apps as a React graph component.

Last shared
01 / The problem

What it addresses

Existing agent harnesses pile on rules without making it possible to reliably understand what an LLM agent knows, plans, or remembers — at scale, humans must either wade through long, poorly organized text or blindly trust the agent to run.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Glassbrain

    glassbrain is a tool that lets LLM agents write their knowledge, plans, and memories as graphs (simple JSON files), then renders them for humans to inspect what the agent has expressed and how it changed over time. It features a custom cose-bilkent layout, animated transitions between graph versions, aligned diff views, search, editing, and support for massive graphs, and can be invoked from any agent prompt via `npx glassbrain` or integrated into apps as a React graph component.

    Problem: Existing agent harnesses pile on rules without making it possible to reliably understand what an LLM agent knows, plans, or remembers — at scale, humans must either wade through long, poorly organized text or blindly trust the agent to run.

    Posted by @voidixyn · Original source ↗

    Story title · @voidixyn · · Source ↗

    Show HN: Glassbrain – Read your agent's brain, know what your agent knows

    Submitted URL · @voidixyn · · Source ↗

    https://github.com/voidixyn/glassbrain

    Source text · @voidixyn · · Source ↗

    `glassbrain` lets agents write their knowledge, plans, and memories as graphs, then delivers them to humans to inspect what's been expressed and how it's changed.

    Source text · @voidixyn · · Source ↗

    I let the model write the graph as simple JSON files, with no unnecessary procedures or constraints. I only added targeted tools for things models struggle with, like a CLI to validate knowledge graph structures.

    Source text · @voidixyn · · Source ↗

    in any context, just add "... using `npx glassbrain`." at the bottom of the prompt. It's skill-free and model-agnostic — almost any LLM agent can use it. A standalone HTML file will be returned.

    Source text · @voidixyn · · Source ↗

    Developers can also easily integrate it into their own apps as a React graph component.

    Source text · @voidixyn · · Source ↗

    https://voidixyn.github.io/glassbrain/

    Source text · @voidixyn · · Source ↗

    as data grows, we still can't reliably tell what's going on inside the agent's head

    Source text · @voidixyn · · Source ↗

    we're stuck with two bad options: either wade through long, often poorly organized text, or bet on the agent's intelligence and let it run

    Source text · @voidixyn · · Source ↗

    Developers can also easily integrate it into their own apps as a React graph component.