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 with num_followups (default 3)
  • Use followup_model to route followup generation to a smaller, cheaper model independently of the main agent model
  • Suggestions are available on response.followups for non-streaming runs
  • Streaming surfaces suggestions via the FollowupsCompleted event, emitted after the main response finishes
  • Works for both agents and teams with no additional configuration

See agent with Followup Suggestions docs for more.