Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions docs/frameworks.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,23 @@ the session's commands to this Runtime. The Runtime runs no model code.
seconds, and a policy that lets the Runtime connect to BMA. It adds no session storage, so the same project deploys to a
microVM Runtime and to a capacity provider.

BMA assumes a session role to call the Runtime. **The generated `client.py` creates this IAM role,
`BmaSessionRole-<region>`, in your account.** `agentcore deploy` does not create the session role, and
`agentcore remove` does not delete it. The policy files of the session role are in `policies/` in the agent directory.
They are limited to the account and the Region of the Runtime.

```bash
agentcore create --name MyManagedAgent --framework BedrockManagedAgents
```

After `agentcore deploy`, give the Runtime ARN from `agentcore status` to the client. If the role exists, the client
compares it with the files in `policies/`, and puts the files back if someone changed the role. To use your own role,
give `--role-arn`. The `README.md` in the agent directory gives the details and the IAM permissions of the client.

```bash
uv run client.py --runtime <Runtime ARN>
```

## Import from Bedrock Agents

If you have an existing Bedrock Agent, you can import its configuration and translate it into runnable Strands or
Expand Down
43 changes: 28 additions & 15 deletions npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,9 @@
"@aws-sdk/xml-builder": "3.972.15",
"@opentelemetry/core": ">=2.8.0",
"protobufjs": ">=8.7.0",
"fast-uri": "^3.1.5"
"fast-uri": "^3.1.8",
"brace-expansion": "^5.0.12",
"@humanfs/node": "^0.16.8"
},
"engines": {
"node": ">=20"
Expand Down
Loading
Loading