About

TryRAG is a free online RAG playground for teaching, learning and prototyping retrieval-augmented generation (RAG). It exists for one reason: these ideas are much easier to understand when you can watch them run on a document you know.

Why it was made

Most explanations of RAG are either diagrams with boxes and arrows or code that needs an account, an API key and an afternoon to set up. Neither lets a beginner see what actually happens to their text. Here you paste a document, ask a question and see every intermediate result: the chunks, the numbers each chunk becomes, the similarity sum, and the prompt that would be sent to a model.

The tools and what each is for

Every feature, grouped by what it is for: all tools.

The inference playgrounds

A second set of pages covers what happens after retrieval, when a model on a GPU reads the prompt and writes the answer. They are listed on the Inference page.

The guides explain the ideas behind each tool in plain language.

Who it is for

How it works

Everything runs in your browser. The core engine is compiled to WebAssembly. An optional small language model can be downloaded once to search by meaning, and you can bring your own model (BYOM), such as Ollama, Gemini or Claude, to get written answers. There is no account, and no server of ours processes your text.

What it is not

It is a place to learn and experiment with small documents. It is not a hosted RAG service, it does not store documents, and programs cannot connect to it. Token counts and costs are estimates for learning and rough planning.

Questions, corrections or suggestions are welcome: get in touch.