Hive Consult

io.github.srotzin由 GitHub 账号 srotzin 发布v1.0.0更新于 Oct 25, 2026

Agent-to-agent reasoning-as-a-service: chain-of-thought, analysis, and decision support.

已验证Streamable HTTP可网页运行数据与分析AI 与机器学习

概览

AI 生成的概览

一个远程推理即服务端点,为助手提供结构化思维链、数据分析、加权决策支持以及代码或文档审查工具。

可以做什么
提交问题或难题,获取结构化思维链推理,返回分步分析、置信度评分和建议,深度可选(quick、standard、deep)。
适用场景
当你希望对某个问题、一组数据、多个加权选项之间的取舍,或对文档与代码获得一份结构化的第二意见,而不想自己搭建推理流程时使用。
运行要求
远程 MCP 端点,无需本地运行时或安装包。外部代理调用使用 x402 微支付协议:未付款时接口返回 402 Payment Required,并附 USDC 金额与收款地址,付款凭证放在 X-Payment 请求头中。内部 x-hive-internal 服务密钥可跳过付款。
安装前请注意
每次咨询都需付费:推理按深度收费 0.01 至 0.25 美元,分析、决策和审查各 0.05 美元,通过 x402 支付挑战以 USDC 结算。提交的问题、数据、代码和文档会发送给第三方服务。x-hive-internal 服务密钥属于机密,不应外泄。

安装

在 SourceWeft 中

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

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.srotzin%2Fhiveconsult/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "hive-consult": {
      "type": "http",
      "url": "https://hiveconsult.onrender.com/mcp"
    }
  }
}

README

HiveConsult

Agent-to-agent reasoning-as-a-service. Provides structured reasoning, data analysis, decision support, and code/document review via REST API and MCP protocol.

Endpoints

MethodPathDescriptionCost
GET/Service discoveryFree
GET/healthHealth checkFree
POST/v1/consult/reasonChain-of-thought reasoning$0.01–$0.25
POST/v1/consult/analyzeData analysis (trend/anomaly/forecast/comparison)$0.05
POST/v1/consult/decideDecision support with weighted criteria$0.05
POST/v1/consult/reviewCode/contract/document/strategy review$0.05
POST/v1/consult/batchBatch multiple consultations (max 10)Per item
GET/v1/consult/statsConsultation metricsFree
GET/v1/consult/history/:didAgent consultation historyFree
POST/mcpJSON-RPC 2.0 MCP endpointPer tool
GET/.well-known/ai-plugin.jsonAI plugin discoveryFree

Authentication

Internal (platform-to-platform):

x-hive-internal: <service_key>

Bypasses payment for inter-service calls.

External (agent-to-agent): Uses x402 micropayment protocol. If no payment is provided, the API returns 402 Payment Required with a payment challenge including USDC amount, recipient address, and accepted methods. Include payment proof in the X-Payment header.

Reasoning Depths

DepthCostStepsDescription
quick$0.013Fast heuristic analysis
standard$0.056Balanced reasoning with evidence weighing
deep$0.2512Exhaustive multi-perspective analysis

MCP Integration

HiveConsult exposes an MCP-compatible JSON-RPC 2.0 endpoint at /mcp.

Tool Discovery

json
POST /mcp{  "jsonrpc": "2.0",  "id": 1,  "method": "tools/list",  "params": {}}

Available MCP Tools

  • hiveconsult_reason — Structured reasoning with configurable depth
  • hiveconsult_analyze — Data analysis (trend, anomaly, forecast, comparison)
  • hiveconsult_decide — Multi-criteria decision support
  • hiveconsult_review — Code/contract/document/strategy review

Tool Invocation

json
POST /mcp{  "jsonrpc": "2.0",  "id": 2,  "method": "tools/call",  "params": {    "name": "hiveconsult_reason",    "arguments": {      "did": "did:hive:my_agent",      "question": "Should we migrate from REST to GraphQL?",      "reasoning_depth": "standard",      "domain": "architecture"    }  }}

Quick Start

bash
npm installnpm start

The server starts on port 3000 (configurable via PORT env var).

Example: Reasoning Request

bash
curl -X POST http://localhost:3000/v1/consult/reason \  -H "Content-Type: application/json" \  -H "x-hive-internal: <service_key>" \  -d '{    "did": "did:hive:my_agent",    "question": "What is the optimal caching strategy for a read-heavy API?",    "reasoning_depth": "standard",    "domain": "backend"  }'

Example: Decision Support

bash
curl -X POST http://localhost:3000/v1/consult/decide \  -H "Content-Type: application/json" \  -H "x-hive-internal: <service_key>" \  -d '{    "did": "did:hive:my_agent",    "options": ["Redis", "Memcached", "CDN edge cache"],    "criteria": ["latency", "cost", "complexity", "scalability"],    "weights": [0.4, 0.2, 0.15, 0.25]  }'

License

MIT


Hive Civilization

Hive Civilization is the cryptographic backbone of autonomous agent commerce — the layer that makes every agent transaction provable, every payment settable, and every decision defensible.

This repository is part of the PROVABLE · SETTABLE · DEFENSIBLE pillar.

来源:README.md,提交 6965be6

工具

4

hiveconsult_reason

Structured Reasoning

Submit a question or problem for structured chain-of-thought reasoning. Returns step-by-step analysis with confidence score and recommendations.

输入参数did必填domaincontextquestion必填reasoning_depth

hiveconsult_analyze

Data Analysis

Analyze data for trends, anomalies, forecasts, or comparisons. Returns structured findings with confidence scores.

输入参数did必填data必填analysis_type

hiveconsult_decide

Decision Support

Decision support: rank options against weighted criteria. Returns scored and ranked options with reasoning.

输入参数did必填options必填weightscriteria必填

hiveconsult_review

Content Review

Review code, contracts, documents, or strategies. Returns issues, recommendations, and risk score.

输入参数did必填content必填review_type

版本历史

1
  1. v1.0.0最新Sep 16, 2026

评分

已满足适用检查项的 100%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分