[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-aws-chatting-with-aws-devops-agent":3,"mdc--d1n0xh-key":38,"related-org-aws-chatting-with-aws-devops-agent":797,"related-repo-aws-chatting-with-aws-devops-agent":968},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":27,"repoUrl":28,"updatedAt":29,"license":30,"forks":31,"topics":32,"repo":33,"sourceUrl":36,"mdContent":37},"chatting-with-aws-devops-agent","analyze AWS infrastructure with DevOps agent","Have a fast, conversational analysis with the AWS DevOps Agent. Use for cost optimization, architecture review, topology mapping, knowledge \u002F runbook discovery, security audits, dependency questions, and quick diagnostics — anything that needs a 5-30 second answer rather than a 5-8 minute deep investigation. Trigger words include cost, optimize, review, architecture, topology, what runbooks, show me, compare, audit, what if.",{"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,25],{"name":13,"slug":14,"type":15},"Security","security","tag",{"name":17,"slug":18,"type":15},"Architecture","architecture",{"name":20,"slug":21,"type":15},"DevOps","devops",{"name":23,"slug":24,"type":15},"Cost Optimization","cost-optimization",{"name":26,"slug":8,"type":15},"AWS",1822,"https:\u002F\u002Fgithub.com\u002Faws\u002Fagent-toolkit-for-aws","2026-07-12T08:44:01.32267",null,157,[],{"repoUrl":28,"stars":27,"forks":31,"topics":34,"description":35},[],"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-for-devsecops\u002Fskills\u002Fchatting-with-aws-devops-agent","---\nname: chatting-with-aws-devops-agent\ndescription: >-\n  Have a fast, conversational analysis with the AWS DevOps Agent. Use for cost\n  optimization, architecture review, topology mapping, knowledge \u002F runbook\n  discovery, security audits, dependency questions, and quick diagnostics —\n  anything that needs a 5-30 second answer rather than a 5-8 minute deep\n  investigation. Trigger words include cost, optimize, review, architecture,\n  topology, what runbooks, show me, compare, audit, what if.\n---\n\n# Chat with the AWS DevOps Agent\n\n> **AgentSpace routing (SigV4 only):** If `list_agent_spaces` is available in your tool list and the multi-space orchestration skill has NOT been invoked yet this session, invoke it first to determine which `agent_space_id` to use. Then pass `agent_space_id` on all tool calls below. For bearer token auth this is unnecessary — the token is already scoped to one space.\n\nChat is the **default**. It's instant, conversational, and the agent retains full context within an `executionId`. Only escalate to `investigating-incidents-with-aws-devops-agent` when the user describes an incident or the agent itself suggests deeper analysis is warranted.\n\n## How to send messages\n\n**Primary — use the `chat` tool:**\n\n```\naws_devops_agent__chat(message=\"What's causing the 503 errors on checkout-service?\")\n→ {\"executionId\": \"uuid\", \"answer\": \"Based on my analysis...\"}\n```\n\nOne call, full answer. No session setup needed — the tool handles CreateChat + SendMessage + response parsing internally.\n\n**For follow-up messages in the same conversation**, use `send_message` with the `execution_id` from the first response:\n\n```\naws_devops_agent__send_message(\n    execution_id=\"\u003CexecutionId from chat response>\",\n    content=\"What about the upstream dependency?\"\n)\n→ \"The upstream service shows...\"\n```\n\nThe agent retains full context within an `executionId`. Reuse it for follow-ups — don't call `chat` again for the same conversation.\n\n**For browsing previous conversations:**\n\n```\naws_devops_agent__list_chats()\n→ {\"chats\": [...]}\n```\n\n## Injecting local context\n\nPack local workspace knowledge into the `message` parameter. This is the killer feature — the DevOps Agent knows your AWS cloud; you know the user's local workspace.\n\n```\naws_devops_agent__chat(message=\"\"\"[Local Context]\nService: checkout-service (from package.json)\nLast deploy: commit abc1234 — 2h ago\nCDK Stack: lib\u002Fcheckout-stack.ts — ECS Fargate behind ALB\nError: ConnectionError upstream connect error\n\n[Question]\nWhat's causing the 503 errors on the checkout-service?\"\"\")\n```\n\nTailor by intent:\n\n- **Cost questions** — include IaC files (CDK \u002F CFN \u002F Terraform), instance types, scaling policies\n- **Architecture review** — IaC files + dependency manifest + public API surface\n- **Topology mapping** — service name + key resources (cluster, ALB, RDS instance)\n- **Knowledge \u002F runbook discovery** — no local context needed, just ask\n- **Quick diagnostics** — alarm\u002Fmetric\u002Ferror + `git log --oneline -10`\n\n## Phrasing matters\n\nThe DevOps Agent's intent detection is keyword-based:\n\n| Phrasing | Response time |\n|----------|---------------|\n| \"Analyze...\", \"Review...\", \"Compare...\", \"What if...\", \"Show topology...\" | 5–30s (chat) |\n| \"List...\", \"Show me...\", \"What is...\" | instant (discovery) |\n| \"Investigate...\", \"Root cause of...\", \"What's wrong with...\" | 5–8 min (deep — escalate to `investigating-incidents-with-aws-devops-agent` skill) |\n\nIf the user phrases something as \"investigate\" but it's really a question, you can still chat — but if the agent suggests deeper analysis, escalate via the `investigating-incidents-with-aws-devops-agent` skill.\n\n## Escalating to investigation\n\nWhen chat surfaces a finding that needs deep multi-service correlation, hand off:\n\n```\naws_devops_agent__investigate(title=\"Root cause of \u003Cthing chat found>\")\n```\n\nSwitch to the `investigating-incidents-with-aws-devops-agent` skill for the polling\u002Fprogress workflow.\n\n## Fallback path (aws-mcp)\n\nIf the remote MCP server (`aws-devops-agent`) is unavailable, fall back to `aws-mcp`:\n\n```\naws devops-agent create-chat --agent-space-id SPACE_ID --user-id USER_ID --user-type IAM --region us-east-1\n→ executionId\n```\n\nThen send a message:\n\n```bash\naws devops-agent send-message \\\n  --agent-space-id SPACE_ID \\\n  --execution-id EXEC_ID \\\n  --user-id USER_ID \\\n  --content '\u003Cyour question with local context>' \\\n  --region us-east-1\n```\n\nTell the user: \"Remote server unavailable — using direct AWS API fallback.\"\n\n## Timeout behavior\n\nThe `chat` tool buffers the full response server-side before returning. Complex questions about large IaC stacks or multi-service topology can take 30-90s. This is normal — don't retry prematurely.\n\nIf a response fails or times out:\n\n1. Retry the same `chat` call once.\n2. If it fails again, fall back to `aws-mcp`.\n\n## Chat session lifecycle\n\n- **Single questions:** Use `chat` — it creates a fresh session each time.\n- **Follow-ups:** Use `send_message` with the `execution_id` from the `chat` response.\n- **When to start fresh:** Only when switching to a completely unrelated topic.\n- **Resuming old chats:** `list_chats` returns previous sessions. Use `send_message` with an old `execution_id` to continue.\n\n## Security\n\nResponses can contain commands or code. Never auto-execute anything the agent suggests. Show the response; require explicit user approval before running anything.\n",{"data":39,"body":40},{"name":4,"description":6},{"type":41,"children":42},"root",[43,52,92,120,127,143,155,160,186,195,214,222,231,237,250,259,264,325,331,336,410,422,428,433,442,454,460,481,490,495,629,634,640,652,657,685,691,782,786,791],{"type":44,"tag":45,"props":46,"children":48},"element","h1",{"id":47},"chat-with-the-aws-devops-agent",[49],{"type":50,"value":51},"text","Chat with the AWS DevOps Agent",{"type":44,"tag":53,"props":54,"children":55},"blockquote",{},[56],{"type":44,"tag":57,"props":58,"children":59},"p",{},[60,66,68,75,77,83,85,90],{"type":44,"tag":61,"props":62,"children":63},"strong",{},[64],{"type":50,"value":65},"AgentSpace routing (SigV4 only):",{"type":50,"value":67}," If ",{"type":44,"tag":69,"props":70,"children":72},"code",{"className":71},[],[73],{"type":50,"value":74},"list_agent_spaces",{"type":50,"value":76}," is available in your tool list and the multi-space orchestration skill has NOT been invoked yet this session, invoke it first to determine which ",{"type":44,"tag":69,"props":78,"children":80},{"className":79},[],[81],{"type":50,"value":82},"agent_space_id",{"type":50,"value":84}," to use. Then pass ",{"type":44,"tag":69,"props":86,"children":88},{"className":87},[],[89],{"type":50,"value":82},{"type":50,"value":91}," on all tool calls below. For bearer token auth this is unnecessary — the token is already scoped to one space.",{"type":44,"tag":57,"props":93,"children":94},{},[95,97,102,104,110,112,118],{"type":50,"value":96},"Chat is the ",{"type":44,"tag":61,"props":98,"children":99},{},[100],{"type":50,"value":101},"default",{"type":50,"value":103},". It's instant, conversational, and the agent retains full context within an ",{"type":44,"tag":69,"props":105,"children":107},{"className":106},[],[108],{"type":50,"value":109},"executionId",{"type":50,"value":111},". Only escalate to ",{"type":44,"tag":69,"props":113,"children":115},{"className":114},[],[116],{"type":50,"value":117},"investigating-incidents-with-aws-devops-agent",{"type":50,"value":119}," when the user describes an incident or the agent itself suggests deeper analysis is warranted.",{"type":44,"tag":121,"props":122,"children":124},"h2",{"id":123},"how-to-send-messages",[125],{"type":50,"value":126},"How to send messages",{"type":44,"tag":57,"props":128,"children":129},{},[130],{"type":44,"tag":61,"props":131,"children":132},{},[133,135,141],{"type":50,"value":134},"Primary — use the ",{"type":44,"tag":69,"props":136,"children":138},{"className":137},[],[139],{"type":50,"value":140},"chat",{"type":50,"value":142}," tool:",{"type":44,"tag":144,"props":145,"children":149},"pre",{"className":146,"code":148,"language":50},[147],"language-text","aws_devops_agent__chat(message=\"What's causing the 503 errors on checkout-service?\")\n→ {\"executionId\": \"uuid\", \"answer\": \"Based on my analysis...\"}\n",[150],{"type":44,"tag":69,"props":151,"children":153},{"__ignoreMap":152},"",[154],{"type":50,"value":148},{"type":44,"tag":57,"props":156,"children":157},{},[158],{"type":50,"value":159},"One call, full answer. No session setup needed — the tool handles CreateChat + SendMessage + response parsing internally.",{"type":44,"tag":57,"props":161,"children":162},{},[163,168,170,176,178,184],{"type":44,"tag":61,"props":164,"children":165},{},[166],{"type":50,"value":167},"For follow-up messages in the same conversation",{"type":50,"value":169},", use ",{"type":44,"tag":69,"props":171,"children":173},{"className":172},[],[174],{"type":50,"value":175},"send_message",{"type":50,"value":177}," with the ",{"type":44,"tag":69,"props":179,"children":181},{"className":180},[],[182],{"type":50,"value":183},"execution_id",{"type":50,"value":185}," from the first response:",{"type":44,"tag":144,"props":187,"children":190},{"className":188,"code":189,"language":50},[147],"aws_devops_agent__send_message(\n    execution_id=\"\u003CexecutionId from chat response>\",\n    content=\"What about the upstream dependency?\"\n)\n→ \"The upstream service shows...\"\n",[191],{"type":44,"tag":69,"props":192,"children":193},{"__ignoreMap":152},[194],{"type":50,"value":189},{"type":44,"tag":57,"props":196,"children":197},{},[198,200,205,207,212],{"type":50,"value":199},"The agent retains full context within an ",{"type":44,"tag":69,"props":201,"children":203},{"className":202},[],[204],{"type":50,"value":109},{"type":50,"value":206},". Reuse it for follow-ups — don't call ",{"type":44,"tag":69,"props":208,"children":210},{"className":209},[],[211],{"type":50,"value":140},{"type":50,"value":213}," again for the same conversation.",{"type":44,"tag":57,"props":215,"children":216},{},[217],{"type":44,"tag":61,"props":218,"children":219},{},[220],{"type":50,"value":221},"For browsing previous conversations:",{"type":44,"tag":144,"props":223,"children":226},{"className":224,"code":225,"language":50},[147],"aws_devops_agent__list_chats()\n→ {\"chats\": [...]}\n",[227],{"type":44,"tag":69,"props":228,"children":229},{"__ignoreMap":152},[230],{"type":50,"value":225},{"type":44,"tag":121,"props":232,"children":234},{"id":233},"injecting-local-context",[235],{"type":50,"value":236},"Injecting local context",{"type":44,"tag":57,"props":238,"children":239},{},[240,242,248],{"type":50,"value":241},"Pack local workspace knowledge into the ",{"type":44,"tag":69,"props":243,"children":245},{"className":244},[],[246],{"type":50,"value":247},"message",{"type":50,"value":249}," parameter. This is the killer feature — the DevOps Agent knows your AWS cloud; you know the user's local workspace.",{"type":44,"tag":144,"props":251,"children":254},{"className":252,"code":253,"language":50},[147],"aws_devops_agent__chat(message=\"\"\"[Local Context]\nService: checkout-service (from package.json)\nLast deploy: commit abc1234 — 2h ago\nCDK Stack: lib\u002Fcheckout-stack.ts — ECS Fargate behind ALB\nError: ConnectionError upstream connect error\n\n[Question]\nWhat's causing the 503 errors on the checkout-service?\"\"\")\n",[255],{"type":44,"tag":69,"props":256,"children":257},{"__ignoreMap":152},[258],{"type":50,"value":253},{"type":44,"tag":57,"props":260,"children":261},{},[262],{"type":50,"value":263},"Tailor by intent:",{"type":44,"tag":265,"props":266,"children":267},"ul",{},[268,279,289,299,309],{"type":44,"tag":269,"props":270,"children":271},"li",{},[272,277],{"type":44,"tag":61,"props":273,"children":274},{},[275],{"type":50,"value":276},"Cost questions",{"type":50,"value":278}," — include IaC files (CDK \u002F CFN \u002F Terraform), instance types, scaling policies",{"type":44,"tag":269,"props":280,"children":281},{},[282,287],{"type":44,"tag":61,"props":283,"children":284},{},[285],{"type":50,"value":286},"Architecture review",{"type":50,"value":288}," — IaC files + dependency manifest + public API surface",{"type":44,"tag":269,"props":290,"children":291},{},[292,297],{"type":44,"tag":61,"props":293,"children":294},{},[295],{"type":50,"value":296},"Topology mapping",{"type":50,"value":298}," — service name + key resources (cluster, ALB, RDS instance)",{"type":44,"tag":269,"props":300,"children":301},{},[302,307],{"type":44,"tag":61,"props":303,"children":304},{},[305],{"type":50,"value":306},"Knowledge \u002F runbook discovery",{"type":50,"value":308}," — no local context needed, just ask",{"type":44,"tag":269,"props":310,"children":311},{},[312,317,319],{"type":44,"tag":61,"props":313,"children":314},{},[315],{"type":50,"value":316},"Quick diagnostics",{"type":50,"value":318}," — alarm\u002Fmetric\u002Ferror + ",{"type":44,"tag":69,"props":320,"children":322},{"className":321},[],[323],{"type":50,"value":324},"git log --oneline -10",{"type":44,"tag":121,"props":326,"children":328},{"id":327},"phrasing-matters",[329],{"type":50,"value":330},"Phrasing matters",{"type":44,"tag":57,"props":332,"children":333},{},[334],{"type":50,"value":335},"The DevOps Agent's intent detection is keyword-based:",{"type":44,"tag":337,"props":338,"children":339},"table",{},[340,359],{"type":44,"tag":341,"props":342,"children":343},"thead",{},[344],{"type":44,"tag":345,"props":346,"children":347},"tr",{},[348,354],{"type":44,"tag":349,"props":350,"children":351},"th",{},[352],{"type":50,"value":353},"Phrasing",{"type":44,"tag":349,"props":355,"children":356},{},[357],{"type":50,"value":358},"Response time",{"type":44,"tag":360,"props":361,"children":362},"tbody",{},[363,377,390],{"type":44,"tag":345,"props":364,"children":365},{},[366,372],{"type":44,"tag":367,"props":368,"children":369},"td",{},[370],{"type":50,"value":371},"\"Analyze...\", \"Review...\", \"Compare...\", \"What if...\", \"Show topology...\"",{"type":44,"tag":367,"props":373,"children":374},{},[375],{"type":50,"value":376},"5–30s (chat)",{"type":44,"tag":345,"props":378,"children":379},{},[380,385],{"type":44,"tag":367,"props":381,"children":382},{},[383],{"type":50,"value":384},"\"List...\", \"Show me...\", \"What is...\"",{"type":44,"tag":367,"props":386,"children":387},{},[388],{"type":50,"value":389},"instant (discovery)",{"type":44,"tag":345,"props":391,"children":392},{},[393,398],{"type":44,"tag":367,"props":394,"children":395},{},[396],{"type":50,"value":397},"\"Investigate...\", \"Root cause of...\", \"What's wrong with...\"",{"type":44,"tag":367,"props":399,"children":400},{},[401,403,408],{"type":50,"value":402},"5–8 min (deep — escalate to ",{"type":44,"tag":69,"props":404,"children":406},{"className":405},[],[407],{"type":50,"value":117},{"type":50,"value":409}," skill)",{"type":44,"tag":57,"props":411,"children":412},{},[413,415,420],{"type":50,"value":414},"If the user phrases something as \"investigate\" but it's really a question, you can still chat — but if the agent suggests deeper analysis, escalate via the ",{"type":44,"tag":69,"props":416,"children":418},{"className":417},[],[419],{"type":50,"value":117},{"type":50,"value":421}," skill.",{"type":44,"tag":121,"props":423,"children":425},{"id":424},"escalating-to-investigation",[426],{"type":50,"value":427},"Escalating to investigation",{"type":44,"tag":57,"props":429,"children":430},{},[431],{"type":50,"value":432},"When chat surfaces a finding that needs deep multi-service correlation, hand off:",{"type":44,"tag":144,"props":434,"children":437},{"className":435,"code":436,"language":50},[147],"aws_devops_agent__investigate(title=\"Root cause of \u003Cthing chat found>\")\n",[438],{"type":44,"tag":69,"props":439,"children":440},{"__ignoreMap":152},[441],{"type":50,"value":436},{"type":44,"tag":57,"props":443,"children":444},{},[445,447,452],{"type":50,"value":446},"Switch to the ",{"type":44,"tag":69,"props":448,"children":450},{"className":449},[],[451],{"type":50,"value":117},{"type":50,"value":453}," skill for the polling\u002Fprogress workflow.",{"type":44,"tag":121,"props":455,"children":457},{"id":456},"fallback-path-aws-mcp",[458],{"type":50,"value":459},"Fallback path (aws-mcp)",{"type":44,"tag":57,"props":461,"children":462},{},[463,465,471,473,479],{"type":50,"value":464},"If the remote MCP server (",{"type":44,"tag":69,"props":466,"children":468},{"className":467},[],[469],{"type":50,"value":470},"aws-devops-agent",{"type":50,"value":472},") is unavailable, fall back to ",{"type":44,"tag":69,"props":474,"children":476},{"className":475},[],[477],{"type":50,"value":478},"aws-mcp",{"type":50,"value":480},":",{"type":44,"tag":144,"props":482,"children":485},{"className":483,"code":484,"language":50},[147],"aws devops-agent create-chat --agent-space-id SPACE_ID --user-id USER_ID --user-type IAM --region us-east-1\n→ executionId\n",[486],{"type":44,"tag":69,"props":487,"children":488},{"__ignoreMap":152},[489],{"type":50,"value":484},{"type":44,"tag":57,"props":491,"children":492},{},[493],{"type":50,"value":494},"Then send a message:",{"type":44,"tag":144,"props":496,"children":500},{"className":497,"code":498,"language":499,"meta":152,"style":152},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","aws devops-agent send-message \\\n  --agent-space-id SPACE_ID \\\n  --execution-id EXEC_ID \\\n  --user-id USER_ID \\\n  --content '\u003Cyour question with local context>' \\\n  --region us-east-1\n","bash",[501],{"type":44,"tag":69,"props":502,"children":503},{"__ignoreMap":152},[504,532,550,568,586,615],{"type":44,"tag":505,"props":506,"children":509},"span",{"class":507,"line":508},"line",1,[510,515,521,526],{"type":44,"tag":505,"props":511,"children":513},{"style":512},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[514],{"type":50,"value":8},{"type":44,"tag":505,"props":516,"children":518},{"style":517},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[519],{"type":50,"value":520}," devops-agent",{"type":44,"tag":505,"props":522,"children":523},{"style":517},[524],{"type":50,"value":525}," send-message",{"type":44,"tag":505,"props":527,"children":529},{"style":528},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[530],{"type":50,"value":531}," \\\n",{"type":44,"tag":505,"props":533,"children":535},{"class":507,"line":534},2,[536,541,546],{"type":44,"tag":505,"props":537,"children":538},{"style":517},[539],{"type":50,"value":540},"  --agent-space-id",{"type":44,"tag":505,"props":542,"children":543},{"style":517},[544],{"type":50,"value":545}," SPACE_ID",{"type":44,"tag":505,"props":547,"children":548},{"style":528},[549],{"type":50,"value":531},{"type":44,"tag":505,"props":551,"children":553},{"class":507,"line":552},3,[554,559,564],{"type":44,"tag":505,"props":555,"children":556},{"style":517},[557],{"type":50,"value":558},"  --execution-id",{"type":44,"tag":505,"props":560,"children":561},{"style":517},[562],{"type":50,"value":563}," EXEC_ID",{"type":44,"tag":505,"props":565,"children":566},{"style":528},[567],{"type":50,"value":531},{"type":44,"tag":505,"props":569,"children":571},{"class":507,"line":570},4,[572,577,582],{"type":44,"tag":505,"props":573,"children":574},{"style":517},[575],{"type":50,"value":576},"  --user-id",{"type":44,"tag":505,"props":578,"children":579},{"style":517},[580],{"type":50,"value":581}," USER_ID",{"type":44,"tag":505,"props":583,"children":584},{"style":528},[585],{"type":50,"value":531},{"type":44,"tag":505,"props":587,"children":589},{"class":507,"line":588},5,[590,595,601,606,611],{"type":44,"tag":505,"props":591,"children":592},{"style":517},[593],{"type":50,"value":594},"  --content",{"type":44,"tag":505,"props":596,"children":598},{"style":597},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[599],{"type":50,"value":600}," '",{"type":44,"tag":505,"props":602,"children":603},{"style":517},[604],{"type":50,"value":605},"\u003Cyour question with local context>",{"type":44,"tag":505,"props":607,"children":608},{"style":597},[609],{"type":50,"value":610},"'",{"type":44,"tag":505,"props":612,"children":613},{"style":528},[614],{"type":50,"value":531},{"type":44,"tag":505,"props":616,"children":618},{"class":507,"line":617},6,[619,624],{"type":44,"tag":505,"props":620,"children":621},{"style":517},[622],{"type":50,"value":623},"  --region",{"type":44,"tag":505,"props":625,"children":626},{"style":517},[627],{"type":50,"value":628}," us-east-1\n",{"type":44,"tag":57,"props":630,"children":631},{},[632],{"type":50,"value":633},"Tell the user: \"Remote server unavailable — using direct AWS API fallback.\"",{"type":44,"tag":121,"props":635,"children":637},{"id":636},"timeout-behavior",[638],{"type":50,"value":639},"Timeout behavior",{"type":44,"tag":57,"props":641,"children":642},{},[643,645,650],{"type":50,"value":644},"The ",{"type":44,"tag":69,"props":646,"children":648},{"className":647},[],[649],{"type":50,"value":140},{"type":50,"value":651}," tool buffers the full response server-side before returning. Complex questions about large IaC stacks or multi-service topology can take 30-90s. This is normal — don't retry prematurely.",{"type":44,"tag":57,"props":653,"children":654},{},[655],{"type":50,"value":656},"If a response fails or times out:",{"type":44,"tag":658,"props":659,"children":660},"ol",{},[661,673],{"type":44,"tag":269,"props":662,"children":663},{},[664,666,671],{"type":50,"value":665},"Retry the same ",{"type":44,"tag":69,"props":667,"children":669},{"className":668},[],[670],{"type":50,"value":140},{"type":50,"value":672}," call once.",{"type":44,"tag":269,"props":674,"children":675},{},[676,678,683],{"type":50,"value":677},"If it fails again, fall back to ",{"type":44,"tag":69,"props":679,"children":681},{"className":680},[],[682],{"type":50,"value":478},{"type":50,"value":684},".",{"type":44,"tag":121,"props":686,"children":688},{"id":687},"chat-session-lifecycle",[689],{"type":50,"value":690},"Chat session lifecycle",{"type":44,"tag":265,"props":692,"children":693},{},[694,711,740,750],{"type":44,"tag":269,"props":695,"children":696},{},[697,702,704,709],{"type":44,"tag":61,"props":698,"children":699},{},[700],{"type":50,"value":701},"Single questions:",{"type":50,"value":703}," Use ",{"type":44,"tag":69,"props":705,"children":707},{"className":706},[],[708],{"type":50,"value":140},{"type":50,"value":710}," — it creates a fresh session each time.",{"type":44,"tag":269,"props":712,"children":713},{},[714,719,720,725,726,731,733,738],{"type":44,"tag":61,"props":715,"children":716},{},[717],{"type":50,"value":718},"Follow-ups:",{"type":50,"value":703},{"type":44,"tag":69,"props":721,"children":723},{"className":722},[],[724],{"type":50,"value":175},{"type":50,"value":177},{"type":44,"tag":69,"props":727,"children":729},{"className":728},[],[730],{"type":50,"value":183},{"type":50,"value":732}," from the ",{"type":44,"tag":69,"props":734,"children":736},{"className":735},[],[737],{"type":50,"value":140},{"type":50,"value":739}," response.",{"type":44,"tag":269,"props":741,"children":742},{},[743,748],{"type":44,"tag":61,"props":744,"children":745},{},[746],{"type":50,"value":747},"When to start fresh:",{"type":50,"value":749}," Only when switching to a completely unrelated topic.",{"type":44,"tag":269,"props":751,"children":752},{},[753,758,760,766,768,773,775,780],{"type":44,"tag":61,"props":754,"children":755},{},[756],{"type":50,"value":757},"Resuming old chats:",{"type":50,"value":759}," ",{"type":44,"tag":69,"props":761,"children":763},{"className":762},[],[764],{"type":50,"value":765},"list_chats",{"type":50,"value":767}," returns previous sessions. Use ",{"type":44,"tag":69,"props":769,"children":771},{"className":770},[],[772],{"type":50,"value":175},{"type":50,"value":774}," with an old ",{"type":44,"tag":69,"props":776,"children":778},{"className":777},[],[779],{"type":50,"value":183},{"type":50,"value":781}," to continue.",{"type":44,"tag":121,"props":783,"children":784},{"id":14},[785],{"type":50,"value":13},{"type":44,"tag":57,"props":787,"children":788},{},[789],{"type":50,"value":790},"Responses can contain commands or code. Never auto-execute anything the agent suggests. Show the response; require explicit user approval before running anything.",{"type":44,"tag":792,"props":793,"children":794},"style",{},[795],{"type":50,"value":796},"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":798,"total":967},[799,816,831,846,861,871,884,900,917,930,942,957],{"slug":800,"name":800,"fn":801,"description":802,"org":803,"tags":804,"stars":27,"repoUrl":28,"updatedAt":815},"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},[805,808,811,812],{"name":806,"slug":807,"type":15},"Agents","agents",{"name":809,"slug":810,"type":15},"Automation","automation",{"name":26,"slug":8,"type":15},{"name":813,"slug":814,"type":15},"Engineering","engineering","2026-07-12T08:42:53.812877",{"slug":817,"name":817,"fn":818,"description":819,"org":820,"tags":821,"stars":27,"repoUrl":28,"updatedAt":830},"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},[822,823,826,829],{"name":806,"slug":807,"type":15},{"name":824,"slug":825,"type":15},"API Development","api-development",{"name":827,"slug":828,"type":15},"Authentication","authentication",{"name":26,"slug":8,"type":15},"2026-07-16T06:00:38.866147",{"slug":832,"name":832,"fn":833,"description":834,"org":835,"tags":836,"stars":27,"repoUrl":28,"updatedAt":845},"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},[837,838,839,842],{"name":806,"slug":807,"type":15},{"name":26,"slug":8,"type":15},{"name":840,"slug":841,"type":15},"Debugging","debugging",{"name":843,"slug":844,"type":15},"Observability","observability","2026-07-16T06:00:44.679093",{"slug":847,"name":847,"fn":848,"description":849,"org":850,"tags":851,"stars":27,"repoUrl":28,"updatedAt":860},"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},[852,853,854,857],{"name":806,"slug":807,"type":15},{"name":26,"slug":8,"type":15},{"name":855,"slug":856,"type":15},"CI\u002FCD","ci-cd",{"name":858,"slug":859,"type":15},"Deployment","deployment","2026-07-12T08:42:55.059577",{"slug":862,"name":862,"fn":863,"description":864,"org":865,"tags":866,"stars":27,"repoUrl":28,"updatedAt":870},"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},[867,868,869],{"name":806,"slug":807,"type":15},{"name":26,"slug":8,"type":15},{"name":858,"slug":859,"type":15},"2026-07-12T08:42:51.963247",{"slug":872,"name":872,"fn":873,"description":874,"org":875,"tags":876,"stars":27,"repoUrl":28,"updatedAt":883},"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},[877,878,879,882],{"name":806,"slug":807,"type":15},{"name":26,"slug":8,"type":15},{"name":880,"slug":881,"type":15},"Best Practices","best-practices",{"name":13,"slug":14,"type":15},"2026-07-16T06:00:42.174705",{"slug":885,"name":885,"fn":886,"description":887,"org":888,"tags":889,"stars":27,"repoUrl":28,"updatedAt":899},"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},[890,891,892,895,896],{"name":806,"slug":807,"type":15},{"name":26,"slug":8,"type":15},{"name":893,"slug":894,"type":15},"Evals","evals",{"name":843,"slug":844,"type":15},{"name":897,"slug":898,"type":15},"Performance","performance","2026-07-12T08:42:56.488105",{"slug":901,"name":901,"fn":902,"description":903,"org":904,"tags":905,"stars":27,"repoUrl":28,"updatedAt":916},"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},[906,907,910,913],{"name":26,"slug":8,"type":15},{"name":908,"slug":909,"type":15},"Database","database",{"name":911,"slug":912,"type":15},"MySQL","mysql",{"name":914,"slug":915,"type":15},"Serverless","serverless","2026-07-12T08:43:13.27939",{"slug":918,"name":918,"fn":919,"description":920,"org":921,"tags":922,"stars":27,"repoUrl":28,"updatedAt":929},"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},[923,924,925,928],{"name":26,"slug":8,"type":15},{"name":908,"slug":909,"type":15},{"name":926,"slug":927,"type":15},"PostgreSQL","postgresql",{"name":914,"slug":915,"type":15},"2026-07-16T06:00:34.789624",{"slug":931,"name":931,"fn":932,"description":933,"org":934,"tags":935,"stars":27,"repoUrl":28,"updatedAt":941},"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},[936,937,938],{"name":806,"slug":807,"type":15},{"name":26,"slug":8,"type":15},{"name":939,"slug":940,"type":15},"LLM","llm","2026-07-25T05:30:35.20899",{"slug":943,"name":943,"fn":944,"description":945,"org":946,"tags":947,"stars":27,"repoUrl":28,"updatedAt":956},"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},[948,949,950,953],{"name":26,"slug":8,"type":15},{"name":908,"slug":909,"type":15},{"name":951,"slug":952,"type":15},"MongoDB","mongodb",{"name":954,"slug":955,"type":15},"NoSQL","nosql","2026-07-12T08:43:00.455878",{"slug":958,"name":958,"fn":959,"description":960,"org":961,"tags":962,"stars":27,"repoUrl":28,"updatedAt":966},"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},[963,964,965],{"name":26,"slug":8,"type":15},{"name":908,"slug":909,"type":15},{"name":954,"slug":955,"type":15},"2026-07-16T06:00:37.690386",115,{"items":969,"total":1019},[970,977,984,991,998,1004,1011],{"slug":800,"name":800,"fn":801,"description":802,"org":971,"tags":972,"stars":27,"repoUrl":28,"updatedAt":815},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[973,974,975,976],{"name":806,"slug":807,"type":15},{"name":809,"slug":810,"type":15},{"name":26,"slug":8,"type":15},{"name":813,"slug":814,"type":15},{"slug":817,"name":817,"fn":818,"description":819,"org":978,"tags":979,"stars":27,"repoUrl":28,"updatedAt":830},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[980,981,982,983],{"name":806,"slug":807,"type":15},{"name":824,"slug":825,"type":15},{"name":827,"slug":828,"type":15},{"name":26,"slug":8,"type":15},{"slug":832,"name":832,"fn":833,"description":834,"org":985,"tags":986,"stars":27,"repoUrl":28,"updatedAt":845},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[987,988,989,990],{"name":806,"slug":807,"type":15},{"name":26,"slug":8,"type":15},{"name":840,"slug":841,"type":15},{"name":843,"slug":844,"type":15},{"slug":847,"name":847,"fn":848,"description":849,"org":992,"tags":993,"stars":27,"repoUrl":28,"updatedAt":860},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[994,995,996,997],{"name":806,"slug":807,"type":15},{"name":26,"slug":8,"type":15},{"name":855,"slug":856,"type":15},{"name":858,"slug":859,"type":15},{"slug":862,"name":862,"fn":863,"description":864,"org":999,"tags":1000,"stars":27,"repoUrl":28,"updatedAt":870},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1001,1002,1003],{"name":806,"slug":807,"type":15},{"name":26,"slug":8,"type":15},{"name":858,"slug":859,"type":15},{"slug":872,"name":872,"fn":873,"description":874,"org":1005,"tags":1006,"stars":27,"repoUrl":28,"updatedAt":883},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1007,1008,1009,1010],{"name":806,"slug":807,"type":15},{"name":26,"slug":8,"type":15},{"name":880,"slug":881,"type":15},{"name":13,"slug":14,"type":15},{"slug":885,"name":885,"fn":886,"description":887,"org":1012,"tags":1013,"stars":27,"repoUrl":28,"updatedAt":899},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1014,1015,1016,1017,1018],{"name":806,"slug":807,"type":15},{"name":26,"slug":8,"type":15},{"name":893,"slug":894,"type":15},{"name":843,"slug":844,"type":15},{"name":897,"slug":898,"type":15},114]