crewAIInc / 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
20.79k stars 2.87k forks source link

Hierarchy HAAS Framework #194

Closed iamthenickwalker closed 8 months ago

iamthenickwalker commented 9 months ago

David Shapiro's HAAS Framework (https://github.com/daveshap/OpenAI_Agent_Swarm) would fit perfectly with Crew AI. Is agent termination and creation possible by another set of AI agents on CrewAI?

greysonlalonde commented 9 months ago

@iamthenickwalker I've got a skeleton project that integrates CrewAI @ ArmAI focusing on HAAS

whoabuddy commented 8 months ago

If you consider an agent to be just a valid Agent() object, then you could conceptually use the LLMs to create one when needed, provided you get the tools/abilities set correctly for the model you're running against.

My early thought on this was to have some external variables the LLM can set one-by-one with rolling context, e.g. role, backstory, tools, etc. The final output from each step could set the required field.

We have hierarchical mode now that assigns a manager to create/delegate tasks, and autonomous should be coming soon which I would guess will be a similar process of creating dynamic agents.

Same principals can apply to Tasks, Crews, and other objects too!