aws / aws/agentcore-cli

Add update primitive (similar to agentcore configure)

Open
#838 0 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
283
Forks
95
Avg merge
1d 2h
Merged PRs (30d)
183

Description

### Description

While editing `agentcore.json` is one option, customers leverage the CLI are accustomed to primitives for create, delete **and** update.

Take adding memory to an existing agent, for an example. Today, you'd have to do something like this:

```
agentcore remove agent --name personalAgent
agentcore add agent \
--type byo \
--name personalAgent \
--code-location ./app/personalAgent \
--entrypoint main.py \
--authorizer-type CUSTOM_JWT \
--discovery-url $DISCOVERY_URL \
--allowed-clients $CLIENT_ID \
--framework strands \
--model-provider bedrock \
--language python \
--idle-timeout 120
```

Developers will find themselves asking "why do I have to delete the agent to only add it back again?"

Additionally, if I were to update a system prompt in my Strands main.py file provided by the scaffolding, `agentcore deploy -y` won't pick up that change

### Acceptance Criteria

- Change-detection support for agentcore deploy -y (and/or direct code deploy of the existing project files each time)
- Support for `agentcore configure` primitive (or alternative)

### Additional Context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.