Changelog
New Features:
- PgVector: added
similarity_thresholdparameter for filtering search results by minimum similarity score. - Team: Added streaming event support for
TeamMode.tasks, enabling real-time event emission during autonomous task execution. - Workflows HITL: Add support for HITL in workflows at Step level to pause for confirmation and user input. See docs
Improvements:
- Metrics: Redesigns the metrics system to provide per-model, per-component granular tracking across the entire agent/team/workflow lifecycle.
- WebsearchTools: expose timelimit, region and backend params in
DuckDuckGoTools - SeltzTools: Updated to use Seltz SDK 0.1.3
Bug Fixes:
- AWS Bedrock: Fixed to refresh AWS credentials on every Bedrock request when using boto3 session.
@tooldecorator: Fixed @tool decorator to not fail for Agent/Team type annotations- Pydantic model serialization: Fixed Pydantic model serialization in tool cache.
What's Changed
- chore: update quickstart by @ashpreetbedi in #6656
- chore: new cookbook by @ashpreetbedi in #6663
- feat: add similarity_threshold parameter for filtering search for PgVector [SDK-441] by @harshsinha03 in #6216
- cookbook: agent level by @ysolanky in #6665
- chore: split team tests into 4 balanced parallel jobs by @ysolanky in #6628
- fix: handle Pydantic model serialization in tool cache by @fehmisener in #6678
- [feat] expose timelimit, region and backend params in DuckDuckGoTools by @hztBUAA in #6650
- fix: @tool decorator fails with Agent/Team type annotations by @ysolanky in #6610
- chore: openai pdf input bytes by @kausmeows in #6685
- fix: add CI guard for split test coverage + fix 3 missing knowledge tests by @Mustafa-Esoofally in #6668
- fix: use fresh OpenAI clients in memori multi-registration tests by @Mustafa-Esoofally in #6691
- fix: refresh AWS credentials on every Bedrock request when using boto3 session by @Mustafa-Esoofally in #6657
- feat: metrics update by @harshsinha03 in #6405
- feat: support streaming for team task mode by @kausmeows in #6622
- [feat] Update SeltzTools for Seltz SDK 0.1.3 by @WilliamEspegren in #6292
- fix: include member response metrics in team session metrics by @ysolanky in #6704
- feat: step level workflow HITL by @kausmeows in #6211
- refactor: replace heavyweight RunOutput collectors with RunMetrics by @ysolanky in #6703
- fix: harden hook execution and PII guardrail by @Mustafa-Esoofally in #6483
- chore: Release v2.5.4 by @kausmeows in #6661
Full Changelog: v2.5.3...v2.5.4