[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-aws-agents-deploy":3,"mdc--7wb0tz-key":35,"related-repo-aws-agents-deploy":2051,"related-org-aws-agents-deploy":2147},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":24,"repoUrl":25,"updatedAt":26,"license":27,"forks":28,"topics":29,"repo":30,"sourceUrl":33,"mdContent":34},"agents-deploy","deploy AI agents to AWS","Use when deploying your agent to AWS, or when a deploy has failed. Handles pre-flight validation, CDK\u002FIAM\u002Fquota error diagnosis, version management, rollback, and canary deployments. Triggers on: \"deploy my agent\", \"agentcore deploy\", \"deploy failed\", \"CDK error\", \"rollback\", \"canary deploy\", \"pin version\", \"redeploy\", \"deploy stuck\". Not for production hardening — use agents-harden. Not for adding capabilities before deploy — use agents-build or agents-connect. Not for VPC configuration errors — use agents-build.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"aws","AWS (Amazon)","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Faws.png",[12,16,19,22],{"name":13,"slug":14,"type":15},"Deployment","deployment","tag",{"name":17,"slug":18,"type":15},"Agents","agents",{"name":20,"slug":21,"type":15},"CI\u002FCD","ci-cd",{"name":23,"slug":8,"type":15},"AWS",1822,"https:\u002F\u002Fgithub.com\u002Faws\u002Fagent-toolkit-for-aws","2026-07-12T08:42:55.059577",null,157,[],{"repoUrl":25,"stars":24,"forks":28,"topics":31,"description":32},[],"Official, AWS-supported MCP servers, skills, and plugins to help AI agents build on AWS","https:\u002F\u002Fgithub.com\u002Faws\u002Fagent-toolkit-for-aws\u002Ftree\u002FHEAD\u002Fplugins\u002Faws-agents\u002Fskills\u002Fagents-deploy","---\nname: agents-deploy\ndescription: >\n  Use when deploying your agent to AWS, or when a deploy has failed.\n  Handles pre-flight validation, CDK\u002FIAM\u002Fquota error diagnosis, version\n  management, rollback, and canary deployments. Triggers on: \"deploy my\n  agent\", \"agentcore deploy\", \"deploy failed\", \"CDK error\", \"rollback\",\n  \"canary deploy\", \"pin version\", \"redeploy\", \"deploy stuck\".\n  Not for production hardening — use agents-harden. Not for adding\n  capabilities before deploy — use agents-build or agents-connect.\n  Not for VPC configuration errors — use agents-build.\nallowed-tools: Read Grep Glob Bash\nmetadata:\n  type: skill\n  version: \"1.0.0\"\n  author: aws-agentcore\n  requires-cli: \">=0.9.0\"\n---\n\n# deploy\n\nDeploy your AgentCore agent to AWS, or diagnose why a deploy failed.\n\n## When to use\n\n- You're ready to deploy and want to validate config first\n- `agentcore deploy` failed with an error\n- You want to preview what deploy will create without actually deploying\n- You want to deploy to a specific target (staging, production)\n- You need to roll back to a previous version, pin to a specific version, or set up canary deployments\n\n## Input\n\n`$ARGUMENTS` is optional:\n\n```\n\u002Fagents-deploy                     # interactive — pre-flight check or diagnose failure\n\u002Fagents-deploy preflight           # validate config and IAM before deploying\n\u002Fagents-deploy diagnose            # diagnose a failed deploy (paste error or read logs)\n\u002Fagents-deploy preview             # show what deploy will create without deploying\n\u002Fagents-deploy rollback            # roll back to a previous version\n```\n\n## Process\n\n### Step 0: Verify CLI version\n\nRun `agentcore --version`. This skill requires v0.9.0 or later. If the version is older, tell the developer to run `agentcore update` before proceeding.\n\n### Step 1: Determine the situation\n\nRead `agentcore\u002Fagentcore.json` and `agentcore\u002Faws-targets.json` if they exist.\n\nAsk (or infer from context):\n\n> \"Are you:\n>\n> 1. About to deploy and want to check everything first\n> 2. Dealing with a failed deploy — what error did you see?\n> 3. Needing to roll back or pin a specific version?\"\n\nIf the developer needs versioning, rollback, or canary deployment, load [`references\u002Fversioning.md`](references\u002Fversioning.md) and follow its instructions.\n\n---\n\n## Path A: Pre-flight validation\n\nRun these checks before `agentcore deploy`:\n\n### Check 1: Validate config files\n\nShow the developer this command to run:\n\n```bash\nagentcore validate\n```\n\nThis catches malformed `agentcore.json` before CDK even starts.\n\n### Check 2: Verify region alignment\n\nThe most common deploy failure is a region mismatch. Show the developer these commands to verify:\n\n```bash\n# Your configured AWS region\naws configure get region\n\n# The region in your deployment target\ncat agentcore\u002Faws-targets.json\n\n# The account you're actually authenticated as\naws sts get-caller-identity\n```\n\nThe `region` in `aws-targets.json` must match your `aws configure` default region. The `account` must match the account ID from `sts get-caller-identity`.\n\n### Check 3: Verify Bedrock model access\n\nShow the developer this command to check enabled models in their region:\n\n```bash\naws bedrock list-foundation-models --region $(aws configure get region) \\\n  --query 'modelSummaries[?modelLifecycle.status==`ACTIVE`].modelId' \\\n  --output table\n```\n\nCross-region inference profile IDs use a geographic prefix (`us.`, `eu.`, `apac.`) or `global.` to control where inference runs. The CLI scaffolds `global.` by default (e.g., `global.anthropic.claude-sonnet-4-5-20250929-v1:0`), which routes to any commercial region. Geographic prefixes keep inference within that geography (e.g., `eu.` stays in EU regions). All prefixes require model access enabled in every destination region the profile covers. Check the Bedrock docs for which regions are included in each profile prefix.\n\n### Check 4: Preview what will be deployed\n\n```bash\nagentcore deploy --dry-run\nagentcore deploy --diff\n```\n\n`--dry-run` shows what resources will be created. `--diff` shows the CDK diff against what's currently deployed.\n\n### Check 5: Verify IAM permissions\n\nShow the developer the permissions needed and this verification command:\n\n```bash\naws iam simulate-principal-policy \\\n  --policy-source-arn $(aws sts get-caller-identity --query Arn --output text) \\\n  --action-names iam:CreateRole \\\n  --resource-arns \"arn:aws:iam::*:role\u002F*BedrockAgentCore*\"\n```\n\n### Run the deploy\n\n```bash\nagentcore deploy -y          # auto-confirm (alias: agentcore dp -y)\nagentcore deploy -y -v       # verbose — shows resource-level events\nagentcore deploy --target staging -y   # deploy to a specific target\n```\n\n**Memory provisioning note:** If your project includes memory, deploy takes 2–5 minutes longer while the memory resource becomes ACTIVE. This is normal — not an error. Check status:\n\n```bash\nagentcore status --type memory\n```\n\n---\n\n## Path B: Diagnose a failed deploy\n\n### Step B1: Read the error\n\nIf the developer pasted an error, diagnose it directly. If not, read the deploy logs:\n\n```bash\n# View recent deploy logs\nls -lt agentcore\u002F.cli\u002Flogs\u002F\ncat agentcore\u002F.cli\u002Flogs\u002Fdeploy-*.log 2>\u002Fdev\u002Fnull | tail -100\n```\n\n### Step B2: Match to known failure patterns\n\n**IAM permission error:**\n\n```\nUser: arn:aws:iam::123456789012:user\u002Fdev is not authorized to perform: iam:CreateRole\n```\n\nFix: Attach the required IAM permissions (see Check 5 above). The deploying identity needs IAM write access scoped to `*BedrockAgentCore*` roles.\n\n**CDK bootstrap not run:**\n\n```\nThis stack uses assets, so the toolkit stack must be deployed to the environment\n```\n\nFix:\n\n```bash\nnpx cdk bootstrap aws:\u002F\u002F\u003CYOUR_ACCOUNT_ID>\u002F\u003CREGION>\n```\n\n**ECR authorization error:**\n\n```\nno basic auth credentials\nError response from daemon: Head \"https:\u002F\u002F\u003CYOUR_ACCOUNT_ID>.dkr.ecr.\u003CREGION>.amazonaws.com\u002F...\"\n```\n\nFix:\n\n```bash\naws ecr get-login-password --region \u003CREGION> | \\\n  docker login --username AWS --password-stdin \u003CYOUR_ACCOUNT_ID>.dkr.ecr.\u003CREGION>.amazonaws.com\n```\n\n**Model access denied during deploy:**\n\n```\nValidationException: The provided model identifier is invalid\n```\n\nFix: Enable the model in the Bedrock console → Model access. Ensure the model ID in `agentcore.json` matches an enabled model in your target region.\n\n**Region mismatch:**\n\n```\nStack ... is in region us-east-1 but the target is us-west-2\n```\n\nFix: Update `agentcore\u002Faws-targets.json` to match your `aws configure` default region, or run `aws configure set region \u003CREGION>`.\n\n**Memory stuck in CREATING:**\n\n```\nMemory resource is in CREATING state after 10 minutes\n```\n\nThis is unusual — normal provisioning takes 2–5 minutes. Check:\n\n```bash\nagentcore status --type memory --json\n```\n\nIf stuck, try removing and re-adding the memory resource.\n\n**Service quota exceeded:**\n\n```\nLimitExceededException: Account limit for AgentCore runtimes exceeded\n```\n\nFix: Request a quota increase in the AWS console → Service Quotas → Amazon Bedrock AgentCore.\n\n### Step B3: After fixing, re-run\n\n```bash\nagentcore deploy -y\n```\n\nIf the same error recurs, check `agentcore status` to see the current state of all resources:\n\n```bash\nagentcore status\nagentcore status --state pending-removal  # resources marked for deletion\n```\n\n---\n\n## Deploying to multiple targets\n\nDefine targets in `agentcore\u002Faws-targets.json`:\n\n```json\n[\n  {\n    \"name\": \"staging\",\n    \"description\": \"Staging environment\",\n    \"account\": \"123456789012\",\n    \"region\": \"us-east-1\"\n  },\n  {\n    \"name\": \"production\",\n    \"description\": \"Production environment\",\n    \"account\": \"987654321098\",\n    \"region\": \"us-west-2\"\n  }\n]\n```\n\nDeploy to a specific target:\n\n```bash\nagentcore deploy --target staging -y\nagentcore deploy --target production -y\n```\n\n## Output\n\n- Pre-flight check results with specific fixes for any issues found\n- Diagnosis of deploy failure with the specific fix\n- Deploy command to run after fixes are applied\n",{"data":36,"body":43},{"name":4,"description":6,"allowed-tools":37,"metadata":38},"Read Grep Glob Bash",{"type":39,"version":40,"author":41,"requires-cli":42},"skill","1.0.0","aws-agentcore",">=0.9.0",{"type":44,"children":45},"root",[46,54,60,67,104,110,121,133,139,146,167,173,194,199,227,244,248,254,266,272,277,304,317,323,328,435,480,486,491,594,652,658,698,717,723,728,849,855,938,949,978,981,987,993,998,1078,1084,1092,1101,1114,1122,1131,1136,1210,1218,1227,1231,1354,1362,1371,1383,1391,1400,1426,1434,1443,1448,1480,1485,1493,1502,1507,1513,1536,1549,1594,1597,1603,1614,1962,1967,2021,2027,2045],{"type":47,"tag":48,"props":49,"children":51},"element","h1",{"id":50},"deploy",[52],{"type":53,"value":50},"text",{"type":47,"tag":55,"props":56,"children":57},"p",{},[58],{"type":53,"value":59},"Deploy your AgentCore agent to AWS, or diagnose why a deploy failed.",{"type":47,"tag":61,"props":62,"children":64},"h2",{"id":63},"when-to-use",[65],{"type":53,"value":66},"When to use",{"type":47,"tag":68,"props":69,"children":70},"ul",{},[71,77,89,94,99],{"type":47,"tag":72,"props":73,"children":74},"li",{},[75],{"type":53,"value":76},"You're ready to deploy and want to validate config first",{"type":47,"tag":72,"props":78,"children":79},{},[80,87],{"type":47,"tag":81,"props":82,"children":84},"code",{"className":83},[],[85],{"type":53,"value":86},"agentcore deploy",{"type":53,"value":88}," failed with an error",{"type":47,"tag":72,"props":90,"children":91},{},[92],{"type":53,"value":93},"You want to preview what deploy will create without actually deploying",{"type":47,"tag":72,"props":95,"children":96},{},[97],{"type":53,"value":98},"You want to deploy to a specific target (staging, production)",{"type":47,"tag":72,"props":100,"children":101},{},[102],{"type":53,"value":103},"You need to roll back to a previous version, pin to a specific version, or set up canary deployments",{"type":47,"tag":61,"props":105,"children":107},{"id":106},"input",[108],{"type":53,"value":109},"Input",{"type":47,"tag":55,"props":111,"children":112},{},[113,119],{"type":47,"tag":81,"props":114,"children":116},{"className":115},[],[117],{"type":53,"value":118},"$ARGUMENTS",{"type":53,"value":120}," is optional:",{"type":47,"tag":122,"props":123,"children":127},"pre",{"className":124,"code":126,"language":53},[125],"language-text","\u002Fagents-deploy                     # interactive — pre-flight check or diagnose failure\n\u002Fagents-deploy preflight           # validate config and IAM before deploying\n\u002Fagents-deploy diagnose            # diagnose a failed deploy (paste error or read logs)\n\u002Fagents-deploy preview             # show what deploy will create without deploying\n\u002Fagents-deploy rollback            # roll back to a previous version\n",[128],{"type":47,"tag":81,"props":129,"children":131},{"__ignoreMap":130},"",[132],{"type":53,"value":126},{"type":47,"tag":61,"props":134,"children":136},{"id":135},"process",[137],{"type":53,"value":138},"Process",{"type":47,"tag":140,"props":141,"children":143},"h3",{"id":142},"step-0-verify-cli-version",[144],{"type":53,"value":145},"Step 0: Verify CLI version",{"type":47,"tag":55,"props":147,"children":148},{},[149,151,157,159,165],{"type":53,"value":150},"Run ",{"type":47,"tag":81,"props":152,"children":154},{"className":153},[],[155],{"type":53,"value":156},"agentcore --version",{"type":53,"value":158},". This skill requires v0.9.0 or later. If the version is older, tell the developer to run ",{"type":47,"tag":81,"props":160,"children":162},{"className":161},[],[163],{"type":53,"value":164},"agentcore update",{"type":53,"value":166}," before proceeding.",{"type":47,"tag":140,"props":168,"children":170},{"id":169},"step-1-determine-the-situation",[171],{"type":53,"value":172},"Step 1: Determine the situation",{"type":47,"tag":55,"props":174,"children":175},{},[176,178,184,186,192],{"type":53,"value":177},"Read ",{"type":47,"tag":81,"props":179,"children":181},{"className":180},[],[182],{"type":53,"value":183},"agentcore\u002Fagentcore.json",{"type":53,"value":185}," and ",{"type":47,"tag":81,"props":187,"children":189},{"className":188},[],[190],{"type":53,"value":191},"agentcore\u002Faws-targets.json",{"type":53,"value":193}," if they exist.",{"type":47,"tag":55,"props":195,"children":196},{},[197],{"type":53,"value":198},"Ask (or infer from context):",{"type":47,"tag":200,"props":201,"children":202},"blockquote",{},[203,208],{"type":47,"tag":55,"props":204,"children":205},{},[206],{"type":53,"value":207},"\"Are you:",{"type":47,"tag":209,"props":210,"children":211},"ol",{},[212,217,222],{"type":47,"tag":72,"props":213,"children":214},{},[215],{"type":53,"value":216},"About to deploy and want to check everything first",{"type":47,"tag":72,"props":218,"children":219},{},[220],{"type":53,"value":221},"Dealing with a failed deploy — what error did you see?",{"type":47,"tag":72,"props":223,"children":224},{},[225],{"type":53,"value":226},"Needing to roll back or pin a specific version?\"",{"type":47,"tag":55,"props":228,"children":229},{},[230,232,242],{"type":53,"value":231},"If the developer needs versioning, rollback, or canary deployment, load ",{"type":47,"tag":233,"props":234,"children":236},"a",{"href":235},"references\u002Fversioning.md",[237],{"type":47,"tag":81,"props":238,"children":240},{"className":239},[],[241],{"type":53,"value":235},{"type":53,"value":243}," and follow its instructions.",{"type":47,"tag":245,"props":246,"children":247},"hr",{},[],{"type":47,"tag":61,"props":249,"children":251},{"id":250},"path-a-pre-flight-validation",[252],{"type":53,"value":253},"Path A: Pre-flight validation",{"type":47,"tag":55,"props":255,"children":256},{},[257,259,264],{"type":53,"value":258},"Run these checks before ",{"type":47,"tag":81,"props":260,"children":262},{"className":261},[],[263],{"type":53,"value":86},{"type":53,"value":265},":",{"type":47,"tag":140,"props":267,"children":269},{"id":268},"check-1-validate-config-files",[270],{"type":53,"value":271},"Check 1: Validate config files",{"type":47,"tag":55,"props":273,"children":274},{},[275],{"type":53,"value":276},"Show the developer this command to run:",{"type":47,"tag":122,"props":278,"children":282},{"className":279,"code":280,"language":281,"meta":130,"style":130},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","agentcore validate\n","bash",[283],{"type":47,"tag":81,"props":284,"children":285},{"__ignoreMap":130},[286],{"type":47,"tag":287,"props":288,"children":291},"span",{"class":289,"line":290},"line",1,[292,298],{"type":47,"tag":287,"props":293,"children":295},{"style":294},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[296],{"type":53,"value":297},"agentcore",{"type":47,"tag":287,"props":299,"children":301},{"style":300},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[302],{"type":53,"value":303}," validate\n",{"type":47,"tag":55,"props":305,"children":306},{},[307,309,315],{"type":53,"value":308},"This catches malformed ",{"type":47,"tag":81,"props":310,"children":312},{"className":311},[],[313],{"type":53,"value":314},"agentcore.json",{"type":53,"value":316}," before CDK even starts.",{"type":47,"tag":140,"props":318,"children":320},{"id":319},"check-2-verify-region-alignment",[321],{"type":53,"value":322},"Check 2: Verify region alignment",{"type":47,"tag":55,"props":324,"children":325},{},[326],{"type":53,"value":327},"The most common deploy failure is a region mismatch. Show the developer these commands to verify:",{"type":47,"tag":122,"props":329,"children":331},{"className":279,"code":330,"language":281,"meta":130,"style":130},"# Your configured AWS region\naws configure get region\n\n# The region in your deployment target\ncat agentcore\u002Faws-targets.json\n\n# The account you're actually authenticated as\naws sts get-caller-identity\n",[332],{"type":47,"tag":81,"props":333,"children":334},{"__ignoreMap":130},[335,344,367,377,386,400,408,417],{"type":47,"tag":287,"props":336,"children":337},{"class":289,"line":290},[338],{"type":47,"tag":287,"props":339,"children":341},{"style":340},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[342],{"type":53,"value":343},"# Your configured AWS region\n",{"type":47,"tag":287,"props":345,"children":347},{"class":289,"line":346},2,[348,352,357,362],{"type":47,"tag":287,"props":349,"children":350},{"style":294},[351],{"type":53,"value":8},{"type":47,"tag":287,"props":353,"children":354},{"style":300},[355],{"type":53,"value":356}," configure",{"type":47,"tag":287,"props":358,"children":359},{"style":300},[360],{"type":53,"value":361}," get",{"type":47,"tag":287,"props":363,"children":364},{"style":300},[365],{"type":53,"value":366}," region\n",{"type":47,"tag":287,"props":368,"children":370},{"class":289,"line":369},3,[371],{"type":47,"tag":287,"props":372,"children":374},{"emptyLinePlaceholder":373},true,[375],{"type":53,"value":376},"\n",{"type":47,"tag":287,"props":378,"children":380},{"class":289,"line":379},4,[381],{"type":47,"tag":287,"props":382,"children":383},{"style":340},[384],{"type":53,"value":385},"# The region in your deployment target\n",{"type":47,"tag":287,"props":387,"children":389},{"class":289,"line":388},5,[390,395],{"type":47,"tag":287,"props":391,"children":392},{"style":294},[393],{"type":53,"value":394},"cat",{"type":47,"tag":287,"props":396,"children":397},{"style":300},[398],{"type":53,"value":399}," agentcore\u002Faws-targets.json\n",{"type":47,"tag":287,"props":401,"children":403},{"class":289,"line":402},6,[404],{"type":47,"tag":287,"props":405,"children":406},{"emptyLinePlaceholder":373},[407],{"type":53,"value":376},{"type":47,"tag":287,"props":409,"children":411},{"class":289,"line":410},7,[412],{"type":47,"tag":287,"props":413,"children":414},{"style":340},[415],{"type":53,"value":416},"# The account you're actually authenticated as\n",{"type":47,"tag":287,"props":418,"children":420},{"class":289,"line":419},8,[421,425,430],{"type":47,"tag":287,"props":422,"children":423},{"style":294},[424],{"type":53,"value":8},{"type":47,"tag":287,"props":426,"children":427},{"style":300},[428],{"type":53,"value":429}," sts",{"type":47,"tag":287,"props":431,"children":432},{"style":300},[433],{"type":53,"value":434}," get-caller-identity\n",{"type":47,"tag":55,"props":436,"children":437},{},[438,440,446,448,454,456,462,464,470,472,478],{"type":53,"value":439},"The ",{"type":47,"tag":81,"props":441,"children":443},{"className":442},[],[444],{"type":53,"value":445},"region",{"type":53,"value":447}," in ",{"type":47,"tag":81,"props":449,"children":451},{"className":450},[],[452],{"type":53,"value":453},"aws-targets.json",{"type":53,"value":455}," must match your ",{"type":47,"tag":81,"props":457,"children":459},{"className":458},[],[460],{"type":53,"value":461},"aws configure",{"type":53,"value":463}," default region. The ",{"type":47,"tag":81,"props":465,"children":467},{"className":466},[],[468],{"type":53,"value":469},"account",{"type":53,"value":471}," must match the account ID from ",{"type":47,"tag":81,"props":473,"children":475},{"className":474},[],[476],{"type":53,"value":477},"sts get-caller-identity",{"type":53,"value":479},".",{"type":47,"tag":140,"props":481,"children":483},{"id":482},"check-3-verify-bedrock-model-access",[484],{"type":53,"value":485},"Check 3: Verify Bedrock model access",{"type":47,"tag":55,"props":487,"children":488},{},[489],{"type":53,"value":490},"Show the developer this command to check enabled models in their region:",{"type":47,"tag":122,"props":492,"children":494},{"className":279,"code":493,"language":281,"meta":130,"style":130},"aws bedrock list-foundation-models --region $(aws configure get region) \\\n  --query 'modelSummaries[?modelLifecycle.status==`ACTIVE`].modelId' \\\n  --output table\n",[495],{"type":47,"tag":81,"props":496,"children":497},{"__ignoreMap":130},[498,554,581],{"type":47,"tag":287,"props":499,"children":500},{"class":289,"line":290},[501,505,510,515,520,526,530,534,538,543,548],{"type":47,"tag":287,"props":502,"children":503},{"style":294},[504],{"type":53,"value":8},{"type":47,"tag":287,"props":506,"children":507},{"style":300},[508],{"type":53,"value":509}," bedrock",{"type":47,"tag":287,"props":511,"children":512},{"style":300},[513],{"type":53,"value":514}," list-foundation-models",{"type":47,"tag":287,"props":516,"children":517},{"style":300},[518],{"type":53,"value":519}," --region",{"type":47,"tag":287,"props":521,"children":523},{"style":522},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[524],{"type":53,"value":525}," $(",{"type":47,"tag":287,"props":527,"children":528},{"style":294},[529],{"type":53,"value":8},{"type":47,"tag":287,"props":531,"children":532},{"style":300},[533],{"type":53,"value":356},{"type":47,"tag":287,"props":535,"children":536},{"style":300},[537],{"type":53,"value":361},{"type":47,"tag":287,"props":539,"children":540},{"style":300},[541],{"type":53,"value":542}," region",{"type":47,"tag":287,"props":544,"children":545},{"style":522},[546],{"type":53,"value":547},")",{"type":47,"tag":287,"props":549,"children":551},{"style":550},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[552],{"type":53,"value":553}," \\\n",{"type":47,"tag":287,"props":555,"children":556},{"class":289,"line":346},[557,562,567,572,577],{"type":47,"tag":287,"props":558,"children":559},{"style":300},[560],{"type":53,"value":561},"  --query",{"type":47,"tag":287,"props":563,"children":564},{"style":522},[565],{"type":53,"value":566}," '",{"type":47,"tag":287,"props":568,"children":569},{"style":300},[570],{"type":53,"value":571},"modelSummaries[?modelLifecycle.status==`ACTIVE`].modelId",{"type":47,"tag":287,"props":573,"children":574},{"style":522},[575],{"type":53,"value":576},"'",{"type":47,"tag":287,"props":578,"children":579},{"style":550},[580],{"type":53,"value":553},{"type":47,"tag":287,"props":582,"children":583},{"class":289,"line":369},[584,589],{"type":47,"tag":287,"props":585,"children":586},{"style":300},[587],{"type":53,"value":588},"  --output",{"type":47,"tag":287,"props":590,"children":591},{"style":300},[592],{"type":53,"value":593}," table\n",{"type":47,"tag":55,"props":595,"children":596},{},[597,599,605,607,613,614,620,622,628,630,635,637,643,645,650],{"type":53,"value":598},"Cross-region inference profile IDs use a geographic prefix (",{"type":47,"tag":81,"props":600,"children":602},{"className":601},[],[603],{"type":53,"value":604},"us.",{"type":53,"value":606},", ",{"type":47,"tag":81,"props":608,"children":610},{"className":609},[],[611],{"type":53,"value":612},"eu.",{"type":53,"value":606},{"type":47,"tag":81,"props":615,"children":617},{"className":616},[],[618],{"type":53,"value":619},"apac.",{"type":53,"value":621},") or ",{"type":47,"tag":81,"props":623,"children":625},{"className":624},[],[626],{"type":53,"value":627},"global.",{"type":53,"value":629}," to control where inference runs. The CLI scaffolds ",{"type":47,"tag":81,"props":631,"children":633},{"className":632},[],[634],{"type":53,"value":627},{"type":53,"value":636}," by default (e.g., ",{"type":47,"tag":81,"props":638,"children":640},{"className":639},[],[641],{"type":53,"value":642},"global.anthropic.claude-sonnet-4-5-20250929-v1:0",{"type":53,"value":644},"), which routes to any commercial region. Geographic prefixes keep inference within that geography (e.g., ",{"type":47,"tag":81,"props":646,"children":648},{"className":647},[],[649],{"type":53,"value":612},{"type":53,"value":651}," stays in EU regions). All prefixes require model access enabled in every destination region the profile covers. Check the Bedrock docs for which regions are included in each profile prefix.",{"type":47,"tag":140,"props":653,"children":655},{"id":654},"check-4-preview-what-will-be-deployed",[656],{"type":53,"value":657},"Check 4: Preview what will be deployed",{"type":47,"tag":122,"props":659,"children":661},{"className":279,"code":660,"language":281,"meta":130,"style":130},"agentcore deploy --dry-run\nagentcore deploy --diff\n",[662],{"type":47,"tag":81,"props":663,"children":664},{"__ignoreMap":130},[665,682],{"type":47,"tag":287,"props":666,"children":667},{"class":289,"line":290},[668,672,677],{"type":47,"tag":287,"props":669,"children":670},{"style":294},[671],{"type":53,"value":297},{"type":47,"tag":287,"props":673,"children":674},{"style":300},[675],{"type":53,"value":676}," deploy",{"type":47,"tag":287,"props":678,"children":679},{"style":300},[680],{"type":53,"value":681}," --dry-run\n",{"type":47,"tag":287,"props":683,"children":684},{"class":289,"line":346},[685,689,693],{"type":47,"tag":287,"props":686,"children":687},{"style":294},[688],{"type":53,"value":297},{"type":47,"tag":287,"props":690,"children":691},{"style":300},[692],{"type":53,"value":676},{"type":47,"tag":287,"props":694,"children":695},{"style":300},[696],{"type":53,"value":697}," --diff\n",{"type":47,"tag":55,"props":699,"children":700},{},[701,707,709,715],{"type":47,"tag":81,"props":702,"children":704},{"className":703},[],[705],{"type":53,"value":706},"--dry-run",{"type":53,"value":708}," shows what resources will be created. ",{"type":47,"tag":81,"props":710,"children":712},{"className":711},[],[713],{"type":53,"value":714},"--diff",{"type":53,"value":716}," shows the CDK diff against what's currently deployed.",{"type":47,"tag":140,"props":718,"children":720},{"id":719},"check-5-verify-iam-permissions",[721],{"type":53,"value":722},"Check 5: Verify IAM permissions",{"type":47,"tag":55,"props":724,"children":725},{},[726],{"type":53,"value":727},"Show the developer the permissions needed and this verification command:",{"type":47,"tag":122,"props":729,"children":731},{"className":279,"code":730,"language":281,"meta":130,"style":130},"aws iam simulate-principal-policy \\\n  --policy-source-arn $(aws sts get-caller-identity --query Arn --output text) \\\n  --action-names iam:CreateRole \\\n  --resource-arns \"arn:aws:iam::*:role\u002F*BedrockAgentCore*\"\n",[732],{"type":47,"tag":81,"props":733,"children":734},{"__ignoreMap":130},[735,756,809,826],{"type":47,"tag":287,"props":736,"children":737},{"class":289,"line":290},[738,742,747,752],{"type":47,"tag":287,"props":739,"children":740},{"style":294},[741],{"type":53,"value":8},{"type":47,"tag":287,"props":743,"children":744},{"style":300},[745],{"type":53,"value":746}," iam",{"type":47,"tag":287,"props":748,"children":749},{"style":300},[750],{"type":53,"value":751}," simulate-principal-policy",{"type":47,"tag":287,"props":753,"children":754},{"style":550},[755],{"type":53,"value":553},{"type":47,"tag":287,"props":757,"children":758},{"class":289,"line":346},[759,764,768,772,776,781,786,791,796,801,805],{"type":47,"tag":287,"props":760,"children":761},{"style":300},[762],{"type":53,"value":763},"  --policy-source-arn",{"type":47,"tag":287,"props":765,"children":766},{"style":522},[767],{"type":53,"value":525},{"type":47,"tag":287,"props":769,"children":770},{"style":294},[771],{"type":53,"value":8},{"type":47,"tag":287,"props":773,"children":774},{"style":300},[775],{"type":53,"value":429},{"type":47,"tag":287,"props":777,"children":778},{"style":300},[779],{"type":53,"value":780}," get-caller-identity",{"type":47,"tag":287,"props":782,"children":783},{"style":300},[784],{"type":53,"value":785}," --query",{"type":47,"tag":287,"props":787,"children":788},{"style":300},[789],{"type":53,"value":790}," Arn",{"type":47,"tag":287,"props":792,"children":793},{"style":300},[794],{"type":53,"value":795}," --output",{"type":47,"tag":287,"props":797,"children":798},{"style":300},[799],{"type":53,"value":800}," text",{"type":47,"tag":287,"props":802,"children":803},{"style":522},[804],{"type":53,"value":547},{"type":47,"tag":287,"props":806,"children":807},{"style":550},[808],{"type":53,"value":553},{"type":47,"tag":287,"props":810,"children":811},{"class":289,"line":369},[812,817,822],{"type":47,"tag":287,"props":813,"children":814},{"style":300},[815],{"type":53,"value":816},"  --action-names",{"type":47,"tag":287,"props":818,"children":819},{"style":300},[820],{"type":53,"value":821}," iam:CreateRole",{"type":47,"tag":287,"props":823,"children":824},{"style":550},[825],{"type":53,"value":553},{"type":47,"tag":287,"props":827,"children":828},{"class":289,"line":379},[829,834,839,844],{"type":47,"tag":287,"props":830,"children":831},{"style":300},[832],{"type":53,"value":833},"  --resource-arns",{"type":47,"tag":287,"props":835,"children":836},{"style":522},[837],{"type":53,"value":838}," \"",{"type":47,"tag":287,"props":840,"children":841},{"style":300},[842],{"type":53,"value":843},"arn:aws:iam::*:role\u002F*BedrockAgentCore*",{"type":47,"tag":287,"props":845,"children":846},{"style":522},[847],{"type":53,"value":848},"\"\n",{"type":47,"tag":140,"props":850,"children":852},{"id":851},"run-the-deploy",[853],{"type":53,"value":854},"Run the deploy",{"type":47,"tag":122,"props":856,"children":858},{"className":279,"code":857,"language":281,"meta":130,"style":130},"agentcore deploy -y          # auto-confirm (alias: agentcore dp -y)\nagentcore deploy -y -v       # verbose — shows resource-level events\nagentcore deploy --target staging -y   # deploy to a specific target\n",[859],{"type":47,"tag":81,"props":860,"children":861},{"__ignoreMap":130},[862,883,908],{"type":47,"tag":287,"props":863,"children":864},{"class":289,"line":290},[865,869,873,878],{"type":47,"tag":287,"props":866,"children":867},{"style":294},[868],{"type":53,"value":297},{"type":47,"tag":287,"props":870,"children":871},{"style":300},[872],{"type":53,"value":676},{"type":47,"tag":287,"props":874,"children":875},{"style":300},[876],{"type":53,"value":877}," -y",{"type":47,"tag":287,"props":879,"children":880},{"style":340},[881],{"type":53,"value":882},"          # auto-confirm (alias: agentcore dp -y)\n",{"type":47,"tag":287,"props":884,"children":885},{"class":289,"line":346},[886,890,894,898,903],{"type":47,"tag":287,"props":887,"children":888},{"style":294},[889],{"type":53,"value":297},{"type":47,"tag":287,"props":891,"children":892},{"style":300},[893],{"type":53,"value":676},{"type":47,"tag":287,"props":895,"children":896},{"style":300},[897],{"type":53,"value":877},{"type":47,"tag":287,"props":899,"children":900},{"style":300},[901],{"type":53,"value":902}," -v",{"type":47,"tag":287,"props":904,"children":905},{"style":340},[906],{"type":53,"value":907},"       # verbose — shows resource-level events\n",{"type":47,"tag":287,"props":909,"children":910},{"class":289,"line":369},[911,915,919,924,929,933],{"type":47,"tag":287,"props":912,"children":913},{"style":294},[914],{"type":53,"value":297},{"type":47,"tag":287,"props":916,"children":917},{"style":300},[918],{"type":53,"value":676},{"type":47,"tag":287,"props":920,"children":921},{"style":300},[922],{"type":53,"value":923}," --target",{"type":47,"tag":287,"props":925,"children":926},{"style":300},[927],{"type":53,"value":928}," staging",{"type":47,"tag":287,"props":930,"children":931},{"style":300},[932],{"type":53,"value":877},{"type":47,"tag":287,"props":934,"children":935},{"style":340},[936],{"type":53,"value":937},"   # deploy to a specific target\n",{"type":47,"tag":55,"props":939,"children":940},{},[941,947],{"type":47,"tag":942,"props":943,"children":944},"strong",{},[945],{"type":53,"value":946},"Memory provisioning note:",{"type":53,"value":948}," If your project includes memory, deploy takes 2–5 minutes longer while the memory resource becomes ACTIVE. This is normal — not an error. Check status:",{"type":47,"tag":122,"props":950,"children":952},{"className":279,"code":951,"language":281,"meta":130,"style":130},"agentcore status --type memory\n",[953],{"type":47,"tag":81,"props":954,"children":955},{"__ignoreMap":130},[956],{"type":47,"tag":287,"props":957,"children":958},{"class":289,"line":290},[959,963,968,973],{"type":47,"tag":287,"props":960,"children":961},{"style":294},[962],{"type":53,"value":297},{"type":47,"tag":287,"props":964,"children":965},{"style":300},[966],{"type":53,"value":967}," status",{"type":47,"tag":287,"props":969,"children":970},{"style":300},[971],{"type":53,"value":972}," --type",{"type":47,"tag":287,"props":974,"children":975},{"style":300},[976],{"type":53,"value":977}," memory\n",{"type":47,"tag":245,"props":979,"children":980},{},[],{"type":47,"tag":61,"props":982,"children":984},{"id":983},"path-b-diagnose-a-failed-deploy",[985],{"type":53,"value":986},"Path B: Diagnose a failed deploy",{"type":47,"tag":140,"props":988,"children":990},{"id":989},"step-b1-read-the-error",[991],{"type":53,"value":992},"Step B1: Read the error",{"type":47,"tag":55,"props":994,"children":995},{},[996],{"type":53,"value":997},"If the developer pasted an error, diagnose it directly. If not, read the deploy logs:",{"type":47,"tag":122,"props":999,"children":1001},{"className":279,"code":1000,"language":281,"meta":130,"style":130},"# View recent deploy logs\nls -lt agentcore\u002F.cli\u002Flogs\u002F\ncat agentcore\u002F.cli\u002Flogs\u002Fdeploy-*.log 2>\u002Fdev\u002Fnull | tail -100\n",[1002],{"type":47,"tag":81,"props":1003,"children":1004},{"__ignoreMap":130},[1005,1013,1031],{"type":47,"tag":287,"props":1006,"children":1007},{"class":289,"line":290},[1008],{"type":47,"tag":287,"props":1009,"children":1010},{"style":340},[1011],{"type":53,"value":1012},"# View recent deploy logs\n",{"type":47,"tag":287,"props":1014,"children":1015},{"class":289,"line":346},[1016,1021,1026],{"type":47,"tag":287,"props":1017,"children":1018},{"style":294},[1019],{"type":53,"value":1020},"ls",{"type":47,"tag":287,"props":1022,"children":1023},{"style":300},[1024],{"type":53,"value":1025}," -lt",{"type":47,"tag":287,"props":1027,"children":1028},{"style":300},[1029],{"type":53,"value":1030}," agentcore\u002F.cli\u002Flogs\u002F\n",{"type":47,"tag":287,"props":1032,"children":1033},{"class":289,"line":369},[1034,1038,1043,1048,1053,1058,1063,1068,1073],{"type":47,"tag":287,"props":1035,"children":1036},{"style":294},[1037],{"type":53,"value":394},{"type":47,"tag":287,"props":1039,"children":1040},{"style":300},[1041],{"type":53,"value":1042}," agentcore\u002F.cli\u002Flogs\u002Fdeploy-",{"type":47,"tag":287,"props":1044,"children":1045},{"style":550},[1046],{"type":53,"value":1047},"*",{"type":47,"tag":287,"props":1049,"children":1050},{"style":300},[1051],{"type":53,"value":1052},".log",{"type":47,"tag":287,"props":1054,"children":1055},{"style":522},[1056],{"type":53,"value":1057}," 2>",{"type":47,"tag":287,"props":1059,"children":1060},{"style":300},[1061],{"type":53,"value":1062},"\u002Fdev\u002Fnull",{"type":47,"tag":287,"props":1064,"children":1065},{"style":522},[1066],{"type":53,"value":1067}," |",{"type":47,"tag":287,"props":1069,"children":1070},{"style":294},[1071],{"type":53,"value":1072}," tail",{"type":47,"tag":287,"props":1074,"children":1075},{"style":300},[1076],{"type":53,"value":1077}," -100\n",{"type":47,"tag":140,"props":1079,"children":1081},{"id":1080},"step-b2-match-to-known-failure-patterns",[1082],{"type":53,"value":1083},"Step B2: Match to known failure patterns",{"type":47,"tag":55,"props":1085,"children":1086},{},[1087],{"type":47,"tag":942,"props":1088,"children":1089},{},[1090],{"type":53,"value":1091},"IAM permission error:",{"type":47,"tag":122,"props":1093,"children":1096},{"className":1094,"code":1095,"language":53},[125],"User: arn:aws:iam::123456789012:user\u002Fdev is not authorized to perform: iam:CreateRole\n",[1097],{"type":47,"tag":81,"props":1098,"children":1099},{"__ignoreMap":130},[1100],{"type":53,"value":1095},{"type":47,"tag":55,"props":1102,"children":1103},{},[1104,1106,1112],{"type":53,"value":1105},"Fix: Attach the required IAM permissions (see Check 5 above). The deploying identity needs IAM write access scoped to ",{"type":47,"tag":81,"props":1107,"children":1109},{"className":1108},[],[1110],{"type":53,"value":1111},"*BedrockAgentCore*",{"type":53,"value":1113}," roles.",{"type":47,"tag":55,"props":1115,"children":1116},{},[1117],{"type":47,"tag":942,"props":1118,"children":1119},{},[1120],{"type":53,"value":1121},"CDK bootstrap not run:",{"type":47,"tag":122,"props":1123,"children":1126},{"className":1124,"code":1125,"language":53},[125],"This stack uses assets, so the toolkit stack must be deployed to the environment\n",[1127],{"type":47,"tag":81,"props":1128,"children":1129},{"__ignoreMap":130},[1130],{"type":53,"value":1125},{"type":47,"tag":55,"props":1132,"children":1133},{},[1134],{"type":53,"value":1135},"Fix:",{"type":47,"tag":122,"props":1137,"children":1139},{"className":279,"code":1138,"language":281,"meta":130,"style":130},"npx cdk bootstrap aws:\u002F\u002F\u003CYOUR_ACCOUNT_ID>\u002F\u003CREGION>\n",[1140],{"type":47,"tag":81,"props":1141,"children":1142},{"__ignoreMap":130},[1143],{"type":47,"tag":287,"props":1144,"children":1145},{"class":289,"line":290},[1146,1151,1156,1161,1166,1171,1176,1181,1186,1191,1195,1200,1205],{"type":47,"tag":287,"props":1147,"children":1148},{"style":294},[1149],{"type":53,"value":1150},"npx",{"type":47,"tag":287,"props":1152,"children":1153},{"style":300},[1154],{"type":53,"value":1155}," cdk",{"type":47,"tag":287,"props":1157,"children":1158},{"style":300},[1159],{"type":53,"value":1160}," bootstrap",{"type":47,"tag":287,"props":1162,"children":1163},{"style":300},[1164],{"type":53,"value":1165}," aws:\u002F\u002F",{"type":47,"tag":287,"props":1167,"children":1168},{"style":522},[1169],{"type":53,"value":1170},"\u003C",{"type":47,"tag":287,"props":1172,"children":1173},{"style":300},[1174],{"type":53,"value":1175},"YOUR_ACCOUNT_I",{"type":47,"tag":287,"props":1177,"children":1178},{"style":550},[1179],{"type":53,"value":1180},"D",{"type":47,"tag":287,"props":1182,"children":1183},{"style":522},[1184],{"type":53,"value":1185},">",{"type":47,"tag":287,"props":1187,"children":1188},{"style":300},[1189],{"type":53,"value":1190},"\u002F",{"type":47,"tag":287,"props":1192,"children":1193},{"style":522},[1194],{"type":53,"value":1170},{"type":47,"tag":287,"props":1196,"children":1197},{"style":300},[1198],{"type":53,"value":1199},"REGIO",{"type":47,"tag":287,"props":1201,"children":1202},{"style":550},[1203],{"type":53,"value":1204},"N",{"type":47,"tag":287,"props":1206,"children":1207},{"style":522},[1208],{"type":53,"value":1209},">\n",{"type":47,"tag":55,"props":1211,"children":1212},{},[1213],{"type":47,"tag":942,"props":1214,"children":1215},{},[1216],{"type":53,"value":1217},"ECR authorization error:",{"type":47,"tag":122,"props":1219,"children":1222},{"className":1220,"code":1221,"language":53},[125],"no basic auth credentials\nError response from daemon: Head \"https:\u002F\u002F\u003CYOUR_ACCOUNT_ID>.dkr.ecr.\u003CREGION>.amazonaws.com\u002F...\"\n",[1223],{"type":47,"tag":81,"props":1224,"children":1225},{"__ignoreMap":130},[1226],{"type":53,"value":1221},{"type":47,"tag":55,"props":1228,"children":1229},{},[1230],{"type":53,"value":1135},{"type":47,"tag":122,"props":1232,"children":1234},{"className":279,"code":1233,"language":281,"meta":130,"style":130},"aws ecr get-login-password --region \u003CREGION> | \\\n  docker login --username AWS --password-stdin \u003CYOUR_ACCOUNT_ID>.dkr.ecr.\u003CREGION>.amazonaws.com\n",[1235],{"type":47,"tag":81,"props":1236,"children":1237},{"__ignoreMap":130},[1238,1284],{"type":47,"tag":287,"props":1239,"children":1240},{"class":289,"line":290},[1241,1245,1250,1255,1259,1264,1268,1272,1276,1280],{"type":47,"tag":287,"props":1242,"children":1243},{"style":294},[1244],{"type":53,"value":8},{"type":47,"tag":287,"props":1246,"children":1247},{"style":300},[1248],{"type":53,"value":1249}," ecr",{"type":47,"tag":287,"props":1251,"children":1252},{"style":300},[1253],{"type":53,"value":1254}," get-login-password",{"type":47,"tag":287,"props":1256,"children":1257},{"style":300},[1258],{"type":53,"value":519},{"type":47,"tag":287,"props":1260,"children":1261},{"style":522},[1262],{"type":53,"value":1263}," \u003C",{"type":47,"tag":287,"props":1265,"children":1266},{"style":300},[1267],{"type":53,"value":1199},{"type":47,"tag":287,"props":1269,"children":1270},{"style":550},[1271],{"type":53,"value":1204},{"type":47,"tag":287,"props":1273,"children":1274},{"style":522},[1275],{"type":53,"value":1185},{"type":47,"tag":287,"props":1277,"children":1278},{"style":522},[1279],{"type":53,"value":1067},{"type":47,"tag":287,"props":1281,"children":1282},{"style":550},[1283],{"type":53,"value":553},{"type":47,"tag":287,"props":1285,"children":1286},{"class":289,"line":346},[1287,1292,1297,1302,1307,1312,1316,1320,1324,1328,1333,1337,1341,1345,1349],{"type":47,"tag":287,"props":1288,"children":1289},{"style":294},[1290],{"type":53,"value":1291},"  docker",{"type":47,"tag":287,"props":1293,"children":1294},{"style":300},[1295],{"type":53,"value":1296}," login",{"type":47,"tag":287,"props":1298,"children":1299},{"style":300},[1300],{"type":53,"value":1301}," --username",{"type":47,"tag":287,"props":1303,"children":1304},{"style":300},[1305],{"type":53,"value":1306}," AWS",{"type":47,"tag":287,"props":1308,"children":1309},{"style":300},[1310],{"type":53,"value":1311}," --password-stdin",{"type":47,"tag":287,"props":1313,"children":1314},{"style":522},[1315],{"type":53,"value":1263},{"type":47,"tag":287,"props":1317,"children":1318},{"style":300},[1319],{"type":53,"value":1175},{"type":47,"tag":287,"props":1321,"children":1322},{"style":550},[1323],{"type":53,"value":1180},{"type":47,"tag":287,"props":1325,"children":1326},{"style":522},[1327],{"type":53,"value":1185},{"type":47,"tag":287,"props":1329,"children":1330},{"style":300},[1331],{"type":53,"value":1332},".dkr.ecr.",{"type":47,"tag":287,"props":1334,"children":1335},{"style":522},[1336],{"type":53,"value":1170},{"type":47,"tag":287,"props":1338,"children":1339},{"style":300},[1340],{"type":53,"value":1199},{"type":47,"tag":287,"props":1342,"children":1343},{"style":550},[1344],{"type":53,"value":1204},{"type":47,"tag":287,"props":1346,"children":1347},{"style":522},[1348],{"type":53,"value":1185},{"type":47,"tag":287,"props":1350,"children":1351},{"style":300},[1352],{"type":53,"value":1353},".amazonaws.com\n",{"type":47,"tag":55,"props":1355,"children":1356},{},[1357],{"type":47,"tag":942,"props":1358,"children":1359},{},[1360],{"type":53,"value":1361},"Model access denied during deploy:",{"type":47,"tag":122,"props":1363,"children":1366},{"className":1364,"code":1365,"language":53},[125],"ValidationException: The provided model identifier is invalid\n",[1367],{"type":47,"tag":81,"props":1368,"children":1369},{"__ignoreMap":130},[1370],{"type":53,"value":1365},{"type":47,"tag":55,"props":1372,"children":1373},{},[1374,1376,1381],{"type":53,"value":1375},"Fix: Enable the model in the Bedrock console → Model access. Ensure the model ID in ",{"type":47,"tag":81,"props":1377,"children":1379},{"className":1378},[],[1380],{"type":53,"value":314},{"type":53,"value":1382}," matches an enabled model in your target region.",{"type":47,"tag":55,"props":1384,"children":1385},{},[1386],{"type":47,"tag":942,"props":1387,"children":1388},{},[1389],{"type":53,"value":1390},"Region mismatch:",{"type":47,"tag":122,"props":1392,"children":1395},{"className":1393,"code":1394,"language":53},[125],"Stack ... is in region us-east-1 but the target is us-west-2\n",[1396],{"type":47,"tag":81,"props":1397,"children":1398},{"__ignoreMap":130},[1399],{"type":53,"value":1394},{"type":47,"tag":55,"props":1401,"children":1402},{},[1403,1405,1410,1412,1417,1419,1425],{"type":53,"value":1404},"Fix: Update ",{"type":47,"tag":81,"props":1406,"children":1408},{"className":1407},[],[1409],{"type":53,"value":191},{"type":53,"value":1411}," to match your ",{"type":47,"tag":81,"props":1413,"children":1415},{"className":1414},[],[1416],{"type":53,"value":461},{"type":53,"value":1418}," default region, or run ",{"type":47,"tag":81,"props":1420,"children":1422},{"className":1421},[],[1423],{"type":53,"value":1424},"aws configure set region \u003CREGION>",{"type":53,"value":479},{"type":47,"tag":55,"props":1427,"children":1428},{},[1429],{"type":47,"tag":942,"props":1430,"children":1431},{},[1432],{"type":53,"value":1433},"Memory stuck in CREATING:",{"type":47,"tag":122,"props":1435,"children":1438},{"className":1436,"code":1437,"language":53},[125],"Memory resource is in CREATING state after 10 minutes\n",[1439],{"type":47,"tag":81,"props":1440,"children":1441},{"__ignoreMap":130},[1442],{"type":53,"value":1437},{"type":47,"tag":55,"props":1444,"children":1445},{},[1446],{"type":53,"value":1447},"This is unusual — normal provisioning takes 2–5 minutes. Check:",{"type":47,"tag":122,"props":1449,"children":1451},{"className":279,"code":1450,"language":281,"meta":130,"style":130},"agentcore status --type memory --json\n",[1452],{"type":47,"tag":81,"props":1453,"children":1454},{"__ignoreMap":130},[1455],{"type":47,"tag":287,"props":1456,"children":1457},{"class":289,"line":290},[1458,1462,1466,1470,1475],{"type":47,"tag":287,"props":1459,"children":1460},{"style":294},[1461],{"type":53,"value":297},{"type":47,"tag":287,"props":1463,"children":1464},{"style":300},[1465],{"type":53,"value":967},{"type":47,"tag":287,"props":1467,"children":1468},{"style":300},[1469],{"type":53,"value":972},{"type":47,"tag":287,"props":1471,"children":1472},{"style":300},[1473],{"type":53,"value":1474}," memory",{"type":47,"tag":287,"props":1476,"children":1477},{"style":300},[1478],{"type":53,"value":1479}," --json\n",{"type":47,"tag":55,"props":1481,"children":1482},{},[1483],{"type":53,"value":1484},"If stuck, try removing and re-adding the memory resource.",{"type":47,"tag":55,"props":1486,"children":1487},{},[1488],{"type":47,"tag":942,"props":1489,"children":1490},{},[1491],{"type":53,"value":1492},"Service quota exceeded:",{"type":47,"tag":122,"props":1494,"children":1497},{"className":1495,"code":1496,"language":53},[125],"LimitExceededException: Account limit for AgentCore runtimes exceeded\n",[1498],{"type":47,"tag":81,"props":1499,"children":1500},{"__ignoreMap":130},[1501],{"type":53,"value":1496},{"type":47,"tag":55,"props":1503,"children":1504},{},[1505],{"type":53,"value":1506},"Fix: Request a quota increase in the AWS console → Service Quotas → Amazon Bedrock AgentCore.",{"type":47,"tag":140,"props":1508,"children":1510},{"id":1509},"step-b3-after-fixing-re-run",[1511],{"type":53,"value":1512},"Step B3: After fixing, re-run",{"type":47,"tag":122,"props":1514,"children":1516},{"className":279,"code":1515,"language":281,"meta":130,"style":130},"agentcore deploy -y\n",[1517],{"type":47,"tag":81,"props":1518,"children":1519},{"__ignoreMap":130},[1520],{"type":47,"tag":287,"props":1521,"children":1522},{"class":289,"line":290},[1523,1527,1531],{"type":47,"tag":287,"props":1524,"children":1525},{"style":294},[1526],{"type":53,"value":297},{"type":47,"tag":287,"props":1528,"children":1529},{"style":300},[1530],{"type":53,"value":676},{"type":47,"tag":287,"props":1532,"children":1533},{"style":300},[1534],{"type":53,"value":1535}," -y\n",{"type":47,"tag":55,"props":1537,"children":1538},{},[1539,1541,1547],{"type":53,"value":1540},"If the same error recurs, check ",{"type":47,"tag":81,"props":1542,"children":1544},{"className":1543},[],[1545],{"type":53,"value":1546},"agentcore status",{"type":53,"value":1548}," to see the current state of all resources:",{"type":47,"tag":122,"props":1550,"children":1552},{"className":279,"code":1551,"language":281,"meta":130,"style":130},"agentcore status\nagentcore status --state pending-removal  # resources marked for deletion\n",[1553],{"type":47,"tag":81,"props":1554,"children":1555},{"__ignoreMap":130},[1556,1568],{"type":47,"tag":287,"props":1557,"children":1558},{"class":289,"line":290},[1559,1563],{"type":47,"tag":287,"props":1560,"children":1561},{"style":294},[1562],{"type":53,"value":297},{"type":47,"tag":287,"props":1564,"children":1565},{"style":300},[1566],{"type":53,"value":1567}," status\n",{"type":47,"tag":287,"props":1569,"children":1570},{"class":289,"line":346},[1571,1575,1579,1584,1589],{"type":47,"tag":287,"props":1572,"children":1573},{"style":294},[1574],{"type":53,"value":297},{"type":47,"tag":287,"props":1576,"children":1577},{"style":300},[1578],{"type":53,"value":967},{"type":47,"tag":287,"props":1580,"children":1581},{"style":300},[1582],{"type":53,"value":1583}," --state",{"type":47,"tag":287,"props":1585,"children":1586},{"style":300},[1587],{"type":53,"value":1588}," pending-removal",{"type":47,"tag":287,"props":1590,"children":1591},{"style":340},[1592],{"type":53,"value":1593},"  # resources marked for deletion\n",{"type":47,"tag":245,"props":1595,"children":1596},{},[],{"type":47,"tag":61,"props":1598,"children":1600},{"id":1599},"deploying-to-multiple-targets",[1601],{"type":53,"value":1602},"Deploying to multiple targets",{"type":47,"tag":55,"props":1604,"children":1605},{},[1606,1608,1613],{"type":53,"value":1607},"Define targets in ",{"type":47,"tag":81,"props":1609,"children":1611},{"className":1610},[],[1612],{"type":53,"value":191},{"type":53,"value":265},{"type":47,"tag":122,"props":1615,"children":1619},{"className":1616,"code":1617,"language":1618,"meta":130,"style":130},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","[\n  {\n    \"name\": \"staging\",\n    \"description\": \"Staging environment\",\n    \"account\": \"123456789012\",\n    \"region\": \"us-east-1\"\n  },\n  {\n    \"name\": \"production\",\n    \"description\": \"Production environment\",\n    \"account\": \"987654321098\",\n    \"region\": \"us-west-2\"\n  }\n]\n","json",[1620],{"type":47,"tag":81,"props":1621,"children":1622},{"__ignoreMap":130},[1623,1631,1639,1680,1717,1753,1785,1793,1800,1837,1874,1911,1944,1953],{"type":47,"tag":287,"props":1624,"children":1625},{"class":289,"line":290},[1626],{"type":47,"tag":287,"props":1627,"children":1628},{"style":522},[1629],{"type":53,"value":1630},"[\n",{"type":47,"tag":287,"props":1632,"children":1633},{"class":289,"line":346},[1634],{"type":47,"tag":287,"props":1635,"children":1636},{"style":522},[1637],{"type":53,"value":1638},"  {\n",{"type":47,"tag":287,"props":1640,"children":1641},{"class":289,"line":369},[1642,1647,1653,1658,1662,1666,1671,1675],{"type":47,"tag":287,"props":1643,"children":1644},{"style":522},[1645],{"type":53,"value":1646},"    \"",{"type":47,"tag":287,"props":1648,"children":1650},{"style":1649},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[1651],{"type":53,"value":1652},"name",{"type":47,"tag":287,"props":1654,"children":1655},{"style":522},[1656],{"type":53,"value":1657},"\"",{"type":47,"tag":287,"props":1659,"children":1660},{"style":522},[1661],{"type":53,"value":265},{"type":47,"tag":287,"props":1663,"children":1664},{"style":522},[1665],{"type":53,"value":838},{"type":47,"tag":287,"props":1667,"children":1668},{"style":300},[1669],{"type":53,"value":1670},"staging",{"type":47,"tag":287,"props":1672,"children":1673},{"style":522},[1674],{"type":53,"value":1657},{"type":47,"tag":287,"props":1676,"children":1677},{"style":522},[1678],{"type":53,"value":1679},",\n",{"type":47,"tag":287,"props":1681,"children":1682},{"class":289,"line":379},[1683,1687,1692,1696,1700,1704,1709,1713],{"type":47,"tag":287,"props":1684,"children":1685},{"style":522},[1686],{"type":53,"value":1646},{"type":47,"tag":287,"props":1688,"children":1689},{"style":1649},[1690],{"type":53,"value":1691},"description",{"type":47,"tag":287,"props":1693,"children":1694},{"style":522},[1695],{"type":53,"value":1657},{"type":47,"tag":287,"props":1697,"children":1698},{"style":522},[1699],{"type":53,"value":265},{"type":47,"tag":287,"props":1701,"children":1702},{"style":522},[1703],{"type":53,"value":838},{"type":47,"tag":287,"props":1705,"children":1706},{"style":300},[1707],{"type":53,"value":1708},"Staging environment",{"type":47,"tag":287,"props":1710,"children":1711},{"style":522},[1712],{"type":53,"value":1657},{"type":47,"tag":287,"props":1714,"children":1715},{"style":522},[1716],{"type":53,"value":1679},{"type":47,"tag":287,"props":1718,"children":1719},{"class":289,"line":388},[1720,1724,1728,1732,1736,1740,1745,1749],{"type":47,"tag":287,"props":1721,"children":1722},{"style":522},[1723],{"type":53,"value":1646},{"type":47,"tag":287,"props":1725,"children":1726},{"style":1649},[1727],{"type":53,"value":469},{"type":47,"tag":287,"props":1729,"children":1730},{"style":522},[1731],{"type":53,"value":1657},{"type":47,"tag":287,"props":1733,"children":1734},{"style":522},[1735],{"type":53,"value":265},{"type":47,"tag":287,"props":1737,"children":1738},{"style":522},[1739],{"type":53,"value":838},{"type":47,"tag":287,"props":1741,"children":1742},{"style":300},[1743],{"type":53,"value":1744},"123456789012",{"type":47,"tag":287,"props":1746,"children":1747},{"style":522},[1748],{"type":53,"value":1657},{"type":47,"tag":287,"props":1750,"children":1751},{"style":522},[1752],{"type":53,"value":1679},{"type":47,"tag":287,"props":1754,"children":1755},{"class":289,"line":402},[1756,1760,1764,1768,1772,1776,1781],{"type":47,"tag":287,"props":1757,"children":1758},{"style":522},[1759],{"type":53,"value":1646},{"type":47,"tag":287,"props":1761,"children":1762},{"style":1649},[1763],{"type":53,"value":445},{"type":47,"tag":287,"props":1765,"children":1766},{"style":522},[1767],{"type":53,"value":1657},{"type":47,"tag":287,"props":1769,"children":1770},{"style":522},[1771],{"type":53,"value":265},{"type":47,"tag":287,"props":1773,"children":1774},{"style":522},[1775],{"type":53,"value":838},{"type":47,"tag":287,"props":1777,"children":1778},{"style":300},[1779],{"type":53,"value":1780},"us-east-1",{"type":47,"tag":287,"props":1782,"children":1783},{"style":522},[1784],{"type":53,"value":848},{"type":47,"tag":287,"props":1786,"children":1787},{"class":289,"line":410},[1788],{"type":47,"tag":287,"props":1789,"children":1790},{"style":522},[1791],{"type":53,"value":1792},"  },\n",{"type":47,"tag":287,"props":1794,"children":1795},{"class":289,"line":419},[1796],{"type":47,"tag":287,"props":1797,"children":1798},{"style":522},[1799],{"type":53,"value":1638},{"type":47,"tag":287,"props":1801,"children":1803},{"class":289,"line":1802},9,[1804,1808,1812,1816,1820,1824,1829,1833],{"type":47,"tag":287,"props":1805,"children":1806},{"style":522},[1807],{"type":53,"value":1646},{"type":47,"tag":287,"props":1809,"children":1810},{"style":1649},[1811],{"type":53,"value":1652},{"type":47,"tag":287,"props":1813,"children":1814},{"style":522},[1815],{"type":53,"value":1657},{"type":47,"tag":287,"props":1817,"children":1818},{"style":522},[1819],{"type":53,"value":265},{"type":47,"tag":287,"props":1821,"children":1822},{"style":522},[1823],{"type":53,"value":838},{"type":47,"tag":287,"props":1825,"children":1826},{"style":300},[1827],{"type":53,"value":1828},"production",{"type":47,"tag":287,"props":1830,"children":1831},{"style":522},[1832],{"type":53,"value":1657},{"type":47,"tag":287,"props":1834,"children":1835},{"style":522},[1836],{"type":53,"value":1679},{"type":47,"tag":287,"props":1838,"children":1840},{"class":289,"line":1839},10,[1841,1845,1849,1853,1857,1861,1866,1870],{"type":47,"tag":287,"props":1842,"children":1843},{"style":522},[1844],{"type":53,"value":1646},{"type":47,"tag":287,"props":1846,"children":1847},{"style":1649},[1848],{"type":53,"value":1691},{"type":47,"tag":287,"props":1850,"children":1851},{"style":522},[1852],{"type":53,"value":1657},{"type":47,"tag":287,"props":1854,"children":1855},{"style":522},[1856],{"type":53,"value":265},{"type":47,"tag":287,"props":1858,"children":1859},{"style":522},[1860],{"type":53,"value":838},{"type":47,"tag":287,"props":1862,"children":1863},{"style":300},[1864],{"type":53,"value":1865},"Production environment",{"type":47,"tag":287,"props":1867,"children":1868},{"style":522},[1869],{"type":53,"value":1657},{"type":47,"tag":287,"props":1871,"children":1872},{"style":522},[1873],{"type":53,"value":1679},{"type":47,"tag":287,"props":1875,"children":1877},{"class":289,"line":1876},11,[1878,1882,1886,1890,1894,1898,1903,1907],{"type":47,"tag":287,"props":1879,"children":1880},{"style":522},[1881],{"type":53,"value":1646},{"type":47,"tag":287,"props":1883,"children":1884},{"style":1649},[1885],{"type":53,"value":469},{"type":47,"tag":287,"props":1887,"children":1888},{"style":522},[1889],{"type":53,"value":1657},{"type":47,"tag":287,"props":1891,"children":1892},{"style":522},[1893],{"type":53,"value":265},{"type":47,"tag":287,"props":1895,"children":1896},{"style":522},[1897],{"type":53,"value":838},{"type":47,"tag":287,"props":1899,"children":1900},{"style":300},[1901],{"type":53,"value":1902},"987654321098",{"type":47,"tag":287,"props":1904,"children":1905},{"style":522},[1906],{"type":53,"value":1657},{"type":47,"tag":287,"props":1908,"children":1909},{"style":522},[1910],{"type":53,"value":1679},{"type":47,"tag":287,"props":1912,"children":1914},{"class":289,"line":1913},12,[1915,1919,1923,1927,1931,1935,1940],{"type":47,"tag":287,"props":1916,"children":1917},{"style":522},[1918],{"type":53,"value":1646},{"type":47,"tag":287,"props":1920,"children":1921},{"style":1649},[1922],{"type":53,"value":445},{"type":47,"tag":287,"props":1924,"children":1925},{"style":522},[1926],{"type":53,"value":1657},{"type":47,"tag":287,"props":1928,"children":1929},{"style":522},[1930],{"type":53,"value":265},{"type":47,"tag":287,"props":1932,"children":1933},{"style":522},[1934],{"type":53,"value":838},{"type":47,"tag":287,"props":1936,"children":1937},{"style":300},[1938],{"type":53,"value":1939},"us-west-2",{"type":47,"tag":287,"props":1941,"children":1942},{"style":522},[1943],{"type":53,"value":848},{"type":47,"tag":287,"props":1945,"children":1947},{"class":289,"line":1946},13,[1948],{"type":47,"tag":287,"props":1949,"children":1950},{"style":522},[1951],{"type":53,"value":1952},"  }\n",{"type":47,"tag":287,"props":1954,"children":1956},{"class":289,"line":1955},14,[1957],{"type":47,"tag":287,"props":1958,"children":1959},{"style":522},[1960],{"type":53,"value":1961},"]\n",{"type":47,"tag":55,"props":1963,"children":1964},{},[1965],{"type":53,"value":1966},"Deploy to a specific target:",{"type":47,"tag":122,"props":1968,"children":1970},{"className":279,"code":1969,"language":281,"meta":130,"style":130},"agentcore deploy --target staging -y\nagentcore deploy --target production -y\n",[1971],{"type":47,"tag":81,"props":1972,"children":1973},{"__ignoreMap":130},[1974,1997],{"type":47,"tag":287,"props":1975,"children":1976},{"class":289,"line":290},[1977,1981,1985,1989,1993],{"type":47,"tag":287,"props":1978,"children":1979},{"style":294},[1980],{"type":53,"value":297},{"type":47,"tag":287,"props":1982,"children":1983},{"style":300},[1984],{"type":53,"value":676},{"type":47,"tag":287,"props":1986,"children":1987},{"style":300},[1988],{"type":53,"value":923},{"type":47,"tag":287,"props":1990,"children":1991},{"style":300},[1992],{"type":53,"value":928},{"type":47,"tag":287,"props":1994,"children":1995},{"style":300},[1996],{"type":53,"value":1535},{"type":47,"tag":287,"props":1998,"children":1999},{"class":289,"line":346},[2000,2004,2008,2012,2017],{"type":47,"tag":287,"props":2001,"children":2002},{"style":294},[2003],{"type":53,"value":297},{"type":47,"tag":287,"props":2005,"children":2006},{"style":300},[2007],{"type":53,"value":676},{"type":47,"tag":287,"props":2009,"children":2010},{"style":300},[2011],{"type":53,"value":923},{"type":47,"tag":287,"props":2013,"children":2014},{"style":300},[2015],{"type":53,"value":2016}," production",{"type":47,"tag":287,"props":2018,"children":2019},{"style":300},[2020],{"type":53,"value":1535},{"type":47,"tag":61,"props":2022,"children":2024},{"id":2023},"output",[2025],{"type":53,"value":2026},"Output",{"type":47,"tag":68,"props":2028,"children":2029},{},[2030,2035,2040],{"type":47,"tag":72,"props":2031,"children":2032},{},[2033],{"type":53,"value":2034},"Pre-flight check results with specific fixes for any issues found",{"type":47,"tag":72,"props":2036,"children":2037},{},[2038],{"type":53,"value":2039},"Diagnosis of deploy failure with the specific fix",{"type":47,"tag":72,"props":2041,"children":2042},{},[2043],{"type":53,"value":2044},"Deploy command to run after fixes are applied",{"type":47,"tag":2046,"props":2047,"children":2048},"style",{},[2049],{"type":53,"value":2050},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":2052,"total":2146},[2053,2068,2083,2098,2105,2115,2130],{"slug":2054,"name":2054,"fn":2055,"description":2056,"org":2057,"tags":2058,"stars":24,"repoUrl":25,"updatedAt":2067},"agents-build","add capabilities to existing agent projects","Use when adding capabilities to an existing agent project — memory, app integration, VPC, multi-agent, migration, model changes, browser, code interpreter, or resource removal. Triggers on: \"add memory\", \"remember across sessions\", \"call agent from app\", \"invoke agent from code\", \"auth to call agent\", \"streaming responses\", \"VPC\", \"VPC connectivity\", \"VPC error\", \"can't reach from VPC\", \"multi-agent\", \"A2A\", \"A2A auth\", \"orchestrator not delegating\", \"specialist not called\", \"migrate Bedrock Agent\", \"after import\", \"migration issue\", \"framework for migration\", \"change model\", \"browser tool\", \"code interpreter\", \"delete agent\", \"tear down\", \"agentcore remove\", \"cross-account memory\", \"resource-based policy on memory\", \"pay for x402 content\", \"402 Payment Required\", \"microtransactions\", \"paid API or tool\". Not for connecting to external APIs via Gateway — use agents-connect. Not for scaffolding a new project — use agents-get-started. Not for CLI\u002Fdev server errors — use agents-debug. Strands vs LangGraph in a migration context routes here.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2059,2060,2063,2064],{"name":17,"slug":18,"type":15},{"name":2061,"slug":2062,"type":15},"Automation","automation",{"name":23,"slug":8,"type":15},{"name":2065,"slug":2066,"type":15},"Engineering","engineering","2026-07-12T08:42:53.812877",{"slug":2069,"name":2069,"fn":2070,"description":2071,"org":2072,"tags":2073,"stars":24,"repoUrl":25,"updatedAt":2082},"agents-connect","connect agents to external services","Use when connecting your agent to external APIs, tools, or services via Gateway, or restricting tool access with Cedar policies. Handles gateway setup, target types, outbound auth (OAuth, API key, IAM), credentials, and Cedar policy authoring. Triggers on: \"connect to API\", \"add gateway\", \"connect to MCP server\", \"Lambda tools\", \"OpenAPI\", \"gateway target\", \"Cedar policy\", \"restrict tools\", \"policy engine\", \"gateway auth error\", \"store API key\", \"outbound credential\", \"env var API key\", \"API key None after deploy\", \"credential not available after deploy\", \"should this be a gateway target\", \"give my agent tools\", \"add tools to agent\". Not for inbound auth (who can call your agent) — use agents-harden. Not for debugging agent behavior — use agents-debug. Not for VPC networking errors (agent can't reach APIs due to VPC) — use agents-build. Not for creating or hosting a new MCP server project — use agents-get-started.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2074,2075,2078,2081],{"name":17,"slug":18,"type":15},{"name":2076,"slug":2077,"type":15},"API Development","api-development",{"name":2079,"slug":2080,"type":15},"Authentication","authentication",{"name":23,"slug":8,"type":15},"2026-07-16T06:00:38.866147",{"slug":2084,"name":2084,"fn":2085,"description":2086,"org":2087,"tags":2088,"stars":24,"repoUrl":25,"updatedAt":2097},"agents-debug","debug agent and environment issues","Use when your agent or environment is broken — wrong answers, errors, timeouts, tool failures, or CLI issues. Reads traces and logs to diagnose root causes. Also checks prerequisites when the CLI itself isn't working. Triggers on: \"agent not working\", \"wrong answer\", \"agent error\", \"tool call failing\", \"debug agent\", \"check logs\", \"read traces\", \"broken\", \"500 error\", \"424 error\", \"model access denied\", \"command not found\", \"stuck in DELETING\", \"maxVms exceeded\", \"cold start diagnosis\", \"cold start slow\", \"agentcore create error\", \"create failed\", \"exit code 7\", \"connection refused local dev\". Not for deploy failures — use agents-deploy. Not for performance tuning without errors — use agents-optimize. Not for VPC configuration — use agents-build. Not for observability setup or missing logs — use agents-optimize.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2089,2090,2091,2094],{"name":17,"slug":18,"type":15},{"name":23,"slug":8,"type":15},{"name":2092,"slug":2093,"type":15},"Debugging","debugging",{"name":2095,"slug":2096,"type":15},"Observability","observability","2026-07-16T06:00:44.679093",{"slug":4,"name":4,"fn":5,"description":6,"org":2099,"tags":2100,"stars":24,"repoUrl":25,"updatedAt":26},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2101,2102,2103,2104],{"name":17,"slug":18,"type":15},{"name":23,"slug":8,"type":15},{"name":20,"slug":21,"type":15},{"name":13,"slug":14,"type":15},{"slug":2106,"name":2106,"fn":2107,"description":2108,"org":2109,"tags":2110,"stars":24,"repoUrl":25,"updatedAt":2114},"agents-get-started","scaffold and deploy new agent projects","Use when a developer wants to create a new agent project or get started with AgentCore. Handles framework selection, project scaffolding, first deploy, and first invocation. Triggers on: \"build an agent\", \"create an agent\", \"get started\", \"new project\", \"agentcore create\", \"which framework\", \"Strands vs LangGraph\", \"hello world agent\", \"first agent\", \"create MCP server\", \"host MCP server\", \"agentcore dev\", \"dev server\", \"what port\", \"local development\". Not for adding capabilities to existing projects — use agents-build or agents-connect. Strands vs LangGraph in a migration context routes to agents-build, not here. Connecting to an existing MCP server routes to agents-connect, not here.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2111,2112,2113],{"name":17,"slug":18,"type":15},{"name":23,"slug":8,"type":15},{"name":13,"slug":14,"type":15},"2026-07-12T08:42:51.963247",{"slug":2116,"name":2116,"fn":2117,"description":2118,"org":2119,"tags":2120,"stars":24,"repoUrl":25,"updatedAt":2129},"agents-harden","harden agents for production","Use when preparing your agent for production — IAM scoping, inbound auth (JWT, SigV4), secrets management, cold start optimization, session lifecycle, rate limiting, input validation, and quota guidance. Triggers on: \"production checklist\", \"harden agent\", \"production ready\", \"secure agent\", \"inbound auth\", \"going live\", \"cold start optimization\", \"session lifecycle\", \"StopRuntimeSession\", \"quota\", \"throttling\", \"maxVms\", \"rate limit\", \"security audit of outbound API calls\", \"gateway target audit for production\", \"restrict who can call\", \"lock down endpoint\", \"only our app can call\". Not for Cedar tool-restriction policies — use agents-connect. Not for quality measurement — use agents-optimize. Not for outbound credential storage or API key wiring — use agents-connect. Not for A2A agent-to-agent auth — use agents-build. Cold start observation and diagnosis (not optimization) routes to agents-debug.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2121,2122,2123,2126],{"name":17,"slug":18,"type":15},{"name":23,"slug":8,"type":15},{"name":2124,"slug":2125,"type":15},"Best Practices","best-practices",{"name":2127,"slug":2128,"type":15},"Security","security","2026-07-16T06:00:42.174705",{"slug":2131,"name":2131,"fn":2132,"description":2133,"org":2134,"tags":2135,"stars":24,"repoUrl":25,"updatedAt":2145},"agents-optimize","optimize agent quality and performance","Use when measuring or improving agent quality and performance — set up evaluators, online monitoring, CI\u002FCD quality gates, observability, or cost optimization. Triggers on: \"evaluate my agent\", \"add evaluator\", \"measure quality\", \"quality gate\", \"run evals\", \"agent too slow\", \"why is it slow\", \"reduce latency\", \"set up observability\", \"CloudWatch dashboard\", \"how much does my agent cost\", \"cost optimization\", \"logs not showing up\", \"logs missing\", \"spans not found\", \"eval failing\", \"eval error\", \"dev traces\", \"local traces\", \"agentcore dev traces\", \"traces to CloudWatch\". Not for debugging errors or crashes — use agents-debug. Slow but correct routes here; broken routes to debug.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2136,2137,2138,2141,2142],{"name":17,"slug":18,"type":15},{"name":23,"slug":8,"type":15},{"name":2139,"slug":2140,"type":15},"Evals","evals",{"name":2095,"slug":2096,"type":15},{"name":2143,"slug":2144,"type":15},"Performance","performance","2026-07-12T08:42:56.488105",114,{"items":2148,"total":2265},[2149,2156,2163,2170,2177,2183,2190,2198,2215,2228,2240,2255],{"slug":2054,"name":2054,"fn":2055,"description":2056,"org":2150,"tags":2151,"stars":24,"repoUrl":25,"updatedAt":2067},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2152,2153,2154,2155],{"name":17,"slug":18,"type":15},{"name":2061,"slug":2062,"type":15},{"name":23,"slug":8,"type":15},{"name":2065,"slug":2066,"type":15},{"slug":2069,"name":2069,"fn":2070,"description":2071,"org":2157,"tags":2158,"stars":24,"repoUrl":25,"updatedAt":2082},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2159,2160,2161,2162],{"name":17,"slug":18,"type":15},{"name":2076,"slug":2077,"type":15},{"name":2079,"slug":2080,"type":15},{"name":23,"slug":8,"type":15},{"slug":2084,"name":2084,"fn":2085,"description":2086,"org":2164,"tags":2165,"stars":24,"repoUrl":25,"updatedAt":2097},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2166,2167,2168,2169],{"name":17,"slug":18,"type":15},{"name":23,"slug":8,"type":15},{"name":2092,"slug":2093,"type":15},{"name":2095,"slug":2096,"type":15},{"slug":4,"name":4,"fn":5,"description":6,"org":2171,"tags":2172,"stars":24,"repoUrl":25,"updatedAt":26},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2173,2174,2175,2176],{"name":17,"slug":18,"type":15},{"name":23,"slug":8,"type":15},{"name":20,"slug":21,"type":15},{"name":13,"slug":14,"type":15},{"slug":2106,"name":2106,"fn":2107,"description":2108,"org":2178,"tags":2179,"stars":24,"repoUrl":25,"updatedAt":2114},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2180,2181,2182],{"name":17,"slug":18,"type":15},{"name":23,"slug":8,"type":15},{"name":13,"slug":14,"type":15},{"slug":2116,"name":2116,"fn":2117,"description":2118,"org":2184,"tags":2185,"stars":24,"repoUrl":25,"updatedAt":2129},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2186,2187,2188,2189],{"name":17,"slug":18,"type":15},{"name":23,"slug":8,"type":15},{"name":2124,"slug":2125,"type":15},{"name":2127,"slug":2128,"type":15},{"slug":2131,"name":2131,"fn":2132,"description":2133,"org":2191,"tags":2192,"stars":24,"repoUrl":25,"updatedAt":2145},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2193,2194,2195,2196,2197],{"name":17,"slug":18,"type":15},{"name":23,"slug":8,"type":15},{"name":2139,"slug":2140,"type":15},{"name":2095,"slug":2096,"type":15},{"name":2143,"slug":2144,"type":15},{"slug":2199,"name":2199,"fn":2200,"description":2201,"org":2202,"tags":2203,"stars":24,"repoUrl":25,"updatedAt":2214},"amazon-aurora-mysql","manage Amazon Aurora MySQL clusters","Amazon Aurora MySQL — creates, modifies, and advises on Aurora MySQL clusters specifically (MySQL-compatible engine, Aurora serverless, parallel query). Trigger for Aurora MySQL cluster operations, ACU sizing, I\u002FO-Optimized storage, commitment pricing, or MySQL upgrade planning. Aurora MySQL uses full (VPC-based) configuration — express configuration is PostgreSQL-only. For Aurora PostgreSQL, use amazon-aurora-postgresql instead. Contains safety guardrails and response templates that override defaults.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2204,2205,2208,2211],{"name":23,"slug":8,"type":15},{"name":2206,"slug":2207,"type":15},"Database","database",{"name":2209,"slug":2210,"type":15},"MySQL","mysql",{"name":2212,"slug":2213,"type":15},"Serverless","serverless","2026-07-12T08:43:13.27939",{"slug":2216,"name":2216,"fn":2217,"description":2218,"org":2219,"tags":2220,"stars":24,"repoUrl":25,"updatedAt":2227},"amazon-aurora-postgresql","configure Amazon Aurora PostgreSQL clusters","Amazon Aurora PostgreSQL — creates, modifies, and advises on Aurora PostgreSQL clusters specifically (PostgreSQL-compatible engine, Aurora serverless, express configuration, pgvector, Babelfish). Trigger for Aurora PostgreSQL cluster operations, express-configuration quick-start, ACU sizing, I\u002FO-Optimized storage, commitment pricing, or PostgreSQL upgrade planning. For Aurora MySQL, use amazon-aurora-mysql instead. Contains safety guardrails, express-first routing, and response templates that override defaults.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2221,2222,2223,2226],{"name":23,"slug":8,"type":15},{"name":2206,"slug":2207,"type":15},{"name":2224,"slug":2225,"type":15},"PostgreSQL","postgresql",{"name":2212,"slug":2213,"type":15},"2026-07-16T06:00:34.789624",{"slug":2229,"name":2229,"fn":2230,"description":2231,"org":2232,"tags":2233,"stars":24,"repoUrl":25,"updatedAt":2239},"amazon-bedrock","build generative AI apps with Amazon Bedrock","Builds generative AI applications on Amazon Bedrock. Covers model invocation (Converse API, InvokeModel), RAG with Knowledge Bases, Bedrock Agents, Guardrails, and AgentCore. Use when invoking models, setting up Knowledge Bases, creating agents, applying guardrails, deploying to AgentCore, migrating\u002Fporting\u002Fconverting a Bedrock Agent (including inline agents) to an AgentCore Harness, troubleshooting Bedrock errors (ThrottlingException, AccessDeniedException), or choosing models (Claude, Llama, Nova, Titan). ALSO USE for prompt caching setup and debugging, quota health checks and throttling diagnosis, cost attribution and tracking, migrating between Claude model generations (4.5 to 4.6 to 4.7), chunking strategies, API selection (Converse vs InvokeModel), guardrail capabilities, and model selection. Also covers AgentCore Payments setup (x402, microtransactions, Payment Manager, Connector, Instrument, Coinbase CDP, Stripe Privy, 402 Payment Required, pay for content, paid endpoint, agent payments). NOT for custom model training, Rekognition, or Comprehend.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2234,2235,2236],{"name":17,"slug":18,"type":15},{"name":23,"slug":8,"type":15},{"name":2237,"slug":2238,"type":15},"LLM","llm","2026-07-25T05:30:35.20899",{"slug":2241,"name":2241,"fn":2242,"description":2243,"org":2244,"tags":2245,"stars":24,"repoUrl":25,"updatedAt":2254},"amazon-documentdb","manage Amazon DocumentDB clusters","Manages Amazon DocumentDB end-to-end — serverless-on-8.0 cluster setup, TLS\u002FVPC\u002Fdriver config, flexible-schema and vector-search data modeling, MongoDB compatibility assessment, DMS-based migration, slow-query diagnosis, major version upgrades (4.0→5.0→8.0), Well-Architected reviews (41-check wa_review.py), cost estimation, and security hardening. Retrieve for every DocumentDB question and when the user asks to set up or migrate MongoDB to AWS — DocumentDB is AWS's MongoDB-compatible managed database. Triggers: JSON document store, document database, MongoDB on AWS, Nested fields, Lambda cannot connect, TLS handshake, VPC port 27017, IAM auth, Secrets Manager, encryption at rest, $graphLookup, flexible schema, COLLSCAN, compound index, DMS migration, CDC cutover, $vectorSearch, RAG, Global Clusters, DR replication, cost sizing, audit, health check, production-readiness.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2246,2247,2248,2251],{"name":23,"slug":8,"type":15},{"name":2206,"slug":2207,"type":15},{"name":2249,"slug":2250,"type":15},"MongoDB","mongodb",{"name":2252,"slug":2253,"type":15},"NoSQL","nosql","2026-07-12T08:43:00.455878",{"slug":2256,"name":2256,"fn":2257,"description":2258,"org":2259,"tags":2260,"stars":24,"repoUrl":25,"updatedAt":2264},"amazon-dynamodb","design and debug DynamoDB data layers","Designs, reviews, and debugs DynamoDB data layers from design axioms — enumerates access patterns, chooses partition\u002Fsort keys and GSIs, decides single-table vs. multi-table, configures Streams, Global Tables, TTL, and zero-ETL integrations to OpenSearch\u002FRedshift\u002FSageMaker Lakehouse, and produces a defensible data-layer design with a monthly cost estimate and optional live validation. Applies whenever a user is designing, reviewing, or refactoring anything backed by DynamoDB — schemas, access patterns, GSIs, single- vs. multi-table choices, Streams consumers, transactional outboxes, Global Tables, zero-ETL pipelines — even when they don't say \"axioms\" or \"design review.\" Also applies when debugging hot partitions, throttling, unbounded Scans, LWW conflicts, or surprise bills on DynamoDB workloads.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2261,2262,2263],{"name":23,"slug":8,"type":15},{"name":2206,"slug":2207,"type":15},{"name":2252,"slug":2253,"type":15},"2026-07-16T06:00:37.690386",115]