ScavioScavio
产品定价文档
登录开始使用
  1. 首页
  2. 教程
  3. 如何使用实时搜索数据来接地 Hermes 代理
教程

如何使用实时搜索数据来接地 Hermes 代理

了解如何将 Scavio 的 MCP 搜索服务器连接到 Hermes Agent,以便研究技能使用实时网络数据而不是过时的培训知识。

获取免费API密钥API文档

Hermes Agent 是一个自我完善的自主代理,随着时间的推移,它会创造和完善技能。默认情况下,其研究技能依赖于法学硕士的培训数据,而这些数据对于定价、工具版本和市场趋势等主题来说已经过时。通过连接 MCP 搜索服务器,Hermes 可以访问实时网络数据,从而使其研究成果准确且最新。本教程使用 Hermes Agent 的配置文件系统配置 Scavio 的 MCP 服务器。

前置条件

  • 安装 Hermes 代理 (v0.12.0+)
  • 来自 scavio.dev 的 Scavio API 密钥
  • 基本熟悉 Hermes Agent 资料

操作指南

步骤 1: 创建研究档案

Hermes Agent 使用配置文件来分隔上下文和工具访问。使用 MCP 搜索创建专门的研究资料。

JSON
# In your Hermes Agent config (hermes.config.json):
{
  "profiles": {
    "research": {
      "description": "Research profile with live web search",
      "mcp_servers": [
        {
          "name": "scavio-search",
          "url": "https://mcp.scavio.dev/mcp",
          "auth": {
            "type": "header",
            "key": "x-api-key",
            "value": "$SCAVIO_API_KEY"
          }
        }
      ]
    }
  }
}

步骤 2: 验证工具发现

使用研究配置文件启动 Hermes 并验证它是否发现搜索工具。

Bash
hermes --profile research

# In the Hermes shell:
> /tools
# Should list: google_search, reddit_search, youtube_search,
# amazon_search, walmart_search, and 6 more from Scavio

步骤 3: 创建基于搜索的研究技能

定义一项技能,在将声明包含在输出中之前使用实时搜索来验证声明。

Bash
# Example skill prompt for Hermes:
# "Research {topic} using web search. For every factual claim
# (pricing, version, feature), verify it with a live search
# before including it. Cite the source URL for each verified claim.
# Do not include any unverified claims."

# The skill will use google_search, reddit_search, etc. automatically
# when it encounters claims that need verification.

步骤 4: 使用定价比较任务进行测试

给 Hermes 一个任务,需要当前数据来验证接地工作。

Bash
# In Hermes research profile:
> Compare the pricing of Tavily, Serper, and SerpAPI search APIs.
# Include current tier names and prices.

# Hermes should call google_search for each tool's pricing page
# and return verified, current pricing instead of training data.

Python 示例

Python
# Hermes Agent MCP config for research profile:
import json

config = {
    'profiles': {
        'research': {
            'mcp_servers': [{
                'name': 'scavio-search',
                'url': 'https://mcp.scavio.dev/mcp',
                'auth': {'type': 'header', 'key': 'x-api-key', 'value': '$SCAVIO_API_KEY'}
            }]
        }
    }
}
print(json.dumps(config, indent=2))

JavaScript 示例

JavaScript
// Hermes Agent MCP config:
const config = {
  profiles: {
    research: {
      mcp_servers: [{
        name: 'scavio-search',
        url: 'https://mcp.scavio.dev/mcp',
        auth: { type: 'header', key: 'x-api-key', value: '$SCAVIO_API_KEY' }
      }]
    }
  }
};
console.log(JSON.stringify(config, null, 2));

预期输出

JSON
Hermes Agent research profile with live search grounding. Research skills verify claims with current web data before including them.

相关教程

  • 如何将 MCP 搜索连接到 Claude Desktop

常见问题

大多数开发者在15到30分钟内完成本教程。您需要一个Scavio API密钥(免费套餐即可)和可用的Python或JavaScript环境。

安装 Hermes 代理 (v0.12.0+). 来自 scavio.dev 的 Scavio API 密钥. 基本熟悉 Hermes Agent 资料. Scavio API密钥注册即送50个免费积分。

可以。免费套餐注册即送50个积分,完全足够完成本教程并构建一个可运行的原型解决方案。

Scavio提供原生LangChain包(langchain-scavio)、MCP服务器以及适用于任何HTTP客户端的REST API。本教程使用 the raw REST API, 但您可以根据需要适配您选择的框架。

相关资源

Best Of

2026年Hermes智能体最佳搜索API

Read more
Use Case

IDE MCP 搜索

Read more
Use Case

MCP 自定义搜索服务器

Read more
Best Of

2026年Hermes Agent最佳搜索API

Read more
Solution

用实时搜索支撑Hermes Agent

Read more
Workflow

Hermes Agent MCP 搜索接地设置

Read more

开始构建

了解如何将 Scavio 的 MCP 搜索服务器连接到 Hermes Agent,以便研究技能使用实时网络数据而不是过时的培训知识。

获取免费API密钥阅读文档
ScavioScavio

面向AI智能体的实时搜索API。搜索所有平台,不仅仅是Google。

产品

  • 功能
  • 定价
  • 控制台
  • 联盟计划

开发者

  • 文档
  • API参考
  • 快速开始
  • MCP集成
  • Python SDK

替代方案

  • Tavily替代方案
  • SerpAPI替代方案
  • Firecrawl替代方案
  • Exa替代方案

工具

  • JSON格式化
  • cURL转代码
  • Token计数器
  • 全部工具

© 2026 Scavio. 保留所有权利。

Featured on TAAFT
服务条款隐私政策