Add AgentCore AWS Specialist Agent sample#105
Conversation
An AWS specialist chat agent built on FAST v0.4.1, showcased at the AgentCore booth at AWS Summit Japan 2026. Key additions over the FAST baseline: - Selectable models: Claude and OpenAI GPT on Bedrock via a CDK model registry and per-chat UI selector - Long-term memory: AgentCore Memory SemanticMemoryStrategy plus an LTM-listing MCP server hosted on its own Runtime - Web search: Amazon-managed AgentCore Gateway web search connector - Chat-history sidebar: API Gateway + Lambda + DynamoDB session history - Fully closed NAT-free VPC: all egress via interface/gateway endpoints - Skills on Runtime: read-only S3 Files mount at /mnt/skills with vendored, hash-pinned skill content - Multi-MCP-server management with Cedar ABAC per user department - Speculative pre-warming to reduce cold-start latency ASH scan green with suppressions documented in .ash/ash.yaml. Tests: pytest 57/57, vitest 102/102, CDK jest 18/18.
|
Latest scan for commit: Security Scan ResultsScan Metadata
SummaryScanner ResultsThe table below shows findings by scanner, with status based on severity thresholds and dependencies: Column Explanations: Severity Levels (S/C/H/M/L/I):
Other Columns:
Scanner Results:
Severity Thresholds (Thresh Column):
Threshold Source: Values in parentheses indicate where the threshold is configured:
Statistics calculation:
Detailed FindingsShow 26 actionable findingsFinding 1: B104
Description: Code Snippet: Finding 2: B104
Description: Code Snippet: Finding 3: B104
Description: Code Snippet: Finding 4: B104
Description: Code Snippet: Finding 5: SECRET-HEX-HIGH-ENTROPY-STRING
Description: Code Snippet: Finding 6: SECRET-HEX-HIGH-ENTROPY-STRING
Description: Code Snippet: Finding 7: SECRET-HEX-HIGH-ENTROPY-STRING
Description: Code Snippet: Finding 8: SECRET-SECRET-KEYWORD
Description: Code Snippet: Finding 9: SECRET-SECRET-KEYWORD
Description: Code Snippet: Finding 10: SECRET-SECRET-KEYWORD
Description: Code Snippet: Finding 11: python.lang.security.audit.logging.logger-credential-leak.python-logger-credential-disclosure
Description: Code Snippet: Finding 12: python.lang.security.audit.logging.logger-credential-leak.python-logger-credential-disclosure
Description: Code Snippet: Finding 13: python.lang.security.audit.logging.logger-credential-leak.python-logger-credential-disclosure
Description: Code Snippet: Finding 14: javascript.lang.security.audit.path-traversal.path-join-resolve-traversal.path-join-resolve-traversal
Description: Code Snippet: Finding 15: javascript.lang.security.audit.path-traversal.path-join-resolve-traversal.path-join-resolve-traversal
Description: Code Snippet: Finding 16: javascript.lang.security.audit.path-traversal.path-join-resolve-traversal.path-join-resolve-traversal
Description: Code Snippet: Finding 17: GHSA-jpw9-pfvf-9f58-mcp
Description: Finding 18: GHSA-jpw9-pfvf-9f58-mcp
Description: Finding 19: GHSA-jpw9-pfvf-9f58-mcp
Description: Finding 20: GHSA-hvrp-rf83-w775-mcp
Description: Finding 21: GHSA-hvrp-rf83-w775-mcp
Description: Finding 22: GHSA-hvrp-rf83-w775-mcp
Description: Finding 23: GHSA-vj7q-gjh5-988w-mcp
Description: Finding 24: GHSA-vj7q-gjh5-988w-mcp
Description: Finding 25: GHSA-vj7q-gjh5-988w-mcp
Description: Finding 26: GHSA-gh4j-gqv2-49f6-fast-xml-parser
Description: Report generated by Automated Security Helper (ASH) at 2026-07-17T16:10:03+00:00 |
…ncation Deployment verification of the sample surfaced two failures: - Cognito domain prefixes must not contain the reserved words aws/amazon/ cognito, and cognito-stack.ts derives the prefix from stack_name_base, so 'fast-aws-specialist' failed UserPoolDomain creation with InvalidRequest. Rename to 'fast-specialist-agent'. - The cedar-policy Lambda truncated over-long policy names with policy_name[:48], which drops the index suffix and gives every policy the same name once the engine name exceeds ~30 chars; CreatePolicy then fails with ConflictException. Shorten the timestamp instead and always keep the index. Verified end to end: the stack deploys CREATE_COMPLETE and all six Cedar policies are created ACTIVE with unique names.
Show the agent invoking AWS Skills, AWS MCP tools, and managed Web Search via AgentCore Gateway while rendering a mermaid architecture diagram, with red callouts for the chat-history sidebar and the model selector. Addresses PR aws-samples#105 review feedback to better differentiate the sample from out-of-the-box FAST.
What this PR adds
A new sample under
samples/aws-specialist-agent/: an AWS specialist chat agent built on FAST v0.4.1, showcased at the AgentCore booth at AWS Summit Japan 2026. The agent reasons about AWS, calls AWS APIs and managed tools through AgentCore Gateway, searches the web, executes code, and remembers facts across sessions.Key differences from FAST
/mnt/skills, vendored and hash-pinnedChecklist against CONTRIBUTING.md
(uksb-v6dos0t5g8)tracking suffix ininfra-cdk/lib/fast-main-stack.tsis preservedstack_name_base(fast-specialist-agent) inconfig.yaml(the name avoids the word "aws" because Cognito domain prefixes, derived fromstack_name_base, must not contain the reserved words aws/amazon/cognito)docs/img/samples/aws-specialist-agent/and appends one entry to the root README (table row + section, no other lines touched)infra-terraformdirectory).ash/ash.yaml)