Automationscribe.com
  • Home
  • AI Scribe
  • AI Tools
  • Artificial Intelligence
  • Contact Us
No Result
View All Result
Automation Scribe
  • Home
  • AI Scribe
  • AI Tools
  • Artificial Intelligence
  • Contact Us
No Result
View All Result
Automationscribe.com
No Result
View All Result

Customise AI agent looking with proxies, profiles, and extensions in Amazon Bedrock AgentCore Browser

admin by admin
February 14, 2026
in Artificial Intelligence
0
Customise AI agent looking with proxies, profiles, and extensions in Amazon Bedrock AgentCore Browser
399
SHARES
2.3k
VIEWS
Share on FacebookShare on Twitter


AI brokers that browse the online want greater than fundamental web page navigation. Our prospects inform us they want brokers that preserve session state throughout interactions, route site visitors via company proxy infrastructure, and run with customized browser configurations. AgentCore Browser supplies a safe, remoted browser setting to your brokers to work together with internet purposes. Till now, in Agent Core Browser, every browser session began from a clean slate with default settings and direct web entry, limiting what brokers may accomplish in real-world enterprise environments.

At the moment, we’re asserting three new capabilities that deal with these necessities: proxy configuration, browser profiles, and browser extensions. Collectively, these options provide you with fine-grained management over how your AI brokers work together with the online.

These three capabilities provide you with management over how AgentCore Browser classes hook up with the web, what state they maintain, and the way they behave. Proxy configuration enables you to route browser site visitors via your individual proxy servers, offering IP stability and integration with company community infrastructure. Browser profiles persist cookies and native storage throughout classes, so brokers can resume authenticated workflows with out repeating login flows. Browser extensions load Chrome extensions into classes to customise browser habits to your use case. This submit will stroll via every functionality with configuration examples and sensible use instances that can assist you get began.

How persistent browser profiles preserve AI Brokers working easily

Clients constructing brokers for e-commerce testing, authenticated workflows, and multi-step consumer journeys want browser classes that keep in mind state. With out persistent profiles, brokers are required to re-authenticate and rebuild context initially of each session, including latency and fragility to automated workflows. Browser profiles remedy this by saving and restoring cookies and native storage between classes, so an agent that logged right into a portal yesterday can decide up the place it left off immediately.

IP stability is one other frequent requirement. Healthcare and monetary portals validate classes based mostly on supply IP deal with, and rotating AWS IP addresses trigger frequent re-authentication cycles that break long-running workflows. Proxy assist enables you to route site visitors via servers with secure egress IPs, sustaining session continuity and assembly IP allowlisting necessities. Organizations that route site visitors via company proxies want to increase this follow to AI brokers for browser classes. Proxy configuration permits entry to inner webpages and sources that require proxy-based connectivity.

Browser extensions enable customized configurations reminiscent of advert blocking, authentication helpers, or different browser-level customization. When mixed with proxy logging, these capabilities helps present entry management and audit proof that might compliance packages reminiscent of FedRAMP, HITRUST, and PCI. 

Function 1: Proxy configuration

Browser now helps routing browser site visitors via your individual exterior proxy servers. Whenever you create a browser session with proxy configuration, AgentCore configures the browser to route HTTP and HTTPS site visitors via your specified proxy servers.

The way it works

You name StartBrowserSession with a proxyConfiguration specifying your proxy server. If utilizing authentication, AgentCore retrieves proxy credentials from AWS Secrets and techniques Supervisor. The browser session begins along with your proxy configuration utilized, and browser site visitors routes via your proxy server based mostly in your area routing guidelines.

Getting began with proxies

Full these conditions earlier than continuing.

import boto3 
import json 
consumer = boto3.consumer('secretsmanager') 
consumer.create_secret( 
    Title="my-proxy-credentials", 
    SecretString=json.dumps({ 
        'username': '', 
        'password': '' 
    }) 
) 

Step 2: Create a browser session with proxy configuration 

