CodeCortex – Persistent repository knowledge graph for AI coding agents

costea · 10 hours ago · view on HN · tool
4 /10
Average
0 net
AI Summary

CodeCortex is an open-source project that builds a persistent knowledge graph of repository structure to reduce redundant re-learning by AI coding agents across sessions, improving token efficiency and architectural understanding.

Entities
CodeCortex github.com/costeamarius/codecortex
I’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