Build a daily dependency watcher with LangGraph and Amazon Bedrock AgentCore web search
AWS•How-to••by Sundar Raghavan and Omar Abdelwahab•AWS Artificial Intelligence Blog
The Web Search API in Amazon Bedrock AgentCore gives agents current, cited web results signed with the AWS credentials they already use. In this post, build a daily dependency watcher as a LangGraph graph that researches package ecosystems in parallel, keeps its rules in code, and checks every finding against its cited sources.
Bedrock AgentCore's Web Search API lets a LangGraph agent run a daily dependency watch, with search rules enforced in code and findings checked against cited sources.
Who it is for
Security teams running LLM agents on AWS that need current, cited web search with fixed date, domain and budget rules.
Key points
Search calls use IAM permission bedrock-agentcore:InvokeWebSearch on tool web-search.v1; no search API key is needed.
The example makes at most 12 searches per run and uses the us-east-1 Region.
Account default is 10 Web Search requests per second per Region, shared by all agents in the account.
Search through AgentCore Gateway needs two IAM grants on two different principals.
AI:A reference architecture turns public sequencing reads into a Bedrock AgentCore agent that answers plain-language questions about antimicrobial resistance genes, using Athena over Iceberg tables.
AI:AgentCore gateway now enforces customer-defined rate limits (requests, tokens, connections) per user, role, target or model, using JWT claims or IAM identity as dimension keys.
AI:A Skyflow interceptor on AgentCore Gateway de-identifies sensitive data in agent tool calls and results, and can shield documents and model calls without changing agent code.