Description
Add first-class Mastra support to the AgentCore CLI TypeScript agent template flow.
AgentCore CLI already supports TypeScript templates for Strands and Vercel AI. Mastra is another TypeScript-first agent framework commonly used with AI SDK providers, including Amazon Bedrock. Adding a scaffolded Mastra template would let users create deployable AgentCore Runtime agents without bringing their own project structure.
Proposed scope:
- Add Mastra to supported TypeScript framework validation.
- Add Mastra to create/add agent framework selection.
- Add a Mastra template renderer and TypeScript HTTP template assets.
- Support Bedrock, Anthropic, OpenAI, and Gemini model providers.
- Add tests and update asset snapshots.
Related to #1207, where a user reported manually validating a TypeScript Container agent using Mastra and AI SDK while debugging the TypeScript getting-started docs.
Acceptance Criteria
Additional Context
N/A
Description
Add first-class Mastra support to the AgentCore CLI TypeScript agent template flow.
AgentCore CLI already supports TypeScript templates for Strands and Vercel AI. Mastra is another TypeScript-first agent framework commonly used with AI SDK providers, including Amazon Bedrock. Adding a scaffolded Mastra template would let users create deployable AgentCore Runtime agents without bringing their own project structure.
Proposed scope:
Related to #1207, where a user reported manually validating a TypeScript Container agent using Mastra and AI SDK while debugging the TypeScript getting-started docs.
Acceptance Criteria
agentcore create.agentcore add agent./invocations.Additional Context
N/A