Development
Set up the repository
Run tests
kestrelsearch package.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Set up a local checkout, run tests, and contribute changes.
git clone https://github.com/rafaelpierre/kestrelsearch.git
cd kestrelsearch
uv sync
uv run kestrelsearch search "test"
uv run pytest
kestrelsearch package.
uv run prek install
# Files changed in the current HEAD commit
uv run prek run --last-commit
# Every tracked file
uv run prek run --all-files
| Path | Purpose |
|---|---|
src/kestrelsearch/cli.py | CLI orchestration and skill management. |
src/kestrelsearch/search.py | Provider requests, retries, merging, and URL deduplication. |
src/kestrelsearch/fetcher.py | Bounded downloads and HTML extraction. |
src/kestrelsearch/ranking.py | BM25 scoring and query-group interleaving. |
src/kestrelsearch/benchmarking.py | Optional trace spans and retrieval artifacts. |
tests/ | Unit and CLI tests. |
benchmarks/ | Native-versus-Kestrel evaluation tooling. |