# BM25S — card for AI agents

Very fast BM25 keyword search for RAG.

Category: Prompts, structured output and evals · PyPI package `bm25s` · latest version 0.3.16 (checked 2026-11-01)
Install: `pip install bm25s`
License: MIT (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Numbers (AgentGid data)
- Gid Score: 38.5 (#3321 of all tools, 58 of 78 in its category)
- Used in 1 public projects set up for AI coding agents (0.0%)
- Downloads last week: 425,636 (as of 2026-11-24), +13.4% over 4 weeks
- GitHub stars: 1,830 (as of 2026-11-24)
- Last push: 2026-11-13

## Often used with
python-dotenv 75.0%, Pydantic 66.7%, Sentence Transformers 66.7%, OpenAI Python Library 58.3%, NumPy 50.0%, pandas 50.0%

## Links
- AgentGid page: https://agentgid.com/tools/bm25s/
- Homepage: https://github.com/xhluca/bm25s
- Repository: https://github.com/xhluca/bm25s

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
