← Back to research
•·11 min read·industry

Code Intelligence Tools

Compare 17 code intelligence tools for AI coding agents: repository graphs, symbol editing, semantic retrieval, licensing, and data handling.

By Ry Walker, founder of Tembo and Astronomer.

Key takeaways

  • Choose the retrieval task first: dependency tracing, symbol editing, fuzzy search, and context packaging need different tools.
  • Graphify and Codebase Memory MCP add credible graph options; their performance claims still need workload-specific evaluation.
  • Local indexing does not guarantee local model processing, no telemetry, or unrestricted commercial licensing.
  • Measure answer quality and whole-session cost together: fewer tool calls can leave more source material in the context window.

FAQ

Which code intelligence tool should I start with?

Start with a representative task. Evaluate a graph tool for dependency questions, Serena for symbol navigation and editing, grepai or claude-context for semantic search, and Repomix for exporting repository context.

Are all the public repositories freely usable commercially?

No. GitNexus uses PolyForm Noncommercial, mcp-vector-search uses Elastic License 2.0, and current Serena combines a GPL application with an MIT library. Check the exact version and license before adoption.

Does a local index keep my source code private?

It only describes one part of the data flow. Check embedding providers, hosted indexes, telemetry, and the coding agent that receives retrieved source; those can introduce separate network paths.

Does indexed retrieval always beat grep?

The available studies do not establish a universal winner. Compare correctness, latency, model cost, persistent context, and index maintenance on your own tasks with the same agent and model.

Executive Summary

Code intelligence is a choice about which information an agent needs and how to retrieve it. A dependency graph, a language server, a semantic index, and a packed source archive can all help, but they answer different questions. This comparison covers 17 tools and agent features across those approaches, including API documentation as a separate context source.

The September 15, 2026 review adds Graphify and Codebase Memory MCP, corrects licensing and privacy claims, and removes unsupported market-leader rankings. GitNexus now documents incremental analysis and watch mode; CodeGraph has shipped v1.6.0; and Serena's current application license is GPL rather than MIT. These are adoption-relevant changes, not just newer popularity figures.[1][2][3][4][5]

My recommendation is to evaluate one retrieval approach against the questions your agent repeatedly gets wrong. A graph can expose dependencies, but a static edge is not proof that a change is safe. Better navigation still needs tests and review.

Scope and Membership

Included tools provide a usable interface for coding agents to retrieve, navigate, edit, or package code or relevant API context. The tables below define the 17 members. This intentionally includes Aider's built-in repository map and Context Hub's external API documentation, while identifying how they differ from standalone repository indexes.

General-purpose editors, review products, and generated documentation sites are adjacent products, rather than rows in this comparison. Sourcegraph Cody, DeepWiki, and Greptile remain discussed below. Maintenance and availability inform the assessment; a star threshold or a quiet month does not decide membership.

Most members expose MCP, a CLI, or an agent-native interface. Repository links in the sources point to current GitHub documentation; this is a source review, not a hands-on benchmark of all 17 tools.

Repository Graphs

ToolWhat it providesAdoption consideration
CodeGraphLocal SQLite source graph, file watching, MCP retrieval, and a browser viewerMIT. Current source exposes codegraph_explore by default; response deduplication is opt-in. Telemetry is enabled by default with an opt-out.[6][7][8]
GitNexusLadybugDB-backed repository graphs, impact queries, cross-repository groups, incremental analysis and watch modePolyForm Noncommercial; commercial use needs appropriate terms. Optional remote services change the data flow.[3][9]
CodeGraphContextGraph queries and code navigation with selectable database backends and a watch commandMIT. Embedded and server backends have different setup and operating costs.[10]
AxonCode graphs, local semantic search, incremental watching, and a visual exploration interfaceThe earlier “stalled since March” label is removed. The repository shows later activity; this review did not find a root license file establishing reuse terms.[11]
GraphifyAST-derived code graphs plus optional model-assisted relationships across documents and media; CLI and MCP accessApache-2.0 with notices for older MIT portions. Distinguishes extracted and inferred relationships; model-assisted inputs need a separate data-flow review.[1]
Codebase Memory MCPNative executable with a persistent SQLite graph, background updates, CLI and MCP queriesMIT. Its embedded type resolution does not require external language servers; evaluate resolution accuracy on your languages.[2]

