为代理AI生态系统创建引力中心
Shane Johnson
首先,感谢每一位参加我们首次发布周 网络研讨会 的朋友!
能够在短短几天内就有超过 2,600 人注册参加研讨会,并看到大家踊跃地进行自我介绍、结识社区成员以及向我们的演讲者提出各种技术和非技术问题,这简直令人难以置信。这充分证明了我们共同拥有的热情与活力。
如果说智能体领域目前发展迅猛,那绝对是轻描淡写。从编排 (orchestration) 和记忆 (memory) 到监控 (monitoring) 和评估 (evaluation)——以及介于两者之间的所有环节,都有大量的框架、工具和平台。
在 CrewAI,我们希望通过为每一位参与智能体 AI 世界的人(包括其他智能体框架和竞争对手)创造一个重心来提供帮助。我们的目标是一致的:帮助个人和组织通过 AI 智能体获得切实的价值。
以下是我们实现这一目标的几种方式。
添加原生工具
CrewAI 的工具箱正在随着每次发布而扩大。本周,我们添加了一个用于 Stagehand 的工具,为智能体配备了浏览器自动化功能。具体而言,它使智能体能够:
行动 (Act):执行点击、输入或导航等操作
提取 (Extract):从网页中提取结构化数据
观察 (Observe):识别并分析页面上的元素
# Perform an action (default behavior)
result = stagehand_tool.run(
instruction="Click the login button",
url="https://example.com",
command_type="act" # Default, so can be omitted
)
# Extract all product information
result = stagehand_tool.run(
instruction="Extract all product names, prices, and descriptions",
url="https://example.com/products",
command_type="extract"
)
# Identify form fields
result = stagehand_tool.run(
instruction="Identify all the input fields in the registration form",
url="https://example.com/register",
command_type="observe",
selector="#registration-form"
)它加入了一长串原生工具列表,涵盖了从 Amazon Bedrock 知识库,到诸如 Qdrant 和 Weaviate 等向量数据库,再到用于搜索和抓取网站的 Serper 和 Firecrawl,以及通过 Composio 提供的 250 多种工具。
扩展框架互操作性
我们热爱开源,并且是互操作性的倡导者。这就是为什么除了原生工具外,CrewAI 还支持使用来自 LlamaIndex 和 LangChain 的工具,使 CrewAI 智能体能够使用数百种额外的工具。
# Initialize from LlamaHub Tools
wolfram_spec = WolframAlphaToolSpec(app_id="your_app_id")
wolfram_tools = wolfram_spec.to_tool_list()
tools = [LlamaIndexTool.from_tool(t) for t in wolfram_tools]你甚至可以在智能体中嵌入一个 LlamaIndex 查询引擎。
# Load documents
documents = SimpleDirectoryReader("./data").load_data()
# Create an index
index = VectorStoreIndex.from_documents(documents)
# Create a query engine
query_engine = index.as_query_engine()
# Create a LlamaIndexTool from the query engine
query_tool = LlamaIndexTool.from_query_engine(
query_engine,
name="Company Data Query Tool",
description="Use this tool to lookup information in company documents"
)不久前,我们还增加了对 Amazon Bedrock 智能体 的支持。这使得 CrewAI 智能体能够将 Amazon Bedrock 智能体作为工具进行调用。
支持平台集成
CrewAI 正与合作伙伴紧密合作,尽可能快地为智能体 AI 生态系统的其他部分添加原生集成。本周,我们添加了对 AI 系统评估平台 Comet Optik 的支持。
而且集成过程非常简单。
track_crewai(project_name="crewai-integration-demo")
my_crew = YourCrewName().crew()
result = my_crew.kickoff()紧跟最新模型
我们增加了对 OpenAI GPT-4.1、Google Gemini-2.0 和 Google Gemini-2.5 Pro 的支持,与 NVIDIA 合作支持通过 NVIDIA NIM 微服务运行模型,并在 CrewAI CLI 中将 Hugging Face 添加为提供商。
当然,现在我们需要添加对 Claude 4 系列模型的支持了!
加快发布节奏
期待未来会有更多类似我们本周发布的帖子。CrewAI OSS 和 CrewAI Enterprise 每周都会受益于新功能和改进,我们将更加努力地确保社区中的每个人都能及时了解最新的改进和版本。
事实上,下周我们还有更多内容要分享!