Repository navigation
v0.8.0 - AWS AgentCore Web Search
Search through your own AWS AgentCore Gateway, plus PNG screenshots on Anchor.
🚀 What's New
AWS AgentCore Web Search as a search backend (agentcore) (#35)
- Searches through your own AgentCore Gateway, set in
AGENTCORE_GATEWAY_URL. Requests are SigV4-signed with botocore's usual credential chain, for the region in the gateway's hostname. Install the newawsextra (allincludes it) - Maps
max_results(at most 25),include_domainsandexclude_domains(connector 1.2.0 or later; an older target raises rather than dropping them). Queries up to 200 characters. A date range goes throughprovider_options - AWS's terms apply: show each result's citation, and don't store results in bulk
- Setup and teardown:
docs/agentcore-setup.md
from web_router import Provider, WebRouter
response = WebRouter(Provider.AGENTCORE).search("python 3.13 release", max_results=5, include_domains=["python.org"])
print(response.provider, [result.url for result in response.results])🐛 Fixes
- Screenshots on Anchor are PNG. Anchor answered a PNG request with JPEG bytes, so
Screenshot.pngheld a JPEG,widthandheightwere wrong, and the MCP server labeled itimage/png. A capture that is not PNG is now converted with Pillow, which thebrowserextra now installs (#36) - MCP-based search backends no longer treat a reply carried only in
structuredContentas empty (#35)
Full Changelog: v0.7.0...v0.8.0