python/v1.44.0
What's Changed (Python SDK)
✨ Features
- feat(memory): port memory manager and extraction to Python by @JackYPCOnline in #2740
- feat(memory): add
Agentmemory_managerparam with configurable sync auto-flush by @JackYPCOnline in #2795 - feat(memory): port
BedrockKnowledgeBaseStoreto strands-py by @pgrayy in #2834 - feat(memory): add default for memory extraction trigger by @opieter-aws in #2811
- feat(memory): add memory injection (shared with TS) by @opieter-aws in #2797
- feat(interventions): port HumanInTheLoop vended intervention to Python by @agent-of-mkmeral in #2750
- feat(interventions): add Cedar authorization handler for Python by @lizradway in #2802
- feat(python): integrate Sandbox with Agent by @gautamsirdeshmukh in #2762
- feat(python): vended tools/plugins for sandbox by @gautamsirdeshmukh in #2835
- feat(strands-py): add GoalLoop vended plugin by @notowen333 in #2738
- feat: port agentic context management to Python (shared with TS) by @notowen333 in #2808
- feat: add internal middleware system for
InvokeModelStage(shared with TS) by @zastrowm in #2760 - feat(context-offloader): add turn-based eviction to
InMemoryStorage(shared with TS) by @lizradway in #2648 - feat: pass
invocation_stateto edge condition calls by @yananym in #2642
🐛 Fixes
- fix(strands-py): allow sync or async
InterventionHandlerlifecycle overrides by @agent-of-mkmeral in #2800 - fix(memory): mark internal memory functions as private by @opieter-aws in #2817
- fix: remove pin messaging barrel export (shared with TS) by @lizradway in #2767
♻️ Refactors
- refactor(memory): represent passed-in config types as TypedDicts by @pgrayy in #2824
- refactor(memory): represent
ExtractionConfigas a TypedDict by @pgrayy in #2827 - refactor(memory): drop redundant
| Nonefrom optional config fields by @pgrayy in #2832
🧪 Tests & Chores
- test: suppress verbose logging in tests with large text payloads by @zastrowm in #2773
- test(memory): assert S3 sidecar metadata and scope round-trip (shared with TS) by @pgrayy in #2840
- chore: apply ruff format to fix pre-existing drift in strands-py by @pgrayy in #2799
Full Changelog: python/v1.43.0...python/v1.44.0