generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 88
Open
Labels
enhancementNew feature or requestNew feature or requesttoolsRelated to agentcore toolsRelated to agentcore tools
Description
Description
The Browser Proxy feature launched GA on February 10, 2026, and the underlying StartBrowserSession Boto3 API fully supports the proxyConfiguration parameter. However, the bedrock-agentcore SDK (v1.3.1) does not expose this parameter in browser_session() or BrowserClient.start().
Customers who want to use proxy configuration through the high-level SDK are forced to drop down to raw Boto3 calls, bypassing the SDK's session lifecycle management, WebSocket header generation, and live view URL generation.
Expected behavior
from bedrock_agentcore.tools.browser_client import browser_session
proxy_config = {
"proxies": [
{
"externalProxy": {
"server": "proxy.example.com",
"port": 8080,
"domainPatterns": [".example.com", ".internal.corp"],
"credentials": {
"basicAuth": {
"secretArn": "arn:aws:secretsmanager:us-east-1:123456789012:secret:proxy-creds"
}
}
}
}
],
"bypass": {
"domainPatterns": [".amazonaws.com", "169.254.169.254"]
}
}
with browser_session("us-east-1", proxy_configuration=proxy_config) as client:
ws_url, headers = client.generate_ws_headers()
# ... use proxied sessionCurrent behavior
browser_session() accepts only region, viewport, and identifier. There is no way to pass proxy configuration through the SDK.
Proposed changes
- Add
proxy_configuration: Optional[Dict] = Noneparameter toBrowserClient.start(), passing it asproxyConfigurationto the Boto3start_browser_sessioncall - Add
proxy_configuration: Optional[Dict] = Noneparameter tobrowser_session(), forwarding it toBrowserClient.start() - Add TypedDict definitions for the proxy configuration structure (improves developer experience with IDE autocomplete)
- Bump minimum
boto3/botocoreto>=1.42.54(the version that addedproxyConfigurationto thebedrock-agentcoreservice model)
SDK version
bedrock-agentcore v1.3.1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesttoolsRelated to agentcore toolsRelated to agentcore tools