v2.1.9

October 20, 2025

Smarter workflow decisions with session-aware routing and conditions

Workflow Condition (evaluator) and Router (selector) functions now receive session_state, enabling context-aware decisioning. This reduces boilerplate and lets you implement more expressive branching, prioritization, and error handling based on the current session.

Details

  • Evaluator and selector callbacks now have access to session_state
  • Build dynamic routing based on user profile, prior steps, or accumulated context
  • Improves maintainability by removing ad hoc state passing and side channels

Who this is for: Teams orchestrating multi-step agents and adaptive flows that depend on real-time context and session history.