Skip to main content
Install Caesar beside the framework packages your agent already uses:

Python tools

Pass tools into your agent or graph the same way you pass any other framework tool. Keep search and read separate: the first tool finds candidates cheaply, the second spends context only on the document the agent chooses.

TypeScript tools

Feedback

Framework tool loops usually do not call feedback automatically. After the agent uses a result, call the SDK directly with the search_id and doc_id you retained from the search response:

For agents

  • Use web_search first with compact results, then call web_fetch only for the doc_id you actually need.
  • Preserve doc_id and search_id exactly. They are opaque IDs, not strings to shorten or reconstruct.
  • Do not merge search and read into one giant tool. Two smaller tools give the agent better control over context cost.
  • If your runtime supports MCP, the remote MCP server exposes web_search and web_fetch without custom code.