These products overlap, but neither database choice nor the largest advertised language count settles graph quality. Dynamic dispatch, generated code, framework conventions, and language-specific resolution are useful evaluation cases. Test whether the tool finds the dependencies you already know before trusting its impact analysis.

Graphify is particularly relevant when the context spans code and design documents. Its distinction between extracted and inferred edges is useful: an LLM-inferred relationship should not be presented as a parser-confirmed call. Codebase Memory MCP instead emphasizes a compact local structural index. Both are credible additions, with different evidence and operating models.[1][2]

Symbols, Semantic Search, and Focused Analysis

ToolMain useAdoption consideration
SerenaSymbol navigation and editing using language servers or its JetBrains backendCurrent Serena application: GPL-3.0-or-later; SolidLSP library: MIT. Older MIT releases remain separately identified in the license file.[12][5]
claude-contextHybrid keyword and dense-vector retrieval over AST-chunked code, using Milvus or Zilliz CloudMIT. Default examples use hosted embeddings and storage; provider and database configuration determine data handling.[13]
grepaiSemantic code search, call-graph tracing, and background watchingMIT. Ollama supports local embeddings, while other configurations use hosted providers. “Local by default” is not an unconditional privacy guarantee.[14]
Octocode MCPLocal code navigation plus GitHub and package research through CLI/MCP toolsMIT. The canonical repository is now bgauryy/octocode; remote research naturally involves external services.[15]
CodePathFinderCode graph queries and security-oriented data-flow analysis exposed to agentsApache-2.0. Useful when security questions drive retrieval; documented local operation does not establish the privacy of a connected model.[16]
mcp-vector-searchSemantic retrieval, code analysis, watching, and a temporal knowledge graphElastic License 2.0, not a permissive open-source license; its restrictions matter if embedding it in a hosted offering.[17][18]

The old graph-versus-search boundary is too rigid. grepai traces calls, mcp-vector-search includes a graph, and Serena can edit symbols. Choose the operation you need, then check whether its results are sufficiently accurate and concise for the agent consuming them.[14][17][12]

Context Packaging and API References

Tool or featureContext suppliedImportant distinction
RepomixRepository exports, structural compression, token budgeting, and MCP-based packingMIT. Watch mode can regenerate output; a packed artifact still reflects its generation time.[19]
code2promptTemplate-driven repository context through a Rust CLI/TUI, Python bindings, and an MCP serviceMIT. The earlier “slowing” judgment is unsupported by a dated release alone and is removed.[20]
Aider repo-mapDefinitions and references selected dynamically for Aider's active context budgetAn integrated agent feature. It uses graph ranking to select relevant source, so describing all context packing as structurally unaware is wrong.[21]
Context HubCurated, versioned API documentation, with optional local annotations and feedbackMIT. It supplies external API knowledge rather than indexing your repository. Annotations are opt-in and treated as untrusted content.[22]

Packaging is a useful baseline when you need a reproducible context artifact or a bounded collection of files. It can also complement selective retrieval. There is no defensible universal file-count threshold at which every team should switch from packing to a graph.

Commercial Context Retrieval

ToolService modelCost and boundary
Augment Context EngineLocal Auggie CLI MCP server for the working directory, or a hosted remote MCP index of selected repositoriesCommercial usage pricing. The remote index is hosted by Augment; a local MCP process is not a claim that all processing stays on the machine.[23]

As checked September 15, Augment lists Standard at $20/month and Business at $100/month, each as a flat plan supporting up to 50 seats and including that amount of usage. Its pricing page describes model-provider list price plus a 40% service fee on LLM usage. Those are plan and usage terms, not a fixed price per repository or per successful coding task.[24]

Augment's product page reports large quality improvements in its own Context Engine benchmark, using particular agents, models, and an Elasticsearch PR dataset. That supports a vendor-reported result for that experiment. It does not establish that every organization should replace local retrieval or that the same percentage applies to a different model.[25]

Adjacent Products and an Entrant to Watch

Tembo addresses the execution environment around these tools: it runs coding agents with repositories, dependencies, and connected work context, then brings their output back for review. Its documented platform supports harnesses including Claude Code, Codex, and Pi. That makes it relevant when the problem extends from finding code to operating agents across a team.[26] Disclosure: Ry Walker is Tembo's CEO and co-founder.[27]

