Home icon

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.



Go to article

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.

Related articles

Sep 18
2026
The new AgentCore Runtime is now available in Amazon Bedrock AgentCore
Oct 28
2026
Amazon Bedrock AgentCore CLI version 1.0 is now available
Jul 16
2025
Amazon Bedrock AgentCore now available in preview
Oct 28
2026
Building an Agentic AI Platform on Amazon Bedrock AgentCore

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.