v1.1.14
March 20, 2025
1.1.14 - Teams Revamp
New Features:
- Teams Revamp: Announcing a new iteration of Agent teams with the following features:
- Create a
Teamin one of 3 modes: “Collaborate”, “Coordinate” or “Route”. - Various improvements have been made that was broken with the previous teams implementation. Including returning structured output from member agents (for “route” mode), passing images, audio and video to member agents, etc.
- It has added features like “agentic shared context” between team members and sharing of individual team member responses with other team members.
- This also comes with a revamp of Agent and Team debug logs. Use
debug_mode=Trueandteam.print_response(...)to see it in action. - Find the docs here. Please look at the example implementations here.
- This is the first release. Please give us feedback. Updates and improvements will follow.
- Support for
Agent(team=[])is still there, but deprecated (see below).
- Create a
- LiteLLM: Added LiteLLM support, both as a native implementation and via the
OpenAILikeinterface.
Improvements:
- Change structured_output to response_format: Added
use_json_mode: bool = Falseas a parameter ofAgentandTeam, which in conjunction withresponse_model=YourModel, is used to indicate whether the agent/team model should be forced to respond in json instead of (now default) structured output. Previous behaviour defaulted to “json-mode”, but since most models now support native structured output, we are now defaulting to native structured output. It is now also much simpler to work with response models, since now onlyresponse_modelneeds to be set. It is not necessary anymore to setstructured_output=Trueto specifically get structured output from the model. - Website Tools + Combined Knowledgebase: Added functionality for
WebsiteToolsto also update combined knowledgebases.
Bug Fixes:
- AgentMemory: Fixed
get_message_pairs()fetching incorrect messages. - UnionType in Functions: Fixed issue with function parsing where pipe-style unions were used in function parameters.
- Gemini Array Function Parsing: Fixed issue preventing gemini function parsing to work in some MCP cases.
Deprecations:
Structured Ouput:Agent.structured_outputhas been replaced byAgent.use_json_mode. This will be removed in a future major version release.Agent Team:Agent.teamis deprecated with the release of our new Teams implementation. This will be removed in a future major version release.
