AgentCore CLI¶
The easiest way to deploy and manage AI agents on Amazon Bedrock AgentCore Runtime
A sophisticated command-line interface that brings environment-first architecture and single-command deployment to AI agent management. Deploy from container to runtime in one command, manage multiple environments, and scale from development to production with confidence.
Note
Amazon Bedrock AgentCore is currently in preview release and is subject to change.
🚀 Core Values¶
-
| Environment-First Design
Complete isolation between
dev
,staging
, andprod
environments. Each environment maintains its own agent runtimes, endpoints, and configurations with independent AWS regions. -
| Agent Lifecycle Management
Immutable versioning system where every update creates a new version. Endpoints can point to any version, enabling safe rollbacks and blue-green deployments.
-
| Container-Native
Built for Docker workflows with Amazon Bedrock AgentCore Runtime. Works with any agent framework including LangGraph, CrewAI, Strands Agents, and custom implementations.
-
| Infrastructure as Code
CloudFormation templates for ECR repositories, IAM roles, and Cognito resources. Consistent, repeatable deployments with full resource lifecycle management.
-
| Configuration Sync
Synchronize configuration between local development and cloud (AWS Parameter Store) with intelligent drift detection using DeepDiff.
-
| Security-First
Integrated IAM role management and Cognito authentication. Every agent gets appropriate permissions and secure access patterns with built-in identity management.
⚡ Quick Start¶
Bash | |
---|---|
Bash | |
---|---|
📚 Documentation Sections¶
-
Install the CLI, set up your AWS credentials, and deploy your first agent in minutes.
-
Learn about environments, agent lifecycle, containers, configuration, and resource management.
-
Understand environment-first design, security model, and AgentCore Runtime capabilities.
-
Comprehensive reference for all commands, options, and arguments.
-
Step-by-step guides for common workflows and advanced features.
-
| Examples
Ready-to-deploy examples for different agent frameworks.
-
Common issues, error messages, and debugging tips.
-
Auto-generated documentation for the Python library.
🧩 Architecture Overview¶
The AgentCore CLI uses an environment-first architecture that provides clean separation between development, staging, and production environments:
graph TD
A[Environment] --> B[Agent Runtime]
B --> C[Versions V1, V2, V3...]
B --> D[Endpoints DEFAULT, production, staging]
D --> C
C --> E[Container Images]
E --> F[ECR Repository]
B --> G[IAM Role]
A --> H[Cognito Auth]
🛠️ Development Setup¶
Prerequisites¶
- Python 3.11+
- Docker installed and running
- AWS CLI configured with appropriate permissions
- Access to Amazon Bedrock AgentCore Runtime (Preview)
Installation¶
Bash | |
---|---|
Built with ❤️ for the AI developer community
Deploy smarter, not harder. One command, infinite possibilities.