What is retrieval-augmented generation?

RAG retrieves material from an external source before the model answers and puts what came back in its context. A document store may split files into chunks and search their embeddings; a structured source can query rows with SQL. Vector embeddings aren’t required for the retrieval step.

It exists because a model’s weights only hold what it was trained on, and a context window is finite, so an agent can’t carry its whole knowledge base into every call. RAG pulls the relevant slice from internal docs, past tickets, or a product catalog, and you can update that source without retraining anything.

If retrieval misses the source or brings back an old one, the model can still write a fluent answer. It has not seen the material the request needed.

sources

keep reading

More on this.

Two ways to run Tessary.

Tessary is an open-source agent reliability platform. Cloud and self-hosted run the same workflow on the OpenTelemetry traces your agent already emits.

Tessary Cloud

We host it for you. Send your first trace with nothing to deploy and no model key.

what's includedper organization
traces
10,000 per calendar month
stored trace data
1 GB
retention
30 days
model credit
$10, one-time, for triage and root-cause analysis
credit card
not required

Self-hosted Tessary

Run the open-source code on your own infrastructure with one command. Add your own model key for triage and root-cause analysis.

Self-host Tessary for me by following https://github.com/tessaryai/tessary/blob/main/setup.md

docker compose -f oci://docker.io/tessaryai/tessary:compose up -d -y