OpenNodes

io.github.opennodes-iov0.1.2更新于 Oct 4, 2026

Discover verified AI inference nodes, get the best node+model per task, pre-price chains.

已验证STDIO仅桌面Developer ToolsAI & ML

概览

AI 生成的概览

让助手发现经过验证的 AI 推理节点,为任务挑选最佳节点与模型,并预先为多步调用链定价。

功能
这是 OpenNodes 协议客户端的本地 stdio MCP 服务器。其工具包括 recommend,可按任务返回最佳节点与模型并给出价格和说明,另有 search_offerings、get_offering 和 estimate 用于浏览与预先定价。同一软件包还提供命令行工具和本地 OpenAI 兼容网关,可在已发现的节点之间路由请求。
适用场景
适合需要让助手在众多 AI 推理服务商或模型之间按任务选择、在运行调用链前比较价格,或把 OpenAI SDK 风格的请求经由本地网关转发的场景。若已固定使用单一模型服务商,则意义不大。
运行要求
通过 npm 包 @opennodes/cli 以 npx 在本地运行,需要 Node.js。它连接注册表;环境变量 ONP_REGISTRY 设置注册表基础地址,默认指向托管注册表,也可指向本地注册表。未声明需要身份验证。
安装前请注意
recommend 工具发送的是从提示中提取的特征而非提示本身,处理敏感输入前应确认提取内容。网关与 invoke 路径会产生推理费用并生成签名收据。注册表地址可通过 ONP_REGISTRY 配置,请确认其指向符合预期。

安装

在 SourceWeft 中

  1. 打开 控制台中的 OpenNodes,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

@opennodes/cli

The OpenNodes Protocol (ONP) client: discover verified AI inference nodes, pre-price multi-step chains with enforceable estimates, invoke with pinned prices and signed receipts — and bring all of it into the tools you already use.

  • onp mcp — a stdio MCP server for Cursor, VS Code, Claude Desktop and any MCP host. Tools: recommend (best node + model for a task, priced and explained; the prompt never leaves your machine — only extracted features are sent), search_offerings, get_offering, estimate.
  • onp gateway — a local OpenAI-compatible server over discovered nodes. Point any OpenAI-SDK app at it. Virtual models onp/auto, onp/auto-cheap, onp/auto-fast, onp/auto-quality, onp/auto-private route each request by the advisor; aliases and query-defined virtual models are supported; every call is receipted.
  • onp search | estimate | invoke | card — the CLI.
bash
npx @opennodes/cli mcp --print-config      # paste into your MCP host's confignpx @opennodes/cli gateway --port 4141     # then set OPENAI_BASE_URL=http://127.0.0.1:4141/v1npx @opennodes/cli search --modality text --tier verified --sort tps

Registry: ONP_REGISTRY — defaults to the hosted registry at https://registry.opennodes.io (9,000+ offerings); set it to http://127.0.0.1:4300 to use your own (npx @opennodes/registry).

Part of OpenNodes · specification · Apache-2.0.

来源:impl/packages/cli/README.md,提交 fea7b17

工具

0
工具元数据尚未被收录。

版本历史

1
  1. v0.1.2最新Oct 4, 2026