• 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 Custom Browser (JavaScript)

by

LangGraph JS agent using a custom AgentCore Browser resource with session recording to S3.

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

LangGraph Custom Browser Example

A LangGraph JavaScript agent using a custom AgentCore browser with session recording to S3.

Features

  • Custom Browser: Uses your own browser configuration instead of the AWS-managed default
  • Session Recording: Browser sessions are recorded and uploaded to S3
  • Request Signing: Reduces CAPTCHAs with signed browser requests
  • LangGraph JS: ReAct agent with custom browser tool

How It Differs from Default Browser

AspectDefault BrowserCustom Browser
Identifieraws.browser.v1Your own browser ID
RecordingNot availableS3 recording with configurable prefix
SigningNot configurableEnabled for reduced CAPTCHAs
NetworkDefaultConfigurable (PUBLIC/VPC)

Quick Start

Deploy

npm install
sls deploy

Test

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

Remove

sls remove

Related Examples

  • langgraph-browser - Default AWS-managed browser
  • strands-browser - Browser with Strands Agents framework

Contents

  • LangGraph Custom Browser Example
  • Features
  • How It Differs from Default Browser
  • Quick Start
  • Deploy
  • Test
  • Remove
  • Related Examples

Related

GuidesPluginsExamplesSlack CommunitySupport