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

Add tool groups #62

Closed iplayfast closed 9 months ago

iplayfast commented 10 months ago

A problem I've been having with local llm, is that not all tools work, or I don't know tools that are available. As an enhancement, Add toolgroups. I'm suggesting that instead of looking up the needed tools, we have predefined functions for common tools.

I envision something like:

from crewai import Agent, Task, Crew, Process, Toolgroups

researchtools = Toolgroups("webtools", "calctools") # webtools is browser stuff, calctools is eval stuff. 
financetools = Toolgroups("finance", "financemath") #yhfinance common math tools used in finance

researcher = agent {....
      tools = reasearchtools
...
joaomdmoura commented 9 months ago

Yup, we are building this through a separate package, I think it will be killer and make it super easy to use, hopping to get it out before the next version of crew