This feature installs the Amazon Bedrock AgentCore CLI from npm (@aws/agentcore). Source repository: aws/agentcore-cli.
Node.js is declared as a hard dependency in devcontainer-feature.json via dependsOn on ghcr.io/devcontainers/features/node:1 with version: lts, so the LTS Node line is installed before this feature and satisfies the AgentCore requirement of Node.js 20 or later.
installsAfter includes common-utils for consistent ordering when you also add that feature to your dev container.
| Option | Type | Default | Description |
|---|---|---|---|
packageVersion |
string | "" |
npm semver or dist-tag for @aws/agentcore; empty = latest |
Add the feature to .devcontainer/devcontainer.json. You only need to reference this feature; Node is pulled in automatically.
Pin an npm version when needed:
"ghcr.io/jajera/features/agentcore-cli:1": {
"packageVersion": "1.0.0"
}After the container builds:
agentcore --version- This feature does not configure AWS credentials, the AWS CLI, Python, or CDK; add other features or image setup as needed for
agentcore deployand local development.
{ "image": "mcr.microsoft.com/devcontainers/base:ubuntu", "features": { "ghcr.io/jajera/features/agentcore-cli:1": { "packageVersion": "" } } }