bedrock-agentcore-starter-toolkit 0.1.10__py3-none-any.whl → 0.1.12__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of bedrock-agentcore-starter-toolkit might be problematic. Click here for more details.
- bedrock_agentcore_starter_toolkit/cli/cli.py +1 -1
- bedrock_agentcore_starter_toolkit/cli/runtime/commands.py +65 -46
- bedrock_agentcore_starter_toolkit/cli/runtime/configuration_manager.py +15 -1
- bedrock_agentcore_starter_toolkit/operations/gateway/client.py +139 -0
- bedrock_agentcore_starter_toolkit/operations/runtime/destroy.py +61 -56
- bedrock_agentcore_starter_toolkit/operations/runtime/invoke.py +1 -1
- bedrock_agentcore_starter_toolkit/operations/runtime/launch.py +15 -0
- bedrock_agentcore_starter_toolkit/services/import_agent/scripts/base_bedrock_translate.py +4 -3
- bedrock_agentcore_starter_toolkit/services/import_agent/utils.py +14 -0
- bedrock_agentcore_starter_toolkit/services/runtime.py +5 -1
- bedrock_agentcore_starter_toolkit/services/xray.py +161 -0
- bedrock_agentcore_starter_toolkit/utils/runtime/logs.py +12 -0
- bedrock_agentcore_starter_toolkit/utils/runtime/templates/Dockerfile.j2 +11 -25
- {bedrock_agentcore_starter_toolkit-0.1.10.dist-info → bedrock_agentcore_starter_toolkit-0.1.12.dist-info}/METADATA +18 -2
- {bedrock_agentcore_starter_toolkit-0.1.10.dist-info → bedrock_agentcore_starter_toolkit-0.1.12.dist-info}/RECORD +19 -18
- {bedrock_agentcore_starter_toolkit-0.1.10.dist-info → bedrock_agentcore_starter_toolkit-0.1.12.dist-info}/WHEEL +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.10.dist-info → bedrock_agentcore_starter_toolkit-0.1.12.dist-info}/entry_points.txt +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.10.dist-info → bedrock_agentcore_starter_toolkit-0.1.12.dist-info}/licenses/LICENSE.txt +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.10.dist-info → bedrock_agentcore_starter_toolkit-0.1.12.dist-info}/licenses/NOTICE.txt +0 -0
|
@@ -1,43 +1,29 @@
|
|
|
1
1
|
FROM ghcr.io/astral-sh/uv:python{{ python_version }}-bookworm-slim
|
|
2
|
-
WORKDIR /app
|
|
3
2
|
|
|
4
|
-
#
|
|
5
|
-
ENV UV_SYSTEM_PYTHON=1 UV_COMPILE_BYTECODE=1
|
|
3
|
+
# All environment variables in one layer
|
|
4
|
+
ENV UV_SYSTEM_PYTHON=1 UV_COMPILE_BYTECODE=1 PYTHONUNBUFFERED=1 \
|
|
5
|
+
{% if aws_region %} AWS_REGION={{ aws_region }} AWS_DEFAULT_REGION={{ aws_region }} \
|
|
6
|
+
{% endif %} DOCKER_CONTAINER=1
|
|
6
7
|
|
|
7
8
|
{% if dependencies_file %}
|
|
8
9
|
{% if dependencies_install_path %}
|
|
9
10
|
COPY {{ dependencies_install_path }} {{ dependencies_install_path }}
|
|
10
|
-
# Install from pyproject.toml directory
|
|
11
|
-
RUN uv pip install {{ dependencies_install_path }}
|
|
12
11
|
{% else %}
|
|
13
12
|
COPY {{ dependencies_file }} {{ dependencies_file }}
|
|
14
|
-
# Install from requirements file
|
|
15
|
-
RUN uv pip install -r {{ dependencies_file }}
|
|
16
13
|
{% endif %}
|
|
17
14
|
{% endif %}
|
|
18
15
|
|
|
19
|
-
{% if observability_enabled %}
|
|
20
|
-
RUN uv pip install
|
|
21
|
-
{% endif %}
|
|
22
|
-
|
|
23
|
-
# Set AWS region environment variable
|
|
24
|
-
{% if aws_region %}
|
|
25
|
-
ENV AWS_REGION={{ aws_region }}
|
|
26
|
-
ENV AWS_DEFAULT_REGION={{ aws_region }}
|
|
16
|
+
{% if dependencies_file or observability_enabled %}
|
|
17
|
+
RUN {% if dependencies_file %}{% if dependencies_install_path %}uv pip install {{ dependencies_install_path }}{% else %}uv pip install -r {{ dependencies_file }}{% endif %}{% endif %}{% if observability_enabled %}{% if dependencies_file %} && \
|
|
18
|
+
{% endif %}uv pip install aws-opentelemetry-distro>=0.10.1{% endif %}
|
|
27
19
|
{% endif %}
|
|
28
20
|
|
|
29
|
-
|
|
30
|
-
ENV DOCKER_CONTAINER=1
|
|
21
|
+
EXPOSE 8080 8000
|
|
31
22
|
|
|
32
|
-
#
|
|
33
|
-
|
|
34
|
-
USER bedrock_agentcore
|
|
35
|
-
|
|
36
|
-
EXPOSE 8080
|
|
37
|
-
EXPOSE 8000
|
|
38
|
-
|
|
39
|
-
# Copy entire project (respecting .dockerignore)
|
|
23
|
+
# Copy entire project
|
|
24
|
+
{% if not dependencies_install_path or dependencies_install_path != '.' %}
|
|
40
25
|
COPY . .
|
|
26
|
+
{% endif %}
|
|
41
27
|
|
|
42
28
|
# Use the full module path
|
|
43
29
|
{% if observability_enabled %}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: bedrock-agentcore-starter-toolkit
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.12
|
|
4
4
|
Summary: A starter toolkit for using Bedrock AgentCore
|
|
5
5
|
Project-URL: Homepage, https://github.com/aws/bedrock-agentcore-starter-toolkit
|
|
6
6
|
Project-URL: Bug Tracker, https://github.com/aws/bedrock-agentcore-starter-toolkit/issues
|
|
@@ -22,7 +22,7 @@ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
|
22
22
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
23
23
|
Requires-Python: >=3.10
|
|
24
24
|
Requires-Dist: autopep8>=2.3.2
|
|
25
|
-
Requires-Dist: bedrock-agentcore>=0.1.
|
|
25
|
+
Requires-Dist: bedrock-agentcore>=0.1.4
|
|
26
26
|
Requires-Dist: boto3>=1.39.7
|
|
27
27
|
Requires-Dist: botocore>=1.39.7
|
|
28
28
|
Requires-Dist: docstring-parser<1.0,>=0.15
|
|
@@ -126,6 +126,22 @@ AgentCore Import-Agent enables seamless migration of existing Amazon Bedrock Age
|
|
|
126
126
|
|
|
127
127
|
Bedrock AgentCore is currently in public preview.
|
|
128
128
|
|
|
129
|
+
## Installation
|
|
130
|
+
|
|
131
|
+
### Quick Start
|
|
132
|
+
|
|
133
|
+
```bash
|
|
134
|
+
# Install uv if you haven't already
|
|
135
|
+
curl -LsSf https://astral.sh/uv/install.sh | sh
|
|
136
|
+
|
|
137
|
+
# Install using uv (recommended)
|
|
138
|
+
uv pip install bedrock-agentcore-starter-toolkit
|
|
139
|
+
|
|
140
|
+
# Or alternatively with pip
|
|
141
|
+
pip install bedrock-agentcore-starter-toolkit
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
|
|
129
145
|
## 📝 License & Contributing
|
|
130
146
|
|
|
131
147
|
- **License:** Apache 2.0 - see [LICENSE.txt](LICENSE.txt)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
bedrock_agentcore_starter_toolkit/__init__.py,sha256=tN3-JWKvxk4ZSJQJIHQ4mMsDtt8J_cDCz-drcGU9USA,120
|
|
2
2
|
bedrock_agentcore_starter_toolkit/cli/__init__.py,sha256=WuIWfHtJKD9gQA-mE49bq8OHGb0Ugt8upRGaOp6-H90,62
|
|
3
|
-
bedrock_agentcore_starter_toolkit/cli/cli.py,sha256=
|
|
3
|
+
bedrock_agentcore_starter_toolkit/cli/cli.py,sha256=G910onhHZRGVwFITZXYY-x1A_C7hmERyqYrdgcmZcoI,1064
|
|
4
4
|
bedrock_agentcore_starter_toolkit/cli/common.py,sha256=R9ZRKmW9gq7u7gkTiCUOTCQTno2lXnsplnq2x0-k2v8,1311
|
|
5
5
|
bedrock_agentcore_starter_toolkit/cli/gateway/__init__.py,sha256=8IZ0kSe6Kz5s2j-SBsoc6qy04MbK85RMTQwZCiR2wmo,68
|
|
6
6
|
bedrock_agentcore_starter_toolkit/cli/gateway/commands.py,sha256=3DuXCvqXlmHU2cmjGzDruyc2Fkrpgoi158myj0vc3nA,3265
|
|
@@ -9,14 +9,14 @@ bedrock_agentcore_starter_toolkit/cli/import_agent/__init__.py,sha256=tyM3dXM3Tc
|
|
|
9
9
|
bedrock_agentcore_starter_toolkit/cli/import_agent/agent_info.py,sha256=V0fZEbV76_H3gmkA17yscyJ8UdcMAquzNqENQ9DXdHA,9477
|
|
10
10
|
bedrock_agentcore_starter_toolkit/cli/import_agent/commands.py,sha256=vpA66fGwKf6cxBelT3Yb_Af5Ow3AMquGLIDe-tBLjmc,22419
|
|
11
11
|
bedrock_agentcore_starter_toolkit/cli/runtime/__init__.py,sha256=0zKPPoYThoDIr3DZhIQJavq5nVTKRsgcE1s9--wx118,60
|
|
12
|
-
bedrock_agentcore_starter_toolkit/cli/runtime/commands.py,sha256=
|
|
13
|
-
bedrock_agentcore_starter_toolkit/cli/runtime/configuration_manager.py,sha256=
|
|
12
|
+
bedrock_agentcore_starter_toolkit/cli/runtime/commands.py,sha256=nBRT37Ydbhq5rnJdXidjFdHLCKJtk_ifSvIjPTsYdnU,45860
|
|
13
|
+
bedrock_agentcore_starter_toolkit/cli/runtime/configuration_manager.py,sha256=eu-PnhT0YoOSMbSfpaF0aFVp4LtTDAekdUrRzfq-bVM,6321
|
|
14
14
|
bedrock_agentcore_starter_toolkit/notebook/__init__.py,sha256=wH1ZzIVKsKT_P0qX2kIIoyVxeHj8K40odfR1YI3McHw,129
|
|
15
15
|
bedrock_agentcore_starter_toolkit/notebook/runtime/__init__.py,sha256=DoGfB_uGFLANJVE9rSZtTH3ymw76WBWmD9vORvBIdXs,66
|
|
16
16
|
bedrock_agentcore_starter_toolkit/notebook/runtime/bedrock_agentcore.py,sha256=UvG-X9Ny_z4VhMG8BNTy-OaZMFU4VIQ8QIHz2lm7Dyo,15328
|
|
17
17
|
bedrock_agentcore_starter_toolkit/operations/__init__.py,sha256=L7sCNjfZviiVVoh2f3NEs2sbjNqFkmIRI3ZPYMMWMz0,51
|
|
18
18
|
bedrock_agentcore_starter_toolkit/operations/gateway/__init__.py,sha256=5Qo1GeN-DghNp9g0coFUs7WpUJDboJoidOVs-5Co7fo,233
|
|
19
|
-
bedrock_agentcore_starter_toolkit/operations/gateway/client.py,sha256=
|
|
19
|
+
bedrock_agentcore_starter_toolkit/operations/gateway/client.py,sha256=A4pBxe66TKVpwVQb4GWfC5LCVvwPo0kdRqXnSgONf6w,26063
|
|
20
20
|
bedrock_agentcore_starter_toolkit/operations/gateway/constants.py,sha256=0_4J6BN4VAE4-XTQhPTEACkhilRrFqu_iKiuHSm2pYk,4610
|
|
21
21
|
bedrock_agentcore_starter_toolkit/operations/gateway/create_lambda.py,sha256=MQsBJfUj26zBh7LqYWLoekHuvbAHIJE8qcXwrmJOhM0,2875
|
|
22
22
|
bedrock_agentcore_starter_toolkit/operations/gateway/create_role.py,sha256=Oma9s6K4T9EFgwPAUDungDL9fGa3W0LsHBknIXUmSpI,4474
|
|
@@ -24,23 +24,24 @@ bedrock_agentcore_starter_toolkit/operations/gateway/exceptions.py,sha256=WjsrE7
|
|
|
24
24
|
bedrock_agentcore_starter_toolkit/operations/runtime/__init__.py,sha256=0jRUuwSoqh4R_WqzfP4XAXngrgyFK5uH8JGXUVars6Y,793
|
|
25
25
|
bedrock_agentcore_starter_toolkit/operations/runtime/configure.py,sha256=7xjNN6fn1U2cv20W2tmHdlbSjc-RU953tnbOaH5iXPQ,9056
|
|
26
26
|
bedrock_agentcore_starter_toolkit/operations/runtime/create_role.py,sha256=o3rimy-9SDOS0r-DKHctKSS6dAVIGelhn1zUhrSeolY,15952
|
|
27
|
-
bedrock_agentcore_starter_toolkit/operations/runtime/destroy.py,sha256=
|
|
28
|
-
bedrock_agentcore_starter_toolkit/operations/runtime/invoke.py,sha256=
|
|
29
|
-
bedrock_agentcore_starter_toolkit/operations/runtime/launch.py,sha256=
|
|
27
|
+
bedrock_agentcore_starter_toolkit/operations/runtime/destroy.py,sha256=XuQQ_fBetQxanIZQx5MMvKYQGbaUHqU9JwJXZOeraco,23541
|
|
28
|
+
bedrock_agentcore_starter_toolkit/operations/runtime/invoke.py,sha256=Cd3GwL0ft2z6nqSy-ESi94yI_anagLjrFV4uNLJTPaA,4562
|
|
29
|
+
bedrock_agentcore_starter_toolkit/operations/runtime/launch.py,sha256=NWiMHPnhz1LMFd5o9HV2OkezCsK6T52MK7PELuCEKtk,19928
|
|
30
30
|
bedrock_agentcore_starter_toolkit/operations/runtime/models.py,sha256=iSpD6Zc-FyS4Fu_oRzXzre4N9uYuzBMDkvZZx4MhBGE,4220
|
|
31
31
|
bedrock_agentcore_starter_toolkit/operations/runtime/status.py,sha256=tpOtzAq1S3z_7baxR_WOT8Avo3MtWKGpelVOOfb-uMA,2516
|
|
32
32
|
bedrock_agentcore_starter_toolkit/services/__init__.py,sha256=s7QtYYFCCX2ff0gZHUdDxCDI3zhUq0fPsjevZbF9xdA,66
|
|
33
33
|
bedrock_agentcore_starter_toolkit/services/codebuild.py,sha256=77aagVvjSMQxBfNmwYTO6lwE_2izXGqgc6kWp9Bf98U,13618
|
|
34
34
|
bedrock_agentcore_starter_toolkit/services/ecr.py,sha256=nW9wIZcXI6amZeLVSmM9F6awVBQP1-zrFXTozSNEDjo,2805
|
|
35
|
-
bedrock_agentcore_starter_toolkit/services/runtime.py,sha256=
|
|
35
|
+
bedrock_agentcore_starter_toolkit/services/runtime.py,sha256=azrGTGjQhQczEY_F3dwfsNeUx0n2Uc_9R9WAu4HOSrM,19984
|
|
36
|
+
bedrock_agentcore_starter_toolkit/services/xray.py,sha256=CRlcfVXpghVy7PvZqLUC4rp49Sw5DQ98rUU61HAluRM,6363
|
|
36
37
|
bedrock_agentcore_starter_toolkit/services/import_agent/__init__.py,sha256=ig-xanZqA3oJdRTucYz9xF9_2yi31ADRVIKFsnIw_l4,68
|
|
37
|
-
bedrock_agentcore_starter_toolkit/services/import_agent/utils.py,sha256=
|
|
38
|
+
bedrock_agentcore_starter_toolkit/services/import_agent/utils.py,sha256=yCnzqv3S8sbQi6ArTz3MeR4ggRcojbAgMbBb7KAf0sA,16077
|
|
38
39
|
bedrock_agentcore_starter_toolkit/services/import_agent/assets/memory_manager_template.py,sha256=RKrtTxir5XxyMg6cim4CAEbguaxb4mg1Qb31pd7D_kY,7892
|
|
39
40
|
bedrock_agentcore_starter_toolkit/services/import_agent/assets/requirements_langchain.j2,sha256=gZcpxIW0D4qSU6hNPSRZ75zBB6ES7IZj1G-mrfEJG1s,181
|
|
40
41
|
bedrock_agentcore_starter_toolkit/services/import_agent/assets/requirements_strands.j2,sha256=ZAWzCFwdj8Mbq8aBGO3Jnxz0G8XJZPNpIsPf_2Jetfk,100
|
|
41
42
|
bedrock_agentcore_starter_toolkit/services/import_agent/assets/template_fixtures_merged.json,sha256=Xem7jS8n96QEyHBmnPAvWHM4AyTLyma7Nq9sCVHuXJA,175239
|
|
42
43
|
bedrock_agentcore_starter_toolkit/services/import_agent/scripts/__init__.py,sha256=UmhcnsfIo2P1Z9VAJ6Ua2mSkxs4BOeTxgFMcgQXQWCQ,79
|
|
43
|
-
bedrock_agentcore_starter_toolkit/services/import_agent/scripts/base_bedrock_translate.py,sha256=
|
|
44
|
+
bedrock_agentcore_starter_toolkit/services/import_agent/scripts/base_bedrock_translate.py,sha256=0xxHXhsQP_FG-1RgbHqx9r8U6CrBY8GhDKRnWTmYEJQ,72751
|
|
44
45
|
bedrock_agentcore_starter_toolkit/services/import_agent/scripts/bedrock_to_langchain.py,sha256=xwoZcmZ27CfYohwSfLIgbFxa2ubiBFhvufgQEWZkmLk,14950
|
|
45
46
|
bedrock_agentcore_starter_toolkit/services/import_agent/scripts/bedrock_to_strands.py,sha256=eC3v2Ts7B_RUGl4bkUim2uFYYuZZYP9syYBlylJ2gXs,14642
|
|
46
47
|
bedrock_agentcore_starter_toolkit/utils/endpoints.py,sha256=1gIDRd1oO1fymYpiedVit7m6zl5k6N8Ns9N-2ix7ZaE,1153
|
|
@@ -48,16 +49,16 @@ bedrock_agentcore_starter_toolkit/utils/logging_config.py,sha256=NtZDyndNKCAbz7j
|
|
|
48
49
|
bedrock_agentcore_starter_toolkit/utils/runtime/config.py,sha256=qRQid59rD3zJ0d0hcBY4-8R52PNIWEIUt9iR3biuz_c,4495
|
|
49
50
|
bedrock_agentcore_starter_toolkit/utils/runtime/container.py,sha256=wGJLxwT2mhTGPxSoFb6x9lW7Tyz37YghIvSs4jBnO8A,15679
|
|
50
51
|
bedrock_agentcore_starter_toolkit/utils/runtime/entrypoint.py,sha256=d-XjEwvQOdpRHvBGLdIBCs1fgUwNwB0EL_WkcdQXwXQ,5893
|
|
51
|
-
bedrock_agentcore_starter_toolkit/utils/runtime/logs.py,sha256
|
|
52
|
+
bedrock_agentcore_starter_toolkit/utils/runtime/logs.py,sha256=ZZ9PD4QO0BSms5KphhUb3-6-IPTkmwkY-Zn2AWM9Aew,1601
|
|
52
53
|
bedrock_agentcore_starter_toolkit/utils/runtime/policy_template.py,sha256=CgER7YXPh0BpR6JcTcumDL_k8bhmfLSEok1sf09-31I,2054
|
|
53
54
|
bedrock_agentcore_starter_toolkit/utils/runtime/schema.py,sha256=gZ0zPvry-ZkXwqUEAy6Izz1RJvmZaXA6a2twnSdk1AY,6418
|
|
54
|
-
bedrock_agentcore_starter_toolkit/utils/runtime/templates/Dockerfile.j2,sha256=
|
|
55
|
+
bedrock_agentcore_starter_toolkit/utils/runtime/templates/Dockerfile.j2,sha256=X_tNR3Qw7G9rz1rtM6WP2RuqZhehzplgobT8Vx3TDok,1245
|
|
55
56
|
bedrock_agentcore_starter_toolkit/utils/runtime/templates/dockerignore.template,sha256=b_70sBi0MwkTuA9TqxPqFcWK7TcmpaXBJ6M2Ipox65Q,691
|
|
56
57
|
bedrock_agentcore_starter_toolkit/utils/runtime/templates/execution_role_policy.json.j2,sha256=-0AXT46IYVQr4fwueXTQ0FVXcCshZFNx7-2mViR34Co,4941
|
|
57
58
|
bedrock_agentcore_starter_toolkit/utils/runtime/templates/execution_role_trust_policy.json.j2,sha256=PPJF6Ofq70W5DUE0NlbmnZjw5RkgepPgkskxEgEG28o,473
|
|
58
|
-
bedrock_agentcore_starter_toolkit-0.1.
|
|
59
|
-
bedrock_agentcore_starter_toolkit-0.1.
|
|
60
|
-
bedrock_agentcore_starter_toolkit-0.1.
|
|
61
|
-
bedrock_agentcore_starter_toolkit-0.1.
|
|
62
|
-
bedrock_agentcore_starter_toolkit-0.1.
|
|
63
|
-
bedrock_agentcore_starter_toolkit-0.1.
|
|
59
|
+
bedrock_agentcore_starter_toolkit-0.1.12.dist-info/METADATA,sha256=_UcEnnN8XVm3sucpUYlbSjFjlehTsyFh9HTa-K-bsFw,10034
|
|
60
|
+
bedrock_agentcore_starter_toolkit-0.1.12.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
61
|
+
bedrock_agentcore_starter_toolkit-0.1.12.dist-info/entry_points.txt,sha256=Tf94DkUf2Tp8P7p8MEXLxre7A7Pp_XNukteiz0wHnk8,77
|
|
62
|
+
bedrock_agentcore_starter_toolkit-0.1.12.dist-info/licenses/LICENSE.txt,sha256=nNPOMinitYdtfbhdQgsPgz1UowBznU6QVN3Xs0pSTKU,10768
|
|
63
|
+
bedrock_agentcore_starter_toolkit-0.1.12.dist-info/licenses/NOTICE.txt,sha256=rkBsg8DbKqfIoQbveqX9foR4uJPUVAokbkr02pRPilE,8674
|
|
64
|
+
bedrock_agentcore_starter_toolkit-0.1.12.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|