Skip to main content

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

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
combfind build /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": ["MobileAuthService", "OAuthService"]
  }
]

Build options

Flag Default Description
--db <repo>/.combfind.db Output path
--force off Ignore cache, re-index from scratch
--llm-model auto 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

Supported languages

Python, Go. More languages can be added via tree-sitter grammars.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

combfind-0.1.5.tar.gz (17.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

combfind-0.1.5-py3-none-any.whl (22.0 kB view details)

Uploaded Python 3

File details

Details for the file combfind-0.1.5.tar.gz.

File metadata

  • Download URL: combfind-0.1.5.tar.gz
  • Upload date:
  • Size: 17.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for combfind-0.1.5.tar.gz
Algorithm Hash digest
SHA256 3bb4f27973dcca0d98ca7e94e2f3671d9b598ba3d3c65699334271c1031cb647
MD5 4cc9a2c6551ca9f8f2f4b0523f55ffe5
BLAKE2b-256 78d061c47e82575c3cf1cbcc77f6cf70cefc571dc66da7891e759673919d8820

See more details on using hashes here.

Provenance

The following attestation bundles were made for combfind-0.1.5.tar.gz:

Publisher: release.yml on The127/combfind

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file combfind-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: combfind-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 22.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for combfind-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 640e616d806ef877bc77062268072298851e15a6c07f57bc9e0751eac4a06580
MD5 a23b3d181f41a5a152abf9efa29707f0
BLAKE2b-256 870fe667012934f19a422cc638a5f65a37ffcbba5cfc5ec5ef60fb437bebfea4

See more details on using hashes here.

Provenance

The following attestation bundles were made for combfind-0.1.5-py3-none-any.whl:

Publisher: release.yml on The127/combfind

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page