Preview web apps live as your coding agent builds them with Amazon Bedrock AgentCore runtime
Machine Learning Blog
This article demonstrates how to use Amazon Bedrock AgentCore Session endpoints to preview web applications live as a coding agent builds them in real-time.
- Session endpoints provide authenticated HTTPS access to specific ports running in an agent's isolated microVM session
- Deploy a coding agent that runs a Vite development server and edits website files with list, read, write, and edit tools
- Open a local endpoint on your machine to access the live website through your browser without manual deployment
- Watch website changes appear instantly as the agent saves files, with hot-reload WebSocket updates
- Access multiple ports in the same session; only allowed ports are reachable through the Session endpoint
- All requests are authenticated with IAM SigV4 signatures or JWT bearer tokens; the runtime refuses unauthorized access
- Complete sample code available in the agentcore-samples GitHub repository with deployment and preview scripts
Session endpoints streamline the agent development workflow by enabling immediate feedback on code changes without requiring separate deployment steps.
The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.
The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.