
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.
概览
让助手发现经过验证的 AI 推理节点,为任务挑选最佳节点与模型,并预先为多步调用链定价。
- 功能
- 这是 OpenNodes 协议客户端的本地 stdio MCP 服务器。其工具包括 recommend,可按任务返回最佳节点与模型并给出价格和说明,另有 search_offerings、get_offering 和 estimate 用于浏览与预先定价。同一软件包还提供命令行工具和本地 OpenAI 兼容网关,可在已发现的节点之间路由请求。
- 适用场景
- 适合需要让助手在众多 AI 推理服务商或模型之间按任务选择、在运行调用链前比较价格,或把 OpenAI SDK 风格的请求经由本地网关转发的场景。若已固定使用单一模型服务商,则意义不大。
- 运行要求
- 通过 npm 包 @opennodes/cli 以 npx 在本地运行,需要 Node.js。它连接注册表;环境变量 ONP_REGISTRY 设置注册表基础地址,默认指向托管注册表,也可指向本地注册表。未声明需要身份验证。
安装
在 SourceWeft 中
- 打开 控制台中的 OpenNodes,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
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 modelsonp/auto,onp/auto-cheap,onp/auto-fast,onp/auto-quality,onp/auto-privateroute each request by the advisor; aliases and query-defined virtual models are supported; every call is receipted.onp search | estimate | invoke | card— the CLI.
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- v0.1.2最新Oct 4, 2026

