Start
Get started
Pick one of the four samples for agentic AI on Amazon Bedrock and Amazon Bedrock AgentCore, clone the repository, and take its first steps here. The full quickstart and the teardown live on each project page; every path deploys real AWS resources.
First ten minutes by project
Each section gives the clone and folder lines, the expected time and the first two steps of one project, then hands over to the project page for the rest. source for the clone command (opens in new tab)
1. LearnBuilding an Enterprise Agentic AI Platform
Learn the platform patterns hands-on. Workshop project page.
At an AWS event
Workshop Studio provisions a pre-configured account for you. There is nothing to deploy.
Open the workshop (opens in new tab)source for step: Open the workshop (opens in new tab)
The workshop guide is published on AWS Builder Center (Workshop Studio).
Sign in to the pre-provisioned AWS accountsource for step: Sign in to the pre-provisioned AWS account (opens in new tab)
All workshop resources are deployed to us-west-2. Log out of other AWS console sessions first.
Self-paced in your own account
One deploy script provisions the same five CloudFormation stacks and browser IDE that events use. Use a dedicated account you can tear down.
Clone the repository and enter the project foldersource for step: Clone the repository and enter the project folder (opens in new tab)
git clone https://github.com/aws-samples/sample-ai-agent-factory.git cd sample-ai-agent-factory/workshop-building-agentic-ai-platformFolder names are exact and case-sensitive.
Set a validated regionsource for step: Set a validated region (opens in new tab)
aws configure set region us-west-2 # or us-east-1, eu-west-1us-west-2 is the default. us-east-1 and eu-west-1 are also validated. Other regions are not supported.
Deploy all five stackssource for step: Deploy all five stacks (opens in new tab)
./scripts/self-service-deploy.shAbout 30 to 45 minutes. The script runs a preflight check, then prints the IDE URL and password at the end.
2. BuildAgentCore Visual Workflow Platform
Build and ship agents visually. Self-Service project page.
Deploy the platform
One script validates prerequisites, deploys the CDK stack, builds the frontend and prints the URLs.
Clone the repository and enter the project foldersource for step: Clone the repository and enter the project folder (opens in new tab)
git clone https://github.com/aws-samples/sample-ai-agent-factory.git cd sample-ai-agent-factory/Agentic-ai-self-serviceFolder names are exact and case-sensitive.
Deploy with at least one Cognito usersource for step: Deploy with at least one Cognito user (opens in new tab)
# Minimal deploy (dev environment, us-east-1) COGNITO_USERS="user@example.com" ./scripts/deploy.sh # Specific environment COGNITO_USERS="user@example.com" ENVIRONMENT_NAME=prod ./scripts/deploy.sh # Another region (Frankfurt) COGNITO_USERS="user@example.com" AWS_REGION=eu-central-1 ./scripts/deploy.shA first-time deploy takes roughly 15 to 20 minutes. Lambda code is packaged by CDK; no Docker build or ECR push is needed.
Assign a persona on first sign-insource for step: Assign a persona on first sign-in (opens in new tab)
POOL_ID=$(aws cognito-idp list-user-pools --max-results 40 --region us-east-1 \ --query "UserPools[?Name=='agentcore-workflow-dev-users'].Id | [0]" --output text) # Full access (all scopes) + admin UI + registry approver: for g in g-admins-super t-admin registry-admin; do aws cognito-idp admin-add-user-to-group --user-pool-id "$POOL_ID" \ --username you@example.com --group-name "$g" --region us-east-1 doneCOGNITO_USERS creates users with no group, so a new user is read-only until you assign one. Always pass the region you deployed to. Sign out and back in after changing groups.
3. GovernEnterprise MCP Governance Gateway
Govern every tool call. MCP Gateway project page.
Deploy and prove the governance
Five steps, about 5 minutes. Prerequisites: Node.js with the CDK CLI at 2.1129.0, Python 3.12+, and AWS credentials for the target account.
Clone the repository and enter the project foldersource for step: Clone the repository and enter the project folder (opens in new tab)
git clone https://github.com/aws-samples/sample-ai-agent-factory.git cd sample-ai-agent-factory/enterprise-mcp-governance-gatewayFolder names are exact and case-sensitive.
Set the region and install the Python dependenciessource for step: Set the region and install the Python dependencies (opens in new tab)
export AWS_REGION=us-west-2 python3 -m venv .venv && source .venv/bin/activate pip install -r cdk/requirements.txt -r requirements-dev.txtRun from the enterprise-mcp-governance-gateway folder of the cloned repository.
1. Deploy the gatewaysource for step: 1. Deploy the gateway (opens in new tab)
cd cdk && cdk bootstrap && cdk deploy EnterpriseMcpGatewayStack --require-approval never && cd ..One stack, about 2 minutes.
4. ScaleEnterprise Agentic AI Platform Blueprint
Evaluate the enterprise reference. Blueprint project page.
Prerequisites and deployment sequence
The Blueprint is a multi-account rollout, not a single command. Start with one representative Workstream cell and prove the complete lifecycle before onboarding more.
Clone the repository and enter the project foldersource for step: Clone the repository and enter the project folder (opens in new tab)
git clone https://github.com/aws-samples/sample-ai-agent-factory.git cd sample-ai-agent-factory/enterprise-agentic-ai-platform-blueprintFolder names are exact and case-sensitive.
Confirm the prerequisites (README section 5)source for step: Confirm the prerequisites (README section 5) (opens in new tab)
Node.js 20 or later, Python 3.12 or later, AWS CLI v2 and AWS CDK v2. An AWS Organizations landing zone with Management, Platform and Workstream account roles. A GitHub organization with an AWS CodeConnections connection. Bedrock model access in the target Region. Administrator access for the initial bootstrap only.
6.1 One-time setupsource for step: 6.1 One-time setup (opens in new tab)
git clone https://github.com/aws-samples/sample-ai-agent-factory.git cd sample-ai-agent-factory/enterprise-agentic-ai-platform-blueprint npm ci npm run build npm test npm run lint npm run scrub export AWS_REGION=eu-west-1 export AWS_DEFAULT_REGION="$AWS_REGION" export CDK_DEFAULT_REGION="$AWS_REGION"Set all three Region variables; setting only CDK_DEFAULT_REGION is insufficient.
Support and feedback
- Questions, bugs, and feature requests: open a GitHub issue (opens in new tab) and name the project it concerns.
- Security issues: use the AWS vulnerability reporting page (opens in new tab). Do not open a public GitHub issue for a potential security problem. source for security reporting (opens in new tab)
- Contributing: read the contribution guidelines before opening a pull request.
- Common questions: regions, costs, first sign-in, and the open issues are answered in the FAQ.