This project was created with the AgentCore CLI.
.
my-project/
├── agentcore/
│ ├── .env.local # API keys (gitignored)
│ ├── agentcore.json # Resource specifications
│ ├── aws-targets.json # Deployment targets
│ └── cdk/ # CDK infrastructure
├── app/ # Application code
- Node.js 20.x or later
- uv for Python agents (install)
Run your agent locally:
agentcore devDeploy to AWS:
agentcore deployOr use CDK directly:
cd agentcore/cdk
npx cdk deployEdit the JSON files in agentcore/ to configure your agents, memory, and credentials. See agentcore/.llm-context/ for
type definitions and validation constraints.
The project uses a flat resource model where agents, memories, and credentials are top-level arrays in
agentcore.json.
| Command | Description |
|---|---|
agentcore create |
Create a new AgentCore project |
agentcore add |
Add resources (agent, memory, credential, target) |
agentcore remove |
Remove resources |
agentcore dev |
Run agent locally |
agentcore deploy |
Deploy to AWS |
agentcore status |
Show deployment status |
agentcore invoke |
Invoke agent (local or deployed) |
agentcore package |
Package agent artifacts |
agentcore validate |
Validate configuration |
agentcore update |
Check for CLI updates |
- Template agents: Created from framework templates (Strands, LangChain_LangGraph, CrewAI, GoogleADK, OpenAIAgents)
- BYO agents: Bring your own code with
agentcore add agent --type byo