fix(evaluation): isolate custom simulation template rendering (#714)
Render custom simulation prompt strings with a dedicated Jinja2 environment while keeping bundled templates on the existing file-backed environment. Require Jinja2 3.1.6 for custom template rendering.
Co-authored-by: gitikavj gitikavj@amazon.com
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802047560号
Bedrock AgentCore SDK
Deploy your local AI agent to Bedrock AgentCore with zero infrastructure
Documentation ◆ Samples ◆ Discord ◆ Boto3 Python SDK ◆ Runtime Python SDK
Overview
Amazon Bedrock AgentCore enables you to deploy and operate highly effective agents securely, at scale using any framework and model. With Amazon Bedrock AgentCore, developers can accelerate AI agents into production with the scale, reliability, and security, critical to real-world deployment. AgentCore provides tools and capabilities to make agents more effective and capable, purpose-built infrastructure to securely scale agents, and controls to operate trustworthy agents. Amazon Bedrock AgentCore services are composable and work with popular open-source frameworks and any model, so you don’t have to choose between open-source flexibility and enterprise-grade security and reliability.
🚀 From Local Development to Bedrock AgentCore
Validate agent input before forwarding it to an agent framework. Keep prompts typed as strings and pass only prompt text to the agent.
What you get with Bedrock AgentCore:
Amazon Bedrock AgentCore services
AG-UI Protocol Support
Deploy agents using the AG-UI protocol with zero boilerplate. A single
entrypointhandler is served over both SSE (POST /invocations) and WebSocket (/ws).Or write a custom agent with the decorator form:
Install with:
pip install "bedrock-agentcore[ag-ui]"See the AG-UI protocol contract for full details.
🏗️ Deployment
AgentCore CLI (Recommended)
The fastest way to deploy your agent to Bedrock AgentCore. Install via npm:
Then create and deploy your agent:
The CLI handles packaging, infrastructure provisioning, and deployment automatically. See the AgentCore CLI documentation for full details.
AWS CDK (Advanced)
The AgentCore CLI generates AWS CDK under the hood. For full infrastructure-as-code control, customize the generated CDK project directly or refer to the L1 CDK documentation.
A2A Protocol Support
Serve your agent using the A2A (Agent-to-Agent) protocol on Bedrock AgentCore Runtime. Works with any framework that provides an a2a-sdk
AgentExecutor(Strands, LangGraph, Google ADK, or custom).Strands currently uses a2a-sdk 0.3:
For A2A protocol v1, install the mutually exclusive
a2a-v1extra:See A2A Protocol Examples for LangGraph, Google ADK, and advanced usage.
📝 License & Contributing