mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-05-06 01:32:36 +00:00
- Add FlowTool(BaseTool) in crewai/tools/flow_tool.py that wraps a Flow class as a callable tool (instantiates, calls kickoff, returns result) - Add create_flow_tools() helper to convert list of Flow classes to tools - Add Agent.flows parameter (list of Flow classes) - Wire _set_flow_tools() into Agent.post_init_setup to auto-convert flows into tools and merge them into the agent's tool list - Export FlowTool and create_flow_tools from crewai/__init__.py - Add comprehensive tests (14 tests covering unit + integration)