Dev.to
6/22/2026

Building One Knowledge Graph Across 46 Repositories With Static Analysis (Part 1)
Short summary
A CTO at airCloset built code-graph, a knowledge graph extracted from 46 repositories using static analysis to help AI understand cross-boundary dependencies (APIs, databases, events) without hallucinating. Static analysis with tree-sitter plus verified boundary nodes gives AI hard facts instead of inference, solving context window and hallucination problems. Part 1 covers graph construction; Part 2 will cover service-product-graph abstraction.
- •Static analysis of 46 repos creates knowledge graph to overcome AI context window and hallucination limitations
- •Boundary nodes (APIs, databases, events) verified by automated analysis prevent silent AI mistakes across repository boundaries
- •Part 1 covers code-graph construction; Part 2 will cover service-product-graph layer
Generated with AI, which can make mistakes.
Is this a good recommendation for you?



