Repository navigation
Conversation
Accept an optional platformVersion (V1 | V2) on runtimes in agentcore.json and write it from `agentcore add runtime --platform-version`, which rejects any other value. Both spec builders carry it through, and `agentcore runtime get` shows the deployed platform version. The runtime docs that add runtime writes now describe V2 for Python and TypeScript: startup versus per-request work, snapshot-safe randomness, shared hostname and PID, slower create and update, keeping the field set, and the service error when the Region or account doesn't offer V2. They link to the AWS region list rather than copying it. Reaching a deployed runtime needs a @aws/agentcore-cdk release with platformVersion support and a bump of the pin in src/assets/cdk/package.json, which maintainers handle separately. Closes #2674
Accept an optional platformVersion (V1 | V2) on runtimes in agentcore.json and write it from `agentcore add runtime --platform-version`, which rejects any other value. Both spec builders carry it through, and `agentcore runtime get` shows the deployed platform version. The runtime docs that add runtime writes now describe V2 for Python and TypeScript: startup versus per-request work, snapshot-safe randomness, shared hostname and PID, slower create and update, keeping the field set, and the service error when the Region or account doesn't offer V2. They link to the AWS region list rather than copying it. Reaching a deployed runtime needs a @aws/agentcore-cdk release with platformVersion support and a bump of the pin in src/assets/cdk/package.json, which maintainers handle separately. Closes #2674 (cherry picked from commit 157c017)
…late fixes (#2905) - resourceConfigurations and hooksConfiguration in agentcore.json, with `agentcore add runtime --resource-configurations/--hooks-configuration` (JSON, V2 only) and memory and hooks rows in `agentcore runtime get`. - `agentcore dev` runs a runtime's build warmup hook the way V2 does: waits for a healthy GET /ping, sends the memory and disk calls in one 120 s budget, and fails the start if either fails. Covers the supervisor and `dev --agent`; a container hook on its own port is published with an extra port mapping. - Templates: AG-UI builds the agent on the first request for API-key model providers, so the key isn't frozen into a V2 snapshot; the Strands container moves to Amazon Linux 2023 with snapshot-safe OpenSSL and Python 3.12; BMA uses AL2023's Python 3.14, which links the base image's snapshot-safe OpenSSL, instead of a uv-installed Python with its own. - Runtime docs follow the current "Optimize for V2" guidance. Co-authored-by: Vignesh Somasundaram <visomasu@amazon.com> (cherry picked from commit a6ec000)
# Conflicts: # src/assets/templates/runtime-docs/python/AGENTS.md # src/assets/templates/runtime-docs/python/README.md # src/assets/templates/runtime-docs/typescript/AGENTS.md # src/assets/templates/runtime-docs/typescript/README.md # src/handlers/runtime/get/screen.tsx # src/handlers/runtime/runtime.screen.test.tsx # src/projectSchemas/runtime.test.ts
Co-authored-by: Sasha Mittal <sashaxm@amazon.com>
… and templates (#2918) - dev: for MCP, any GET /ping response but 502 or 429 counts as ready, as on AgentCore Runtime; a hook path without a leading "/" fails with a clear message; a Python CodeZip hook on its own port warns and names the cause; headless dev refuses CodeZip agents whose hooks share an own port. - add runtime and dev warn when hooksConfiguration has no camelCase build.warmup.action.httpPost.path. The schema stays loose. - --platform-version help and the runtime READMEs no longer name V1 as the service default. - Runtime READMEs and AGENTS.md explain how each protocol serves the warmup hook and that the SDK version must support it. - BMA template: POST /warmup keeps the Codex and CloudWatch agent binaries in memory in the V2 snapshot and warms their start-up files; the README shows how to enable it. BMA's profile is unchanged. Co-authored-by: Vignesh Somasundaram <visomasu@amazon.com>
Contributor
Package TarballHow to installgh release download pr-2925-tarball --repo aws/agentcore-cli --pattern "*.tgz" --dir /tmp/pr-tarball
npm install -g /tmp/pr-tarball/aws-agentcore-1.2.0.tgz |
| @@ -1,4 +1,7 @@ | |||
| import os | |||
| {{#unless (eq modelProvider "Bedrock")}} | |||
Contributor
|
Claude Security Review: no high-confidence findings. (run) |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## v1.x #2925 +/- ##
==========================================
+ Coverage 96.57% 96.59% +0.02%
==========================================
Files 734 735 +1
Lines 60956 61626 +670
==========================================
+ Hits 58869 59529 +660
- Misses 2087 2097 +10 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
nborges-aws
approved these changes
Nov 25, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Release of AgentCore Runtime platform version V2 support:
agentcore add runtime --platform-version V1|V2, written toagentcore.json;runtime getshows the deployed platform version.resourceConfigurations,hooksConfiguration), build warmup hooks inagentcore dev, and V2-ready templates and runtime docs.s3BucketMountfilesystem configurations (Mountpoint for Amazon S3) on V2 runtimes.Deploying these needs
@aws/agentcore-cdkwith the matching constructs (aws/agentcore-l3-cdk-constructs#494); the release workflow pins the vended CDK to npmlatest, so the L3 release publishes first.Source PRs
Related Issue
No issue
Documentation PR
Runtime docs written by
add runtimeare updated in this PR.Type of Change
Testing
bun test(5261 pass, 0 fail),bun run typecheckon the merge withv1.x