This repository is a Backstage scaffolder template for creating a new AI agent hosted on Amazon Bedrock AgentCore Runtime. It generates a repository, publishes it to GitHub and registers it in the catalog.
- A Python agent built with the Strands Agents SDK, with a system prompt, input checks, structured request logging and unit tests
- An AWS SAM
template.yamlwith an AgentCore Runtime and a least-privilege IAM execution role - Optionally, an AgentCore Memory so the agent remembers a conversation
- A Dockerfile for the agent's Linux arm64 container image
- GitHub Actions workflows that test the agent, build and push the image to ECR, and deploy with AWS SAM
- A project handbook under
docs/, published through Backstage TechDocs - Backstage catalog metadata in
catalog-info.yaml - Optionally, Spec Kit initialized for Claude, Copilot or Codex
template.yaml: the Backstage scaffolder template definitionskeleton/: files copied into the generated projectpipeline/: GitHub Actions workflows and the ECR repository policy used by the generated project
Files under skeleton/ and pipeline/ are rendered by the scaffolder, so ${{ values.* }}
and {% ... %} are template syntax. GitHub Actions expressions in the workflows are wrapped in
{% raw %}.
The template asks for:
- component name, description, owning group, domain, system, environment and AWS account
- the agent's instructions, its Bedrock model, the Python version, and whether it remembers conversations
- whether to initialize Spec Kit, and for which coding agent
- whether to launch a Copilot cloud agent task
It then fetches the catalog entities, copies the skeleton and the pipeline, initializes Spec Kit, publishes the repository, registers the component and launches the Copilot task.
- Backstage with the Scaffolder plugin, the GitHub publisher, and the
github:speckit:*andgithub:copilot:agent:launchactions - Catalog entities for domain, system, owner, environment and cloud account
- The organization secrets
AWS_CICD_ACCOUNT_IDandAWS_ECR_REPOavailable to generated repositories - In the deployment account: access to the chosen Bedrock model, and CloudWatch Transaction Search enabled for traces
The generated project generalizes Bill-GN, using
its specifications and its plan for the core agent. The image build follows the container
workflows in backstage-aws-sam-ecs-template.
A Slack or API front end, reference knowledge, tools, multi-agent orchestration, and Datadog dashboards or alarms are not generated.