Queryable concept map of a codebase for LLM coding agents
Project description
combfind
Give an AI agent a codebase. combfind tells it where to look.
combfind builds a local index of a repository so an agent can find the right files and functions for a task with a plain-text query, without reading the entire codebase.
Install
pip3 install "combfind[llm]" \
--extra-index-url https://abetlen.github.io/llama-cpp-python/whl/cpu
Or with uv:
uv pip install "combfind[llm]" \
--extra-index-url https://abetlen.github.io/llama-cpp-python/whl/cpu
Download a model (one-time, ~2 GB):
combfind download-model
Usage
# Index a repository (requires a local LLM model)
combfind init /path/to/repo --db repo.db
# Query it
combfind query "how does authentication work" --db repo.db
combfind query "where are database migrations" --db repo.db --format json
Query output (JSON)
[
{
"rank": 1,
"concept": "Token Refresh",
"role": "implementation",
"score": 0.87,
"files": [{"path": "auth/service.py", "start_line": 42, "end_line": 91}],
"symbols": ["AuthService.refresh", "AuthService.validate"],
"why_relevant": "Handles session token validation and refresh logic.",
"sibling_implementations": []
}
]
Init options
| Flag | Default | Description |
|---|---|---|
--db |
<repo_path>/.combfind.db |
Output path |
--llm-model |
auto-detected | Path to a GGUF model file |
--exclude-paths |
- | Paths to skip relative to repo root (repeatable) |
--exclude-regex |
- | Regex matched against file paths to skip |
Query options
| Flag | Default | Description |
|---|---|---|
--db |
.combfind.db |
Database to query |
--top-k |
5 | Number of results to return |
--format |
text |
Output format: text or json |
Environment variables
| Variable | Default | Description |
|---|---|---|
COMBFIND_LOG_LEVEL |
info |
Log verbosity: debug, info, warning, error |
Supported languages
Python, Go. More languages can be added via tree-sitter grammars.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file combfind-0.1.11.tar.gz.
File metadata
- Download URL: combfind-0.1.11.tar.gz
- Upload date:
- Size: 20.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c21ea4232aa85d4435083f194c8d3e450295cc4cd01be36650f531726f91efc8
|
|
| MD5 |
a5b1b11fca977722c8f1df965e979b52
|
|
| BLAKE2b-256 |
1a3e35255099c953bc2d00e3274cee0c1181108f5f8d6e19e11fd660860ed3d2
|
Provenance
The following attestation bundles were made for combfind-0.1.11.tar.gz:
Publisher:
release.yml on The127/combfind
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
combfind-0.1.11.tar.gz -
Subject digest:
c21ea4232aa85d4435083f194c8d3e450295cc4cd01be36650f531726f91efc8 - Sigstore transparency entry: 1420419042
- Sigstore integration time:
-
Permalink:
The127/combfind@550e46db74f401b646ef4fe15fa5c7390b1be877 -
Branch / Tag:
refs/heads/master - Owner: https://github.com/The127
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@550e46db74f401b646ef4fe15fa5c7390b1be877 -
Trigger Event:
push
-
Statement type:
File details
Details for the file combfind-0.1.11-py3-none-any.whl.
File metadata
- Download URL: combfind-0.1.11-py3-none-any.whl
- Upload date:
- Size: 25.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6e90e3cc99ff33a42b395e87c83864a7c5ef840d7fe40e20aeda182736482c3a
|
|
| MD5 |
8b629bc0ce094edc7563d016c1d251d3
|
|
| BLAKE2b-256 |
ec337ddc8cea4d02850c22f09a26252b59f7b940491b241382fed27751ac40aa
|
Provenance
The following attestation bundles were made for combfind-0.1.11-py3-none-any.whl:
Publisher:
release.yml on The127/combfind
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
combfind-0.1.11-py3-none-any.whl -
Subject digest:
6e90e3cc99ff33a42b395e87c83864a7c5ef840d7fe40e20aeda182736482c3a - Sigstore transparency entry: 1420419140
- Sigstore integration time:
-
Permalink:
The127/combfind@550e46db74f401b646ef4fe15fa5c7390b1be877 -
Branch / Tag:
refs/heads/master - Owner: https://github.com/The127
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@550e46db74f401b646ef4fe15fa5c7390b1be877 -
Trigger Event:
push
-
Statement type: