bedrock-agentcore-starter-toolkit 0.1.5__tar.gz → 0.1.6__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 bedrock-agentcore-starter-toolkit might be problematic. Click here for more details.
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/CHANGELOG.md +7 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/PKG-INFO +2 -2
- bedrock_agentcore_starter_toolkit-0.1.6/documentation/docs/user-guide/import-agent/design.md +128 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/documentation/docs/user-guide/import-agent/overview.md +8 -1
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/pyproject.toml +2 -2
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/src/bedrock_agentcore_starter_toolkit/operations/gateway/client.py +1 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/tests/operations/gateway/test_gateway_client_init.py +1 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/uv.lock +5 -5
- bedrock_agentcore_starter_toolkit-0.1.5/documentation/docs/user-guide/import-agent/design.md +0 -114
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/.github/CODEOWNERS +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/.github/branch-protection.json +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/.github/dependabot.yml +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/.github/pull_request_template.md +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/.github/workflows/ci.yml +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/.github/workflows/deploy-docs.yml +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/.github/workflows/integration_testing.yml +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/.github/workflows/pr-automerge.yml +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/.github/workflows/release.yml +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/.github/workflows/security-scanning.yml +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/.github/workflows/security.yml +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/.github/workflows/test-pypi-release.yml +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/.gitignore +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/.pre-commit-config.yaml +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/.python-version +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/CODE-OF-CONDUCT.md +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/CONTRIBUTING.md +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/LICENSE.txt +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/NOTICE.txt +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/README.md +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/SECURITY.md +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/documentation/.gitignore +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/documentation/README.md +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/documentation/docs/api-reference/cli.md +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/documentation/docs/api-reference/identity.md +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/documentation/docs/api-reference/memory.md +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/documentation/docs/api-reference/runtime.md +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/documentation/docs/api-reference/tools.md +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/documentation/docs/examples/README.md +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/documentation/docs/examples/async-processing.md +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/documentation/docs/examples/gateway-integration.md +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/documentation/docs/examples/session-management.md +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/documentation/docs/index.md +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/documentation/docs/stylesheets/extra.css +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/documentation/docs/user-guide/builtin-tools/quickstart-browser.md +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/documentation/docs/user-guide/builtin-tools/quickstart-code-interpreter.md +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/documentation/docs/user-guide/gateway/overview.md +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/documentation/docs/user-guide/gateway/quickstart.md +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/documentation/docs/user-guide/identity/quickstart.md +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/documentation/docs/user-guide/import-agent/configuration.md +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/documentation/docs/user-guide/import-agent/quickstart.md +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/documentation/docs/user-guide/memory/quickstart.md +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/documentation/docs/user-guide/observability/quickstart.md +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/documentation/docs/user-guide/runtime/async.md +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/documentation/docs/user-guide/runtime/notebook.md +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/documentation/docs/user-guide/runtime/overview.md +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/documentation/docs/user-guide/runtime/permissions.md +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/documentation/docs/user-guide/runtime/quickstart.md +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/documentation/mkdocs.yaml +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/documentation/overrides/main.html +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/scripts/bump-version.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/scripts/prepare-release.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/scripts/setup-branch-protection.sh +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/scripts/validate-release.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/src/bedrock_agentcore_starter_toolkit/__init__.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/src/bedrock_agentcore_starter_toolkit/cli/__init__.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/src/bedrock_agentcore_starter_toolkit/cli/cli.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/src/bedrock_agentcore_starter_toolkit/cli/common.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/src/bedrock_agentcore_starter_toolkit/cli/gateway/__init__.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/src/bedrock_agentcore_starter_toolkit/cli/gateway/commands.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/src/bedrock_agentcore_starter_toolkit/cli/import_agent/README.md +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/src/bedrock_agentcore_starter_toolkit/cli/import_agent/__init__.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/src/bedrock_agentcore_starter_toolkit/cli/import_agent/agent_info.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/src/bedrock_agentcore_starter_toolkit/cli/import_agent/commands.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/src/bedrock_agentcore_starter_toolkit/cli/runtime/__init__.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/src/bedrock_agentcore_starter_toolkit/cli/runtime/commands.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/src/bedrock_agentcore_starter_toolkit/cli/runtime/configuration_manager.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/src/bedrock_agentcore_starter_toolkit/notebook/__init__.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/src/bedrock_agentcore_starter_toolkit/notebook/runtime/__init__.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/src/bedrock_agentcore_starter_toolkit/notebook/runtime/bedrock_agentcore.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/src/bedrock_agentcore_starter_toolkit/operations/__init__.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/src/bedrock_agentcore_starter_toolkit/operations/gateway/README.md +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/src/bedrock_agentcore_starter_toolkit/operations/gateway/__init__.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/src/bedrock_agentcore_starter_toolkit/operations/gateway/constants.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/src/bedrock_agentcore_starter_toolkit/operations/gateway/create_lambda.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/src/bedrock_agentcore_starter_toolkit/operations/gateway/create_role.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/src/bedrock_agentcore_starter_toolkit/operations/gateway/exceptions.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/src/bedrock_agentcore_starter_toolkit/operations/runtime/__init__.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/src/bedrock_agentcore_starter_toolkit/operations/runtime/configure.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/src/bedrock_agentcore_starter_toolkit/operations/runtime/create_role.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/src/bedrock_agentcore_starter_toolkit/operations/runtime/invoke.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/src/bedrock_agentcore_starter_toolkit/operations/runtime/launch.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/src/bedrock_agentcore_starter_toolkit/operations/runtime/models.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/src/bedrock_agentcore_starter_toolkit/operations/runtime/status.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/src/bedrock_agentcore_starter_toolkit/services/__init__.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/src/bedrock_agentcore_starter_toolkit/services/codebuild.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/src/bedrock_agentcore_starter_toolkit/services/ecr.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/src/bedrock_agentcore_starter_toolkit/services/import_agent/__init__.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/src/bedrock_agentcore_starter_toolkit/services/import_agent/assets/memory_manager_template.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/src/bedrock_agentcore_starter_toolkit/services/import_agent/assets/requirements_langchain.j2 +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/src/bedrock_agentcore_starter_toolkit/services/import_agent/assets/requirements_strands.j2 +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/src/bedrock_agentcore_starter_toolkit/services/import_agent/assets/template_fixtures_merged.json +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/src/bedrock_agentcore_starter_toolkit/services/import_agent/scripts/__init__.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/src/bedrock_agentcore_starter_toolkit/services/import_agent/scripts/base_bedrock_translate.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/src/bedrock_agentcore_starter_toolkit/services/import_agent/scripts/bedrock_to_langchain.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/src/bedrock_agentcore_starter_toolkit/services/import_agent/scripts/bedrock_to_strands.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/src/bedrock_agentcore_starter_toolkit/services/import_agent/utils.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/src/bedrock_agentcore_starter_toolkit/services/runtime.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/src/bedrock_agentcore_starter_toolkit/utils/endpoints.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/src/bedrock_agentcore_starter_toolkit/utils/logging_config.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/src/bedrock_agentcore_starter_toolkit/utils/runtime/config.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/src/bedrock_agentcore_starter_toolkit/utils/runtime/container.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/src/bedrock_agentcore_starter_toolkit/utils/runtime/entrypoint.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/src/bedrock_agentcore_starter_toolkit/utils/runtime/logs.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/src/bedrock_agentcore_starter_toolkit/utils/runtime/policy_template.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/src/bedrock_agentcore_starter_toolkit/utils/runtime/schema.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/src/bedrock_agentcore_starter_toolkit/utils/runtime/templates/Dockerfile.j2 +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/src/bedrock_agentcore_starter_toolkit/utils/runtime/templates/dockerignore.template +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/src/bedrock_agentcore_starter_toolkit/utils/runtime/templates/execution_role_policy.json.j2 +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/src/bedrock_agentcore_starter_toolkit/utils/runtime/templates/execution_role_trust_policy.json.j2 +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/tests/__init__.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/tests/cli/gateway/__init__.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/tests/cli/gateway/test_commands.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/tests/cli/runtime/__init__.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/tests/cli/runtime/test_commands.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/tests/cli/runtime/test_configuration_manager.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/tests/cli/test_common.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/tests/conftest.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/tests/conftest_mock.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/tests/fixtures/project_config_multiple.yaml +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/tests/fixtures/project_config_single.yaml +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/tests/notebook/runtime/test_bedrock_agentcore.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/tests/operations/gateway/test_gateway_client.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/tests/operations/gateway/test_gateway_create_role.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/tests/operations/runtime/test_configure.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/tests/operations/runtime/test_create_role.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/tests/operations/runtime/test_invoke.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/tests/operations/runtime/test_launch.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/tests/operations/runtime/test_status.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/tests/services/import_agent/data/bedrock_config.json +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/tests/services/import_agent/data/bedrock_config_multi_agent.json +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/tests/services/import_agent/data/bedrock_config_no_schema.json +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/tests/services/import_agent/test_import_agent.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/tests/services/test_codebuild.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/tests/services/test_ecr.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/tests/services/test_runtime.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/tests/services/test_runtime_conflict_error.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/tests/utils/runtime/test_config.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/tests/utils/runtime/test_container.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/tests/utils/runtime/test_entrypoint.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/tests/utils/runtime/test_policy_template.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/tests/utils/test_endpoints.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/tests/utils/test_logging_config.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/tests_integ/__init__.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/tests_integ/cli/__init__.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/tests_integ/cli/runtime/__init__.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/tests_integ/cli/runtime/base_test.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/tests_integ/cli/runtime/test_simple_agent.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/tests_integ/gateway/README.md +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/tests_integ/gateway/test_cognito_token.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/tests_integ/gateway/test_create_gateway_role.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/tests_integ/gateway/test_egress_auth.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/tests_integ/gateway/test_gateway_cognito.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/tests_integ/identity/access_token_3LO.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/tests_integ/notebook/test_notebook_runtime.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/tests_integ/strands_agent/__init__.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/tests_integ/strands_agent/agent_example.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/tests_integ/tools/__init__.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/tests_integ/tools/my_mcp_client.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/tests_integ/tools/my_mcp_client_remote.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/tests_integ/tools/my_mcp_server.py +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/tests_integ/tools/setup_cognito.sh +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/tests_integ/utils/config.py +0 -0
{bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/PKG-INFO
RENAMED
|
@@ -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.6
|
|
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.2
|
|
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
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
# Import Agent Design
|
|
2
|
+
|
|
3
|
+
Design overview for the import-agent utility, explaining the choices behind the generated agent.
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
## Utility Feature Support
|
|
7
|
+
|
|
8
|
+
Below is each feature of Bedrock Agents and which of the features this utility successfully maps to each target framework. We also describe which AgentCore Primitive is used to enhance each feature mapping.
|
|
9
|
+
|
|
10
|
+
|Bedrock Agent Feature |AgentCore + Langchain |AgentCore + Strands |Notes |
|
|
11
|
+
|--- |--- |--- |--- |
|
|
12
|
+
|Action Groups |SUPPORTED |SUPPORTED |Uses AgentCore Gateway |
|
|
13
|
+
|Orchestration |SUPPORTED |SUPPORTED | |
|
|
14
|
+
|*Guardrails* |SUPPORTED |SUPPORTED | |
|
|
15
|
+
|*Knowledge Bases* |SUPPORTED |SUPPORTED | |
|
|
16
|
+
|*Code Interpreter* |SUPPORTED |SUPPORTED |Uses AgentCore Code Interpreter |
|
|
17
|
+
|Short Term Memory |SUPPORTED |SUPPORTED | |
|
|
18
|
+
|Long Term Memory |SUPPORTED |SUPPORTED |Uses AgentCore Memory |
|
|
19
|
+
|Pre/Post Processing Step |SUPPORTED |SUPPORTED | |
|
|
20
|
+
|User Input |SUPPORTED |SUPPORTED | |
|
|
21
|
+
|*Traces* |SUPPORTED |SUPPORTED |Uses AgentCore Observability |
|
|
22
|
+
|Multi-Agent Collaboration |SUPPORTED |SUPPORTED | |
|
|
23
|
+
|
|
24
|
+
## Action Groups → AgentCore Gateway Target
|
|
25
|
+
|
|
26
|
+
In Bedrock Agents, users can define Action Groups for their agents. An Action Group is a collection of tools that are either executed via AWS Lambda or through a local callback (Return of Control). These tools are defined using either an OpenAPI specification or a structured function schema. At runtime, Bedrock Agents call your Lambda function with an event formatted according to the schema you selected. The structure of this event is documented here: [AWS Bedrock Lambda integration](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-lambda.html).
|
|
27
|
+
|
|
28
|
+
In AgentCore Gateway, we create one gateway per generated agent. Each Action Group in Bedrock Agents maps to a target in the gateway. Within each target, every function or path/method becomes a tool. To ensure compatibility with existing Action Group Lambda functions, we use a proxy Lambda function as the executor for all tools in the gateway. This proxy:
|
|
29
|
+
|
|
30
|
+
1. Receives tool calls in the Gateway's format.
|
|
31
|
+
2. Identifies the correct Action Group Lambda to invoke.
|
|
32
|
+
3. Reformats the request object to match the expected format.
|
|
33
|
+
4. Calls the appropriate Lambda and returns the result in a Gateway-compatible format.
|
|
34
|
+
|
|
35
|
+
If AgentCore Gateway is disabled, the system generates local tools instead:
|
|
36
|
+
|
|
37
|
+
* Each function or path/method becomes a separate tool.
|
|
38
|
+
* The tool’s argument schema is exposed to the agent via Pydantic model generation.
|
|
39
|
+
* Each tool formats its request correctly and calls the corresponding Action Group Lambda directly.
|
|
40
|
+
|
|
41
|
+
This approach also applies to Return of Control (ROC) action groups, where the tool prompts the user for input locally before proceeding with execution.
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
## Orchestration
|
|
45
|
+
|
|
46
|
+
For orchestration, the Bedrock Agents prompt are constructed at runtime, by substituting in template fixtures (ie. variables in the prompt). For example, the orchestration prompt may have the fixture called knowledge_base_guidelines. This variable is filled in depending on the model provider and model version in use.
|
|
47
|
+
|
|
48
|
+
To approximate the same behavior and deliver translated agents that are functionally equivalent, the utility uses ONE collection of template fixtures (`template_fixtures_merged.json`) and substitutes them in to build the correct prompts. As for orchestration strategy, for both Langchain and Strands, the utility uses the standard ReAcT orchestration pattern.
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
## Guardrails
|
|
52
|
+
|
|
53
|
+
In Bedrock Agents, users can add Bedrock Guardrails to their agent. This applies the guardrail on the model level and Bedrock Agents will have defined behavior for when a guardrail is invoked to redact or block an input. Equivalently, the utility applies the same guardrail on Bedrock models, as there is support for this in both Langchain and Strands.
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
## Knowledge Bases
|
|
57
|
+
|
|
58
|
+
In Bedrock Agents, users can add existing Knowledge Bases (defined via Bedrock Knowledge Bases) to their agent via the Console or SDK. The AgentCore + Langchain/Strands equivalent of this feature is to use each of those KBs to define a KB retrieval tool for an agent to use. This tool uses the AWS SDK to retrieve from connected knowledge bases using a query decided by the agent and then returns the document results for the agent to use.
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
## Code Interpreter → AgentCore Code Interpreter
|
|
62
|
+
|
|
63
|
+
In Bedrock Agents, users can enable Code Interpreter. This gives a Bedrock Agent access to a sandbox for it to write, troubleshoot, and return the output of code.
|
|
64
|
+
|
|
65
|
+
We use AgentCore Code Interpreter for an equivalent experience. The utility defines a `code_tool` which creates a code sandbox session and defines a sub-agent with access to code interpreter operations (as tools). These operations include executing code, writing/removing files, and more. This sub-agent is fed the code tool's input query and runs in a loop using the sandbox operations to accomplish the coding task and return the output.
|
|
66
|
+
|
|
67
|
+
When AgentCore Code Interpreter is opted-out, we use open-interpreter, an open source and local code interpreter that can write, execute, and troubleshoot code.
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
## Short Term Memory
|
|
71
|
+
|
|
72
|
+
In Bedrock Agents, by default, agents have short term memory of an entire session’s messages. This means that the user can ask any number of questions within a session, with the agent keeping earlier messages from that session in its context.
|
|
73
|
+
|
|
74
|
+
The utility will use an in-memory saver as a solution for this. In Langchain, we use an in-memory store to save the session’s messages in a thread for that session. In Strands, we use a Sliding Conversation Manager, which can maintain in-memory context of any number of earlier messages in a session.
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
## Long Term Memory → AgentCore Memory
|
|
78
|
+
|
|
79
|
+
In Bedrock Agents, users can enable Long Term Memory for their agent. This is based on session summarization, where BR Agents uses an LLM to summarize the conversation’s discussion topics based on a session’s messages. This occurs on the end of each session, and customers can configure a max number of sessions and max days threshold to keep the summaries. In the orchestration prompt in BR agents, a synopsis of the long-term memory, consisting of multiple of these session summaries, is injected.
|
|
80
|
+
|
|
81
|
+
In Bedrock Agents, users can enable Long-Term Memory for their agents. This system is based on session summarization, where Bedrock Agents use an LLM to summarize discussion topics from each session’s messages.
|
|
82
|
+
|
|
83
|
+
* Summarization happens at the end of each session.
|
|
84
|
+
* Customers can configure:
|
|
85
|
+
* The maximum number of sessions to retain.
|
|
86
|
+
* A maximum age (in days) for how long to keep the summaries.
|
|
87
|
+
* During orchestration, Bedrock Agents inject a synopsis of long-term memory—which consists of multiple session summaries—into the system prompt.
|
|
88
|
+
|
|
89
|
+
In AgentCore Memory, the utility implements a similar memory model using a summarization strategy with a dedicated memory store:
|
|
90
|
+
|
|
91
|
+
```
|
|
92
|
+
{
|
|
93
|
+
"summaryMemoryStrategy": {
|
|
94
|
+
"name": "SessionSummarizer",
|
|
95
|
+
"namespaces": ["/summaries/{actorId}/{sessionId}"],
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
On each entrypoint invocation, formatted messages are saved to this memory store by generating an event that includes the correct `userId` and `sessionId` (both provided to the entrypoint). During agent initialization (inside the `get_agent` loop in the output code), the top session summaries are retrieved from the memory store and formatted to match the Bedrock Agents' memory style. These formatted summaries are then injected into the agent's system prompt as a memory synopsis.
|
|
101
|
+
|
|
102
|
+
If AgentCore Memory is opted out, then we replicate the behavior with a local long term memory manager, which uses a memory summarization LLM and the memory summarization BR agents prompt to create and manage session summaries. The generated summaries are saved and maintained in a local session summaries JSON file.
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
## Pre/Post-Processing Step
|
|
106
|
+
|
|
107
|
+
In Bedrock Agents, customers can enable and override pre-processing and post-processing steps in their agents. These steps are meant to be taken at the start and end, respectively, of agent invocation.
|
|
108
|
+
|
|
109
|
+
If the pre-processing step is enabled, then within the `invoke_agent` function, the utility will use the pre-processing prompt on the user query and append the output to the query before passing this on to the orchestration loop. If the post-processing step is enabled, then the post-processing prompt is used on the orchestration loop output, and this result is returned as the output of `invoke_agent`.
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
## User Input
|
|
113
|
+
|
|
114
|
+
In Bedrock Agents, an agent can ask for human input. This may be for clarification or to ask for missing parameters for a tool call. If enabled, the utility will create a human input tool, which can be invoked with a question by the agent and asks the user for CLI input on that question. This answer is then returned to the agent as the tool’s output.
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
## Traces → AgentCore Observability
|
|
118
|
+
|
|
119
|
+
In Bedrock Agents, users can view traces that describe pre/post processing steps, routing classifier steps, guardrail invocation, agent orchestration, and other information. These traces are in a format specific to Bedrock Agents, and can be viewed either in the console or as output of an invoke_agent call to a BR agent.
|
|
120
|
+
|
|
121
|
+
The equivalent for this with AgentCore is to use AgentCore Observability (if not opted-out). For both Langchain and Strands, the agent will output OTEL logs on a session, trace, and span level. These logs are captured by AgentCore Observability when the agent is deployed to AgentCore Runtime, and the logs will be visible in CloudWatch under the GenAI Observability section.
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
## Multi-Agent Collaboration
|
|
125
|
+
|
|
126
|
+
In Bedrock Agents, users can promote an agent and add collaborators to it. This hierarchy can be up to 5 levels deep. A collaborator can receive shared conversation history from the parent, and can be invoked with routing mode (parent uses a routing classifier prompt to find a relevant collaborator for a user query) or supervisor mode (an agents-as-tools approach).
|
|
127
|
+
|
|
128
|
+
The utility's approach to this is to recursively translate a parent agent and its children, and then orchestrate them together via an Agents-as-Tools approach by default. If conversation sharing is enabled, then the parent will inject its state into the child's via these collaboration tools. If routing mode is enabled for the parent, then the parent agent uses a routing classifier prompt, before orchestration, to invoke a relevant child agent. In AgentCore Runtime, the code for a parent agent and its children are packaged together, in the same container image, to enable this setup.
|
|
@@ -7,6 +7,11 @@ The `import-agent` utility enables you to migrate existing Amazon Bedrock Agents
|
|
|
7
7
|
> Review the generated code, evaluate agent behavior, and make necessary changes before deploying.
|
|
8
8
|
> Extend the agent with additional tools, memory, and other features as required.
|
|
9
9
|
|
|
10
|
+
> **Note**
|
|
11
|
+
> Use the output agent definition as a starting point for your custom agent implementation.
|
|
12
|
+
> Review the generated code, evaluate agent behavior, and make necessary changes before deploying.
|
|
13
|
+
> Extend the agent with additional tools, memory, and other features as required.
|
|
14
|
+
|
|
10
15
|
## What is Import Agent?
|
|
11
16
|
|
|
12
17
|
The import-agent utility automates the process of:
|
|
@@ -14,6 +19,7 @@ The import-agent utility automates the process of:
|
|
|
14
19
|
1. **Fetching** your existing Bedrock Agent configuration
|
|
15
20
|
2. **Converting** it to LangChain/LangGraph or Strands framework code
|
|
16
21
|
3. **Integrating** AgentCore primitives (Memory, Code Interpreter, Observability, Gateway)
|
|
22
|
+
3. **Integrating** AgentCore primitives (Memory, Code Interpreter, Observability, Gateway)
|
|
17
23
|
4. **Deploying** to AgentCore Runtime (optional)
|
|
18
24
|
|
|
19
25
|
## Key Benefits
|
|
@@ -34,7 +40,7 @@ Ideal for teams wanting AWS-native agent development with streamlined patterns.
|
|
|
34
40
|
|
|
35
41
|
## Generated Output
|
|
36
42
|
|
|
37
|
-
The utility generates
|
|
43
|
+
The utility generates an agent implementation including:
|
|
38
44
|
|
|
39
45
|
- **Agent Code**: Framework-specific implementation of your Bedrock Agent
|
|
40
46
|
- **Dependencies**: All required packages and versions
|
|
@@ -92,3 +98,4 @@ flowchart TD
|
|
|
92
98
|
- [Quick Start Guide](quickstart.md) - Get started in 5 minutes
|
|
93
99
|
- [Configuration Reference](configuration.md) - Detailed parameter guide
|
|
94
100
|
- [Design Choices](design.md) - Details on the design of the generated agent
|
|
101
|
+
- [Design Choices](design.md) - Details on the design of the generated agent
|
{bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/pyproject.toml
RENAMED
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "bedrock-agentcore-starter-toolkit"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.6"
|
|
8
8
|
description = "A starter toolkit for using Bedrock AgentCore"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
@@ -28,7 +28,7 @@ classifiers = [
|
|
|
28
28
|
dependencies = [
|
|
29
29
|
"boto3>=1.39.7",
|
|
30
30
|
"botocore>=1.39.7",
|
|
31
|
-
"bedrock-agentcore>=0.1.
|
|
31
|
+
"bedrock-agentcore>=0.1.2",
|
|
32
32
|
"docstring_parser>=0.15,<1.0",
|
|
33
33
|
"httpx>=0.28.1",
|
|
34
34
|
"jinja2>=3.1.6",
|
|
@@ -84,6 +84,7 @@ class GatewayClient:
|
|
|
84
84
|
"protocolType": "MCP",
|
|
85
85
|
"authorizerType": "CUSTOM_JWT",
|
|
86
86
|
"authorizerConfiguration": authorizer_config,
|
|
87
|
+
"exceptionLevel": "DEBUG"
|
|
87
88
|
}
|
|
88
89
|
if enable_semantic_search:
|
|
89
90
|
create_request["protocolConfiguration"] = {"mcp": {"searchType": "SEMANTIC"}}
|
|
@@ -164,6 +164,7 @@ class TestCreateMCPGateway:
|
|
|
164
164
|
"authorizerType": "CUSTOM_JWT",
|
|
165
165
|
"authorizerConfiguration": authorizer_config,
|
|
166
166
|
"protocolConfiguration": {"mcp": {"searchType": "SEMANTIC"}},
|
|
167
|
+
"exceptionLevel": "DEBUG",
|
|
167
168
|
}
|
|
168
169
|
self.client.client.create_gateway.assert_called_once_with(**expected_request)
|
|
169
170
|
|
|
@@ -73,7 +73,7 @@ wheels = [
|
|
|
73
73
|
|
|
74
74
|
[[package]]
|
|
75
75
|
name = "bedrock-agentcore"
|
|
76
|
-
version = "0.1.
|
|
76
|
+
version = "0.1.2"
|
|
77
77
|
source = { registry = "https://pypi.org/simple" }
|
|
78
78
|
dependencies = [
|
|
79
79
|
{ name = "boto3" },
|
|
@@ -84,14 +84,14 @@ dependencies = [
|
|
|
84
84
|
{ name = "urllib3" },
|
|
85
85
|
{ name = "uvicorn" },
|
|
86
86
|
]
|
|
87
|
-
sdist = { url = "https://files.pythonhosted.org/packages/
|
|
87
|
+
sdist = { url = "https://files.pythonhosted.org/packages/fe/7c/2de54122abd86ad73cf42b5ba3f26410bb043cca685edc3f90d166b8bc38/bedrock_agentcore-0.1.2.tar.gz", hash = "sha256:9063dddef43c0f6c492d8fec852a6a8c1c630f7bcee07aa3f0d218290370988b", size = 204302, upload-time = "2025-08-11T21:27:50.053Z" }
|
|
88
88
|
wheels = [
|
|
89
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
89
|
+
{ url = "https://files.pythonhosted.org/packages/63/e0/d66fbc2f7620214964039ffe9a675dd1e8e23245c61cd7b280f78d606d02/bedrock_agentcore-0.1.2-py3-none-any.whl", hash = "sha256:2e45b5e3d14ac1828881f089456fb35c48233ab7aad8c4d83c525cf4b2ab92c2", size = 48747, upload-time = "2025-08-11T21:27:48.804Z" },
|
|
90
90
|
]
|
|
91
91
|
|
|
92
92
|
[[package]]
|
|
93
93
|
name = "bedrock-agentcore-starter-toolkit"
|
|
94
|
-
version = "0.1.
|
|
94
|
+
version = "0.1.6"
|
|
95
95
|
source = { editable = "." }
|
|
96
96
|
dependencies = [
|
|
97
97
|
{ name = "autopep8" },
|
|
@@ -139,7 +139,7 @@ dev = [
|
|
|
139
139
|
[package.metadata]
|
|
140
140
|
requires-dist = [
|
|
141
141
|
{ name = "autopep8", specifier = ">=2.3.2" },
|
|
142
|
-
{ name = "bedrock-agentcore", specifier = ">=0.1.
|
|
142
|
+
{ name = "bedrock-agentcore", specifier = ">=0.1.2" },
|
|
143
143
|
{ name = "boto3", specifier = ">=1.39.7" },
|
|
144
144
|
{ name = "botocore", specifier = ">=1.39.7" },
|
|
145
145
|
{ name = "docstring-parser", specifier = ">=0.15,<1.0" },
|
bedrock_agentcore_starter_toolkit-0.1.5/documentation/docs/user-guide/import-agent/design.md
DELETED
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
# Import Agent Design
|
|
2
|
-
|
|
3
|
-
Design overview for the import-agent utility, explaining the choices behind the generated agent.
|
|
4
|
-
|
|
5
|
-
## Feature Support
|
|
6
|
-
|
|
7
|
-
| Bedrock Agent Feature | Langchain | Strands | AgentCore |
|
|
8
|
-
|-----------------------------------------------------|-------------------------------------|----------------------------------|--------------------------------------------------|
|
|
9
|
-
| *Guardrails* | SUPPORTED | SUPPORTED | |
|
|
10
|
-
| *Orchestration (via reAct)* | SUPPORTED | SUPPORTED | |
|
|
11
|
-
| *Knowledge Bases* | SUPPORTED | SUPPORTED | |
|
|
12
|
-
| *Code Interpreter* | SUPPORTED | SUPPORTED | SUPPORTED: 1P Code Interpreter |
|
|
13
|
-
| *Lambda Function Definitions* | SUPPORTED | SUPPORTED | SUPPORTED: AgentCore Gateway |
|
|
14
|
-
| *Lambda OpenAPI Definitions* | SUPPORTED | SUPPORTED | SUPPORTED: AgentCore Gateway |
|
|
15
|
-
| *Return of Control* | SUPPORTED | SUPPORTED | |
|
|
16
|
-
| *Short Term (Conversational) Memory* | SUPPORTED | SUPPORTED | |
|
|
17
|
-
| *Long Term (Cross-Session) Memory* | SUPPORTED | SUPPORTED | SUPPORTED: AgentCore Memory |
|
|
18
|
-
| *Session Summarization* | SUPPORTED | SUPPORTED | SUPPORTED: AgentCore Memory |
|
|
19
|
-
| *Pre Processing Step* | SUPPORTED | SUPPORTED | |
|
|
20
|
-
| *Post Processing Step* | SUPPORTED | SUPPORTED | |
|
|
21
|
-
| *KB Generation Routing/Optimizations* | SUPPORTED | SUPPORTED | |
|
|
22
|
-
| *Idle Timeouts* | SUPPORTED | SUPPORTED | |
|
|
23
|
-
| *User Input (as a tool)* | SUPPORTED | SUPPORTED | |
|
|
24
|
-
| *Traces* | SUPPORTED | SUPPORTED | SUPPORTED: AgentCore Observability |
|
|
25
|
-
| *Multi-Agent Collaboration - Supervisor Mode* | SUPPORTED | SUPPORTED | |
|
|
26
|
-
| *Multi-Agent Collaboration - Routing Mode* | SUPPORTED | SUPPORTED | |
|
|
27
|
-
| *Multi-Agent Collaboration - Conversation Relay* | SUPPORTED | SUPPORTED | |
|
|
28
|
-
| *Custom Bedrock Model Usage* | SUPPORTED | SUPPORTED | |
|
|
29
|
-
| *Chat Interface (via CLI)* | SUPPORTED | SUPPORTED | |
|
|
30
|
-
| *Custom Inference Configurations* | SUPPORTED | SUPPORTED | |
|
|
31
|
-
| *Agent Deployment* | N/A | N/A | SUPPORTED: AgentCore Runtime |
|
|
32
|
-
| *Lambda Parsing and Orchestration* | N/A | N/A | |
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
## Action Groups -> AgentCore Gateway Target
|
|
36
|
-
|
|
37
|
-
In Bedrock Agents, users can define Action Groups for their agent. An Action Group is a collection of tools either executed via Lambda or with a local callback (Return of Control) and defined with an OpenAPI spec or structured function schema. BR Agents, at runtime, will call your Lambda function with an event of the following format, depending on which schema option you chose: [https://docs.aws.amazon.com/bedrock/latest/userguide/agents-lambda.html](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-lambda.html).
|
|
38
|
-
|
|
39
|
-
In AgentCore Gateway, we create one gateway for the output agent. Each action group is equivalent to one target in this gateway, and each function or path/method is one tool in this target. In order to maintain backwards compatibility with the action group lambda functions, we create a proxy Lambda function that serves as the Lambda for all the gateway's targets. This proxy handles an incoming tool call in Gateway's format, finds the correct end action group Lambda function to call for that tool, and then reformats data to call that Lambda function and return its output.
|
|
40
|
-
|
|
41
|
-
If AgentCore Gateway is opted out, then the utility generates local tools for each function and path/method, exposes their relevant argument schema to the agent via Pydantic model generation, then has each tool format its input correctly to call the relevant action group lambda. This also applies for ROC action groups, where such a tool invocation will ask the user for local input to continue execution.
|
|
42
|
-
|
|
43
|
-
## Session Memory -> AgentCore Memory
|
|
44
|
-
|
|
45
|
-
In Bedrock Agents, users can enable Long Term Memory for their agent. This is based on session summarization, where BR Agents uses an LLM to summarize the conversation’s discussion topics based on a session’s messages. A max number of sessions and max days threshold can be set. In the orchestration prompt in BR agents, a synopsis of the long-term memory, consisting of multiple of these session summaries, is injected.
|
|
46
|
-
|
|
47
|
-
In AgentCore Memory, we create a memory store adopting the summarization strategy:
|
|
48
|
-
|
|
49
|
-
```python
|
|
50
|
-
{
|
|
51
|
-
"summaryMemoryStrategy": {
|
|
52
|
-
"name": "SessionSummarizer",
|
|
53
|
-
"namespaces": ["/summaries/{actorId}/{sessionId}"],
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
```
|
|
57
|
-
|
|
58
|
-
On each entrypoint invocation, we save formatted messages to this memory store by creating an event with the correct user id and session id. During agent initialization within the agent update loop (`get_agent`), we retrieve the top session summary memories from the memory store, format the memories correctly, and inject them as a memory synopsis into the agent's system prompt.
|
|
59
|
-
|
|
60
|
-
If AgentCore Memory is opted out, then we replicate the behavior with a local long term memory manager, which uses a memory summarization LLM and the memory summarization BR agents prompt to create and manage session summaries. The generated summaries are saved and maintained in a local session summaries JSON file.
|
|
61
|
-
|
|
62
|
-
## Code Interpreter -> AgentCore Code Interpreter
|
|
63
|
-
|
|
64
|
-
In Bedrock Agents, users can enable Code Interpreter. This gives a Bedrock Agent access to a sandbox for it to write, troubleshoot, and return the output of code.
|
|
65
|
-
|
|
66
|
-
We use AgentCore Code Interpreter for an equivalent experience. The utility defines a `code_tool` which creates a code sandbox session and defines a sub-agent with access to code interpreter operations (as tools). This sub-agent is fed the code tool's input query and runs in a loop using the sandbox operations to accomplish the coding task and return the output.
|
|
67
|
-
|
|
68
|
-
When AgentCore Code Interpreter is opted-out, we use open-interpreter, an open source and local code interpreter that can write, execute, and troubleshoot code.
|
|
69
|
-
|
|
70
|
-
## Traces -> AgentCore Observability
|
|
71
|
-
|
|
72
|
-
In Bedrock Agents, users can view traces that describe pre/post processing steps, routing classifier steps, guardrail invocation, agent orchestration, and other information. These traces are in a format specific to Bedrock Agents, and can be viewed either in the console or as output of an invoke_agent call to a BR agent.
|
|
73
|
-
|
|
74
|
-
The equivalent for this with AgentCore is to use AgentCore Observability (if not opted-out). For both Langchain and Strands, the agent will output OTEL logs on a session, trace, and span level. These logs are captured by AgentCore Observability when the agent is deployed to AgentCore Runtime, and the logs will be visible in CloudWatch under the GenAI Observability section.
|
|
75
|
-
|
|
76
|
-
## Guardrails
|
|
77
|
-
|
|
78
|
-
In Bedrock Agents, users can add Bedrock Guardrails to their agent. This applies the guardrail on the model level and Bedrock Agents will have defined behavior for when a guardrail is invoked to redact or block an input. Equivalently, the utility applies the same guardrail on Bedrock models, as there is support for this in both Langchain and Strands.
|
|
79
|
-
|
|
80
|
-
## Knowledge Bases
|
|
81
|
-
|
|
82
|
-
In Bedrock Agents, users can add existing Knowledge Bases (defined via Bedrock Knowledge Bases) to their agent via the Console or SDK. The AgentCore + Langchain/Strands equivalent of this feature is to use each of those KBs to define a KB retrieval tool for an agent to use. This tool uses the AWS SDK to retrieve from connected knowledge bases using a query decided by the agent and then returns the document results for the agent to use.
|
|
83
|
-
|
|
84
|
-
## Multi-Agent Collaboration
|
|
85
|
-
|
|
86
|
-
In Bedrock Agents, users can promote an agent and add collaborators to it. This hierarchy can be up to 5 levels deep. A collaborator can receive shared conversation history from the parent, and can be invoked with routing mode (parent uses a routing classifier prompt to find a relevant collaborator for a user query) or supervisor mode (an agents-as-tools approach).
|
|
87
|
-
|
|
88
|
-
The utility's approach to this is to recursively translate a parent agent and its children, and then orchestrate them together via an Agents-as-Tools approach by default. If conversation sharing is enabled, then the parent will inject its state into the child's via these collaboration tools. If routing mode is enabled for the parent, then the parent agent uses a routing classifier prompt, before orchestration, to invoke a relevant child agent. In AgentCore Runtime, the code for a parent agent and its children are packaged together, in the same container image, to enable this setup.
|
|
89
|
-
|
|
90
|
-
## Code Structure
|
|
91
|
-
|
|
92
|
-
In general, the generated agents follow the structure below:
|
|
93
|
-
|
|
94
|
-
1. Imports
|
|
95
|
-
2. Model configurations
|
|
96
|
-
3. Prompt definitions
|
|
97
|
-
4. Action Group / MCP Tools
|
|
98
|
-
5. Knowledge Base Tools
|
|
99
|
-
6. Agent Initialization and Update Loop
|
|
100
|
-
7. Agent Invocation Logic
|
|
101
|
-
8. AgentCore Runtime Entrypoint
|
|
102
|
-
9. CLI for Local Agent Testing
|
|
103
|
-
|
|
104
|
-
## Prompt Generation, Testing, and Agent Similarity
|
|
105
|
-
|
|
106
|
-
Bedrock Agents prompts are constructed at runtime, by substituting in template fixtures (ie. variables in the prompt). For example, an orchestration prompt may have the fixture called knowledge_base_guidelines. This variable is filled in depending on the model provider and model version in use.
|
|
107
|
-
|
|
108
|
-
To approximate the same behavior and deliver translated agents that are functionally equivalent, the utility uses ONE collection of template fixtures (`template_fixtures_merged.json`) and substitutes them in to build the correct prompts.
|
|
109
|
-
|
|
110
|
-
This, along with all the design choices above, yield translated agents that are very similar semantically and functionally to the original Bedrock Agents. Below are functional testing results on a sample of 400 randomly generated and translated BR agents on a shared prompt suite:
|
|
111
|
-
|
|
112
|
-
- ~95% match in average semantic similarity of responses via text embedding
|
|
113
|
-
- 97.50% match in Langchain agent usage of KBs, collaborators, guardrails, action groups
|
|
114
|
-
- 100% match in Strands agent usage of KBs, collaborators, guardrails, action groups
|
|
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
|
{bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/.gitignore
RENAMED
|
File without changes
|
|
File without changes
|
{bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/.python-version
RENAMED
|
File without changes
|
|
File without changes
|
{bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/CONTRIBUTING.md
RENAMED
|
File without changes
|
{bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/LICENSE.txt
RENAMED
|
File without changes
|
{bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/NOTICE.txt
RENAMED
|
File without changes
|
{bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/README.md
RENAMED
|
File without changes
|
{bedrock_agentcore_starter_toolkit-0.1.5 → bedrock_agentcore_starter_toolkit-0.1.6}/SECURITY.md
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
|
|
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
|
|
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
|