session_client = boto3.consumer('bedrock-agentcore', region_name="") 
 
response = session_client.start_browser_session( 
    browserIdentifier="aws.browser.v1", 
    identify="my-proxy-session", 
    proxyConfiguration={ 
        "proxies": [{ 
            "externalProxy": { 
                "server": "", 
                "port": 8080, 
                "credentials": { 
                    "basicAuth": { 
                        "secretArn": "arn:aws:secretsmanager:::secret:" 
                    } 
                } 
            } 
        }] 
    } 
) 
print(f"Session ID: {response['sessionId']}")

The credentials discipline is elective for proxies with out authentication.

Area-based routing

Use domainPatterns to route particular domains via designated proxies, and bypass.domainPatterns for domains that ought to join straight:

proxyConfiguration={ 
    "proxies": [ 
        { 
            "externalProxy": { 
                "server": "corp-proxy.example.com", 
                "port": 8080, 
                "domainPatterns": [".company.com", ".internal.corp"] 
            } 
        }, 
        { 
            "externalProxy": { 
                "server": "general-proxy.instance.com", 
                "port": 8080 
            } 
        } 
    ], 
    "bypass": { 
        "domainPatterns": [".amazonaws.com"] 
    } 
}

With this configuration, requests to  and inner.corp route via the company proxy,  requests to amazonaws.com bypass all proxies, and every thing else routes via the overall proxy. These fields are simply an instance. Bypass domains can match bypass.domainPatterns to attach straight and exterior proxy could be a legitimate proxy’s domainPatterns route via that proxy (first match wins based mostly on array order). 

Routing priority

When AgentCore Browser processes an outbound request, it walks via three tiers of routing guidelines to resolve the place to ship the site visitors. It first checks the bypass listing. If the vacation spot area matches a bypass.domainPatterns entry, the request connects on to the web with out utilizing any proxy. If the area doesn’t match a bypass rule, AgentCore checks every proxy’s domainPatterns so as and routes the request via the primary proxy whose sample matches. If no proxy sample matches both, the request falls via to the default proxy, which is the proxy entry that has no domainPatterns outlined.

Check the brand new proxy function with this code instance.

Function 2: Browser profiles

Browser profiles allow you to persist and reuse session information throughout a number of browser classes, together with cookies and native storage. An agent that authenticates with an online portal in a single session can restore that state in a later session with out logging in once more. That is helpful for authenticated workflows the place re-login provides latency, e-commerce testing the place purchasing carts and kind information have to survive between classes, and multi-step consumer journeys that span a number of browser invocations.

The profile lifecycle has 4 phases. You begin by calling create_browser_profile() to create a named profile. On the finish of a session, you name save_browser_session_profile() to seize the present cookies and native storage into that profile. Whenever you begin a brand new session, you cross the profile identifier within the profileConfiguration parameter of start_browser_session(), which restores the saved state into the brand new browser. Whenever you not want the profile, you name delete_browser_profile() to wash it up.

The next instance exhibits an agent that provides gadgets to a purchasing cart in a single session and verifies they persist in a subsequent session.

Full these conditions earlier than continuing.

import boto3 

control_client = boto3.consumer('bedrock-agentcore-control', region_name="") # substitute by your area 

session_client = boto3.consumer('bedrock-agentcore', region_name="") # substitute by your area  
 
# Create a browser profile 
profile = control_client.create_browser_profile(identify="ecommerce_profile") 
profile_id = profile['profileId'] 
 
# Session 1: Add gadgets to cart 
session1 = session_client.start_browser_session( 
    browserIdentifier=”aws.browser.v1”, 
    identify="shopping-session-1" 
) 
# ... agent navigates and provides gadgets to cart ... 
 
# Save session state to profile 
session_client.save_browser_session_profile( 
    sessionId=session1['sessionId'], 
    browserIdentifier=”aws.browser.v1”, 
    profileIdentifier=profile_id 
) 
session_client.stop_browser_session(sessionId=session1['sessionId'], browserIdentifier="aws.browser.v1") 
 
