MulaiMulai sekarang secara gratis

Orchestrating multi-crew flows

Latihan ini adalah bagian dari kursus

Building AI Agents with CrewAI

Lihat Kursus

Petunjuk latihan

Your specialized blog crew works well — but now it’s time to make your workflow dynamic. Using a Flow, you can capture input, route it to the right crew (blog, newsletter, LinkedIn), and persist state across steps. Start your flow by:

  • Create the ContentRouterFlow class, inheriting from Flow[ContentState].
  • Define get_user_input with the @start decorator to capture URL and content type.
  • Run the flow with flow.kickoff() and store the result.


Note: If you’re running DataLab in Restricted Mode, this exercise isn’t supported yet. We’re actively working on making it available in the future.


Latihan interaktif praktis

Ubah teori menjadi tindakan dengan salah satu latihan interaktif kami.

Mulai berolahraga