Bruno Capuano 4/7/2026

I Built a .NET 10 Knowledge Graph Builder (Inspired by Karpathy)

Read Original

This article introduces graphify-dotnet, a .NET 10 tool that automatically scans source code files, extracts relationships between classes, modules, and functions, and builds an interactive knowledge graph. It features multi-language parsing via tree-sitter, hybrid extraction combining deterministic AST parsing with AI semantic analysis, Louvain community detection for clustering, and exports to HTML, Neo4j, JSON, and Obsidian formats. The tool is inspired by Andrej Karpathy's idea of using LLMs as knowledge compilers and a Python tool called graphify. It provides CLI commands to run, query, explain nodes, and export graphs, helping developers understand codebase structure visually.

I Built a .NET 10 Knowledge Graph Builder (Inspired by Karpathy)

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

No top articles yet