joaomdmoura / crewAI

Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work together seamlessly, tackling complex tasks.
https://crewai.com
MIT License
16.97k stars 2.29k forks source link

Reflection for agent #559

Open afeezaziz opened 2 months ago

afeezaziz commented 2 months ago

How can I be using crewai to make the agents to reflect/learn from its own output? Do I have to use crewai in conjunction with langgraph?

Example case is a code monkey agent write a Python code, then the tester would test and check the errors. It will inform the code monkey agent of the error and it would rewrite it. Another example perhaps a writer agent that rewrite based on the feedback by editor agent.

alexfazio commented 2 months ago

Do I have to use crewai in conjunction with langgraph?

That's correct. It may not be the only solution, but it is the most effective and well-tested one.

https://www.youtube.com/watch?v=5eYg1OcHm5k&t=132s