RAG Debugger SDK
Observability & Debugging Platform for RAG Pipelines
ragdebug allows you to auto-trace every stage of your RAG application and start a comprehensive local dashboard for analysis with a single command.
Prerequisites
To run the full local RAG Debugger platform, you must have Docker Desktop installed and running on your machine.
Once installed and running, you can follow the instructions below.
Quickstart
-
Install the SDK with the CLI power-ups:
pip install "ragdebug[cli]"
-
Start the local RAG Debugger platform:
ragdebug up -
Open the dashboard at http://localhost:8000
Integrating Tracing
Add the @trace decorator to your RAG pipeline functions:
from ragdebug import init, trace, Prompt
init(project="my-project")
test_prompt = Prompt(name="QA Prompt", template="Context: {{context}}\n\nQ: {{query}}")
@trace(name="qa_pipeline")
def answer_question(query: str):
# Your RAG logic here
return "Answer"
answer_question("What is RAG?")
Advanced CLI Usage
| Command | Description |
|---|---|
ragdebug up |
Start all 4 containers (mongo, postgres, redis, platform) |
ragdebug up --build |
Force rebuild the platform image |
ragdebug down |
Stop all containers |
ragdebug status |
Show container status + API health check |
ragdebug logs |
Stream container logs |
Documentation
For full documentation on Prompts, Evaluations, and more, check the UI dashboard after running ragdebug up.
Metadata
Release files for ragdebug 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| ragdebug-0.1.1.tar.gz | 11.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ragdebug-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 25.8 kB
Release files / ragdebug-0.1.1.tar.gz
| Download URL | ragdebug-0.1.1.tar.gz |
|---|---|
| Size | 11.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
67ab064f4fd27973ccf76c6fb6748e5eb54e659d2d40f203865a20490c12a12e
|
|
BLAKE2b-256 checksum How to use checksums |
2482a60a286f43b54d7fe55312933f96e24fde3457a798c723668044252a31ee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.8
|
Release files / ragdebug-0.1.1-py3-none-any.whl
| Download URL | ragdebug-0.1.1-py3-none-any.whl |
|---|---|
| Size | 14.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
101492a6c3aead82928b8d9348933fd8594bd3bff947dc33d564e2f76115cf85
|
|
BLAKE2b-256 checksum How to use checksums |
e0712636473c492bc5ad2c83328c502dff3ba926b443ed6425cd319c12889194
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.8
|
Security for ragdebug 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.