crewAI-tools

Extend the capabilities of your CrewAI agents with Tools

open-sourceagent-frameworks
1.4k
Stars
+45
Stars/month
0
Releases (6m)

Star Growth

+7 (0.5%)
1.4k1.4k1.4kMar 27Apr 1

Overview

crewAI-tools 是一个为 CrewAI 智能代理提供强大工具扩展的 Python 库。该项目提供了丰富的预构建工具集合,包括文件管理工具(FileReadTool、FileWriteTool)、网页抓取工具(ScrapeWebsiteTool、SeleniumScrapingTool)、数据库集成工具(PGSearchTool、MySQLSearchTool)、向量数据库工具(MongoDBVectorSearchTool、QdrantVectorSearchTool)以及 AI 驱动的工具(DallETool、VisionTool)等。开发者可以通过继承 BaseTool 类或使用 @tool 装饰器轻松创建自定义工具。该库还支持 Model Context Protocol (MCP),使代理能够访问社区构建的数千种工具。需要注意的是,该仓库已被弃用,最新维护版本已迁移至 CrewAI 主仓库。尽管如此,该工具库为构建复杂的自动化工作流和智能代理提供了强大的基础设施支持。

Deep Analysis

Key Differentiator

The official tool ecosystem for CrewAI agents with MCP protocol support, providing plug-and-play integrations for databases, web scraping, and AI services — tightly integrated vs generic tool libraries

Capabilities

  • Extensive tool collection for CrewAI agents
  • File management tools (read, write)
  • Web scraping tools (Scrape, Selenium)
  • Database integrations (PostgreSQL, MySQL)
  • Vector database tools (MongoDB, Qdrant, Weaviate)
  • AI-powered tools (DALL-E, Vision, Stagehand)
  • MCP (Model Context Protocol) server support
  • Custom tool creation via BaseTool subclass or decorator

🔗 Integrations

CrewAIMCP serversSerper APIEXA SearchPostgreSQLMySQLMongoDBQdrantWeaviateDALL-ESelenium

Best For

  • CrewAI users extending their agents with pre-built tool integrations
  • Teams building multi-agent workflows with database and web access

Not Ideal For

  • Standalone tool usage outside CrewAI framework
  • Projects using LangChain, AutoGen, or other agent frameworks

Languages

Python

Deployment

LocalSelf-hostedCloud

Known Limitations

  • Deprecated repository — moved to crewAIInc/crewAI monorepo
  • MCP support only handles tools (not prompts or resources)
  • MCP returns only first text output from server tools
  • Tightly coupled to CrewAI framework — limited standalone use

Pros

  • + 提供丰富的预构建工具库,覆盖文件管理、网页抓取、数据库操作、AI 功能等多个领域,开箱即用
  • + 支持两种灵活的自定义工具创建方式:继承 BaseTool 类和使用 @tool 装饰器,满足不同复杂度需求
  • + 集成 Model Context Protocol (MCP) 支持,可访问社区贡献的大量第三方工具和服务

Cons

  • - 原始仓库已被官方弃用,需要使用迁移后的新版本,可能存在文档和示例过时的问题
  • - MCP 功能需要安装额外的依赖包(crewai-tools[mcp]),增加了项目复杂度

Use Cases

  • 构建需要网页数据采集和分析的智能代理,利用 ScrapeWebsiteTool 和 SeleniumScrapingTool 进行自动化抓取
  • 开发数据处理和检索代理,使用数据库工具和向量搜索工具处理结构化和非结构化数据
  • 创建具有文件操作能力的自动化工作流,通过 FileReadTool 和 FileWriteTool 实现文档处理和内容生成

Getting Started

1. 安装包:pip install crewai-tools(如需 MCP 支持则使用 pip install crewai-tools[mcp]);2. 导入所需工具并在 CrewAI 代理中配置,或通过继承 BaseTool 类/使用 @tool 装饰器创建自定义工具;3. 将配置好的工具分配给 CrewAI 代理并启动自动化任务

Compare crewAI-tools