AI / CrewAI Interview Questions
Define Flow state in CrewAI?
Flow state is the data that persists throughout a Flow's execution, letting different methods share and build on information as the workflow progresses.
- Can be unstructured, stored as a plain dictionary, for quick and flexible use
- Can be structured, using Pydantic models, for type safety, schema validation, and autocompletion
- Automatically includes a unique identifier, a UUID, assigned when the Flow instance is created
This state is what lets a later step in a Flow reference something an earlier step produced, without needing to re-derive or re-fetch it.
More Related questions...