Open source, MIT licensed, self-hosted

Find the stage where your RAG breaks, and prove the fix before you ship.

RAGOps Observatory follows every answer through retrieval, ranking and generation. It names the stage that failed and what to change, blocks a version that is worse than the live one, and signs a Ready or Not ready report you can hand to a client.

Run it yourself Read the case study
pip install "ragops-observatory[server,dashboard]"
“How long do refunds take on annual plans?” help-centre assistant, v1
  1. Query14 ms
  2. Retrievetop 20, 52 ms
  3. Reranktop 3, 31 ms
  4. Prompt3 chunks
  5. Generate1.9 s

Following the request through each stage…

An illustration of what the dashboard shows for one request.

89.6%correct failing stage on 365 injected failures
73.8%correct stage on SQuAD 2.0 questions
20 / 20Ready verdict for the case-study assistant
150automated tests on Python 3.11 to 3.13

Six questions it answers, on one screen each

Tracing tools show what happened. RAGOps tells you which part broke, whether the next version is safer, and whether you can sign it off. Pick a question.

RAGOps dashboard: Which stage failed, and why?
Evidence graph: every claim in the answer, linked to the source that supports or contradicts it.

A score is not a fix. This closes the loop.

A wrong answer can come from the documents, the search, the ranking, the prompt or the model. Each step is a dashboard page, an API call and a CLI command.

  1. TraceEvery request and its steps, from the Python or TypeScript SDK, or OpenTelemetry.
  2. ScoreCorrectness, faithfulness, relevance and ranking, with a free judge or any LLM.
  3. DiagnoseThe failing stage for each bad answer, the evidence and a fix.
  4. GroupSimilar failures become one pattern instead of a hundred traces.
  5. TestQuestions from your own documents, with refusals and injection probes.
  6. GateThe candidate against the live version: Pass, Review or Block.
  7. CertifyA Ready or Not ready report with a fingerprint anyone can check.

It said Not ready twice. Both times the measurement was wrong.

A real help-centre assistant on Sarvam 105B. The first test set came from the wrong folder, and two scoring rules marked reworded answers wrong; the diagnosis pointed at both. Then the release guardian blocked one version and passed the next.

Case study pass rate, run by runWrong test folder: 14.3% correct, Not ready; Right folder: 69.6% correct, Not ready; v2, top_k 5: 95.0% correct, baseline; v1, top_k 3: 90.0% correct, Block; v3, fixed: 100.0% correct, Ready; Live traffic: 95.3% correct, 279 questions 0% 50% 100% 14.3% Wrong test folder Not ready 69.6% Right folder Not ready 95% v2, top_k 5 baseline 90% v1, top_k 3 Block 100% v3, fixed Ready 95.3% Live traffic 279 questions
$ ragops assure --dataset tests.jsonl
PASSAnswers correct and grounded20 of 20
PASSNo made-up contentfaithfulness 1.00
PASSDeclines what the documents do not cover1 of 1
PASSNo crashes or empty answers0 errors
PASSFinds the right document100%
PASSTrustworthy judgeLLM, 0 fallbacks
VERDICT: READY
sha256 fingerprint, verifiable with ragops assure --verify
Block

v2 to v1, smaller top_k. Pass rate fell from 95% to 90% on 21 questions.

Pass

v1 to v3, fixed prompt. 90% to 100%, nothing newly failing, slowest answers 6.0 s to 3.8 s.

Live

279 real questions afterwards. 95.3% correct; most of the rest asked about things no document covers, which the drift page listed as new topics.

Read the full case study

Works with the tools you already use

RAGOps is not a replacement for a tracing platform or an evaluation library. It imports traces from Langfuse and Arize Phoenix, takes OpenTelemetry spans, and can use Ragas as its judge.

The question you haveTracing platformsEvaluation librariesRAGOps
What happened in this request?YesNoYes
How good are the answers?SomeYesYes
Which stage failed, and what should change?NoNoYes
Is the new version safe to release?NoNoYes
Can I prove it to a client?NoNoYes

Choose a larger platform such as Langfuse, LangSmith or Arize Phoenix if you need tracing for many kinds of LLM apps, or a hosted service. Tools change quickly; check their current documentation.

  • LangChain
  • LlamaIndex
  • Haystack
  • LangGraph
  • OpenTelemetry
  • Langfuse import
  • Phoenix import
  • Ragas
  • Evidently
  • Presidio
  • OpenAI-compatible models
  • Ollama
  • PostgreSQL + pgvector
  • Redis
  • ClickHouse
  • Docker
  • Helm
  • GitHub Actions
  • Python SDK
  • TypeScript SDK

Run it yourself in two minutes

Python 3.11 or newer. The demo needs no API key: it loads 14 days of realistic traffic with failures to investigate and a release to judge.

pip install "ragops-observatory[server,dashboard]"
ragops demo
ragops serve
# open http://localhost:8000/ui   key: ragops-admin-dev-key
  • Your pipeline is any Python function that takes a question and returns an answer and its sources. LangChain, LlamaIndex, Haystack and LangGraph examples are included.
  • The judge is free and rule-based by default. Set RAGOPS_JUDGE=openai for any OpenAI-compatible model, or use Ollama.
  • For a team: Docker Compose and a Helm chart, PostgreSQL with pgvector, Redis, ClickHouse, OIDC sign-in, roles and an audit log.
  • Windows works. Only the optional ClickHouse engine is skipped.

Before you trust a number

  • The free judge is reproducible but misjudges reworded answers. Use an LLM judge for real scoring, and check it with ragops judge check.
  • LLM answers vary between runs. Run each version more than once, and use 50 or more questions before trusting small differences.
  • Generated questions are a first draft; read them before relying on them.
  • The assurance report is evidence, not a certificate of compliance.

Help build it

  • Found a wrong diagnosis? Open an issue with the question, the answer and the stage you expected.
  • Next on the roadmap: larger benchmarks, multi-turn and agent traces, test generation in Indian languages, and a hosted version.
  • Using it in a report or paper? Cite it with CITATION.cff.