Glassbrain is an open-source tool for inspecting and comparing knowledge graphs created by AI agents. Graphs use a simple JSON format of nodes and relationships; a command-line interface validates them, reports structural problems, and compares snapshots or a graph against a Git commit. The browser viewer organizes nodes by containment - such as folders and files, or areas and features - rather than using a force-directed layout. Relationships appear on top without rearranging the map, so users can track changes without the whole display shifting. It supports search, node details, version playback, side-by-side comparisons, and layered 2.5D views, and can open graphs from tools such as Graphify, Understand-Anything, MCP memory servers, and Obsidian.
The project’s central argument is that agents can turn code, documentation, research, and plans into readable, evolving graphs without a specialized extraction pipeline: the model writes the graph, while Glassbrain checks and displays it. Included skills guide agents through building and reviewing graphs in stages. Demonstrations report a 540-node Flask code map with 751 typed relationships; a documentation-and-product analysis that found 421 features and merged them into 268 user stories, with 23 of 24 sampled stories confirmed against source code; and research snapshots that expose 25 corrected facts. A planning example links decisions to requirements and makes revisions visible as graph changes. The tool can be tried through a live demo or run with npx to produce a standalone HTML view.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.