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 分