Beta · Python 3.12+ · Apache-2.0
Agent Tools
Typed, validated tools for Agent Loop agents. The first tool family makes provider-hosted web search easy to configure, limits where searches may go, and recovers the sources and citations behind an answer.
Install
pip install based-models-agentloop-tools "based-models-agentloop[anthropic]"What it does
- Add native Anthropic or OpenAI web search to an agent with one tool factory.
- Validate domain filters, location data, search limits, and provider options before a request is sent.
- Apply one allowlist or blocklist to the provider request and again to a post-response audit.
- Recover deduplicated sources and ordered citations from a transcript.
- Catch disallowed domains in results, citations, URLs, Markdown links, and answer text.
- Never reads the environment; configuration and credentials stay in your application.
- Client-side search and coding tools are next.