AI Cloud Architect

Embed a live AI browser agent in your React app with Amazon Bedrock AgentCore

AWSHow-to by Sundar Raghavan, Saurav Das and Radhe ShyamAWS Artificial Intelligence Blog

This post walks you through three steps: starting a session and generating the Live View URL, rendering the stream in your React application, and wiring up an AI agent that drives the browser while your users watch. At the end, you will have a working sample application you can clone and run.

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

AI: Summary

What it is

AgentCore's BrowserLiveView React component embeds a live video stream of an agent's cloud browser session, so users can watch the agent act.

Who it is for

React developers building agent features on Bedrock AgentCore who need users or supervisors to watch browser actions.

Key points

  • Needs only a presigned URL from the server; the DCV stream goes directly from AgentCore to the user's browser.
  • remoteWidth and remoteHeight must match the viewport set at session start, or the view crops or shows black bars.
  • The sample agent uses the Bedrock Converse API with Claude, but the Live View step does not depend on any model.
  • The sample is for local development and demos; production needs auth, HTTPS, CORS limits and rate limiting.

Timeline

Posts about Amazon Bedrock AgentCore Browser, oldest first.

  1. New featureAmazon Bedrock AgentCore Browser now supports custom browser extensions · AWS · Announcement
  2. New featureAmazon Bedrock AgentCore Browser now supports browser profiles · AWS · Announcement
  3. New featureAmazon Bedrock AgentCore Browser now supports proxy configuration · AWS · Announcement
  4. New featureCustomize AI agent browsing with proxies, profiles, and extensions in Amazon Bedrock AgentCore Browser · AWS · Announcement
  5. Update to an existing featureAmazon Bedrock AgentCore adds support for Chrome policies and custom root CA · AWS · Announcement
  6. Update to an existing featureAmazon Bedrock AgentCore Browser adds OS-level interaction capabilities · AWS · Announcement
  7. This postEmbed a live AI browser agent in your React app with Amazon Bedrock AgentCore
  8. New featureIntroducing OS Level Actions in Amazon Bedrock AgentCore Browser · AWS · Announcement
  9. How-toControl where your AI agents can browse with Chrome enterprise policies on Amazon Bedrock AgentCore · AWS · How-to
Show all 12 posts
  1. PreviewAmazon Bedrock AgentCore Browser now reduces CAPTCHAs with Web Bot Auth (Preview) · AWS · AnnouncementAlso published by AWS Artificial Intelligence Blog
  2. How-toAgentic QA automation using Amazon Bedrock AgentCore Browser and Amazon Nova Act · AWS · How-to
  3. How-toAI agent-driven browser automation for enterprise workflow management · AWS · How-to
  4. New featureAmazon Bedrock AgentCore Browser now supports custom browser extensions · AWS · Announcement
  5. New featureAmazon Bedrock AgentCore Browser now supports browser profiles · AWS · Announcement
  6. New featureAmazon Bedrock AgentCore Browser now supports proxy configuration · AWS · Announcement
  7. New featureCustomize AI agent browsing with proxies, profiles, and extensions in Amazon Bedrock AgentCore Browser · AWS · Announcement
  8. Update to an existing featureAmazon Bedrock AgentCore adds support for Chrome policies and custom root CA · AWS · Announcement
  9. Update to an existing featureAmazon Bedrock AgentCore Browser adds OS-level interaction capabilities · AWS · Announcement
  10. This postEmbed a live AI browser agent in your React app with Amazon Bedrock AgentCore
  11. New featureIntroducing OS Level Actions in Amazon Bedrock AgentCore Browser · AWS · Announcement
  12. How-toControl where your AI agents can browse with Chrome enterprise policies on Amazon Bedrock AgentCore · AWS · How-to