Amazon Bedrock AgentCore harness adds Strands harness defaults, built-in tools, and lifecycle hooks

In one sentence

AWS upgrades Amazon Bedrock AgentCore harness with Strands harness defaults, built-in tools, and lifecycle hooks to help developers build governed, production-grade AI agents.

Key points

  • The upgrade adopts the open-source Strands harness as a managed foundation, providing a recommended model, task-oriented prompts, and automatic prompt caching without managing infrastructure.
  • It adds proactive context management and context offloading, automatically summarizing older conversation turns at a threshold to reduce token costs.
  • New built-in tools for planning, web retrieval, granular filesystem access, and subagent delegation enhance agents' capabilities during long tasks.
  • Lifecycle hooks powered by AWS Lambda, SNS, and EventBridge allow running deterministic checks or sending notifications at defined points in the agent loop.

In depth

An AI-written overview of the original article, not the article itself.

AWS has upgraded the Amazon Bedrock AgentCore harness to use its open-source Strands harness as the managed default, while introducing lifecycle hooks. According to the article, this update automatically equips agents with production-grade capabilities, built-in tools, and deterministic guardrails without requiring new resource types or infrastructure management.

Managed Defaults and Built-in Tools

Strands harness, released under an Apache 2.0 license, now powers the managed foundation of AgentCore harness inside kernel-isolated microVMs. Agents using managed defaults receive an automatically updated recommended model, a task-oriented system prompt, and automatic prompt caching for supported models such as Anthropic on Amazon Bedrock.

To handle long sessions, the harness proactively summarizes older conversation turns, which the article notes helps run at about 34% lower token cost than other leading harnesses. It also adds built-in tools for planning (todo_write), task delegation (subagent), web retrieval (web_fetch), context offloading, and granular filesystem access (read, write, edit).

Lifecycle Hooks for Governance

Lifecycle hooks allow developers to run deterministic code at four checkpoints: before_invocation, before_tool_call, after_tool_call, and after_invocation. This helps turn non-deterministic AI behavior into governed workflows, such as checking a refund against an approval limit before execution.

AWS Lambda hooks run synchronously and can allow or deny requests or tool calls, while Amazon SNS and Amazon EventBridge hooks send non-blocking notifications. Tool-call hooks also apply to subagents so delegation cannot bypass policies.

Configuration and Rollout

Explicit settings for model ID, systemPrompt, truncation, or allowedTools always take precedence over managed defaults, and existing integrations such as MCP servers continue to work. The rollout began on November 11 for both new and existing harnesses with no customer action required.

Read originalOpens aws.amazon.com

This summary was generated by AI from the original article and may contain errors; the original is authoritative. Copyright belongs to the original author.

Recent stories from this source