AWS Agents
Skill 14 of 128
Use to extend an existing agent project with memory, app integration, VPC, multi-agent, migration, model, browser, code interpreter, payments, or resource removal.
4 minutes · 944 words · 11 sections
Install
npx skills add aws/agent-toolkit-for-aws --skill agents-buildnpx skills add aws/agent-toolkit-for-aws/plugin marketplace add aws/agent-toolkit-for-awsThe first command installs just this skill, by the name in its SKILL.md; the second installs the whole repository.
Add capabilities to your AgentCore agent project.
Do NOT use for:
agents-connectagents-get-startedagents-deploy$ARGUMENTS can be:
Run agentcore --version. This skill requires v0.9.0 or later.
If older: “Run agentcore update to get the latest version.”
Read agentcore/agentcore.json to understand the current project — framework, existing resources, agent configuration.
If agentcore/agentcore.json is not found:
agentcore/agentcore.json in parent directories (up to 3 levels). If found, tell them: “Found an AgentCore project at <path>. Are you working in that project?”cd into it and try again.”Do not just say “go use agents-get-started” and stop — that loses the developer’s context about what they actually wanted to do.
Important disambiguation — before routing to a build reference, check if the prompt is actually a connect or debug concern:
agents-connect, not buildagents-debug, not buildBased on the developer’s prompt and $ARGUMENTS, load the appropriate reference:
| Developer intent | Reference to load |
|---|---|
| Add memory, remember things, user preferences, cross-session | references/memory.md (opens in a new tab) |
| Call agent from app, invoke from code, streaming, SDK client, agent URL, execute shell in session | references/integrate.md (opens in a new tab) |
| VPC, private network, RDS, internal API, subnet, security group | references/vpc.md (opens in a new tab) |
| Multi-agent, orchestrator, specialist, A2A, delegation, agent handoff | references/multi-agent.md (opens in a new tab) |
| Custom headers from caller to agent, header allowlist, tenant ID/correlation ID/trace propagation | references/request-headers.md (opens in a new tab) |
| Migrate Bedrock Agent, import agent, move to AgentCore | references/migrate.md (opens in a new tab) |
| Browser tool, web navigation, form filling, scraping, Nova Act, Playwright, live view | references/browser.md (opens in a new tab) |
| Code Interpreter, execute code, sandbox, run Python/JS/TS, data analysis in agent, pandas | references/code-interpreter.md (opens in a new tab) |
| Payments, pay for x402 or MPP content, 402 Payment Required, Machine Payments Protocol, WWW-Authenticate: Payment, microtransactions, paid API/tool, payment manager/connector | references/payments.md (opens in a new tab) |
| Delete agent, remove resource, tear down, clean up, destroy, start fresh | references/teardown.md (opens in a new tab) |
| Change model, switch model, use Haiku/Sonnet/Nova, different model | Inline — see “Changing the model” below |
If the developer asks about the difference between local dev and deployed (e.g., “why does my memory work after deploy but not locally?”), load references/local-vs-deployed.md (opens in a new tab) alongside the specific workflow reference.
Read the matching file into context and follow its Process section step by step — do not summarize.
If the intent is ambiguous, ask the developer which capability they want to add.
The model is configured in app/<AgentName>/model/load.py (scaffolded by agentcore create). To change it:
app/<AgentName>/model/load.pymodel_id parameter in the BedrockModel() constructor# Default (scaffolded by CLI)
return BedrockModel(model_id="global.anthropic.claude-sonnet-4-5-20250929-v1:0")
# Switch to Haiku for cost savings
return BedrockModel(model_id="us.anthropic.claude-3-5-haiku-20241022-v1:0")
# Switch to Nova Lite
return BedrockModel(model_id="amazon.nova-lite-v1:0")Cross-region inference profile prefixes (us., eu., apac., global.) control where inference runs. Use global. for maximum throughput, or a geographic prefix for data residency. Not all models support all prefixes — check the Bedrock inference profiles docs.
After changing the model:
agents-harden, update the IAM policy to scope to the new model ARNagentcore dev to test locally, then agentcore deploy to update the deployed agentNo agentcore.json change is needed — the model is configured in code, not in the project config.
--name before generating the CLI commandWhichever reference you load, most end up producing an agentcore add <resource> --name <something> command. The CLI fails late on invalid names — you’ll see the error after walking through prompts, not before running the command. Validate up front:
| Resource | Max chars | Allowed | Starts with |
|---|---|---|---|
Agent (add agent) | 48 | alphanumeric + _ | letter |
| Memory, gateway, gateway-target, credential, evaluator, online-eval, policy, policy-engine, payment-manager, payment-connector | 48 | alphanumeric + _ | letter |
Count the characters before constructing the command. If the name is over the limit or contains hyphens, dots, or spaces, push back: “<name> is N characters / uses -, which the CLI rejects. How about <suggestion>?” Never run the command with an invalid name hoping the CLI message will be clear.
Note: agentcore create --name (the project name) has a stricter 23-char limit and does not allow underscores. That’s covered in agents-get-started; if you see the developer re-running create, flag the 23-char limit specifically.
Depends on the workflow — see the loaded reference for specific outputs.
Use to extend an existing agent project with memory, app integration, VPC, multi-agent, migration, model, browser, code interpreter, payments, or resource removal. Triggers: "add memory", "remember across sessions", "call agent from app", "invoke agent from code", "agent auth", "streaming", "VPC", "VPC connectivity", "can't reach from VPC", "multi-agent", "A2A", "A2A auth", "orchestrator not delegating", "specialist not called", "migrate Bedrock Agent", "migration issue", "change model", "browser tool", "code interpreter", "delete agent", "tear down", "agentcore remove", "cross-account memory", "add payments capability to my agent", "wire payments plugin", "integrate x402 payments with the agent I'm building", "add MPP payments", "Machine Payments Protocol". External APIs via Gateway: use agents-connect. New project: use agents-get-started. CLI/dev-server errors: use agents-debug. Runtime x402/MPP payments: use agents-pay. Migration-specific Strands vs LangGraph routes here.
The verbatim description from this skill’s front matter — the string an agent matches on to decide whether to load it.
ReadGrepGlobBashplugins/aws-agents/skills/agents-build/SKILL.mdmain, last pushed 22 September 2026.SKILL.md, not by matching a directory convention. 19 distinct layouts observed: plugins/aws-agents-for-devsecops/skills/*/SKILL.md, plugins/aws-agents/skills/*/SKILL.md, plugins/aws-core/skills/*/SKILL.md, skills/core-skills/*/SKILL.md, skills/specialized-skills/analytics-skills/*/SKILL.md, skills/specialized-skills/database-skills/*/SKILL.md, skills/specialized-skills/ec2-skills/*/SKILL.md, skills/specialized-skills/end-user-computing-skills/*/SKILL.md, skills/specialized-skills/messaging-and-streaming-skills/*/SKILL.md, skills/specialized-skills/migration-and-modernization-skills/*/SKILL.md, skills/specialized-skills/networking-and-content-delivery-skills/*/SKILL.md, skills/specialized-skills/operations-skills/*/SKILL.md, skills/specialized-skills/quantum-computing-skills/*/SKILL.md, skills/specialized-skills/resilience-skills/*/SKILL.md, skills/specialized-skills/security-and-identity-skills/*/SKILL.md, skills/specialized-skills/serverless-skills/*/SKILL.md, skills/specialized-skills/storage-skills/*/SKILL.md, skills/specialized-skills/system-table-skills/*/SKILL.md, skills/specialized-skills/web-and-mobile-development/*/SKILL.md.h1 and no skipped levels:.claude-plugin/marketplace.json by Amazon Web Services, declaring 4 plugins. It is read for editorial metadata only — never as the skill index, which is always the repository tree./aws/agent-toolkit-for-aws.md, and each skill at its own .md URL.13 files · 198 KB
Everything this skill ships beside its prose. All of it is set here, as subchapters of skill 14.
Documentation the agent loads on demand, rather than up front.
Executable code the skill can run.