feat(create): add --skip-install flag to skip dependency installation#782
Merged
jesseturner21 merged 1 commit intomainfrom Apr 7, 2026
Merged
feat(create): add --skip-install flag to skip dependency installation#782jesseturner21 merged 1 commit intomainfrom
jesseturner21 merged 1 commit intomainfrom
Conversation
Adds a --skip-install flag to `agentcore create` that skips all dependency installation (npm install for CDK and uv sync for Python). This enables enterprise users behind corporate proxies or private registries to modify package.json/pyproject.toml before installing dependencies manually. The flag sets the existing AGENTCORE_SKIP_INSTALL env var (previously only used in tests) and also implies --skip-python-setup behavior. A post-create message instructs users to install manually.
Contributor
Package TarballHow to installnpm install https://github.com/aws/agentcore-cli/releases/download/pr-782-tarball/aws-agentcore-0.6.0.tgz |
Contributor
Coverage Report
|
aidandaly24
added a commit
that referenced
this pull request
Apr 8, 2026
Cover 13 PRs merged to main since the initial docs audit (March 28): - import subcommands: runtime, memory, evaluator, online-eval (#763, #780) - invoke/dev exec mode with --exec and --timeout (#750) - code-based evaluator support with --type, --lambda-arn, --timeout (#739) - ground truth eval inputs: --assertion, --expected-trajectory, --expected-response (#732) - memory record streaming: --data-stream-arn, --stream-content-level (#531, #534) - create --skip-install flag (#782) - fetch access --identity-name option (#774)
15 tasks
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
Adds a
--skip-installflag toagentcore createthat skips all dependency installation (npm installfor the CDK project anduv syncfor Python agents). This enables enterprise users behind corporate proxies or private registries to modifypackage.jsonorpyproject.tomlbefore installing dependencies manually.The implementation promotes the existing internal
AGENTCORE_SKIP_INSTALLenv var (previously only used in test utilities) to a public CLI flag. When--skip-installis passed:npm installinagentcore/cdk/is skipped (viaCDKRenderer.ts)uv syncin the agent directory is skipped (viapython/setup.ts)Related Issue
Closes #778
Closes #779
Documentation PR
N/A
Type of Change
Testing
How have you tested the change?
npm run test:unitandnpm run test:integnpm run typechecknpm run lintsrc/assets/, I rannpm run test:update-snapshotsand committed the updated snapshotsAdditionally tested end-to-end:
agentcore create --helpshows--skip-installflag with descriptionagentcore create --name test --defaults --skip-install --skip-gitcreates project scaffolding withoutnode_modules/inagentcore/cdk/or.venvin the agent directoryChecklist
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the
terms of your choice.