·
3 commits
to wayflow-26.1.x
since this release
We are excited to announce WayFlow 26.1.0!
This release delivers brings functionalities to easily deploy agents to production, improvements to multi-agent patterns, easier extensibility and safer template rendering.
You can install it from Pypi with:
pip install "wayflowcore==26.1.0"
What's new:
Server deployment & integrations
- Run your agents as a server: New built-in server makes it easy to deploy, run, and integrate your agents in production environments.
- OpenAI Responses API and A2A supported: Effortlessly connect WayFlow with OpenAI’s latest response APIs and agent-to-agent (A2A) workflows.
Multi-agent patterns improvements
- Refined Swarm coordination: Improved Swarm prompts and added HandoffMode to better guide delegation and enforce handoff behavior when required.
- More powerful multi-agent composition: Swarm and ManagerWorkers now support multiple tool calls per turn, and you can now build hierarchical ManagerWorkers and integrate Swarm/ManagerWorkers directly into Flows.
Security and compliance
- Stricter Jinja template rendering: No access to object attributes, only safe dictionary and loop properties. Templates that previously worked may now raise security errors.
Extensibility
- WayFlow Plugins: Extend or create Tools, Steps, and seamlessly integrate custom components in serialization and deserialization.
Breaking changes
- Stricter environment for Jinja templates rendering
- Deprecated methods and parameters removed:
- Use conversation.execute() instead of deprecated Agent/Flow.execute().
- Replace ChatHistoryContextProvider with FlowContextProvider using GetChatHistoryStep.
- Use begin_step (passing a Step) instead of begin_step_name.
- Tool names: Now enforce valid names, no whitespaces or special characters a deprecation warning is raised; in the next cycle, an error will be thrown.
Bug fixes & quality
- Default input values for agents now respected.
- Internal sanitization of agent and flow names prevents LLM API errors for multi-agent workflows.