Ragbits

Ragbits

★ 3.8 🔖 1200 saves 💰 Free GitHub

Ragbits is an open-source Python framework from deepsense.ai that provides building blocks for rapidly developing generative AI applications. Instead of another monolithic RAG wrapper, it offers modular, typed components — document ingestion, vector-store access, prompt management, guardrails, evaluation and agent primitives — that snap together into production LLM systems, with a matching UI for chatting with and testing what you built. The project has around 1,700 stars and is actively maintained, with code last updated in 2026.

Overview

Ragbits grew out of deepsense.ai’s client work building RAG systems, and it shows: the abstractions cover the unglamorous parts teams repeatedly rebuild, like source ingestion pipelines, prompt versioning, response evaluation and optimisation loops. Components are designed to be swapped — change vector store or model provider without rewriting the application — and everything is typed and testable rather than notebook glue.

Key Features

  • Modular building blocks for RAG: ingestion, retrieval, prompts and generation
  • Multiple vector-store and LLM-provider integrations behind common interfaces
  • Built-in evaluation and optimisation tooling for prompts and pipelines
  • Guardrails and observability for safer production behaviour
  • Companion chat UI for testing applications during development
  • MIT licensed, typed Python codebase from an experienced ML consultancy

💳 Pricing

Free. Ragbits is open source under the MIT license; you self-host it and pay only for any model APIs you plug in.

Who Is It For

Python developers building RAG and GenAI applications who want reusable, production-minded components instead of starting from a blank LangChain script.

The framework’s components are designed to compose: a document-search application, for example, can reuse the same ingestion and retrieval blocks as an agent workflow, which keeps prototypes and production systems on one codebase.

🚀 Visit Ragbits Official Site

🚩 Report an issue