#2626th of 33 in RAG and search
ragbits
Modular Python toolkit for LLM prompts, RAG ingestion, agents and chat APIs
- Stars
- 1.7k
- License
- MIT
- Last commit
- May 2026
- Last release
- Mar 2026
- Language
- Python
1,626 on 1 May 20261,680 on 20 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
Ragbits is a set of Python packages for building GenAI apps: typed prompts and LLM calls through LiteLLM, document ingestion and search over pluggable vector stores, agents with MCP and A2A, and a chat API with a UI. Packages install separately or as the `ragbits` bundle, and `create-ragbits-app` scaffolds projects from templates.
Who it is for: Python developers building RAG, agent or chat backends
Strengths
- Typed prompts using Python generics and Pydantic input models
- Ingests 20+ formats via Docling or Unstructured, with S3, GCS and Azure connectors
- Ray-based distributed ingestion for large datasets
- Separate packages for core, agents, search, evaluation, guardrails and chat
Weaknesses
- Library, not a deployable app; you write the Python wiring yourself
- Python only
- Quickstarts assume hosted OpenAI models; local model setup is in separate docs
- Broad scope across prompts, RAG, agents and chat means many packages to learn
What it needs
- Python, 100+ LLMs via LiteLLM, local models, OpenAI
- Needs LiteLLM, Qdrant, PgVector, Ray, Docling, Unstructured, OpenTelemetry, promptfoo
What changed
- v1.6.2 ↗ (opens in a new tab)Security fix
CVE-2025-66416. “Bump mcp dependency to >=1.23.0 for DNS rebinding fix (CVE-2025-66416)”
From the release notes. No flag means the note does not say so, not that the upgrade is safe.
Also in RAG and search
See all 33| Rank | Project | Score |
|---|---|---|
| #24 | azure-search-openai-javascriptTypeScript RAG on Azure AI Search with separate indexer and search services | 39 out of 100 |
| #25 | llm-answer-enginePerplexity-style Next.js answer engine over Brave search results | 36 out of 100 |
| #27 | nano-graphragCompact Python GraphRAG library with swappable LLM, vector and graph storage | 31 out of 100 |
| #28 | nextjs-openai-doc-searchBuild-time embeddings of your MDX docs into Supabase pgvector | 30 out of 100 |
| #29 | azure-search-openai-demo-csharp.NET RAG chat sample over your documents with Azure OpenAI and AI Search | 30 out of 100 |