Coding agents
Docs for the version you actually run.
Claude Code, Cursor or OpenCode look up the documentation of the library version in your project, and are warned when a page covers an older or deprecated one.
Ristria is a search API for AI agents. Your agent asks a question about a library, an API or a product; Ristria returns the passages that answer it, from the documentation of the version it asked about, with the source and a hash of what was cited.
Status, 2026-10-20: the hosted API at api.ristria.com, the @ristria/mcp package and sign-up are not open yet. The playground on ristria.com runs today, no key needed.
For any agent that has to answer from documentation and be right about it.
Coding agents
Claude Code, Cursor or OpenCode look up the documentation of the library version in your project, and are warned when a page covers an older or deprecated one.
Agents that answer people
Every response carries the source URL, the content date and a SHA-256 hash of the passages cited, so a reviewer can see exactly what the agent read.
Research and extraction
Extract the text of a page or a PDF, or map the URLs of a site, through the same key at 1 credit per call.
Most web search tools for agents were built to find pages. An agent needs the answer, needs to know it is current, and pays for every token it reads.
version_meta on every result says whether the page matches the version you asked about, and flags deprecated docs.evidence_bundle_hash pins the exact passages cited, and each page carries its source and content date.Ristria figures: token benchmark of 30 October 2026, median, counted with the o200k_base tokenizer; blocked pages from the engine's own tests. Method on ristria.com/benchmarks ↗
Three steps, one key. Over MCP, the zero-token CLI or plain REST.
1
Sign up on ristria.com and create an API key in the dashboard. The free plan has 1,000 credits a month; one search costs 1 credit. Until sign-up opens, request early access.
2
Add Ristria as an MCP server in Claude Code, Cursor, OpenCode or Windsurf, and the agent can call it as a tool. No MCP? The zero-token CLI and the REST API take the same key.
{
"mcpServers": {
"ristria": {
"command": "npx",
"args": ["-y", "@ristria/mcp"],
"env": {
"RISTRIA_API_KEY": "rs_live_YOUR_API_KEY",
"RISTRIA_API_URL": "https://api.ristria.com"
}
}
}
}3
Send a question with a token budget. Four fields tell you what came back:
curl -X POST https://api.ristria.com/v1/search \
-H "Authorization: Bearer rs_live_YOUR_API_KEY" \
-d '{
"query": "Python 3.14 asyncio TaskGroup exception handling",
"include_highlights": true,
"max_tokens": 600
}'{
"used_tokens": 342,
"evidence_bundle_hash": "ev_9f8a4c2d1e7b03a5",
"results": [
{
"title": "Coroutines and Tasks — Python 3.14 documentation",
"url": "https://docs.python.org/3/library/asyncio-task.html",
"version_meta": {
"query_version": "3.14",
"version_match": "exact",
"is_deprecated_warning": false
},
"highlights": [
"The first time any of the tasks belonging to the group fails with an exception other than asyncio.CancelledError, the remaining tasks are cancelled."
]
}
],
"usage": { "credits_used": 1 }
}Run a live search in the playground on ristria.com, no key needed, then request early access to the API.
export RISTRIA_API_KEY="rs_live_YOUR_API_KEY"
npx -y -p @ristria/mcp ristria search \
"Python asyncio TaskGroup exception handling" \
--limit 5 --max-tokens 600