ChunkHound Codebase Intelligence

Local-first, cited research across source code, Git history, and technical web sources.

Stars
★ 1.5k
Last updated
1d ago v6.2.0
FARS reviewed
Nov 08, 2026 +1 new
License
MIT
Primary language
Python

At a glance

How it runs
CLI
Works with
Universal · cross-platformCodex · Claude Code · OpenAI API · Claude API
Cost
Free software; you pay for model usage
Setup effort
Low · running in minutes
You'll need
Python 3.10+uvOptional embedding provider: VoyageAI, OpenAI, or OllamaOptional LLM provider: Claude Code CLI, Codex CLI, Anthropic, OpenAI, or GrokShell / CLINetwork accessLocal filesystem
Typical use
A coding agent entering a large or unfamiliar repository can gather architecture, relevant files, recent changes, and external constraints before editing.
Not a fit if
  • Teams that want semantic search or deep research without configuring any embedding or LLM provider
  • Workflows that need zero-config setup with no new indexing step
Website
chunkhound.ai ↗ set on GitHub
Maintenance
Commits in the last 30 dayslast commit 2026-12-02latest release v6.2.0 (2026-11-23)
Source review
64/100 · Some gaps

What does this agent do, and when should you use it?

ChunkHound is an open-source, local-first codebase intelligence tool for coding agents and teams working with complex engineering context. Its CLI indexes project files and uses Tree-sitter to cover Python, JavaScript, TypeScript, Java, Go, Rust, C/C++, and other languages and file types. Searches can target the current codebase, recent commits, one commit, or a custom Git range. chunkhound research produces cited, cross-file explanations, chunkhound search performs semantic or regex retrieval, and chunkhound websearch brings external technical evidence into the workflow. Indexing and code search remain under the user's control, while network access, credentials, and external models depend on the selected providers and features.

The basic flow starts with chunkhound index ., followed by chunkhound search "query" to retrieve relevant code or chunkhound research "question" to produce a cited engineering analysis. Git research accepts --last-n, --commit-hash, and --commit-range to investigate recent commits, a specific commit, tags, branches, or arbitrary ranges; --vector-source selects changed code, the indexed database, or both. It can assemble evidence about architecture, behavior paths, large pull requests, releases, merge conflicts, and reported failures, and Autodoc can turn code-backed research into shareable documentation. chunkhound websearch finds technical documentation, APIs, issues, and articles and connects that material to local code research. Regex retrieval works without providers, semantic search needs an embedding provider, and deep research additionally needs an LLM plus an embedding provider with reranking support.

  1. A coding agent entering a large or unfamiliar repository can gather architecture, relevant files, recent changes, and external constraints before editing.
  2. A reviewer handling a large pull request, branch diff, or release can create a cited engineering brief and implementation-backed changelog draft for a chosen commit range.
  3. A maintainer investigating a stack trace, customer report, or incident symptom can trace likely code paths and inspect related recent changes.
  4. A developer resolving a merge conflict can research why the same behavior changed on each branch instead of examining only the conflicting lines.
  5. A support or product team can explain product behavior, such as subscription cancellation, using implementation evidence and version history.
  6. A security-sensitive team can keep indexing local and choose local providers for a zero-code-egress setup.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • curl -LsSf https://astral.sh/uv/install.sh | sh
  • uv tool install chunkhound
Config files
.chunkhound.json
Runtime
Python 3.10+

How do you install or deploy this agent?

Install Python 3.10+ and uv. If uv is not available, run curl -LsSf https://astral.sh/uv/install.sh | sh, then install ChunkHound with uv tool install chunkhound. Regex search requires no API key. Semantic search requires VoyageAI, OpenAI, or local Ollama embeddings; deep research also requires an LLM provider such as Claude Code CLI, Codex CLI, Anthropic, OpenAI, or Grok, together with an embedding provider that supports reranking.

How do you use this agent?

From a project root, run chunkhound index ., then try chunkhound research "How does authentication work?". For an explicit setup, create .chunkhound.json containing {"embedding":{"provider":"voyageai","api_key":"your-key"},"llm":{"provider":"claude-code-cli"}}. Use chunkhound search "JWT refresh token validation" for code retrieval, chunkhound research "What changed in auth recently?" --last-n 20 for recent history, or chunkhound research "Summarize the behavior changes on this branch for reviewers" --commit-range main..HEAD for a branch comparison. External technical research is available through commands such as chunkhound websearch "Stripe webhook retry schedule".

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

