What problem does live preview solve?
Coding agents can now build working web apps, such as a dashboard or a product page, but reviewing them can be slow. Amazon Bedrock AgentCore now lets people open an app inside the agent’s own session and watch it change as files are saved. AWS describes the review loop as opening the app, using it, asking for a change and checking the result.
That loop works best when the app keeps running where the agent edits it, so each change appears in the browser within seconds. AWS explains that when an app must first be copied out and deployed elsewhere, every change waits for a deployment and the review slows to that pace.
What is AgentCore runtime?
AWS describes Amazon Bedrock AgentCore as a platform to build, connect and optimize agents at scale, with a choice of agent framework and foundation model. A foundation model is the large AI model that powers the agent. AgentCore runtime is one capability of the platform, and it runs each agent session in its own isolated microVM, a small virtual machine kept separate from other sessions.
How do session endpoints work?
Session endpoints give each session an authenticated URL. A WebSocket is a long-lived connection that lets a page receive updates without reloading. This is what lets the page update as the agent saves each file.
AWS lists several details that shape how the feature behaves:
- The owner chooses the reachable ports when creating the runtime. AWS says this takes one to five entries, each a single port or a range between 8000 and 12000, excluding reserved platform ports.
- Allowing a port does not start a server. The application must listen on that port itself, bound to all network addresses.
- The URL arrives with the session. AWS says the response to the invoke call carries it in a dedicated header, which some SDKs expose as a field named sessionEndpointUrl.
- Every request is authenticated. For runtimes using AWS Identity and Access Management, AWS says each HTTP request, HTTP/2 stream and WebSocket handshake carries a SigV4 signature, and the caller needs a specific invoke-proxy permission on the runtime and its endpoint.
AWS’s text also mentions runtimes that use inbound JSON Web Tokens for authentication, but the portion available here does not finish describing that setup.
What does the sample demonstrate?
AWS walks through deploying a coding agent that keeps a Vite website running in its session. Vite is a common development tool that serves a site locally and refreshes it as files change. The walkthrough opens one local page with a chat on the left and the live website on the right.
In the example, the user asks the agent to switch the site to a dark color theme. The agent’s steps stream into the chat, and the website changes without a refresh. AWS then examines what happens internally, including a second port in the same session and the requests the Session endpoint refuses. The complete sample and notebook sit in the agentcore-samples repository on GitHub.
How does this differ from AgentCore’s browser Live View?
AgentCore has a separate feature with a similar name. Documentation for Live View says it is powered by AWS DCV, and each browser session launches a dedicated DCV server that streams the browser interface and allows real-time interaction. That feature streams a browser the agent is operating, and the documentation describes embedding it through a React component that needs a time-limited, SigV4-presigned URL.
Session endpoints address a different case. They expose a web app running inside the agent’s session to the person’s own browser, instead of streaming a remote browser window.
What are the access and security boundaries?
The design keeps the preview tied to the session. The URL is authenticated, only the ports the owner allows are reachable, and AWS says the endpoint refuses some requests. The portion of the post available here does not list every refused request type, so the full post is the place to check exact behavior.
The AWS material also does not state pricing or regional availability for the feature. The sample is presented as a walkthrough, and nothing in it claims production readiness for a given workload.
What remains open?
The main open question is how teams will handle review of agent-built apps at larger scale, since the post focuses on one Vite site and one session. How the same pattern performs with several simultaneous sessions or heavier apps is not covered in the available text.