Skip to content

feat: add AgentCore deploy and test scripts#46

Open
obasilakis wants to merge 2 commits intomainfrom
worktree-agentcore-deploy
Open

feat: add AgentCore deploy and test scripts#46
obasilakis wants to merge 2 commits intomainfrom
worktree-agentcore-deploy

Conversation

@obasilakis
Copy link
Contributor

Summary

  • Add scripts/deploy-agentcore.sh that automates deploying seller + buyer agents to AWS Bedrock AgentCore with a single command
  • Add scripts/test-agentcore.sh for quick post-deploy verification (status check + invoke)
  • Add Quick Deploy section to docs/deploy-to-agentcore.md
  • Enable auto-create for execution roles, ECR repos, and S3 in yaml examples
  • Use separate SELLER_NVM_API_KEY / BUYER_NVM_API_KEY (seller is builder, buyer is subscriber)
  • Pass env vars via agentcore deploy --env (containers don't load .env files)

Test plan

  • Deployed both agents to AgentCore (account 253663319499, us-west-2)
  • Both agents reach READY status
  • Buyer successfully discovers pre-registered seller, checks balance (100 credits), and asks to confirm purchase
  • Fixed: missing poetry.lock, execution_role auto-create, agent conflict, env var injection, agentcore status CLI args

🤖 Generated with Claude Code

Add scripts/deploy-agentcore.sh to automate deploying seller + buyer
agents to AWS Bedrock AgentCore with a single command. Add
scripts/test-agentcore.sh for quick post-deploy verification. Update
docs/deploy-to-agentcore.md with a Quick Deploy section.
…esources

- Pass env vars via `agentcore deploy --env` instead of .env files
  (containers don't load .env files)
- Use separate SELLER_NVM_API_KEY and BUYER_NVM_API_KEY
- Enable auto-create for execution roles, ECR repos, and S3 in yaml examples
- Add --auto-update-on-conflict for redeployments
- Fix agentcore status (no positional agent name arg)
- Fix mktemp collision in test script

Tested: both agents deploy and communicate end-to-end on AgentCore.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant