Skip to main content

Agentcore Bootstrap

@webframp/agentcore-bootstrapv2026.08.05.1· 1d agoMODELSWORKFLOWS
01README

One-shot bootstrap for @webframp/agentcore. Ships a provisioner model that creates an ECR repository, builds and pushes the worker container image, and deploys an AgentCore runtime. The bundled workflow orchestrates provisioning then outputs the runtimeArn and bucket name needed to configure the driver.

Prerequisites

  • AWS credentials with permissions to create ECR repositories, IAM roles, and Bedrock AgentCore runtimes
  • Docker (or podman/buildah) available locally for building the worker image
  • @webframp/container-image extension installed

Running

swamp extension pull @webframp/agentcore-bootstrap

swamp model create @webframp/container-image worker-image
swamp model create @webframp/agentcore-bootstrap/provisioner agentcore-provisioner

swamp workflow run @webframp/bootstrap-agentcore \
  --input region=us-east-1 \
  --input bucket_name=swamp-agentcore-coord-us-east-1
02Release Notes

2026.08.05.1

Changed: Bump @webframp/agentcore 2026.07.31.1 → 2026.08.02.1

2026.08.02.2

Fixed: The workflow's description field embedded a live data.latest("agentcore-provisioner", "provision") CEL expression as "documentation." Swamp evaluates every ${{ ... }} expression found anywhere in a workflow definition — including inside description text — eagerly and strictly, before any job runs. Since the referenced resource does not exist until the provision job completes, this expression threw Invalid expression: No such key: attributes on every fresh bootstrap, aborting the workflow before job 1 ever started. The description field no longer contains a live expression; it points to the README for the exact CEL snippet to use in a driver config instead.

Fixed: The README's "After Bootstrap" example used the same wrong instance name ("provision" instead of "main", the actual writeResource() instance name) that issue #330 identified in the sibling datastore-bootstrap extensions. A user who copied that snippet into their own driverConfig would hit the same "No such key: attributes" error.

Upgrade note: No schema or model change. Re-pull to get a workflow that actually completes a fresh run, and a correct README example.

03Models1
@webframp/agentcore-bootstrap/provisionerv2026.08.05.1provisioner.ts
fn provision()
Create S3 bucket, ECR repository, IAM role, build and push worker image, and deploy AgentCore runtime.

Resources

provision(infinite)— AgentCore infrastructure provisioning result
04Workflows1
@webframp/bootstrap-agentcorea7c3e1f0-4b2d-4e8a-9f1c-6d5a3b2e1c0f

Provision all AWS infrastructure for the @webframp/agentcore execution driver: S3 coordination bucket, ECR repository, worker container image, IAM role, and AgentCore runtime. After completion, configure the driver with the output runtimeArn and bucket name — read resource "provision", instance "main" from model "agentcore-provisioner" (fields: runtimeArn, bucketName). See the README for the exact CEL snippet to paste into your driverConfig.

provisionCreate all AWS infrastructure and build/push the worker image.
1.bootstrapagentcore-provisioner.provision— Run the provisioner model to create S3 bucket, ECR repo, IAM role, build and push the worker image, and deploy the AgentCore runtime. Instance `agentcore-provisioner` must be pre-created with globalArguments wired to the workflow inputs.
05Previous Versions11
2026.08.02.2

2026.08.02.2

Fixed: The workflow's description field embedded a live data.latest("agentcore-provisioner", "provision") CEL expression as "documentation." Swamp evaluates every ${{ ... }} expression found anywhere in a workflow definition — including inside description text — eagerly and strictly, before any job runs. Since the referenced resource does not exist until the provision job completes, this expression threw Invalid expression: No such key: attributes on every fresh bootstrap, aborting the workflow before job 1 ever started. The description field no longer contains a live expression; it points to the README for the exact CEL snippet to use in a driver config instead.

Fixed: The README's "After Bootstrap" example used the same wrong instance name ("provision" instead of "main", the actual writeResource() instance name) that issue #330 identified in the sibling datastore-bootstrap extensions. A user who copied that snippet into their own driverConfig would hit the same "No such key: attributes" error.

Upgrade note: No schema or model change. Re-pull to get a workflow that actually completes a fresh run, and a correct README example.

updated binaries

2026.08.02.1

