Skip to main content

agrag.agents.tools

Agent tools: thin wrappers calling SearchEngine with fixed Recipes.

Each tool is a LangChain-compatible callable that deepagents can register. Tools are named for what the agent is trying to find out, not for the retrieval method they use.

Modules:

  • aggregate – Deterministic arithmetic over numbers the agent has already gathered.
  • search – Discovery tools: fixed-Recipe searches over SearchEngine.
  • traversal – Entity-graph tools: resolve a named entity, then walk its relationships.

Functions:

  • make_tools – Build the agent's tool set over one SearchEngine and Ledger.