Gortex Open-Source Tool Builds Knowledge Graph to Cut AI Coding Agent Token Use
Gortex is an open-source code-intelligence engine written in Go that indexes a codebase into a persistent knowledge graph stored locally via SQLite, exposing it to AI agents through an MCP server. Instead of feeding entire files into an AI agent's context window, Gortex allows agents to query only the specific functions or call chains they need, with the project claiming up to 50x fewer tokens per response. The tool parses code using tree-sitter AST analysis and supports 257 programming languages across three tiers of parsing depth. It also handles multiple repositories as a single unified graph, automatically detecting API contracts across services including HTTP routes, gRPC, GraphQL, and message queue patterns. Gortex is licensed under Apache 2.0, runs fully locally with no telemetry by default, and had accumulated approximately 1,800 GitHub stars at the time of reporting.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in