You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge pull request #2 from damc-dev/claude/review-agentcore-cli-migration-TkwBW
Update README for @aws/agentcore npm CLI migration
Replace all references to the old pip-based CLI (agentcore launch,
.bedrock_agentcore.yaml, yq, uv run agentcore) with the new npm CLI
(agentcore deploy, agentcore.json, agentcore dev). Add CDK bootstrap
prerequisite and updated IAM permissions. Update project structure,
local dev workflow, and adding-new-agent instructions.
https://claude.ai/code/session_01G2hszc4Xx3t7JsaJr9G4qf
Copy file name to clipboardExpand all lines: README.md
+66-77Lines changed: 66 additions & 77 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,6 @@ Every commit to `main` automatically:
8
8
- 🚀 **Deploys a new version** of each agent to AWS Bedrock
9
9
- 🏗️ **Builds and pushes** Docker images to Amazon ECR
10
10
- 📦 **Tracks deployment history** via timestamped artifacts
11
-
- ⚡ **Runs in parallel** for multi-agent deployments
12
11
13
12
**No manual intervention required.** Push your code, and your agents are live in minutes.
14
13
@@ -23,9 +22,7 @@ git push origin main
23
22
↓
24
23
GitHub Actions detects the push
25
24
↓
26
-
Workflow extracts all agents from .bedrock_agentcore.yaml
27
-
↓
28
-
Parallel deployment begins for each agent
25
+
AWS credentials configured via OIDC
29
26
↓
30
27
Docker image built → pushed to ECR → deployed to Bedrock
31
28
↓
@@ -38,29 +35,34 @@ The deployment triggers on:
38
35
39
36
### Deployment Architecture
40
37
41
-
The GitHub Actions workflow ([.github/workflows/deploy-agent.yml](.github/workflows/deploy-agent.yml)) uses a matrix strategy to deploy multiple agents efficiently:
38
+
The GitHub Actions workflow ([.github/workflows/deploy-agent.yml](.github/workflows/deploy-agent.yml)) uses the `@aws/agentcore` npm CLI backed by AWS CDK:
42
39
43
-
**Setup Job:**
44
-
1. Extracts all agent names from `.bedrock_agentcore.yaml` using `yq`
45
-
2. Installs Python and `uv`package manager
46
-
3. Installs dependencies once (`uv sync`)
47
-
4. Caches the environment for reuse
40
+
1. Checks out code
41
+
2. Installs Node.js and `@aws/agentcore` CLI
42
+
3. Installs `uv`(required by the agentcore CLI for Python agents)
43
+
4. Configures AWS credentials via OIDC
44
+
5. Runs `agentcore deploy -y` which builds the Docker image, pushes to ECR, and deploys to Bedrock AgentCore
48
45
49
-
**Deploy Jobs (parallel):**
50
-
1. Restores the cached environment
51
-
2. Configures AWS credentials
52
-
3. Runs `agentcore launch --agent {agent-name}` for each agent
53
-
4. Saves agent-specific `.bedrock_agentcore.yaml` as an artifact
46
+
### Setup Requirements
54
47
55
-
This approach eliminates redundant dependency installation, significantly speeding up multi-agent deployments.
0 commit comments