awslabs/fullstack-solution-template-for-agentcore

Flexible Fullstack solution template for production-ready deployments of any use case on Amazon Bedrock AgentCore.

What it solves

FAST is a starter repository that removes the difficult parts of setting up a full-stack application on Amazon AgentCore. Instead of spending weeks wiring infrastructure, authentication, and a frontend from scratch, delivery scientists and engineers can deploy a working baseline system in a few commands and then customize it. It also embeds security best practices as documentation, so even developers without deep frontend or infrastructure experience can build production-quality applications quickly.

How it works

FAST ships with a fully deployable baseline: a React frontend (TypeScript, Vite, Tailwind, shadcn) hosted on AWS Amplify, connected to an AgentCore backend. Out of the box, it includes a multi-turn chat agent with two tools: a Lambda-based gateway tool for text analysis and a Code Interpreter that runs Python securely in a sandbox. Authentication uses AWS Cognito (with OAuth), and the infrastructure is defined using CDK or Terraform. The repository also contains extensive documentation (in the docs/ folder) that guides AI coding assistants on best practices for customizing the app—frontend, backend, security policies, identity propagation, and more. Developers simply fork the repo, run cdk deploy (or Terraform equivalent), and then use their preferred coding assistant to tailor the app to any use case.

The architecture follows a specific security flow: a user logs in via Cognito, the frontend passes a JWT to AgentCore Runtime, which then authenticates via OAuth2 client credentials to the Gateway, where Cedar policies enforce fine-grained access control based on user claims.

Who it's for

This template is aimed at delivery scientists and engineers who want to build full-stack applications on Amazon AgentCore without needing to become frontend or infrastructure experts. It is also designed to support “vibe-coding” style development—where AI coding assistants write and customize most of the code—so technical professionals who focus on prompt engineering and GenAI details can quickly turn ideas into working applications.

Highlights

  • Deployable out of the box with a simple set of commands (CDK or Terraform)
  • Secure baseline with Cognito authentication, JWT validation, and Cedar policy–based access control
  • Includes a working multi-turn chat agent with a text analysis gateway tool and a code interpreter tool
  • Agnostic to agent SDK (supports Strands, LangGraph, etc.) and to coding assistant platforms (Q, Kiro, Cline, Claude Code)
  • Extensive documentation embedded in the repository that coding assistants can reference for best practices
  • Baseline is intentionally simple so it can be customized to any use case without friction

Related

  • Project
  • Project
  • Project
  • Project
  • Project