What are this agent's strengths and limitations?

Pros
  • It combines current code, Git history, and technical web evidence in one cited research workflow, which is useful when a task requires explaining why behavior changed rather than merely locating text.
  • Local-first indexing keeps code-search boundaries under the user's control, and local providers such as Ollama support zero-code-egress configurations.
  • Regex search, semantic retrieval, deep research, and Autodoc offer an incremental adoption path based on the complexity of the task.
  • Git queries can be scoped precisely to the last N commits, one commit, or an arbitrary range, supporting pull-request, release, and conflict analysis.
  • Tree-sitter support spans multiple mainstream languages and file types, making the tool relevant to polyglot repositories and monorepos.
Limitations
  • The complete feature set is not zero-configuration: semantic search needs embeddings, while deep research also needs an LLM and reranking-capable embeddings.
  • Installation requires Python 3.10+ and uv, and teams must add a new CLI and indexing step to their local workflow.
  • Hosted embedding, LLM, and web-research services require network access and may require API keys; avoiding code egress depends on choosing local providers.
  • Feature levels differ substantially: without a provider, users have regex search but not semantic retrieval or deep research.
  • The supplied material does not quantify indexing limits, latency, resource consumption, or the depth of support for each language, so very large repositories need their own evaluation.

How does this agent compare with similar options?

For embeddings, VoyageAI is identified as the recommended hosted option, OpenAI is another hosted choice, and Ollama provides a local path. LLM execution can use Claude Code CLI or Codex CLI without a separate LLM API key, or use the Anthropic, OpenAI, or Grok APIs. At the feature level, regex search has no provider dependency, semantic search adds an embedding dependency, and deep research further requires an LLM and reranking-capable embeddings.

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
ChunkHound Codebase Intelligence This agent 64 · Some gaps CLIFree + model costs ★ 1.5k 1d ago Python Codex · Claude Code · OpenAI API · Claude API
CodeGraph 57 · Major gaps CLIFree + model costs ★ 927 1mo ago Rust Claude Code · OpenAI API · Claude API
myc Local Agent Memory 75 · Good CLIFree ★ 14 1mo ago TypeScript Codex · Claude Code
Semble Code Search 71 · Some gaps CLIFree ★ 6.5k 4d ago Python Codex · Claude Code

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Some gaps
64/ 100 5-point scale 3.2 / 5
This review covers the source as of Nov 08, 2026. The project has shipped 1 stable release(s) since, which have not been re-reviewed. The score and verdict describe the reviewed version only. Recent releases ↓
Trust 13/29
Reliability 8/14
Adaptability 14/18
Convention 12/18
Effectiveness 12/13
Verifiability 5/8
Why each dimension lost points
Trust13 / 29 · 2.2/5

The scanner filters local files by extension and ignore rules. The README calls the product local-first and describes optional hosted providers, while the CLI source shows analytics collecting a bounded set of command fields. The packet does not explain retention or secret handling in depth, so sensitive-data handling scores 1. Commands are configurable, but the files do not describe per-action confirmation for indexing or network research, so user confirmation scores 1.

Reliability8 / 14 · 2.9/5

Dependency ranges and MCP constraints differ between pyproject.toml and requirements.txt; the test package version also differs from the dynamic product versioning approach, reducing self-consistency. pyproject.toml pins or bounds several important dependencies with explanations, and CI covers multiple platforms, supporting a score of 2 for dependency availability. Rust scanning records walk errors and fails closed in one risky empty-result case, and daemon startup reports failures; the packet does not cover every failure path, so failure messages score 2.

Adaptability14 / 18 · 3.9/5

The README clearly identifies research, PR/release understanding, incident tracing, and external-doc reconciliation, with CLI examples, meriting 3 for audiences and scenarios. It distinguishes regex, semantic, deep research, and web research provider requirements, but mode boundaries and data flows remain distributed, so capability boundaries and trigger precision score 2. Python versions, OS classifiers, and a cross-platform CI matrix support environment fit, though setup also requires uv, native components, and optional provider configuration, for a score of 2.

Convention12 / 18 · 3.3/5

README, configuration, CLI, and documentation entry points are organized, but the packet lacks navigation for all components, so information architecture scores 2. Install steps and starter commands are present; the uv install example pipes curl to a shell and provider/editor setup is deferred to external docs, so install notes score 2. Names and package metadata are mostly stable. Examples cover several scenarios, but no FAQ is shown; both criteria score 2. Provider requirements and several dependency constraints are documented, but limitations remain incomplete, scoring 2. The MIT license text is complete, scoring 3. Versioning derives from VCS tags and a release history link is provided, but no concrete changelog is in the packet, scoring 2. An author is named, but maintenance responsibility and update commitments are unclear, scoring 1.