2026.08.02.1

Changed: Bump @webframp/container-image 2026.07.18.1 → 2026.08.01.1

Changed: Bump @webframp/agentcore 2026.07.27.2 → 2026.07.31.1

2026.08.01.1

Fixed: Broken model-upgrade chain. The prior version bump (to 2026.07.31.1) updated version but left the upgrades array terminating one step short, which blocks swamp extension push ("model upgrade chain errors"). That version never actually published — the registry was still serving 2026.07.24.1. This release closes the chain with a no-op upgrade entry and republishes everything that had accumulated since 2026.07.24.1.

2026.07.31.1

Changed: Bump @webframp/agentcore 2026.07.27.1 → 2026.07.27.2

2026.07.27.2

Changed: Bump @webframp/agentcore 2026.07.21.1 → 2026.07.27.1

2026.07.27.1

Changed: Reformatted files that had drifted from deno fmt. No code behavior changes.

Fixed: deno fmt no longer inspects CLAUDE.md / AGENTS.md. Those files are gitignored and never present in CI, but deno fmt does not read .gitignore, so deno task fmt:check could fail locally on a file CI does not have.

Upgrade note: Tooling and formatting only. No model, method, schema, or behavior change — nothing to do on upgrade.

updated dependencies. updated binaries

2026.08.01.1

2026.08.01.1

Fixed: Broken model-upgrade chain. The prior version bump (to 2026.07.31.1) updated version but left the upgrades array terminating one step short, which blocks swamp extension push ("model upgrade chain errors"). That version never actually published — the registry was still serving 2026.07.24.1. This release closes the chain with a no-op upgrade entry and republishes everything that had accumulated since 2026.07.24.1.

2026.07.31.1

Changed: Bump @webframp/agentcore 2026.07.27.1 → 2026.07.27.2

2026.07.27.2

Changed: Bump @webframp/agentcore 2026.07.21.1 → 2026.07.27.1

2026.07.27.1

Changed: Reformatted files that had drifted from deno fmt. No code behavior changes.

Fixed: deno fmt no longer inspects CLAUDE.md / AGENTS.md. Those files are gitignored and never present in CI, but deno fmt does not read .gitignore, so deno task fmt:check could fail locally on a file CI does not have.

Upgrade note: Tooling and formatting only. No model, method, schema, or behavior change — nothing to do on upgrade.

updated dependencies. updated binaries

2026.07.24.1

2026.07.24.1

Changed: Bump dependency pins to latest published versions:

  • @webframp/container-image 2026.07.13.1 → 2026.07.18.1
  • @webframp/agentcore 2026.07.13.1 → 2026.07.21.1

updated dependencies. updated binaries

2026.07.21.1

2026.07.21.1

Changed: Bumped AWS SDK (client-s3) in worker image to 3.1091.0 (from 3.1066.0).

Upgrade note: No behavioral changes. Routine dependency maintenance.

updated binaries

2026.07.20.1

2026.07.20.1

Changed: Pinned the previously unpinned dependencies to exact versions for reproducible builds. No behavioral or schema changes to the provisioner model or bootstrap workflow.

Upgrade note: Now pins @webframp/container-image@2026.07.13.1 and @webframp/agentcore@2026.07.13.1. Both are pulled automatically with this extension.

updated dependencies. updated binaries

2026.07.18.1

2026.07.18.1

Added: An upgrades array entry (no-op) to provisioner.ts for proper typeVersion tracking on existing instances. No schema or behavior changes.

2026.07.16.2

Fixed: 2026.07.16.1 published successfully but the registry's latestVersion never advanced to it (filed as swamp Lab #1195) — swamp extension pull was still resolving 2026.06.23.1. This bump re-triggers the publish. No content change beyond the previous release.

updated binaries

2026.07.16.2

2026.07.16.2

Fixed: 2026.07.16.1 published successfully but the registry's latestVersion never advanced to it (filed as swamp Lab #1195) — swamp extension pull was still resolving 2026.06.23.1. This bump re-triggers the publish. No content change beyond the previous release.

updated binaries

2026.06.23.1

updated binaries

2026.06.15.1

updated binaries

2026.06.12.1
06Stats
A
100 / 100
Downloads
0
Archive size
19.6 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
07Platforms
08Labels