# Session 2: Resume with saved profile 
session2 = session_client.start_browser_session( 
    browserIdentifier=”aws.browser.v1”, 
    identify="shopping-session-2", 
    profileConfiguration={"profileIdentifier": profile_id} 
) 
# Cart gadgets from Session 1 at the moment are accessible 

Check the brand new profile function with this code instance.

Function 3: Browser extensions

Browser extensions allow you to load Chrome extensions into AgentCore Browser classes to customise how the browser behaves. You package deal extensions as ZIP information, add them to Amazon Easy Storage Service (Amazon S3), and reference them when beginning a browser session. This supplies entry to performance accessible via the Chrome extension API, from proxy routing and advert blocking to authentication helpers and content material modification. For instance, you may inject authentication tokens for inner purposes, take away adverts, and monitor scripts that intrude with agent navigation, or modify web page content material to enhance how brokers work together with a website.

Your extension ought to comply with the usual Chromium extension format and cling to Chromium extension pointers.

Full these conditions earlier than continuing.

  1. Add the extension to Amazon S3:
    # Add extension to S3 
    
    import boto3 
    s3 = boto3.consumer('s3') 
    s3.upload_file( 
        'my-extension.zip', 
        'amzn-s3-demo-bucket-extensions', 
        'extensions/my-extension.zip' 
    ) 

  2. Then, begin a session with the extension, pointing to the Amazon S3 bucket the place you’ve uploaded the zip file:
    import boto3 
    area = "" # substitute by your area 
    consumer = boto3.consumer('bedrock-agentcore', region_name=area) 
    
    response = consumer.start_browser_session( 
        browserIdentifier="aws.browser.v1", 
        identify="my-session-with-extensions", 
        sessionTimeoutSeconds=1800, 
        viewPort={ 
            'top': 1080, 
            'width': 1920 
        }, 
        extensions=[ 
            { 
                "location": { 
                    "s3": { 
                        "bucket": "amzn-s3-demo-bucket-extensions", 
                        "prefix": "extensions/my-extension.zip" 
                    } 
                } 
            }, 
            { 
                "location": { 
                    "s3": { 
                        "bucket": "amzn-s3-demo-bucket-extensions", 
                        "prefix": "extensions/another-extension.zip", 
                        "versionId": "abc123"  # Optional - for versioned S3 buckets 
                    } 
                } 
            } 
        ] 
    ) 
     
    print(f"Session ID: {response['sessionId']}") 
    print(f"Standing: {response['status']}") 
    print(f"Automation Stream: {response['streams']['automationStream']['streamEndpoint']}") 

Check the brand new extensions function with this code instance.

Conclusion

Proxy configuration, browser profiles, and browser extensions give AgentCore Browser the proxy routing, session persistence, and extensibility controls that prospects have to deploy AI brokers that browse the online in manufacturing. You’ll be able to route site visitors via your company proxy infrastructure, preserve session continuity throughout interactions, and customise browser habits with extensions, all whereas maintaining credentials safe in AWS Secrets and techniques Supervisor. Clients can carry e-commerce context and data amongst classes, create your individual extension and take a look at it in a safe setting earlier than launch, and, additionally, have browser connecting into your community via proxies. 

To get began, see the tutorials within the Amazon Bedrock AgentCore samples repository and the Amazon Bedrock AgentCore Browser documentation.  For extra details about pricing, go to Amazon Bedrock AgentCore Pricing. 


Concerning the Authors

Joshua Samuel

Joshua Samuel is a Senior AI/ML Specialist Options Architect at AWS who accelerates enterprise transformation via AI/ML, and generative AI options, based mostly in Melbourne, Australia. A passionate disrupter, he focuses on agentic AI and coding strategies – Something that makes builders quicker and happier. Outdoors work, he tinkers with dwelling automation and AI coding tasks, and enjoys life together with his spouse, youngsters and canine.