Effectiveness12 / 13 · 4.6/5

The CLI examples and cited-research workflows make outputs usable for search, review, and documentation, scoring 3. Combining code, Git history, and technical web research provides clear marginal value, scoring 3. The dependency footprint is large and semantic/research features rely on providers; local regex and local providers can reduce cost or data egress, so cost-benefit scores 2.

Verifiability5 / 8 · 3.1/5

README claims are partly traceable to CLI examples, analytics fields, Rust scanning code, and dependency configuration, but the packet does not include all core implementation, scoring 2. CI configuration, test samples, configuration, and source corroborate some engineering behavior, though static evidence cannot establish runtime results, scoring 2. The README distinguishes provider needs and local modes, while AGENTS.md reads as contributor guidance; some promotional claims lack quantified support in this packet, so fact/inference separation scores 2.

Risks and how to mitigate them
  • The README describes the product as local-first, while CLI source shows collection of a limited set of command parameters. Before using it on sensitive or regulated repositories, confirm analytics settings, recipient, and retention.
  • requirements.txt and pyproject.toml specify different dependency ranges; use the project metadata and locked environment as the installation reference.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision 98be86f991da New commits since this review; the score may not cover them
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/chunkhound.svg)](https://followagents.com/en/agents/chunkhound)
<a href="https://followagents.com/en/agents/chunkhound"><img src="https://followagents.com/badge/chunkhound.svg" alt="FARS review"></a>

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. v6.2.0 ChunkHound v6.2.0
    Release notes excerpt
    ChunkHound v6.2.0 This release streams git-history and web search in-process, adds eight OpenAI-compatible LLM providers, moves to the MCP SDK 2.x, and fixes many realtime-indexing, search-pagination and security issues. Highlights - In-process transient search — Git-history and web-page search stream through a bounded vector cache instead of a subprocess. - More LLM providers — Opper, API Route, Obscurify.ai, Atlas Cloud, Runcrate, cheapaimodel, UberLLM and AIGROW. - MCP SDK 2.x — Single dispatch point for MCP requests. …
    View on GitHub ↗
  2. v6.1.0 ChunkHound v6.1.0
    Release notes excerpt
    ChunkHound v6.1.0 This release adds opt-in usage analytics, native embedding providers in the Rust pipeline and the Requesty LLM provider. It also includes Windows CLI launch fixes, wider Linux wheel compatibility and a batch of indexing reliability fixes. Highlights - Opt-in usage analytics — per-user usage events with identity anonymization, off by default. - Native embedding providers — OpenAI-compatible (incl. Azure) and VoyageAI embeddings run inside the Rust pipeline. - Requesty LLM provider — new OpenAI-compatible provider. …
    View on GitHub ↗
  3. v6.0.0 ChunkHound v6.0.0
    Release notes excerpt
    ChunkHound v6.0.0 This release makes the Rust-native indexing pipeline the default execution path, adds two new LLM providers (OrcaRouter, OpenRouter), and rounds out embedding, research, and MCP capabilities added since v5.2.1. Highlights - Rust-native indexing pipeline is now the default — parsing, embedding, and DB writes run concurrently through chunkhound_native for meaningfully faster indexing (CHUNKHOUND_USE_RUST=0 to opt out). chunkhound-native is now a required dependency rather than an optional extra. …
    View on GitHub ↗

FAQ

Can it run without API keys?
Yes for regex search. Claude Code CLI and Codex CLI are also listed as requiring no separate LLM key, although semantic search still needs an embedding provider.
Must source code be sent to an external service?
No. Indexing is local-first, and local providers such as Ollama can be selected for a zero-code-egress setup. Hosted embeddings, LLMs, or web research require the corresponding network access.
Why might deep research be unavailable?
Deep research requires both an LLM provider and an embedding provider with reranking support. Installing the CLI or enabling regex search alone does not satisfy those requirements.
Can research be limited to one pull request or release?
Yes. Use a range such as --commit-range main..HEAD or v2.4..HEAD, a specific --commit-hash, or --last-n for recent commits.
What repository types are the clearest fit?
The documented targets include large repositories, monorepos, polyglot codebases, legacy systems, and local-only or security-sensitive environments.
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts