• Documentation
  • Pricing
© 2026 Serverless, Inc. All rights reserved.

Framework

  • Overview
  • Documentation
  • Plugins360
  • Pricing

Learn

  • Blog
  • GuidesUpdated
  • Examples240
  • Courses

Resources

  • Support
  • Security
  • Trust Center
  • Status

Community

  • Slack
  • GitHub47k
  • Forum
  • Meetups

Company

  • About
  • Careers
  • Contact
  • Partners

Legal

  • Terms of Service
  • Privacy Policy
  • Trademark
  • DMCA
Serverless, inc.

Bedrock AgentCore: LangGraph Agent with Managed Browser (JavaScript)

by

LangGraph JS agent using the AWS-managed AgentCore Browser tool for web navigation and screenshots.

  1. Bedrock AgentCore: LangGraph Agent with Managed Browser (JavaScript)

LangGraph Browser Example

A LangGraph JavaScript agent with AWS-managed browser capabilities deployed to Bedrock AgentCore.

Features

  • Browser Automation: Navigate, click, type, extract text, take screenshots
  • LangGraph JS: ReAct agent pattern with browser tools
  • Claude Sonnet 5: Powered by Amazon Bedrock
  • Minimal Configuration: Just ai: { agents: { browserAgent: {} } } in serverless.yml

Tools Available

ToolDescription
navigateNavigate to a URL
clickClick an element by CSS selector
type_textType text into an input element
get_textExtract text from the page or element
get_htmlGet HTML content of the page or element
screenshotTake a screenshot
evaluateExecute JavaScript in the page
wait_for_elementWait for an element to appear

Quick Start

Prerequisites

  • Node.js 24+
  • AWS credentials configured
  • Serverless Framework CLI

Deploy

npm install
sls deploy

Test

RUNTIME_ARN=<your-runtime-arn> node test-invoke.js

Remove

sls remove

Related Examples

  • langgraph-browser-custom - Custom browser with session recording
  • strands-browser - Browser with Strands Agents framework

Contents

  • LangGraph Browser Example
  • Features
  • Tools Available
  • Quick Start
  • Prerequisites
  • Deploy
  • Test
  • Remove
  • Related Examples

Related

GuidesPluginsExamplesSlack CommunitySupport