Raga AI

Catalyst – LLM Evaluation Platform

Frontend lead · evaluation, tracing & datasets2024 – 2025

Catalyst is Raga AI's platform for evaluating, tracing and improving LLM applications, built for enterprise teams with HIPAA and SOC-2 requirements. I led frontend work on the evaluation side: the trace and chat views, run comparison with code diffs, analytics for agentic applications, data connectors and organization admin.

ReactTypeScriptRedux ToolkitChart.jsPlotly.jsPrimeReactSCSS
Product walkthrough · official video by RagaAI

Introduction

Project description

RagaAI Catalyst is a platform for testing LLM applications, both before they ship and once they are live. A team brings in a dataset of prompts and responses, runs evaluation metrics such as hallucination, context relevance and response correctness over every row, and sees where the application fails and why.

Around that core sit the tools a team needs to act on what it finds: a trace viewer for debugging a single run step by step, side-by-side comparison of prompt, model and code changes, a prompt playground, custom metrics, guardrails for production, and analytics for agentic applications. It supports Q&A, chatbot, Text2SQL and agentic use cases.

Timeline
August 2024 to June 2025. I joined in the codebase's first week and worked on Catalyst for 11 months, until I moved on to lead the frontend of Canvas in July 2025.
My role
Frontend engineer and the #2 contributor to the repo. I led the evaluation side of the UI: trace and chat views, run comparison, agentic analytics, data connectors, background jobs and organization admin. I built from the product designer's Figma files, against the backend team's APIs.
Team
Four frontend engineers and a product designer, working with Raga AI's backend team.
Background
Testing an LLM application is not like testing ordinary software. The same prompt can return a different answer each time, there is rarely one correct output, and a failure can come from the prompt, the retrieved context, the model, or a tool call several steps deep. Without a tool, that means scoring outputs by hand in spreadsheets and reading raw JSON logs. Catalyst had to turn all of this into something an engineer could debug and a manager could make a release decision from.
471
Commits — #2 contributor across the team
15
Analytics charts for agentic applications
11
Months on the frontend, starting in the codebase's first week
GitHub Insights for the Catalyst repo: commits over time, with sachin-ragaai as the #2 contributor at 471 commits to main
Screenshot of the private repo's GitHub Insights, all time · teammates' names hidden

Why my commits drop after May 2025: Raga AI started a new product, Canvas, and I moved over to build it. Catalyst was stable by then, and the team took it forward.

01The problem

Three questions every LLM team asks

Every team that brings an LLM application to Catalyst is trying to answer the same three questions. The frontend's job was to make each one quick to answer, for whoever is asking it.

Is it good enough to ship?

A score for every metric on every row, checked against a pass threshold, plus the averages and pass rates a manager needs to make the call.

Why did this one fail?

The full record of a single run: every LLM call, retrieval and tool call, with its input, output, timing and cost.

Did my change make it better?

Two or more runs of the same dataset side by side, after a change to the prompt, the model or the code.

02How it works

From a dataset to a decision

Work in Catalyst is organized into projects, one per application. Every project runs the same loop.

  1. Bring in data

    Upload a CSV, JSON or JSONL file, import logged inferences from production, connect a BigQuery table, send traces from the open-source SDK or the API, or generate synthetic data.

  2. Evaluate

    Pick metrics, set a pass threshold for each, and run them over the dataset as a background job.

  3. Read the results

    A table with a colored score for every row and metric, an analysis tab with averages and pass rates, and an embedding view that groups similar rows so clusters of failures stand out.

  4. Debug

    Open any row to see its full trace or, for a chatbot, the whole conversation.

  5. Iterate

    Change the prompt in the playground, run the evaluation again, and compare the new run with the old one.

  6. Protect production

    Deploy guardrails that check inputs and outputs while the application is live.

Catalyst's projects page with four project cards: Travel_Agent, Ecommerce-Chatbot, Financial_Research and Text_to_SQL
Projects, one per application: agentic, Q&A, chatbot or Text2SQL
Catalyst's datasets page with options to upload a file, import from logs or use a demo dataset, above four dataset cards
Datasets: upload a file, import from logs, or start from a demo
Catalyst's evaluation table for a Text2SQL dataset, with red and green score chips for three SQL metrics on each row
Evaluation: a score for every row and metric, colored against its threshold
Catalyst's analysis tab with a bar chart of pass rates and a table of average score and pass rate per metric
Analysis: averages and pass rates for each metric
Catalyst's embedding view: a scatter plot of dataset rows, with failing rows in red and passing rows in green
Embedding view: similar rows grouped, with failures in red
Catalyst's prompt playground with a prompt list, a message editor with variables, model settings, and result and evaluation panels
Playground: prompts, variables, model settings and evaluation in one place
Screens from Catalyst's in-app guided tour, using demo data

03What I built

The parts I owned

