Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

BM25S

Very fast BM25 keyword search for RAG.

Prompts, structured output and evalsPYPI

GitHubWebsite

1. License

License from PyPI classifier.

github.com/xhluca/bm25s

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What BM25S does

Very fast BM25 keyword search for RAG.

BM25S popularity

38 / 100
Gid Score, #3321 overall
426K
downloads a week, pypi
1,830
GitHub stars
1
agent projects use it
BM25S: downloads per weekPyPI, bm25s 421,976
BM25S: GitHub starsxhluca/bm25s 1,830

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How BM25S is used

  • BM25S joined the catalog on its public numbers (425,636 downloads a week on PyPI and 1,830 GitHub stars), not on our project count: it is a dependency in 12 public GitHub projects of our scan, 1 of them set up for AI coding agents.
  • Projects that use it most often also use python-dotenv (75.0%), Pydantic (66.7%), Sentence Transformers (66.7%).

Often used with

In 75.0% of its projects
In 66.7% of its projects
In 66.7% of its projects
In 58.3% of its projects
In 50.0% of its projects
In 50.0% of its projects
In 50.0% of its projects
In 50.0% of its projects

More about BM25S

More in Prompts, structured output and evals

Alternatives

BM25S This page

MITGid 38426K/wk

Compare BM25S with another tool

Get started

Install it.

pip install bm25s

No step-by-step start for BM25S yet: we have not written its hand-checked card.