SIGN IN SIGN UP
crewAIInc / crewAI UNCLAIMED

Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work together seamlessly, tackling complex tasks.

0 0 38 Python

Split `flow.py` into DSL, definition, and runtime (#5997)

This commit separates the monolithic `flow.py` into three modules, each
with one job:

- `dsl.py` - the Python DSL for flows (@start/@listen/@router, or_/and_)
- `flow_definition.py` - the structural model extracted from the DSL
- `runtime.py` - the execution engine and state for flows

This phase moves code only and should not have any breaking changes.
V
Vini Brasil committed
1aba9fe41556d00a16bed2c31e0217196325c1ba
Parent: 4dafb05
Committed by GitHub <noreply@github.com> on 6/1/2026, 9:37:10 PM