跳转到主要内容
pipellm-websearch 是 PipeLLM WebSearch 的 npm 发行包,当前主要用于 OpenClaw 插件接入。它会给 OpenClaw 增加搜索、网页阅读和新闻搜索工具,并使用 你的 PipeLLM API Key 做鉴权和计费。

包信息

项目
包名pipellm-websearch
发行渠道npm
主要用途OpenClaw 插件
仓库https://github.com/PipeLlm-AI/pipellm-websearch-plugin

安装

npm install pipellm-websearch

插件会增加哪些工具

工具描述公共路由
pipellm_web_search深度网络搜索,带内容提取和相关性排序/v1/websearch/search
pipellm_simple_search更快的搜索,返回搜索摘要/v1/websearch/simple-search
pipellm_web_reader读取网页并返回干净文本/v1/websearch/reader
pipellm_news_search搜索近期新闻并带检索能力/v1/websearch/search-news

OpenClaw 插件配置

把这个包加到你的 openclaw.json
{
  "plugins": {
    "load": {
      "paths": ["./node_modules/pipellm-websearch"]
    },
    "entries": {
      "pipellm-websearch": {
        "enabled": true,
        "config": {
          "apiKey": "pipe-your-api-key-here"
        }
      }
    }
  }
}

Agent 工具白名单

为你的 Agent 打开这些工具:
{
  "agents": {
    "list": [
      {
        "name": "my-agent",
        "tools": {
          "allow": [
            "pipellm_web_search",
            "pipellm_simple_search",
            "pipellm_web_reader",
            "pipellm_news_search"
          ]
        }
      }
    ]
  }
}

插件配置项

字段必填默认值描述
apiKeyPipeLLM API Key
apiEndpointhttps://api.pipellm.ai仅在自托管部署时覆盖

说明

  • 这个包当前文档定位是 OpenClaw 插件,不是通用 JavaScript SDK。
  • 请使用你在 Console 中创建的 PipeLLM API Key。
  • 通过插件发起的搜索请求,仍然按 PipeLLM WebSearch 计费。

相关文档

OpenClaw

配置 OpenClaw 使用 PipeLLM

深度搜索

直接通过 HTTP 调用完整检索路由

npm 包

在 npm 上查看这个包