This is adjacent platform context, not an eighteenth retrieval component. A useful evaluation separates two questions: which index answers the agent's code questions, and where the agent runs with the right permissions, tools, and task context. For a Tembo deployment, verify the selected retriever's installation, index persistence, network requirements, and commercial license against that environment. This review does not establish a specific Tembo integration with every tool in the table.

Sourcegraph Cody needs more precise availability language than the previous broad SaaS row. Its individual Free, Pro, and Enterprise Starter plans ended in July 2025. Sourcegraph's February 2026 deprecation note replaces Cody Web with Deep Search for affected customers but explicitly leaves the Cody editor agent unaffected; that is not a blanket Cody shutdown.[28][29]

DeepWiki provides public repository documentation and question answering, while Greptile centers its product on code review. They can supply useful code understanding, but this revision treats their end-user workflows as adjacent rather than counting them as interchangeable retrieval components.[30][31]

Atlassian's Code Context is an entrant to watch. Its current setup documentation describes an open beta rolling out for Bitbucket and GitHub repositories in Rovo Chat and the TWG CLI. Site eligibility and rollout still matter, so it is outside this comparison's member tables for now. The documentation also warns that all opted-in repository content, including secrets, can be indexed; repository permissions remain central to access control.[32]

What the Performance Evidence Actually Shows

A March 2026 Codebase-Memory paper reports roughly 10 times fewer tokens and 2.1 times fewer tool calls across 31 repositories, but answer quality of 83% versus 92% for file exploration. This is a result for that paper's system and experiment, not an independent ranking of today's products. The quality tradeoff is part of the result, not a footnote to omit.[33]

CodeGraph publishes a separate multi-turn study reporting about 80% more retrieval context remaining in the window, despite savings on other measures. This exposes the distinction between processed tokens and source material that continues occupying the conversation.[34]

There is first-hand criticism too. In an August 3 report, a Cursor user compared CodeGraph v1.5.0 with grep/read on a roughly 2,300-file Go repository and reported higher context use with CodeGraph, while both sessions reached the correct answer. The issue is closed, and v1.6.0 introduced response deduplication. It is a useful workload report, with a version boundary, rather than proof that the current tool always costs more.[35][4]

The current implementation adds an important qualification: source is returned on every call by default. CODEGRAPH_EXPLORE_DEDUP=1 enables cross-call deduplication only for a host that guarantees one durable context per connection. A shared server handling new subagents or compacted conversations cannot assume that previously returned source remains visible. Include that setting and host behavior in a benchmark instead of treating deduplication as an automatic saving.[7]

The prior comparison combined token, tool-call, and quality percentages from unlike experiments into a general victory for indexed retrieval. Those measurements cannot establish that conclusion. For adoption, compare the same task, model, repository revision, and correctness criteria; include indexing time, follow-up turns, failures, and stale results.

Privacy, Licensing, and Selection

“Local” describes a component, not the entire workflow. CodeGraph documents outbound usage telemetry. GitNexus documents optional remote model services and warns that a hosted bearer token can access indexed source. grepai supports both local and hosted embedding providers. In each case, inspect the configuration and the downstream coding agent before drawing a data-handling conclusion.[8][9][14]

Repomix's MCP --sandbox option is also easy to overread: it confines its file operations to a workspace at the application layer. It is not an operating-system sandbox for arbitrary agent commands.[19]

My shortlist depends on the job:

  • Trace dependencies repeatedly: compare CodeGraph, GitNexus, CodeGraphContext, and Codebase Memory MCP on known relationships in your repository; add Graphify when documents are part of the context.
  • Navigate and change symbols: evaluate Serena, including the current license and the quality of its language backend.
  • Find code from an imprecise description: compare grepai with claude-context using the embedding and storage setup you would actually deploy.
  • Export a reproducible context package: start with Repomix or code2prompt; Aider users should evaluate the built-in repository map before adding another component.
  • Retrieve across hosted repositories: assess Augment's access model and total usage bill alongside retrieval quality.

These are starting points for evaluation, not a league table. The useful winner is the tool that gives your agent enough correct context to finish the work, at an acceptable cost and with understandable operating boundaries.


Research by Ry Walker • methodology

Sources