What's the difference between tool calling and RAG?

Tool calling is the model deciding, mid-response, to fetch something or take an action; RAG is a fixed step that retrieves documents before the model starts answering at all, whether or not the question actually needs them.

In tool calling, the model sees the tool definitions and chooses whether to call one, which one, and with what arguments; nothing happens unless the model asks for it. In a standard RAG pipeline, retrieval runs on every request, chunks come back from a vector index, and the model answers from whatever got retrieved without ever deciding to look something up. The two aren’t exclusive: a retrieval step can itself be exposed to the model as a tool, which turns a fixed lookup into something the model calls only when it judges the question actually needs a document search rather than live data or an action.

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