autonomous-cloud-orchestration
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseAWS Bedrock AgentCore
AWS Bedrock AgentCore
AWS Bedrock AgentCore provides a complete platform for deploying and scaling AI agents with seven core services. This skill guides you through service selection, deployment patterns, and integration workflows using AWS CLI.
AWS Bedrock AgentCore 提供了一个包含七大核心服务的AI Agent部署与扩缩容平台。本技能将引导你使用AWS CLI完成服务选择、部署模式及集成工作流的操作。
AWS Documentation Requirement
AWS文档要求
CRITICAL: This skill requires AWS MCP tools for accurate, up-to-date AWS information.
重要提示:本技能需要AWS MCP工具来获取准确、最新的AWS相关信息。
Before Answering AWS Questions
回答AWS问题前的准备
-
Always verify using AWS MCP tools (if available):
- or
mcp__aws-mcp__aws___search_documentation- Search AWS docsmcp__*awsdocs*__aws___search_documentation - or
mcp__aws-mcp__aws___read_documentation- Read specific pagesmcp__*awsdocs*__aws___read_documentation - - Check service availability
mcp__aws-mcp__aws___get_regional_availability
-
If AWS MCP tools are unavailable:
- Guide user to configure AWS MCP: See AWS MCP Setup Guide
- Help determine which option fits their environment:
- Has uvx + AWS credentials → Full AWS MCP Server
- No Python/credentials → AWS Documentation MCP (no auth)
- If cannot determine → Ask user which option to use
-
务必验证(如果可用)使用AWS MCP工具:
- 或
mcp__aws-mcp__aws___search_documentation- 搜索AWS文档mcp__*awsdocs*__aws___search_documentation - 或
mcp__aws-mcp__aws___read_documentation- 阅读特定页面mcp__*awsdocs*__aws___read_documentation - - 检查服务区域可用性
mcp__aws-mcp__aws___get_regional_availability
-
如果AWS MCP工具不可用:
- 引导用户配置AWS MCP:查看AWS MCP设置指南
- 帮助用户确定适合其环境的选项:
- 拥有uvx + AWS凭证 → 完整AWS MCP服务器
- 无Python/凭证 → AWS文档MCP(无需认证)
- 若无法确定 → 询问用户使用哪个选项
When to Use This Skill
何时使用本技能
Use this skill when you need to:
- Deploy REST APIs as MCP tools for AI agents (Gateway)
- Execute agents in serverless runtime (Runtime)
- Add conversation memory to agents (Memory)
- Manage API credentials and authentication (Identity)
- Enable agents to execute code securely (Code Interpreter)
- Allow agents to interact with websites (Browser)
- Monitor and trace agent performance (Observability)
当你需要以下操作时使用本技能:
- 将REST API部署为AI Agent的MCP工具(Gateway)
- 在无服务器运行时中执行Agent(Runtime)
- 为Agent添加对话记忆(Memory)
- 管理API凭证与身份认证(Identity)
- 让Agent安全执行代码(Code Interpreter)
- 允许Agent与网站交互(Browser)
- 监控和追踪Agent性能(Observability)
Available Services
可用服务
| Service | Use For | Documentation |
|---|---|---|
| Gateway | Converting REST APIs to MCP tools | |
| Runtime | Deploying and scaling agents | |
| Memory | Managing conversation state | |
| Identity | Credential and access management | |
| Code Interpreter | Secure code execution in sandboxes | |
| Browser | Web automation and scraping | |
| Observability | Tracing and monitoring | |
| 服务 | 用途 | 文档 |
|---|---|---|
| Gateway | 将REST API转换为MCP工具 | |
| Runtime | Agent的部署与扩缩容 | |
| Memory | 管理对话状态 | |
| Identity | 凭证与访问管理 | |
| Code Interpreter | 在沙箱中安全执行代码 | |
| Browser | 网页自动化与数据爬取 | |
| Observability | 追踪与监控 | |
Common Workflows
常见工作流
Deploying a Gateway Target
部署Gateway目标
MANDATORY - READ DETAILED DOCUMENTATION: See for complete Gateway setup guide including deployment strategies, troubleshooting, and IAM configuration.
services/gateway/README.mdQuick Workflow:
- Upload OpenAPI schema to S3
- (API Key auth only) Create credential provider and store API key
- Create gateway target linking schema (and credentials if using API key)
- Verify target status and test connectivity
Note: Credential provider is only needed for API key authentication. Lambda targets use IAM roles, and MCP servers use OAuth.
必须阅读详细文档:查看获取完整的Gateway设置指南,包括部署策略、故障排查和IAM配置。
services/gateway/README.md快速工作流:
- 将OpenAPI架构上传至S3
- (仅API密钥认证) 创建凭证提供者并存储API密钥
- 创建关联架构的Gateway目标(如果使用API密钥则需关联凭证)
- 验证目标状态并测试连通性
注意:仅当使用API密钥认证时才需要凭证提供者。Lambda目标使用IAM角色,MCP服务器使用OAuth。
Managing Credentials
凭证管理
MANDATORY - READ DETAILED DOCUMENTATION: See for unified credential management patterns across all services.
cross-service/credential-management.mdQuick Workflow:
- Use Identity service credential providers for all API keys
- Link providers to gateway targets via ARN references
- Rotate credentials quarterly through credential provider updates
- Monitor usage with CloudWatch metrics
必须阅读详细文档:查看获取跨所有服务的统一凭证管理模式。
cross-service/credential-management.md快速工作流:
- 对所有API密钥使用Identity服务的凭证提供者
- 通过ARN引用将提供者关联到Gateway目标
- 每季度通过更新凭证提供者来轮换凭证
- 使用CloudWatch指标监控使用情况
Monitoring Agents
监控Agent
MANDATORY - READ DETAILED DOCUMENTATION: See for comprehensive monitoring setup.
services/observability/README.mdQuick Workflow:
- Enable observability for agents
- Configure CloudWatch dashboards for metrics
- Set up alarms for error rates and latency
- Use X-Ray for distributed tracing
必须阅读详细文档:查看获取全面的监控设置指南。
services/observability/README.md快速工作流:
- 为Agent启用可观测性
- 配置CloudWatch仪表盘以查看指标
- 为错误率和延迟设置告警
- 使用X-Ray进行分布式追踪
Service-Specific Documentation
服务专属文档
For detailed documentation on each AgentCore service, see the following resources:
如需每个AgentCore服务的详细文档,请查看以下资源:
Gateway Service
Gateway服务
- Overview:
services/gateway/README.md - Deployment Strategies:
services/gateway/deployment-strategies.md - Troubleshooting:
services/gateway/troubleshooting-guide.md
- 概述:
services/gateway/README.md - 部署策略:
services/gateway/deployment-strategies.md - 故障排查:
services/gateway/troubleshooting-guide.md
Runtime, Memory, Identity, Code Interpreter, Browser, Observability
Runtime、Memory、Identity、Code Interpreter、Browser、Observability
Each service has comprehensive documentation in its respective directory:
services/runtime/README.mdservices/memory/README.mdservices/identity/README.mdservices/code-interpreter/README.mdservices/browser/README.mdservices/observability/README.md
每个服务在其对应的目录下都有全面的文档:
services/runtime/README.mdservices/memory/README.mdservices/identity/README.mdservices/code-interpreter/README.mdservices/browser/README.mdservices/observability/README.md
Cross-Service Resources
跨服务资源
For patterns and best practices that span multiple AgentCore services:
- Credential Management: - Unified credential patterns, security practices, rotation procedures
cross-service/credential-management.md
如需跨多个AgentCore服务的模式和最佳实践:
- 凭证管理:- 统一凭证模式、安全实践、轮换流程
cross-service/credential-management.md
Additional Resources
额外资源
- AWS Documentation: Amazon Bedrock AgentCore
- API Reference: Bedrock AgentCore Control Plane API
- AWS CLI Reference: bedrock-agentcore-control commands
- AWS文档:Amazon Bedrock AgentCore
- API参考:Bedrock AgentCore Control Plane API
- AWS CLI参考:bedrock-agentcore-control commands