AWS AgentCore
Purpose
Build and operate Amazon Bedrock AgentCore agents without stuffing runtime, harness, Memory, Gateway, Identity, Observability, Browser, Code Interpreter, policy, and environment/skills details into every prompt.
When to use
Use this skill when the user asks to:
- create or adapt an AgentCore project,
- configure local development, invocation, packaging, deployment, runtime settings, harness settings, or environment/skills paths,
- integrate AgentCore Memory, Gateway, MCP tools, Identity, Observability, Browser, or Code Interpreter,
- review AgentCore security, least privilege, policy, tool exposure, credential handling, migration, or production readiness.
Lean operating rules
- First decide whether the user has an existing agent or needs a new project. Do not scaffold over an existing codebase.
- For new projects, prefer the npm AgentCore CLI package
@aws/agentcorebecause current AWS documentation recommends it. - Treat the Python starter toolkit as legacy/migration-oriented unless the user is explicitly working inside an existing Python-based toolkit workflow.
- Separate code-based agents from config-based harnesses. Do not mix their guidance casually; current AWS docs describe the harness path as preview.
- Prefer
AwsDocumentationMcpServerwhen available viauvx awslabs.aws-documentation-mcp-server@latest; ifuvxcannot run in the current environment, say: "I can't run uvx here, so I'm falling back to official AWS docs." Then fall back to current official AWS AgentCore docs, official-source, or configured AgentCore MCP tools. - Treat CLI syntax as version-sensitive; verify exact commands with installed tooling before production use.
- Treat Gateway policy, identity propagation, skill-path loading, and observability prerequisites as first-class concerns, not afterthoughts.
- Never ask users to paste AWS credentials, client secrets, access tokens, account IDs, customer data, or private keys into chat.
- Load only the reference needed for the component in scope.
References
Load these only when needed:
- Workflow and output contract - use for end-to-end AgentCore project, local test, deployment, and output formatting.
- Safety checklist - use before deployment, tool exposure, credential integration, Memory/Gateway changes, or production recommendations.
- Official sources - use when grounding current AgentCore service behavior and docs URLs.
- Getting started - use for project/runtime/harness/local workflow details, then verify commands against current toolkit version.
- Memory integration - use only for AgentCore Memory resource and agent wiring work.
- Gateway integration - use only for Gateway, MCP tools, and tool target integration.
Response minimum
Return, at minimum:
- the AgentCore component in scope,
- evidence level and docs/tooling used,
- safest next action,
- command or code path to verify,
- security and rollback caveats.