v2.5.9
March 10, 2026
Guide next steps with built-in followup suggestions for agents and teams
Agents and teams can now automatically generate actionable followup prompts after each response by setting followups=True.
A second model call produces a configurable number of short, context-aware suggestions based on the conversation, giving users a clear path to continue their work without having to formulate the next question themselves.
Details:
- Enable with
followups=True; control the number of suggestions withnum_followups(default 3) - Use
followup_modelto route followup generation to a smaller, cheaper model independently of the main agent model - Suggestions are available on
response.followupsfor non-streaming runs - Streaming surfaces suggestions via the
FollowupsCompletedevent, emitted after the main response finishes - Works for both agents and teams with no additional configuration
See agent with Followup Suggestions docs for more.