Evandro Franco

Evandro Franco is a Sr. Information Scientist engaged on Amazon Net Companies. He’s a part of the World GTM group that helps AWS prospects overcome enterprise challenges associated to AI/ML on prime of AWS, primarily on Amazon Bedrock AgentCore and Strands Brokers. He has greater than 18 years of expertise working with know-how, from software program improvement, infrastructure, serverless, to machine studying. In his free time, Evandro enjoys enjoying together with his son, primarily constructing some humorous Lego bricks.

Kosti Vasilakakis

Kosti Vasilakakis is a Principal PM at AWS on the Agentic AI group, the place he has led the design and improvement of a number of Bedrock AgentCore companies from the bottom up, together with Runtime, Browser, Code Interpreter, and Identification. He beforehand labored on Amazon SageMaker since its early days, launching AI/ML capabilities now utilized by 1000’s of corporations worldwide. Earlier in his profession, Kosti was an information scientist. Outdoors of labor, he builds private productiveness automations, performs tennis, and enjoys life together with his spouse and youngsters.

Yan Marim

Yan Marim is a Sr. GenAI Specialist Options Architect at Amazon Net Companies, based mostly in Brazil. As a part of the LATAM Specialist group, he guides prospects via their generative AI adoption journey, specializing in Amazon Bedrock and agentic AI options. In his free time, Yan enjoys spending high quality time together with his spouse and canine, and watching soccer video games.

Kevin Orellana

Kevin Orellana is a Software program Improvement Engineer at Amazon Net Companies on the Bedrock AgentCore group, based mostly in Seattle. He builds and operates core infrastructure powering agentic AI capabilities, together with Browser, Code Interpreter, and Runtime. Earlier in his profession, Kevin labored on the Bedrock inference group internet hosting frontier fashions. In his free time, he enjoys mountaineering together with his Goldendoodle, experimenting with multi-agent simulations, and dealing towards constructing a private AI assistant that speaks English, Spanish, and Mandarin.

Tags: AgentAgentCoreAmazonBedrockbrowserbrowsingCustomizeextensionsprofilesproxies
Previous Post

The Evolving Position of the ML Engineer

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Popular News

  • Greatest practices for Amazon SageMaker HyperPod activity governance

    Greatest practices for Amazon SageMaker HyperPod activity governance

    405 shares
    Share 162 Tweet 101
  • Speed up edge AI improvement with SiMa.ai Edgematic with a seamless AWS integration

    403 shares
    Share 161 Tweet 101
  • Unlocking Japanese LLMs with AWS Trainium: Innovators Showcase from the AWS LLM Growth Assist Program

    403 shares
    Share 161 Tweet 101
  • Optimizing Mixtral 8x7B on Amazon SageMaker with AWS Inferentia2

    403 shares
    Share 161 Tweet 101
  • The Good-Sufficient Fact | In direction of Knowledge Science

    403 shares
    Share 161 Tweet 101

About Us

Automation Scribe is your go-to site for easy-to-understand Artificial Intelligence (AI) articles. Discover insights on AI tools, AI Scribe, and more. Stay updated with the latest advancements in AI technology. Dive into the world of automation with simplified explanations and informative content. Visit us today!

Category

  • AI Scribe
  • AI Tools
  • Artificial Intelligence

Recent Posts

  • Customise AI agent looking with proxies, profiles, and extensions in Amazon Bedrock AgentCore Browser
  • The Evolving Position of the ML Engineer
  • Construct long-running MCP servers on Amazon Bedrock AgentCore with Strands Brokers integration
  • Home
  • Contact Us
  • Disclaimer
  • Privacy Policy
  • Terms & Conditions

© 2024 automationscribe.com. All rights reserved.

No Result
View All Result
  • Home
  • AI Scribe
  • AI Tools
  • Artificial Intelligence
  • Contact Us

© 2024 automationscribe.com. All rights reserved.