Skip to content

Bedrock AgentCore SDK v0.1.1

Latest
Compare
Choose a tag to compare
@sundargthb sundargthb released this 23 Jul 22:53
· 4 commits to main since this release
5359f91

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.

[Unreleased]

[0.1.0] - 2025-07-16

Added

  • Initial release of Bedrock AgentCore Python SDK
  • Runtime framework for building AI agents
  • Memory client for conversation management
  • Authentication decorators for OAuth2 and API keys
  • Browser and Code Interpreter tool integrations
  • Comprehensive documentation and examples

Security

  • TLS 1.2+ enforcement for all communications
  • AWS SigV4 signing for API authentication
  • Secure credential handling via AWS credential chain

[0.1.1] - 2025-07-23

Fixed

  • Identity OAuth2 parameter name - Fixed incorrect parameter name in GetResourceOauth2Token

    • Changed callBackUrl to resourceOauth2ReturnUrl for correct API compatibility
    • Ensures proper OAuth2 token retrieval for identity authentication flows
  • Memory client region detection - Improved region handling in MemoryClient initialization

    • Now follows standard AWS SDK region detection precedence
    • Uses explicit region_name parameter when provided
    • Falls back to boto3.Session().region_name if not specified
    • Defaults to 'us-west-2' only as last resort
  • JSON response double wrapping - Fixed duplicate JSONResponse wrapping issue

    • Resolved issue when semaphore acquired limit is reached
    • Prevents malformed responses in high-concurrency scenarios

Improved

  • JSON serialization consistency - Enhanced serialization for streaming and non-streaming responses
    • Added new _safe_serialize_to_json_string method with progressive fallbacks
    • Handles datetime, Decimal, sets, and Unicode characters consistently
    • Ensures both streaming (SSE) and regular responses use identical serialization logic
    • Improved error handling for non-serializable objects