CodeCortex – Persistent repository knowledge graph for AI coding agents
costea Thursday, March 12, 2026I’ve started an open-source experiment called CodeCortex.
The idea is simple:
AI coding tools repeatedly re-learn the same repository structure every session.
This wastes tokens and often misses architectural dependencies.
CodeCortex explores a different approach: build a persistent knowledge graph of the repository that evolves with the codebase.
Instead of rescanning the repo, AI agents query the graph.
Still early, but the repo is now public.
Curious to hear thoughts from people building with AI coding tools.
https://github.com/costeamarius/codecortex
1
0