project_templates: find_alternatives: name: Find Service Alternatives description: Provides users with alternative options to given web services expose_as_tool: true tool_name: find_service_alternatives tool_description: > Find and compare alternative services to a given web service or SaaS tool. Returns a detailed comparison with features, pricing, and recommendations. agent_groups: - coordinators - workers
Your coordinator will orchestrate the searcher and comparer agents
Claude receives and presents the detailed comparison
More Example Queries
Query
What Happens
"What are some alternatives to Mailchimp?"
Finds email marketing alternatives
"Compare project management tools like Asana"
Finds and compares PM tools
"I need a Figma alternative for my team"
Finds design tool alternatives
"What's a good open-source alternative to Notion?"
Filters for open-source options
代理如何协同工作
协调者 (Python)
协调者是一个 非-LLM 代理,负责协调工作流:
@on_event("project.notification.started")async def on_project_started(self, event): # 1. Extract the service name from project goal # 2. Delegate to searcher: "Find alternatives to {service}" # 3. Wait for searcher to complete # 4. Delegate to comparer: "Compare these alternatives" # 5. Wait for comparer to complete # 6. Mark project as complete
搜索者代理 (YAML + LLM)
搜索者使用 智能工具选择:
instructions: | DECISION LOGIC: 1. If the service is well-known (Slack, Notion, etc.) → Use your knowledge 2. If the service is niche or new → Use the search_web tool 3. Prefer efficiency: Don't make unnecessary web requests
比较者代理 (YAML + LLM)
比较者也使用 智能工具选择:
instructions: | DECISION LOGIC: 1. If you know the services well → Use your knowledge 2. If you need current pricing or features → Use fetch_webpage tool 3. Always provide a structured comparison table
MCP 可用工具
一旦连接,Claude 可以访问:
工具
描述
find_service_alternatives
触发完整的工作流程以查找并比较可替代服务
该工具接受服务名称并返回:
替代服务列表及其 URL
详细比较表(功能、定价、优缺点)
基于用例的推荐
理解项目模板
项目模板是一种强大的方式,可用于:
定义可重用的工作流 - 创建一次,多次使用
作为工具公开 - 使工作流可通过 MCP 调用
控制访问 - 指定哪些代理组参与
提供上下文 - 为代理提供有关该工作流的背景信息
project_templates: find_alternatives: name: Find Service Alternatives description: Provides users with alternative options to given web services expose_as_tool: true tool_name: find_service_alternatives context: | This workflow helps users discover alternatives to popular SaaS tools. The searcher finds options, the comparer analyzes them in detail.
故障排除
代理无法连接
# Check if the network is runningcurl http://localhost:8700/health# Verify agents can reach the networkopenagents agent status
项目超时
确保所有三个代理均在运行(coordinator、searcher、comparer)
检查代理日志是否有错误
验证 LLM API 密钥是否在 config/agent_env/_global.json 中配置