bedrock-agentcore-starter-toolkit 0.1.17__py3-none-any.whl → 0.1.18__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.

@@ -47,6 +47,7 @@ class Runtime:
47
47
  region: Optional[str] = None,
48
48
  protocol: Optional[Literal["HTTP", "MCP"]] = None,
49
49
  disable_otel: bool = False,
50
+ non_interactive: bool = False,
50
51
  ) -> ConfigureResult:
51
52
  """Configure Bedrock AgentCore from notebook using an entrypoint file.
52
53
 
@@ -66,6 +67,7 @@ class Runtime:
66
67
  region: AWS region for deployment
67
68
  protocol: agent server protocol, must be either HTTP or MCP
68
69
  disable_otel: Whether to disable OpenTelemetry observability (default: False)
70
+ non_interactive: Skip interactive prompts and use defaults (default: False)
69
71
 
70
72
  Returns:
71
73
  ConfigureResult with configuration details
@@ -120,6 +122,7 @@ class Runtime:
120
122
  authorizer_configuration=authorizer_configuration,
121
123
  region=region,
122
124
  protocol=protocol.upper() if protocol else None,
125
+ non_interactive=non_interactive,
123
126
  )
124
127
 
125
128
  self._config_path = result.config_path
@@ -40,7 +40,7 @@ The `MemoryManager` class provides a comprehensive interface for managing AWS Be
40
40
  ```python
41
41
  from bedrock_agentcore_starter_toolkit.operations.memory.manager import MemoryManager
42
42
  from bedrock_agentcore_starter_toolkit.operations.memory.models import (
43
- SemanticStrategy, SummaryStrategy, UserPreferenceStrategy,
43
+ SemanticStrategy, SummaryStrategy, UserPreferenceStrategy,
44
44
  CustomSemanticStrategy, ExtractionConfig, ConsolidationConfig
45
45
  )
46
46
 
@@ -625,7 +625,7 @@ dev_config = BotocoreConfig(
625
625
  )
626
626
 
627
627
  dev_manager = MemoryManager(
628
- region_name="us-east-1",
628
+ region_name="us-east-1",
629
629
  boto_client_config=dev_config
630
630
  )
631
631
 
@@ -691,7 +691,7 @@ try:
691
691
  except ClientError as e:
692
692
  error_code = e.response['Error']['Code']
693
693
  error_message = e.response['Error']['Message']
694
-
694
+
695
695
  if error_code == 'ValidationException':
696
696
  print(f"Invalid parameters: {error_message}")
697
697
  elif error_code == 'ResourceNotFoundException':
@@ -700,13 +700,13 @@ except ClientError as e:
700
700
  print(f"Access denied: {error_message}")
701
701
  else:
702
702
  print(f"AWS error ({error_code}): {error_message}")
703
-
703
+
704
704
  except TimeoutError as e:
705
705
  print(f"Operation timed out: {e}")
706
-
706
+
707
707
  except RuntimeError as e:
708
708
  print(f"Memory operation failed: {e}")
709
-
709
+
710
710
  except Exception as e:
711
711
  print(f"Unexpected error: {e}")
712
712
  ```
@@ -722,9 +722,9 @@ def safe_add_strategy(manager, memory_id, strategy):
722
722
  if status != "ACTIVE":
723
723
  print(f"Memory is {status}, waiting for ACTIVE state...")
724
724
  # Could implement custom waiting logic here
725
-
725
+
726
726
  return manager.add_strategy_and_wait(memory_id, strategy)
727
-
727
+
728
728
  except ClientError as e:
729
729
  if e.response['Error']['Code'] == 'ConflictException':
730
730
  print("Memory is being modified, retrying...")
@@ -745,7 +745,7 @@ def validate_and_add_strategy(manager, memory_id, strategy):
745
745
  except ValidationError as e:
746
746
  print(f"Strategy validation failed: {e}")
747
747
  return None
748
-
748
+
749
749
  return manager.add_strategy_and_wait(memory_id, strategy)
750
750
  ```
751
751
 
@@ -1011,16 +1011,16 @@ def debug_memory_state(manager, memory_id):
1011
1011
  try:
1012
1012
  memory = manager.get_memory(memory_id)
1013
1013
  print(f"Memory Status: {memory.status}")
1014
-
1014
+
1015
1015
  strategies = manager.get_memory_strategies(memory_id)
1016
1016
  print(f"Number of strategies: {len(strategies)}")
1017
-
1017
+
1018
1018
  for strategy in strategies:
1019
1019
  print(f" Strategy: {strategy.name}")
1020
1020
  print(f" ID: {strategy.strategyId}")
1021
1021
  print(f" Type: {strategy.get('type', 'N/A')}")
1022
1022
  print(f" Status: {strategy.get('status', 'N/A')}")
1023
-
1023
+
1024
1024
  except Exception as e:
1025
1025
  print(f"Error debugging memory {memory_id}: {e}")
1026
1026
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bedrock-agentcore-starter-toolkit
3
- Version: 0.1.17
3
+ Version: 0.1.18
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
@@ -13,7 +13,7 @@ bedrock_agentcore_starter_toolkit/cli/runtime/commands.py,sha256=0k86wtUZmSPZA4w
13
13
  bedrock_agentcore_starter_toolkit/cli/runtime/configuration_manager.py,sha256=72UVvnzD3aqaOBNhIMMHjNN5-mgR2oUnnWyA33oFoLM,14602
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
- bedrock_agentcore_starter_toolkit/notebook/runtime/bedrock_agentcore.py,sha256=ywtwvcVGX4l7cmsLgkgw7KeL3Fx1HfRCE3dIuds7CZk,15544
16
+ bedrock_agentcore_starter_toolkit/notebook/runtime/bedrock_agentcore.py,sha256=TL90e6r_q6osJBuHXa3cn-HgxU2WJA9TzoGU2pl0Zio,15716
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
19
  bedrock_agentcore_starter_toolkit/operations/gateway/client.py,sha256=A4pBxe66TKVpwVQb4GWfC5LCVvwPo0kdRqXnSgONf6w,26063
@@ -21,7 +21,7 @@ bedrock_agentcore_starter_toolkit/operations/gateway/constants.py,sha256=0_4J6BN
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
23
23
  bedrock_agentcore_starter_toolkit/operations/gateway/exceptions.py,sha256=WjsrE7lT2708CJniM_ISMzkfNX4IUteGgvOxleD9JZY,272
24
- bedrock_agentcore_starter_toolkit/operations/memory/README.md,sha256=ruf0ljBArKPe_C_DFQr0cxmXiUpagkfkGfAfa8qvd1k,31213
24
+ bedrock_agentcore_starter_toolkit/operations/memory/README.md,sha256=VHmdCoZImRVsiDvCnKbnt4btO5fOkfeKmoludgSbKwM,31139
25
25
  bedrock_agentcore_starter_toolkit/operations/memory/__init__.py,sha256=PAj25QAlnlvjaQIgfIpfxXXVXu5BTOXy-xDMDh6_HIc,59
26
26
  bedrock_agentcore_starter_toolkit/operations/memory/constants.py,sha256=0HWpxJZXmnmekIEW5TJjn9KmEqVi_REJzUN1l68ohYQ,3226
27
27
  bedrock_agentcore_starter_toolkit/operations/memory/manager.py,sha256=EwwNInqlIU3_d3dIphzp5ylNEEWISDduhlmjHkXrioA,44514
@@ -72,9 +72,9 @@ bedrock_agentcore_starter_toolkit/utils/runtime/templates/Dockerfile.j2,sha256=f
72
72
  bedrock_agentcore_starter_toolkit/utils/runtime/templates/dockerignore.template,sha256=b_70sBi0MwkTuA9TqxPqFcWK7TcmpaXBJ6M2Ipox65Q,691
73
73
  bedrock_agentcore_starter_toolkit/utils/runtime/templates/execution_role_policy.json.j2,sha256=hsYLCgaWMfXuwva90yb1DVEO_HUkIjHHNcPKb60E18k,6180
74
74
  bedrock_agentcore_starter_toolkit/utils/runtime/templates/execution_role_trust_policy.json.j2,sha256=PPJF6Ofq70W5DUE0NlbmnZjw5RkgepPgkskxEgEG28o,473
75
- bedrock_agentcore_starter_toolkit-0.1.17.dist-info/METADATA,sha256=ffd_TqBJzo8dC83UdCCBZ-KNIevFhe8mz_c2HK3-JmI,9999
76
- bedrock_agentcore_starter_toolkit-0.1.17.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
77
- bedrock_agentcore_starter_toolkit-0.1.17.dist-info/entry_points.txt,sha256=Tf94DkUf2Tp8P7p8MEXLxre7A7Pp_XNukteiz0wHnk8,77
78
- bedrock_agentcore_starter_toolkit-0.1.17.dist-info/licenses/LICENSE.txt,sha256=nNPOMinitYdtfbhdQgsPgz1UowBznU6QVN3Xs0pSTKU,10768
79
- bedrock_agentcore_starter_toolkit-0.1.17.dist-info/licenses/NOTICE.txt,sha256=rkBsg8DbKqfIoQbveqX9foR4uJPUVAokbkr02pRPilE,8674
80
- bedrock_agentcore_starter_toolkit-0.1.17.dist-info/RECORD,,
75
+ bedrock_agentcore_starter_toolkit-0.1.18.dist-info/METADATA,sha256=OSe2By2dPOOkhiz3JseXzCrKh0jRZEGdJuJCZciPWTI,9999
76
+ bedrock_agentcore_starter_toolkit-0.1.18.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
77
+ bedrock_agentcore_starter_toolkit-0.1.18.dist-info/entry_points.txt,sha256=Tf94DkUf2Tp8P7p8MEXLxre7A7Pp_XNukteiz0wHnk8,77
78
+ bedrock_agentcore_starter_toolkit-0.1.18.dist-info/licenses/LICENSE.txt,sha256=nNPOMinitYdtfbhdQgsPgz1UowBznU6QVN3Xs0pSTKU,10768
79
+ bedrock_agentcore_starter_toolkit-0.1.18.dist-info/licenses/NOTICE.txt,sha256=rkBsg8DbKqfIoQbveqX9foR4uJPUVAokbkr02pRPilE,8674
80
+ bedrock_agentcore_starter_toolkit-0.1.18.dist-info/RECORD,,