Skip to content
Original
TutorialsAWS Machine Learning BlogFrom the source· Sundar Raghavan·· 2 hours agoPicks

Preview web apps live as your coding agent builds them with Amazon Bedrock AgentCore runtime

Image: AWS Machine Learning Blog
Who
AWS
What
publishes a walkthrough previewing live web apps built by coding agents with Amazon Bedrock AgentCore Session Endpoints
Quote
In this post, you deploy a coding agent that keeps a Vite website running in its session, then open one local page with a chat on the left and the live website on the right.

What happened

This AWS walkthrough shows how to preview a Vite website live while a coding agent edits it inside an Amazon Bedrock AgentCore runtime session. Session endpoints provide authenticated access to allowed ports, while a local endpoint adds credentials and forwards browser requests and WebSocket connections for updates without a refresh. The tutorial also demonstrates accessing a second port and explains authentication, rejected requests, and session lifetime limits.

Why it matters

Keeping the development server inside the agent session offers a reusable review workflow where authenticated browser access and WebSocket updates let developers inspect edits without deploying each change.

Read next

See the full storyAWS Shows Live Web App Previews Using Amazon Bedrock AgentCore Session Endpoints

The story so far

AWS published a walkthrough showing how to preview a Vite website while a coding agent edits it inside an Amazon Bedrock AgentCore runtime session. The setup displays a chat alongside the live website and uses Session Endpoints for authenticated access to allowed ports. A local endpoint adds credentials and forwards browser requests and WebSocket connections, allowing updates to appear without refreshing the page. Session Endpoints work with microVM runtimes, not the Instances compute type. Their URLs are reachable over public HTTPS, require credentials on every request, and remain valid only for the session’s lifetime; AWS PrivateLink does not support inbound connections. AWS positions these endpoints for building, testing, and reviewing agent-produced apps. To serve an app to users, developers must deploy it to a hosting service such as AWS Amplify Hosting.

Keep up with AI, one email a day

Model releases, price changes and compute developments, with original sources. Free, confirmed by email, and easy to unsubscribe. Read a past issue · 2026-10-30