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

DevFeed: [Preview web apps live as your coding agent builds them with Amazon Bedrock AgentCore runtime](<https://devfeed.tech/articles/preview-web-apps-live-as-your-coding-agent-builds-them-with-amazon-bedrock-agentcore-runtime-109415.md>)

Original publisher: [Read original article](<https://aws.amazon.com/blogs/machine-learning/preview-web-apps-live-as-your-coding-agent-builds-them-with-amazon-bedrock-agentcore-runtime/>)

Author: Sundar Raghavan

Published: 2026-10-30T21:40:03Z

Content type: tutorial

Language: en

Sources: [Artificial Intelligence](<https://devfeed.tech/sources/artificial-intelligence.md>)

Topics: [Amazon Bedrock AgentCore](<https://devfeed.tech/topics/amazon-bedrock-agentcore.md>), [Web app](<https://devfeed.tech/topics/webapp.md>), [WebSocket](<https://devfeed.tech/topics/websocket.md>), [Node.js](<https://devfeed.tech/topics/node-js.md>), [browser](<https://devfeed.tech/topics/browser.md>)

Tags: [access-controls](<https://devfeed.tech/tags/access-controls.md>), [advanced-300](<https://devfeed.tech/tags/advanced-300.md>), [agentcore](<https://devfeed.tech/tags/agentcore.md>), [agentcore-runtime](<https://devfeed.tech/tags/agentcore-runtime.md>), [amazon-bedrock-agentcore](<https://devfeed.tech/tags/amazon-bedrock-agentcore.md>), [announcements](<https://devfeed.tech/tags/announcements.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [aws-cloudtrail](<https://devfeed.tech/tags/aws-cloudtrail.md>), [browser](<https://devfeed.tech/tags/browser.md>), [coding-agent](<https://devfeed.tech/tags/coding-agent.md>), [files](<https://devfeed.tech/tags/files.md>), [http](<https://devfeed.tech/tags/http.md>), [live](<https://devfeed.tech/tags/live.md>), [preview](<https://devfeed.tech/tags/preview.md>), [running](<https://devfeed.tech/tags/running.md>), [runtime](<https://devfeed.tech/tags/runtime.md>), [update](<https://devfeed.tech/tags/update.md>), [url](<https://devfeed.tech/tags/url.md>), [vite](<https://devfeed.tech/tags/vite.md>), [web-apps](<https://devfeed.tech/tags/web-apps.md>), [websocket](<https://devfeed.tech/tags/websocket.md>)

## AI overview

AgentCore Session endpoints let you preview a web app running inside the same isolated runtime session where a coding agent edits it. The walkthrough runs a Vite site on port 8090 and an agent on port 8080; an authenticated local endpoint forwards browser HTTP and WebSocket traffic to allowed session ports, while prompts reach the agent through InvokeAgentRuntime. Vite hot reload then shows saved changes without a page refresh. Session endpoint access requires SigV4 for IAM runtimes or a bearer token for JWT-authorized runtimes, and URLs work only for the session's lifetime. The sample requires a microVM runtime, configured AWS permissions and credentials, Python and Node.js dependencies, and Claude Haiku 5.5 access; it uses direct Node.js code deployment without Docker or ECR. Session endpoints support HTTP/1.1, HTTP/2, and WebSockets, but do not support inbound AWS PrivateLink. The text also notes that agent and site share a session, so role permissions should be limited and edits may not survive replacement compute without persistent storage.

## Source excerpt

Amazon Bedrock AgentCore Session endpoints give each runtime session an authenticated URL that forwards any HTTP method, path, and WebSocket connection to the ports you allow. In this post, you deploy a coding agent that keeps a Vite website running in its session, then watch the live site update in your browser as the agent edits files.