Amazon Bedrock AgentCore Runtime Enables Live Preview of Coding Agent‑Built Web Apps
Amazon Bedrock AgentCore’s Session Endpoint feature lets a coding agent keep a Vite‑based website running inside an isolated microVM. Each agent session receives an authenticated URL that forwards HTTP and WebSocket traffic to the session’s allowed ports, allowing developers to open the app in a browser, interact with it, and see changes—such as a dark‑theme switch—appear instantly without redeployment. The session endpoint URL is returned in the InvokeAgentRuntime response header X‑Amzn‑Bedrock‑AgentCore‑Runtime‑Session‑Endpoint‑Url, and access requires IAM SigV4 signatures or a JWT bearer token. The sample demonstrates opening a local page with a chat sidebar and the live site, streaming the agent’s steps, and observing internal port handling and request filtering.