
doc_id, canonical URL, source URL, timestamps, passages, and capture provenance you can pass to documents, provenance, and feedback.
The contract
Caesar is built around canonical documents, not disposable snippets. The search infrastructure discovers public pages, turns them into durable document records, extracts passages, ranks candidates, and returns identifiers that agents can reuse:Pipeline
1
Discover and fetch
The system finds public web documents from crawl queues, links, sitemaps, query demand, recrawl schedules, and source-quality signals. Fetch policy is polite and policy-aware: removals, robots controls, abuse controls, and suppression rules are part of the serving contract.
2
Canonicalize
Multiple URLs can point at the same underlying document. Caesar normalizes them into a canonical record, preserves the observed source URL, and tracks duplicate or alternate paths without making the agent reason about URL clutter.
3
Extract and segment
Fetched content is converted into clean document text, metadata, and passages. Passages keep section context and offsets so an agent can quote the right piece without rereading the whole page.
4
Index and rank
The serving index uses lexical, structural, freshness, source, and quality signals to retrieve candidates. Query understanding applies normalization, obvious spelling fixes, known-item style queries, and source constraints before ranking.
5
Return evidence
The API returns ranked results plus the IDs and metadata needed to read, cite, and continue.
compact protects context windows; standard adds passages; full adds capture provenance.Coverage
Caesar targets the broad public web: technical docs, blogs, forums, PDFs, product pages, news pages, reference material, and long-tail research pages. It is not a vertical-only index and does not expose different schemas for different content categories. The public docs do not publish a raw page-count number. For agents, raw URL counts are a weak proxy for usefulness; the useful unit is a fresh canonical document with readable content, passage evidence, and provenance. Use result metadata such ascanonical_url, source_url, last_seen_at, last_crawled_at, published_at, capture_time, and content_digest to judge whether a result is fresh enough for your task.
Freshness
Freshness is handled at three layers:
When freshness matters, request
response.verbosity: "full" or read the document after search. That gives the agent capture-level evidence instead of relying on a snippet alone.
Ranking
Ranking starts with candidate retrieval, then adds second-stage reranking and snippets. If reranking is unavailable, Caesar returns first-stage order with a warning instead of failing the search. Scores are response-local. Compare scores inside one response only; do not persist them as universal relevance values. The fields to persist aredoc_id, passage_id, capture_id, and search_id.
Feedback
Feedback is optional. Send it after a result clearly helped or failed a task:search_id, so it lands on the retrieval context that produced the result.
What Caesar does not hide
Caesar separates retrieval from answer synthesis./v1/search returns ranked evidence, /v1/document reads the document, and /v1/feedback records what helped. This keeps source identity, freshness, and provenance visible to the agent instead of hiding them behind a generated answer.