How we can create simple api for frontend , where human in loop is true

I was wondering , how an api can be developed using crewai where back and forth communication happens between human and agent , (human_input-True).

I will very much appreciate if someone has handy sample with flask or Fastapi

1 Like

Hi, I was looking for something similar one month ago and I found this implementation:

It is far for being a product grade approach, but help me to prototype some ideas.

1 Like

Check out https://youtu.be/pODI1SWTVeo?si=b0TSBusifCCm-M4Z for how you can do this with Panel. I had the same issue but got it working with Panel.

1 Like