agentcore-cli
Unofficial Python port of the AgentCore CLI (@aws/agentcore v0.31.1) for
Amazon Bedrock AgentCore.
Install
pip install agentcore-cli
Requirements: Python 3.11+, uv for Python agents, and Node.js 20+ for
agentcore deploy (deploys run the project's CDK app).
Quick start
# Initialize a new agent project (choose framework: strands, langgraph, or custom)
agentcore init my-agent --framework strands
# Develop locally
cd my-agent
agentcore dev
# Deploy to AgentCore Runtime
agentcore deploy --region us-east-1
# Test the deployed agent
agentcore invoke --agent-name my-agent --input "Hello, what can you do?"
init derives valid names from the folder: my-agent becomes project MyAgent with agent
my_agent (invoke --agent-name accepts either spelling). --framework custom scaffolds a minimal
bedrock-agentcore entrypoint for your own code.
Compatibility with the npm CLI
All upstream commands and flags work as documented in the
upstream command reference
(agentcore create, add, remove, status, logs, traces, evals, ...).
- Projects are interchangeable: the same
agentcore/files, written byte-for-byte as the npm CLI writes them. - Secrets in
agentcore/.env.localuse the sameenc:v1:AES-256-GCM envelope and key (OS keychain entryaws-agentcore/env-local-secret-key, or~/.agentcore/secrets.key). - Additions in this port:
agentcore init,deploy --region, andinvoke --agent-name/--input. - Differences: interactive mode uses prompts instead of a full-screen UI; no telemetry is sent;
agentcore updateupgrades via pip (or tells you the pipx/uv command).
Both this package and the npm CLI install an agentcore command; whichever is first on PATH runs.
Metadata
Release files for agentcore-cli 0.31.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| agentcore_cli-0.31.1.tar.gz | 1.3 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| agentcore_cli-0.31.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 2.6 MB
Release files / agentcore_cli-0.31.1.tar.gz
| Download URL | agentcore_cli-0.31.1.tar.gz |
|---|---|
| Size | 1.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f6e37620e0b6bbdb007c7cda8600f954b60f97cb94a80faee042adfd2f491889
|
|
BLAKE2b-256 checksum How to use checksums |
dfd443eaf46329b3180eb97f6c615f06b931394a02c34daa56848f450486f8c0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.6
|
Release files / agentcore_cli-0.31.1-py3-none-any.whl
| Download URL | agentcore_cli-0.31.1-py3-none-any.whl |
|---|---|
| Size | 1.3 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7ae74aafea1ec33799e71473ec8c516f15ec5edb22fdf797d3c0c986d61b89c9
|
|
BLAKE2b-256 checksum How to use checksums |
9d43c8d98c23feaa59a968de14fe45e438eb03504859e12bb51da50fba050090
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.6
|