← Back
AWS ML Blog

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

•12 min read•
#agents#bedrock#deployment
Level:Advanced
For:AI Engineers
✦TL;DR

Amazon Bedrock AgentCore harness now integrates the open‑source Strands harness, adding default model recommendations, a task‑oriented system prompt, automatic prompt caching (initially for Anthropic models via Converse), and proactive context management. The upgrade also introduces lifecycle hooks that let developers inject deterministic checks and notifications at defined points in the agent loop, and bundles built‑in tools for planning, web retrieval, filesystem access, context offloading, and task delegation. These enhancements deliver a production‑grade managed agent that runs each session in a secure, kernel‑isolated microVM with managed compute, scaling, and high‑availability, eliminating the need to provision or operate the underlying infrastructure. Engineers can thus build more capable, safe, and cost‑effective agents without additional resource types or integration effort.

⚡ Key Takeaways

  • Automatic prompt caching is enabled for supported Anthropic models on Amazon Bedrock using Converse, reducing input processing costs.
  • Lifecycle hooks allow deterministic code execution at specific checkpoints in the agent loop for safety and governance.
  • Built‑in tools now include planning, web retrieval, filesystem access, context offloading, and task delegation to improve long‑task handling.
  • The harness provides a recommended default model that automatically evolves as new models are released.
  • Each agent session runs in a secure, kernel‑isolated microVM managed by AgentCore, handling compute, scaling, and high availability.
💡 Why It Matters

Engineers can deploy sophisticated agents faster and cheaper, leveraging managed defaults and safety hooks while offloading infrastructure concerns to Bedrock’s microVM runtime.

✅ Practical Steps

  1. Switch to the upgraded Amazon Bedrock AgentCore harness to automatically receive Strands defaults, built‑in tools, and lifecycle hooks.
  2. Define lifecycle hook functions in your agent configuration to perform deterministic checks or notifications at the desired checkpoints.

Want the full story? Read the original article.

Read on AWS ML Blog ↗

More like this

New in AWS Quick: More capable flows, an updated web experience, and agents that work together

AWS ML Blog•#agents

Three insights you may have missed from theCUBE’s coverage of the Dell Technologies New York Symposium

SiliconANGLE AI•#deployment

How Google Duplex evolved to also call businesses for you in Gemini

Google Research•#agents

Welcome Inkling 2 Mini, Cutting-edge Performance for your Local Setup

Hugging Face Blog•#llm

EXPLORE AI NEWS

Daily hand-picked stories on LLMs, RAG, agents and production AI — curated for engineers who ship.

BROWSE NEWS

GET THE WEEKLY DIGEST

Join engineers getting the Monday signal-over-noise AI breakdown. No spam, unsubscribe anytime.

LEARN AI ENGINEERING

Curated courses, research papers, repos and tutorials built for engineers leveling up in AI.

START LEARNING