product updateAmazon Web Services

AWS details ambient agent pattern on Bedrock AgentCore: S3 events trigger jobs, one ask_human tool pauses for approval

TL;DR

AWS published a reference implementation for ambient agents on Amazon Bedrock AgentCore. S3 uploads or scheduled events create jobs that an agent runs, pausing for human input through a single ask_human tool. Each agent turn is capped at the 15-minute Lambda timeout.

3 min read
0

AWS has published a reference implementation for building "ambient agents" on Amazon Bedrock AgentCore. In this pattern, system events such as an S3 file upload or a scheduled trigger start an agent job, and the agent pauses for human input through a single ask_human tool. This is a sample architecture and walkthrough, not a new model or a new managed service.

How the pattern works

AWS contrasts two flows. User-initiated agents follow User → Prompt → Agent → Response. Ambient agents follow Event → Signal → Agent → [Optional human interaction] → Action. The event itself serves as the prompt, and multiple agents can run in parallel. AWS credits LangChain, among others, with articulating the ambient agent concept.

The central abstraction is the ambient signal: a configuration mapping an event source to an agent. When the event fires, the platform creates a job. One setting controls what happens next:

  • autoExecute: false (default): The job lands on the Jobs page in idle status and waits for a human to review and run it. AWS recommends this when a signal could fire on unknown input or when the agent has high-stakes tools.
  • autoExecute: true: The job is enqueued on the worker queue and runs immediately. A human is involved only if the agent calls ask_human.

What ships and what you build

The reference sample ships two event sources: Amazon S3 file uploads (by bucket and prefix) and scheduled events, which are driven by jobs carrying jobType: "scheduled" rather than by a signal. API webhooks and database changes (DynamoDB streams, Amazon RDS events) are listed as extension points. Adding one requires writing a new handler Lambda function and a corresponding form field on the Signals page.

Architecture and constraints

AgentCore Runtime hosts the agent in containers. AWS describes it as supporting long-running workloads with built-in session isolation and integration with Bedrock foundation models. The sample combines it with AWS Lambda for event processing and Amazon DynamoDB for state, which AWS calls a fully serverless platform. Deployment also involves SQS, API Gateway, CloudFront, Cognito, ECR and a React frontend.

Specific requirements from the post:

  • Turn limit: The reference implementation caps each agent turn at the Lambda 15-minute timeout. AWS says this is "more than enough headroom in practice."
  • Region: Sample defaults are wired for us-east-1.
  • Model: Access to Anthropic Claude Sonnet 4.5 in Amazon Bedrock is required. AWS says switching models is a one-line config change.
  • Tooling: AWS CDK v2 (bootstrapped), Docker, Python 3.11+ for backend Lambdas and the agent build, and Node.js 18+ for the frontend.
  • Permissions: Broad IAM, Lambda, DynamoDB, S3, SQS, API Gateway, CloudFront, Cognito, ECR and AgentCore runtime permissions. AWS suggests administrator access on a sandbox account.

The post does not disclose pricing for the sample or for AgentCore Runtime. It does not report benchmarks or latency figures, beyond saying a job can appear "within seconds" of an S3 upload. That timing is AWS's characterization, not a measured result. The excerpt available covers the signal model and the introduction of the single ask_human tool with a canonical response envelope. AWS claims this is enough to support the full range of human-in-the-loop interactions.

What this means

The pattern fills a real gap. Step Functions orchestrates deterministically but cannot reason through ambiguity, and chat agents reason but need someone to start the conversation. The sample's contribution is a concrete, deployable wiring of existing AWS event sources to an agent runtime with a pause-and-resume approval step.

Two design choices matter most for builders. First, autoExecute defaults to false, so the review-first flow is the baseline and full autonomy is opt-in. Second, collapsing all human interaction into one tool keeps the approval surface small and auditable. Teams should still test whether one envelope covers their review needs, such as multi-reviewer or time-boxed approvals.

The 15-minute turn cap is a limit of this reference implementation, not necessarily of AgentCore Runtime. Workloads that exceed it will need a different design. The dependency on Claude Sonnet 4.5 and the us-east-1 defaults also mean production use needs adaptation. Because the sample is wired to AWS services, it is not portable to other clouds.

Related Articles

product update

Zed v1.30.0-pre adds GPT-6.1 Terra support and a commit message model picker

Zed's v1.30.0-pre release adds GPT-6.1 Terra to the OpenAI provider and a model picker for AI commit message generation in the Git Panel. It also adds an Extra High thinking effort level for Gemini 4 Hydrogen and reduces GPU usage across the app.

product update

Zed v1.29.1 adds Claude Fable 5.2 for Anthropic BYOK users and a Git Panel branch mode

Zed v1.29.1 adds support for Claude Fable 5.2 for Anthropic BYOK users, plus Claude Mythos 5.2 for organizations with access. The release also adds a Git Panel branch mode, a bookmark picker, configurable Git date formats and a setting to turn off automatic agent thread titles.

product update

Replit brings Microsoft Fabric, Teams and local work to general availability; Azure publishing in early access

At Microsoft Ignite, Replit announced general availability for its Microsoft Fabric integration, local access in Replit Desktop, and a Microsoft Teams integration. Publishing apps to a company's Azure tenant is in early access, with Full BYOC planned next. Replit was also named 2026 Microsoft Partner of the Year for Startups.

product update

GitHub adds eight more GitHub-verified MCP connectors to Copilot in public preview

GitHub says you can now connect eight more services to Copilot using GitHub-verified MCP servers, also called connectors. The connectors are in public preview. The announcement names Supabase, ClickUp and Buildkite, and lists Box for searching and managing content.

Comments

Loading...