agentrun-sdk 0.1.2__tar.gz → 0.1.3__tar.gz
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 agentrun-sdk might be problematic. Click here for more details.
- agentrun_sdk-0.1.3/MANIFEST.in +1 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/PKG-INFO +1 -1
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/pyproject.toml +1 -1
- agentrun_sdk-0.1.3/src/agentrun_operation_sdk/utils/runtime/templates/Dockerfile.j2 +44 -0
- agentrun_sdk-0.1.3/src/agentrun_operation_sdk/utils/runtime/templates/dockerignore.template +68 -0
- agentrun_sdk-0.1.3/src/agentrun_operation_sdk/utils/runtime/templates/execution_role_policy.json.j2 +99 -0
- agentrun_sdk-0.1.3/src/agentrun_operation_sdk/utils/runtime/templates/execution_role_trust_policy.json.j2 +21 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk.egg-info/PKG-INFO +1 -1
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk.egg-info/SOURCES.txt +5 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/README.md +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/setup.cfg +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_operation_sdk/cli/__init__.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_operation_sdk/cli/cli.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_operation_sdk/cli/common.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_operation_sdk/cli/runtime/__init__.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_operation_sdk/cli/runtime/commands.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_operation_sdk/client/client.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_operation_sdk/operations/runtime/__init__.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_operation_sdk/operations/runtime/configure.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_operation_sdk/operations/runtime/launch.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_operation_sdk/operations/runtime/models.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_operation_sdk/services/runtime.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_operation_sdk/utils/logging_config.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_operation_sdk/utils/runtime/config.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_operation_sdk/utils/runtime/container.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_operation_sdk/utils/runtime/entrypoint.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_operation_sdk/utils/runtime/schema.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/__init__.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/agent/__init__.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/agent/agent.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/agent/agent_result.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/agent/conversation_manager/__init__.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/agent/conversation_manager/conversation_manager.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/agent/conversation_manager/null_conversation_manager.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/agent/conversation_manager/sliding_window_conversation_manager.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/agent/conversation_manager/summarizing_conversation_manager.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/agent/state.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/event_loop/__init__.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/event_loop/event_loop.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/event_loop/streaming.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/experimental/__init__.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/experimental/hooks/__init__.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/experimental/hooks/events.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/handlers/__init__.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/handlers/callback_handler.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/hooks/__init__.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/hooks/events.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/hooks/registry.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/models/__init__.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/models/anthropic.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/models/bedrock.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/models/litellm.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/models/llamaapi.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/models/mistral.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/models/model.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/models/ollama.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/models/openai.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/models/sagemaker.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/models/writer.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/multiagent/__init__.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/multiagent/a2a/__init__.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/multiagent/a2a/executor.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/multiagent/a2a/server.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/multiagent/base.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/multiagent/graph.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/multiagent/swarm.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/py.typed +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/session/__init__.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/session/file_session_manager.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/session/repository_session_manager.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/session/s3_session_manager.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/session/session_manager.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/session/session_repository.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/telemetry/__init__.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/telemetry/config.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/telemetry/metrics.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/telemetry/metrics_constants.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/telemetry/tracer.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/tools/__init__.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/tools/decorator.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/tools/executor.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/tools/loader.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/tools/mcp/__init__.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/tools/mcp/mcp_agent_tool.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/tools/mcp/mcp_client.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/tools/mcp/mcp_instrumentation.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/tools/mcp/mcp_types.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/tools/registry.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/tools/structured_output.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/tools/tools.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/tools/watcher.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/types/__init__.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/types/collections.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/types/content.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/types/event_loop.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/types/exceptions.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/types/guardrails.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/types/media.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/types/session.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/types/streaming.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/types/tools.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/types/traces.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk.egg-info/dependency_links.txt +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk.egg-info/entry_points.txt +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk.egg-info/requires.txt +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk.egg-info/top_level.txt +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_wrapper/__init__.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_wrapper/_utils/__init__.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_wrapper/_utils/endpoints.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_wrapper/identity/__init__.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_wrapper/identity/auth.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_wrapper/memory/__init__.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_wrapper/memory/client.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_wrapper/memory/constants.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_wrapper/memory/controlplane.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_wrapper/py.typed +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_wrapper/runtime/__init__.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_wrapper/runtime/app.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_wrapper/runtime/context.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_wrapper/runtime/models.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_wrapper/services/__init__.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_wrapper/services/identity.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_wrapper/tools/__init__.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_wrapper/tools/browser_client.py +0 -0
- {agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_wrapper/tools/code_interpreter_client.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
recursive-include src/agentrun_operation_sdk/utils/runtime/templates *
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
FROM public.ecr.aws/docker/library/python:{{ python_version }}-slim
|
|
2
|
+
WORKDIR /app
|
|
3
|
+
|
|
4
|
+
{% if dependencies_file %}
|
|
5
|
+
{% if dependencies_install_path %}
|
|
6
|
+
COPY {{ dependencies_install_path }} {{ dependencies_install_path }}
|
|
7
|
+
# Install from pyproject.toml directory
|
|
8
|
+
RUN pip install {{ dependencies_install_path }}
|
|
9
|
+
{% else %}
|
|
10
|
+
COPY {{ dependencies_file }} {{ dependencies_file }}
|
|
11
|
+
# Install from requirements file
|
|
12
|
+
RUN pip install -r {{ dependencies_file }}
|
|
13
|
+
{% endif %}
|
|
14
|
+
{% endif %}
|
|
15
|
+
|
|
16
|
+
{% if observability_enabled %}
|
|
17
|
+
RUN pip install aws-opentelemetry-distro>=0.10.0
|
|
18
|
+
{% endif %}
|
|
19
|
+
|
|
20
|
+
# Set AWS region environment variable
|
|
21
|
+
{% if aws_region %}
|
|
22
|
+
ENV AWS_REGION={{ aws_region }}
|
|
23
|
+
ENV AWS_DEFAULT_REGION={{ aws_region }}
|
|
24
|
+
{% endif %}
|
|
25
|
+
|
|
26
|
+
# Signal that this is running in Docker for host binding logic
|
|
27
|
+
ENV DOCKER_CONTAINER=1
|
|
28
|
+
|
|
29
|
+
# Create non-root user
|
|
30
|
+
RUN useradd -m -u 1000 bedrock_agentcore
|
|
31
|
+
USER bedrock_agentcore
|
|
32
|
+
|
|
33
|
+
EXPOSE 8080
|
|
34
|
+
EXPOSE 8000
|
|
35
|
+
|
|
36
|
+
# Copy entire project (respecting .dockerignore)
|
|
37
|
+
COPY . .
|
|
38
|
+
|
|
39
|
+
# Use the full module path
|
|
40
|
+
{% if observability_enabled %}
|
|
41
|
+
CMD ["opentelemetry-instrument", "python", "-m", "{{ agent_module_path }}"]
|
|
42
|
+
{% else %}
|
|
43
|
+
CMD ["python", "-m", "{{ agent_module_path }}"]
|
|
44
|
+
{% endif %}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# Build artifacts
|
|
2
|
+
build/
|
|
3
|
+
dist/
|
|
4
|
+
*.egg-info/
|
|
5
|
+
*.egg
|
|
6
|
+
|
|
7
|
+
# Python cache
|
|
8
|
+
__pycache__/
|
|
9
|
+
__pycache__*
|
|
10
|
+
*.py[cod]
|
|
11
|
+
*$py.class
|
|
12
|
+
*.so
|
|
13
|
+
.Python
|
|
14
|
+
|
|
15
|
+
# Virtual environments
|
|
16
|
+
.venv/
|
|
17
|
+
.env
|
|
18
|
+
venv/
|
|
19
|
+
env/
|
|
20
|
+
ENV/
|
|
21
|
+
|
|
22
|
+
# Testing
|
|
23
|
+
.pytest_cache/
|
|
24
|
+
.coverage
|
|
25
|
+
.coverage*
|
|
26
|
+
htmlcov/
|
|
27
|
+
.tox/
|
|
28
|
+
*.cover
|
|
29
|
+
.hypothesis/
|
|
30
|
+
.mypy_cache/
|
|
31
|
+
.ruff_cache/
|
|
32
|
+
|
|
33
|
+
# Development
|
|
34
|
+
*.log
|
|
35
|
+
*.bak
|
|
36
|
+
*.swp
|
|
37
|
+
*.swo
|
|
38
|
+
*~
|
|
39
|
+
.DS_Store
|
|
40
|
+
|
|
41
|
+
# IDEs
|
|
42
|
+
.vscode/
|
|
43
|
+
.idea/
|
|
44
|
+
|
|
45
|
+
# Version control
|
|
46
|
+
.git/
|
|
47
|
+
.gitignore
|
|
48
|
+
.gitattributes
|
|
49
|
+
|
|
50
|
+
# Documentation
|
|
51
|
+
docs/
|
|
52
|
+
*.md
|
|
53
|
+
!README.md
|
|
54
|
+
|
|
55
|
+
# CI/CD
|
|
56
|
+
.github/
|
|
57
|
+
.gitlab-ci.yml
|
|
58
|
+
.travis.yml
|
|
59
|
+
|
|
60
|
+
# Project specific
|
|
61
|
+
tests/
|
|
62
|
+
|
|
63
|
+
# Bedrock AgentCore specific - keep config but exclude runtime files
|
|
64
|
+
.bedrock_agentcore.yaml
|
|
65
|
+
.dockerignore
|
|
66
|
+
|
|
67
|
+
# Keep wheelhouse for offline installations
|
|
68
|
+
# wheelhouse/
|
agentrun_sdk-0.1.3/src/agentrun_operation_sdk/utils/runtime/templates/execution_role_policy.json.j2
ADDED
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Version": "2012-10-17",
|
|
3
|
+
"Statement": [
|
|
4
|
+
{
|
|
5
|
+
"Sid": "ECRImageAccess",
|
|
6
|
+
"Effect": "Allow",
|
|
7
|
+
"Action": [
|
|
8
|
+
"ecr:BatchGetImage",
|
|
9
|
+
"ecr:GetDownloadUrlForLayer"
|
|
10
|
+
],
|
|
11
|
+
"Resource": [
|
|
12
|
+
"arn:aws:ecr:{{ region }}:{{ account_id }}:repository/*"
|
|
13
|
+
]
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"Effect": "Allow",
|
|
17
|
+
"Action": [
|
|
18
|
+
"logs:DescribeLogStreams",
|
|
19
|
+
"logs:CreateLogGroup"
|
|
20
|
+
],
|
|
21
|
+
"Resource": [
|
|
22
|
+
"arn:aws:logs:{{ region }}:{{ account_id }}:log-group:/aws/bedrock-agentcore/runtimes/*"
|
|
23
|
+
]
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"Effect": "Allow",
|
|
27
|
+
"Action": [
|
|
28
|
+
"logs:DescribeLogGroups"
|
|
29
|
+
],
|
|
30
|
+
"Resource": [
|
|
31
|
+
"arn:aws:logs:{{ region }}:{{ account_id }}:log-group:*"
|
|
32
|
+
]
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"Effect": "Allow",
|
|
36
|
+
"Action": [
|
|
37
|
+
"logs:CreateLogStream",
|
|
38
|
+
"logs:PutLogEvents"
|
|
39
|
+
],
|
|
40
|
+
"Resource": [
|
|
41
|
+
"arn:aws:logs:{{ region }}:{{ account_id }}:log-group:/aws/bedrock-agentcore/runtimes/*:log-stream:*"
|
|
42
|
+
]
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"Sid": "ECRTokenAccess",
|
|
46
|
+
"Effect": "Allow",
|
|
47
|
+
"Action": [
|
|
48
|
+
"ecr:GetAuthorizationToken"
|
|
49
|
+
],
|
|
50
|
+
"Resource": "*"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"Effect": "Allow",
|
|
54
|
+
"Action": [
|
|
55
|
+
"xray:PutTraceSegments",
|
|
56
|
+
"xray:PutTelemetryRecords",
|
|
57
|
+
"xray:GetSamplingRules",
|
|
58
|
+
"xray:GetSamplingTargets"
|
|
59
|
+
],
|
|
60
|
+
"Resource": ["*"]
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"Effect": "Allow",
|
|
64
|
+
"Resource": "*",
|
|
65
|
+
"Action": "cloudwatch:PutMetricData",
|
|
66
|
+
"Condition": {
|
|
67
|
+
"StringEquals": {
|
|
68
|
+
"cloudwatch:namespace": "bedrock-agentcore"
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"Sid": "GetAgentAccessToken",
|
|
74
|
+
"Effect": "Allow",
|
|
75
|
+
"Action": [
|
|
76
|
+
"bedrock-agentcore:GetWorkloadAccessToken",
|
|
77
|
+
"bedrock-agentcore:GetWorkloadAccessTokenForJWT",
|
|
78
|
+
"bedrock-agentcore:GetWorkloadAccessTokenForUserId"
|
|
79
|
+
],
|
|
80
|
+
"Resource": [
|
|
81
|
+
"arn:aws:bedrock-agentcore:{{ region }}:{{ account_id }}:workload-identity-directory/default",
|
|
82
|
+
"arn:aws:bedrock-agentcore:{{ region }}:{{ account_id }}:workload-identity-directory/default/workload-identity/{{ agent_name }}-*"
|
|
83
|
+
]
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"Sid": "BedrockModelInvocation",
|
|
87
|
+
"Effect": "Allow",
|
|
88
|
+
"Action": [
|
|
89
|
+
"bedrock:InvokeModel",
|
|
90
|
+
"bedrock:InvokeModelWithResponseStream",
|
|
91
|
+
"bedrock:ApplyGuardrail"
|
|
92
|
+
],
|
|
93
|
+
"Resource": [
|
|
94
|
+
"arn:aws:bedrock:*::foundation-model/*",
|
|
95
|
+
"arn:aws:bedrock:{{ region }}:{{ account_id }}:*"
|
|
96
|
+
]
|
|
97
|
+
}
|
|
98
|
+
]
|
|
99
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Version": "2012-10-17",
|
|
3
|
+
"Statement": [
|
|
4
|
+
{
|
|
5
|
+
"Sid": "AssumeRolePolicy",
|
|
6
|
+
"Effect": "Allow",
|
|
7
|
+
"Principal": {
|
|
8
|
+
"Service": "bedrock-agentcore.amazonaws.com"
|
|
9
|
+
},
|
|
10
|
+
"Action": "sts:AssumeRole",
|
|
11
|
+
"Condition": {
|
|
12
|
+
"StringEquals": {
|
|
13
|
+
"aws:SourceAccount": "{{ account_id }}"
|
|
14
|
+
},
|
|
15
|
+
"ArnLike": {
|
|
16
|
+
"aws:SourceArn": "arn:aws:bedrock-agentcore:{{ region }}:{{ account_id }}:*"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
]
|
|
21
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
MANIFEST.in
|
|
1
2
|
README.md
|
|
2
3
|
pyproject.toml
|
|
3
4
|
src/agentrun_operation_sdk/cli/__init__.py
|
|
@@ -16,6 +17,10 @@ src/agentrun_operation_sdk/utils/runtime/config.py
|
|
|
16
17
|
src/agentrun_operation_sdk/utils/runtime/container.py
|
|
17
18
|
src/agentrun_operation_sdk/utils/runtime/entrypoint.py
|
|
18
19
|
src/agentrun_operation_sdk/utils/runtime/schema.py
|
|
20
|
+
src/agentrun_operation_sdk/utils/runtime/templates/Dockerfile.j2
|
|
21
|
+
src/agentrun_operation_sdk/utils/runtime/templates/dockerignore.template
|
|
22
|
+
src/agentrun_operation_sdk/utils/runtime/templates/execution_role_policy.json.j2
|
|
23
|
+
src/agentrun_operation_sdk/utils/runtime/templates/execution_role_trust_policy.json.j2
|
|
19
24
|
src/agentrun_sdk/__init__.py
|
|
20
25
|
src/agentrun_sdk/py.typed
|
|
21
26
|
src/agentrun_sdk.egg-info/PKG-INFO
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_operation_sdk/cli/runtime/__init__.py
RENAMED
|
File without changes
|
{agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_operation_sdk/cli/runtime/commands.py
RENAMED
|
File without changes
|
|
File without changes
|
{agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_operation_sdk/operations/runtime/__init__.py
RENAMED
|
File without changes
|
{agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_operation_sdk/operations/runtime/configure.py
RENAMED
|
File without changes
|
{agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_operation_sdk/operations/runtime/launch.py
RENAMED
|
File without changes
|
{agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_operation_sdk/operations/runtime/models.py
RENAMED
|
File without changes
|
|
File without changes
|
{agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_operation_sdk/utils/logging_config.py
RENAMED
|
File without changes
|
{agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_operation_sdk/utils/runtime/config.py
RENAMED
|
File without changes
|
{agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_operation_sdk/utils/runtime/container.py
RENAMED
|
File without changes
|
{agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_operation_sdk/utils/runtime/entrypoint.py
RENAMED
|
File without changes
|
{agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_operation_sdk/utils/runtime/schema.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/agent/conversation_manager/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_sdk/session/repository_session_manager.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agentrun_sdk-0.1.2 → agentrun_sdk-0.1.3}/src/agentrun_wrapper/tools/code_interpreter_client.py
RENAMED
|
File without changes
|