AI Cloud Architect

Building web search-enabled agents with Strands and Exa

AWSHow-to by Manoj Selvakumar, Mani Khanuja, Madhu Samhitha Vangara, Ishan Goswami and Nitya SridharAWS Artificial Intelligence Blog

In this post, you will learn how to set up the Exa integration in Strands Agents, understand the two core tools it exposes, and walk through real-world use cases that show how agents use web search to complete multi-step tasks.

Read the original (opens the source's page in a new tab)

AI: Summary

What it is

Strands Agents gains an Exa integration with two tools: exa_search for semantic web search with categories and four speed modes, and exa_get_contents for full-page text from URLs.

Who it is for

Developers building AI agents on Strands that need current web information for research or fact-checking tasks.

Key points

  • Install strands-agents-tools and set EXA_API_KEY; the Exa tools are imported and passed to the Agent constructor.
  • exa_search modes: instant (~200ms), fast (~450ms), auto (~1s, recommended), deep (~3-6s).
  • Sample deep research agent runs six steps with Claude Sonnet on Amazon Bedrock and traces through AgentCore Observability.

Timeline

Posts about Strands Agents, oldest first.

  1. PreviewAnnouncing TypeScript support in Strands Agents (preview) and more · AWS · Announcement
  2. How-toCustomize agent workflows with advanced orchestration techniques using Strands Agents · AWS · How-to
  3. How-toBuilding custom model provider for Strands Agents with LLMs hosted on SageMaker AI endpoints · AWS · How-to
  4. How-toEvaluating AI agents for production: A practical guide to Strands Evals · AWS · How-to
  5. This postBuilding web search-enabled agents with Strands and Exa
  6. Customer storyHow Rescale built an AI triage agent with Strands Agents and AI-DLC · AWS · Customer story