Deep-dive into Amazon Bedrock AgentCore platform design, service selection, deployment, and production operations. This skill should be used when the user asks to "design an AgentCore architecture", "deploy agents on AgentCore", "configure AgentCore Runtime", "set up AgentCore Memory", "use AgentCore Gateway", "configure AgentCore Identity", "set up AgentCore Policy", "plan agent observability", "evaluate agent quality", "move agent PoC to production", or mentions AgentCore, AgentCore Runtime, AgentCore Memory, AgentCore Gateway, AgentCore Identity, AgentCore Policy, AgentCore Evaluations, AgentCore Code Interpreter, AgentCore Browser, A2A protocol, or multi-agent orchestration on AWS.
Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.
Quelldateien prüfen
Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.
Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.
Ein direkter Befehl überspringt den Prüf-Prompt. Prüfen Sie die Quelle, bevor Sie ihn ausführen.
Deep-dive into Amazon Bedrock AgentCore platform design, service selection, deployment, and production operations. This skill should be used when the user asks to "design an AgentCore architecture", "deploy agents on AgentCore", "configure AgentCore Runtime", "set up AgentCore Memory", "use AgentCore Gateway", "configure AgentCore Identity", "set up AgentCore Policy", "plan agent observability", "evaluate agent quality", "move agent PoC to production", or mentions AgentCore, AgentCore Runtime, AgentCore Memory, AgentCore Gateway, AgentCore Identity, AgentCore Policy, AgentCore Evaluations, AgentCore Code Interpreter, AgentCore Browser, A2A protocol, or multi-agent orchestration on AWS.
Specialist guidance for Amazon Bedrock AgentCore. Covers the full platform: Runtime, Memory, Gateway, Identity, Policy, Code Interpreter, Browser, Observability, and Evaluations. Framework-agnostic and model-agnostic.
Process
Identify the agent workload: purpose, framework (Strands, LangGraph, custom), model requirements, tool integrations, latency/duration needs
Use the awsknowledge MCP tools (mcp__plugin_aws-dev-toolkit_awsknowledge__aws___search_documentation, mcp__plugin_aws-dev-toolkit_awsknowledge__aws___read_documentation, mcp__plugin_aws-dev-toolkit_awsknowledge__aws___recommend) to verify current AgentCore quotas, regional availability, and API changes
Select the appropriate AgentCore services for the workload (not every agent needs every service)
Design the deployment topology: Runtime config, memory strategy, tool connectivity, identity model
Runtime — every production agent needs managed hosting
Observability — instrument from day one, not after the first incident
Add Based on Workload
Memory — when agents need conversation continuity or personalization
Gateway — when agents call external APIs or Lambda functions (most agents)
Identity — when agents access third-party services requiring OAuth or API keys
Policy — when you need deterministic guardrails on tool usage (compliance, financial, PII)
Add for Specialized Capabilities
Code Interpreter — data analysis agents, code generation agents
Browser — web scraping, form-filling, UI testing agents
Evaluations — continuous quality monitoring (should be added before production)
Runtime
AgentCore Runtime is a serverless, purpose-built hosting environment for AI agents.
Key Capabilities
Framework-agnostic: Strands Agents, LangGraph, custom Python, any framework
Model-agnostic: any foundation model (Bedrock, self-hosted, third-party)
Session isolation: each user session runs in its own execution context
Supports real-time conversations (<1s latency) through to 8-hour async workloads
Bidirectional streaming (WebSocket) for natural conversations
Consumption-based pricing: CPU + memory billed per-second (1-second minimum)
A2A (Agent-to-Agent) protocol support for cross-framework multi-agent systems
Development vs Production Deployment
Development and testing: Use the AgentCore CLI or Starter Toolkit for fast iteration — scaffolding, local dev, quick deploys, and testing.
Production: Define all AgentCore resources in IaC (CDK, Terraform, CloudFormation, or SAM). CLI-created resources are useful for prototyping but should not be the source of truth for production infrastructure. The Starter Toolkit's CDK templates are a solid starting point for production IaC.
Starter Toolkit (reference IaC): Full-stack CDK template with auth, frontend, and all services pre-wired — fork and customize for production
CDK / Terraform / SAM (production): Define resources in IaC, deploy via CI/CD pipeline
Container image (manual): Docker image pushed to ECR, deployed to Runtime — full control over build
AgentCore CLI
The AgentCore CLI is the preferred tool for scaffolding, local development, and rapid iteration on agents. It abstracts away container builds, ECR pushes, and runtime configuration into simple commands. Use it for dev/test workflows — for production, define the same resources in IaC.
Install
pip install agentcore-cli
Quick Start
# Initialize a new agent project (choose framework: strands, langgraph, or custom)
agentcore init my-agent --framework strands
# Develop locallycd my-agent
agentcore dev
# Deploy to AgentCore Runtime
agentcore deploy --region us-east-1
# Test the deployed agent
agentcore invoke --agent-name my-agent --input "Hello, what can you do?"
What the CLI Handles
Project scaffolding: generates agent code, Dockerfile, requirements, and config
Local development: agentcore dev runs the agent locally with hot-reload
Build + push: builds the Docker container, pushes to ECR automatically
Deploy: creates/updates the agent runtime and endpoint
Invoke: test deployed agents from the command line
Alias management: create and update aliases for version routing
CLI vs Direct AWS CLI
Task
AgentCore CLI
AWS CLI
Create new agent
agentcore init
Manual Dockerfile + ECR + create-agent-runtime
Deploy
agentcore deploy
docker build + docker push + create/update API calls
Local dev
agentcore dev
Manual server setup
Test
agentcore invoke
aws bedrock-agentcore invoke-agent-runtime
Use the AgentCore CLI for day-to-day development and testing. For production, define the equivalent resources in CDK, Terraform, or CloudFormation — the CLI is great for proving out configurations quickly, but IaC is the source of truth for production infrastructure.
Starter Toolkit (FAST Template)
The AgentCore Starter Toolkit provides a full-stack CDK reference architecture. Use it when you need a complete production deployment with authentication, frontend, and all AgentCore services wired together.
What It Provides
CDK infrastructure: Full IaC for Runtime, Gateway, Memory, Code Interpreter, and Observability — one cdk deploy
Auth integration: Amazon Cognito authentication pre-wired for frontend → Runtime, agents → Gateway, and API Gateway
Frontend template: React app with streamable HTTP for real-time agent response streaming via CloudFront
Framework templates: Pre-built agent patterns for Strands Agents and LangGraph (framework-agnostic by design)
CI/CD patterns: GitHub Actions workflow for build, scan (Amazon Inspector), deploy, and alias management
Policy: controls what tools an agent can call and with what parameters — deterministic, Cedar-based
Guardrails: controls what content an agent can produce — LLM-based content filtering, PII detection
Use both: Policy for tool-level control, Guardrails for content-level control
Multi-Agent Architectures
Bedrock Multi-Agent Collaboration (Managed)
Supervisor agent orchestrates collaborator agents
Built-in task delegation and response aggregation
Each agent has its own tools, knowledge bases, guardrails
Best for: teams wanting managed orchestration with minimal custom code
A2A Protocol (Agent-to-Agent)
Cross-framework interoperability (Strands + LangGraph + custom agents can communicate)
Agents advertise capabilities via Agent Cards
Task-based request lifecycle with artifacts
OAuth 2.0 and IAM authentication for secure inter-agent communication
Best for: heterogeneous agent ecosystems, cross-team agent integration
Agents-as-Tools Pattern
Specialized agents registered as tools of a supervisor agent
All agents run within the same AgentCore Runtime
Supervisor selects and delegates dynamically
Best for: monolithic deployments where all agents are owned by one team
Architecture Decision
Factor
Multi-Agent Collaboration
A2A Protocol
Agents-as-Tools
Framework flexibility
Bedrock Agents only
Any framework
Any framework (same runtime)
Cross-account
No
Yes
No
Managed orchestration
Yes
No (custom)
Partial
Setup complexity
Low
Medium-High
Low
Best for
All-in on Bedrock Agents
Cross-team, heterogeneous
Single-team, single runtime
Anti-Patterns
Using TSTALIASID in production. Create proper aliases with version pinning. Test aliases have no SLA and no rollback capability.
Skipping observability until "later". Instrument from day one. Debugging an unobservable agent in production is flying blind.
God agent that does everything. If you need "and" in the agent's job description, you need two agents. Decompose into focused, composable agents.
Embedding credentials in agent instructions or environment variables. Use AgentCore Identity for OAuth/API keys, IAM roles for AWS resources.
Not setting session TTLs. Idle sessions consume compute resources. Set appropriate TTLs based on actual usage patterns.
Skipping Policy for tool access. Without Policy, any agent can call any tool with any parameters. In production, that is a compliance and security gap.
Over-engineering the PoC. Ship something that works with Runtime + Observability first. Add Memory, Gateway, Policy as needs emerge.
Ignoring token costs during development. Track token usage per agent/session from the start. Costs compound fast with multi-step reasoning loops.
Manual prompt management. Treat system prompts like code — version control, review, test. Prompt drift is a production incident waiting to happen.
Not evaluating before production. Run evals (built-in or DeepEval) in CI/CD. "It looks right" is not a quality gate.
CLI-deployed resources as production infrastructure. The AgentCore CLI is excellent for dev/test, but production resources should be defined in IaC (CDK, Terraform, CloudFormation). CLI-created resources are not version-controlled, not reproducible, and not auditable.
Pricing Model
AgentCore uses consumption-based pricing across all services — no upfront commitments.
Service
Billing Unit
Key Detail
Runtime
CPU-seconds + memory-seconds
1-second minimum, active consumption only
Memory
Storage + retrieval operations
Short-term included with Runtime sessions
Gateway
API calls + search queries + tool indexing
Per-request pricing
Identity
Token/key requests for non-AWS resources
Per-request pricing
Policy
Authorization requests + NL authoring tokens
Per-request pricing
Code Interpreter
CPU-seconds + memory-seconds
Per-session, 1-second minimum
Browser
CPU-seconds + memory-seconds
Per-session, 1-second minimum
Observability
Telemetry generated + stored + queried
Similar to CloudWatch pricing model
Evaluations
Built-in evaluator invocations + custom evals
Per-evaluation pricing
Regional Availability
AgentCore services are available across multiple regions. Core services (Runtime, Memory, Gateway, Identity) are available in: us-east-1, us-east-2, us-west-2, ap-southeast-1, ap-southeast-2, ap-south-1, ap-northeast-1, eu-west-1, eu-central-1. Check the awsknowledge MCP tools (mcp__plugin_aws-dev-toolkit_awsknowledge__aws___search_documentation, mcp__plugin_aws-dev-toolkit_awsknowledge__aws___read_documentation, mcp__plugin_aws-dev-toolkit_awsknowledge__aws___recommend) for the latest regional availability, as new regions are added regularly.
Additional Resources
Reference Files
For detailed operational guidance, consult:
references/runtime-deployment.md — Container setup, SDK decorators, CI/CD with GitHub Actions, alias management, VPC configuration, scaling patterns, and Starter Toolkit usage
references/memory-gateway-identity.md — Memory configuration (short-term and long-term), Gateway setup with Lambda/API targets, Identity OAuth2/API key patterns, and Policy Cedar examples
references/observability-evaluations.md — OpenTelemetry instrumentation, CloudWatch/X-Ray integration, Langfuse for LLM-specific analytics, DeepEval evaluation patterns, CI/CD eval integration, and production monitoring dashboards
Related Skills
bedrock — Bedrock cost modeling and model selection for agent workloads
strands-agent — Strands Agents SDK scaffolding (deploys to AgentCore Runtime)
security-review — IAM, network, and encryption audit for agent infrastructure
networking — VPC design for agents accessing private resources
observability — CloudWatch/X-Ray deep-dive for agent monitoring
step-functions — Alternative orchestration for deterministic multi-step workflows
Output Format
When recommending an AgentCore architecture, include: