Oriel — AI & technology worth noticing, every day.

Build a daily dependency watcher with LangGraph and Amazon Bedrock AgentCore web search

Web page · https://aws.amazon.com/blogs/machine-learning/build-a-daily-dependency-watcher-with-langgraph-and-amazon-bedrock-agentcore-web-search

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.

First seen by Oriel on .

AI summary

The post builds a LangGraph dependency watcher using Amazon Bedrock AgentCore Web Search to find, validate, and deduplicate current security advisories, then describes running it on AgentCore runtime or sharing search through Gateway.

  • The graph researches npm, PyPI, and container base images in parallel, applying a fixed date window, domain blocklist, and four-search limit per branch.
  • Code checks that each cited URL was returned, the source names the package, any CVE or advisory ID appears in the text, and the publication date falls within the watch window.
  • In a test run, 12 searches returned 80 sources; parallel branches finished in 36 seconds versus 99 seconds sequentially, and evidence checks rejected two findings.
  • The checks do not validate severity, exploitation status, affected versions, recommended actions, or original disclosure dates; the post recommends authoritative feeds and human review before action.
  • A LangGraph store suppresses previously reported findings; scheduled jobs need a durable store, while AgentCore Gateway lets platform teams enforce shared administrator source policies.

#langgraph #amazon bedrock #web search #supply chain security

Generated by gpt-5.6-sol. Check the original for details.

Aliases

SourceExternal IDURL
AWS Machine Learning Bloge67f3a0f38da6d5f16c13370534db7c14abe780ahttps://aws.amazon.com/blogs/machine-learning/build-a-daily-dependency-watcher-with-langgraph-and-amazon-bedrock-agentcore-web-search/ Read discussion