Trace view

A tree of every step in a run (LLM calls, retrievals, tool calls) beside a detail panel with each step's input, output, status and timing.

  • LangChain and LlamaIndex traces parsed into the same tree
  • Code, JSON and markdown outputs rendered in readable form, not as raw strings

Chat view

For chatbot projects, evaluation works per conversation instead of per row. Each conversation reads as a thread, with metric scores at chat level and message level.

  • User feedback (likes and dislikes) shown inline
  • Messages ordered by sequence and timestamp, so long conversations read in order

Compare & diff

Runs of the same dataset side by side, so a team can see exactly what changed after a prompt, model or code change.

  • Metric scores compared at dataset level and row by row
  • Diffs for text, JSON, markdown and the source code captured with each run

Agentic analytics

Fifteen charts for agentic applications: token usage, cost, tool latency, tool usage trends and failures, network calls, CPU and disk I/O, response time, and metric performance over time.

  • Built with Chart.js, including box plots for metric distributions
  • Charts read the same row filters as the dataset table

Data in and out

The ways data gets into Catalyst and back out again.

  • A BigQuery table as a dataset source, with import progress tracked live
  • Export of results to a file or to BigQuery
  • Extraction rules that map fields from trace JSON into dataset columns, written as a JSON Path or in Python and tested on a sample trace before saving

Jobs & re-runs

Evaluations run as background jobs. The Job Status page shows live progress, lets you cancel a job, and recovers its state after a page refresh.

  • Metric re-runs can target all rows, only new rows, or only failed rows

Organization admin & usage

Super-admin and organization settings: users and roles, blocking access, projects and project sharing.

  • A usage history of cost and tokens, by user and by project
  • Each organization's evaluation budget and how much of it has been used

Foundations

In my first weeks I set up Storybook and built the first shared components (button, card and confirm modal), along with the flows to create, edit, share and delete projects.

04Challenges

The hard parts

Evaluation data is messy, wide and expensive to produce. These are the problems that shaped how I built the UI.

Wide tables people can scan

A dataset can carry dozens of metric and metadata columns. Each score is a chip colored against its own metric's threshold, whether higher or lower is better, and long text truncates with a tooltip, so you can scan for red before reading a single number.

Deep traces that stay readable

An agent run nests LLM calls, retrievals and tool calls inside each other. The trace view keeps the tree on one side and the selected step on the other, so you never lose your place, and traces from different frameworks are parsed into the same tree.

Comparing code, not just outputs

When results change, the cause is often in the code. Catalyst stores the source files behind each run, so the compare view fetches each run's files, lines them up by path, and diffs each one against a baseline run. A file that exists in only one run shows as missing instead of quietly disappearing.

One filter for the table and the charts

People narrow a dataset down to the rows they care about before they look at analytics. The charts read the same row filters as the dataset table, so the table and the charts always describe the same rows.

Long jobs people can trust

Scoring a large dataset can take minutes. The Job Status page polls for progress, supports cancelling, and restores the right state after a refresh. Re-runs can target only new or failed rows, so fixing one metric doesn't mean paying to re-score everything.

Cost in plain sight

Every evaluation calls an LLM, and that costs money. Cost and token usage show in the playground and in each organization's usage history, next to its evaluation budget.

05Outcome

What it led to

Catalyst became Raga AI's LLM evaluation product. Today it is one of the two platforms, with Prism, behind Raga AI's agent suites for healthcare and enterprise.

For me, it was the project where I went from building screens to owning a product area. I was named Employee of the Month in November 2024, midway through this work, and in July 2025 I moved on to lead the frontend of Canvas, Raga AI's AI agent platform.

Real data is the product

Most of the work was in edge cases: missing fields, empty scores, metric errors, JSON that is almost valid. Showing 'N/A' and 'metric error' states clearly did more for trust than any new feature.

Build the summary and the detail together

The same evaluation has to work as a pass rate for a manager and as a step-by-step trace for an engineer. Building both views at once kept them consistent.

Background work is a feature

Polling, cancelling and recovering after a refresh decide whether people trust a long-running job. They deserve the same care as any screen.

Engineering notes

  • A shared component library (RagaButton, RagaInput, RagaTab and more) documented in Storybook, so screens never use raw HTML controls
  • Route-level code splitting with React.lazy and Suspense, behind an error boundary that can retry failed chunk loads
  • Team code rules: components under 200 lines, types in one central folder, styles in SCSS instead of inline, and zero ESLint warnings before merge
  • Redux Toolkit for evaluation state, PrimeReact and SCSS for the UI layer, Monaco for code editors, and react-diff-viewer for diffs

Impact

  • Trace & chat views for debugging
  • Run comparison with code diffs
  • 15 agentic analytics charts
  • HIPAA, SOC-2 compliant

Looking for a Senior Frontend Engineer who can ship platforms like this?