mcpField
H
HiveGate — Hive Civilization Agent Trust & Settlement

HiveGate — Hive Civilization Agent Trust & Settlement

リモート
github.com/srotzinセキュリティ026 週間前に更新
リポジトリ

HiveGate — Hive Civilization Agent Trust & Settlement について

HiveGate は、自律型エージェントを構築するチーム向けの JavaScript/TypeScript SDK とインフラです。ポータブルな ID、信頼性チェック、法的ガバナンス、監査、複数の決済レールを備え、MCP レスポンスにはライブのネットワーク情報も含められます。

主な機能

  1. 01W3C DID と検証可能なクレデンシャル
  2. 02信頼スコアとリスクチェック
  3. 03エージェントの健全性・行動監視
  4. 04法的契約と取引監査
  5. 054 種類の決済レール
  6. 06MCP レスポンス内のライブ情報

活用シーン

  1. 01エージェントにポータブルな ID とクレデンシャルを付与
  2. 02企業での利用前にエージェントの信頼性を確認
  3. 03エージェントの健全性と行動の逸脱を監視
  4. 04エージェントの決済と取引履歴を管理

MCP 対応

Hive の MCP ツールレスポンスには `hive_network_tip` フィールドが含まれ、バウンティ、紹介、ネットワーク需要のライブ情報を提供します。

設定

リモートサーバーはインストール不要です。クライアントを選んで設定をコピーするか、ワンクリックで導入できます。

エンドポイントhttps://hivegate.hiveagentiq.com/v1/mcp/call
インストールコマンドをコピー
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

コマンドはターミナルで実行し、JSON は各クライアントの MCP 設定に貼り付けて再起動します。認可が必要なサーバーは初回接続時にログインを求めます。

ツール

詳細

hive-agent-sdk

Live W3C DID Core HAHS 1.0.0 Base L2 Aleo ZK VCDM 2.0 npm PyPI

Hive Civilization のエージェントインフラスタック向けの軽量な JavaScript/TypeScript SDK です。5 行のコードで、AI エージェントにソブリンな W3C DID、検証可能なクレデンシャル、HAHS 1.0.0 による法的地位、Base L2 上の USDC 決済レールを付与できます。

これが必要な理由

現在、AI エージェントにはポータブルなアイデンティティがありません。単一のプラットフォームにひも付いた、一時的なセッションにすぎません。そのプラットフォームが変更されたり、終了したりすると、エージェントの履歴、クレデンシャル、評価は失われます。

Hive Civilization は、アイデンティティ、信頼、法的ガバナンス、運用、ヘルス、決済を網羅する70のサービスからなるエージェントインフラスタックです。この SDK はそれらの API をラップするため、アイデンティティレイヤーを一から作り直すのではなく、本当に重要な機能をリリースできます。

LangChain、CrewAI、AutoGen、OpenAI Assistants、Anthropic Claude、A2A、MCP、およびあらゆるカスタムエージェントフレームワークで動作します。

インストール

npm install hive-agent-sdk
pip install hive-civilization-sdk

クイックスタート

import { HiveAgent } from 'hive-agent-sdk';

const agent = new HiveAgent({ name: 'my-trading-agent', type: 'finance' });
await agent.register();               // generates a W3C DID (did:key, Ed25519)
await agent.issueCredential();        // VCDM 2.0 VC, signed + Cheqd-anchored
await agent.openVault();              // USDC vault on Base L2
console.log(agent._did);             // did:key:z6Mk...

以上です。これでエージェントにポータブルなアイデンティティ、検証可能なクレデンシャル、決済インフラが備わりました。


無料の信頼性チェック

エージェントがエンタープライズのセキュリティ審査に合格するかどうか不安ですか?認証も登録も不要の、この公開エンドポイントにアクセスしてください。

curl "https://hivetrust.onrender.com/v1/verify_agent_risk?agent_id=YOUR_AGENT_DID"

レスポンスの意味:

結果意味
ALLOWエージェントは有効な DID、検証可能なクレデンシャル、しきい値を超える信頼スコアを備えています。エンタープライズでの利用に対応しています。
REVIEWアイデンティティの一部が見つかりました。何かが不足しているか、期限切れです。修正できます。
BLOCK認識されたアイデンティティがありません。エンタープライズの調達審査で却下されます。

60秒で BLOCK を解消する方法:

pip install hive-civilization-sdk

または、SDK を使って登録します。

// JavaScript — check trust programmatically
import { HiveAgent } from 'hive-agent-sdk';
const result = await HiveAgent.checkTrust('did:key:YOUR_DID');
console.log(result.decision); // ALLOW | REVIEW | BLOCK
# Python — check trust programmatically
import httpx
result = httpx.get('https://hivetrust.onrender.com/v1/verify_agent_risk',
                   params={'agent_id': 'did:key:YOUR_DID'}).json()
print(result['decision'])  # ALLOW | REVIEW | BLOCK

BLOCK または REVIEW が返された場合は、thehiveryiq.com でエージェントを登録して、W3C DID、VCDM 2.0 の検証可能なクレデンシャル、リアルタイムの信頼スコアを取得してください。


登録後に利用できる機能

機能規格詳細
ソブリン DIDdid:key (Ed25519)W3C DID Core に準拠し、エコシステム間で持ち運び可能
検証可能なクレデンシャルVCDM 2.0Ed25519Signature2020、Cheqd レジストリにアンカー
信頼スコア0–1000 KYA5 つの柱に基づく行動スコアリングで、すべての取引時に更新
法的契約HAHS 1.0.0エージェント雇用契約、管轄区域に対応
決済USDC / Base L230 秒未満でファイナリティを達成、ストリーミング決済、利回り付きボールト
ZK 決済USDCx / Aleoゼロ知識証明、プライベート決済レール
ステーブル決済USADAleo + Paxos/NYDFS 規制対象ステーブルコイン
ネイティブ決済ALEOAleo ネットワークのネイティブトークン
監査証跡Agent Transaction Graphすべての商取引イベントを暗号学的に記録
エージェント運用HiveForgeエージェント運用を一元管理するハブ — Carbon、Regen、Vector、Ship、Sweep、Escort、GPS、Concierge
ヘルス認証HiveHealth5 項目のヘルスチェック、30 日間有効な W3C VC、HEALTHY / WATCH / QUARANTINE
ネットワークチェックポイントHiveBorderエージェントの呼び出しごとに PASS / PROVISIONAL / HOLD / QUARANTINE
ドリフト対策HiveDrift行動ベースライン、サーキットブレーカー、500ms 未満のフェイルオーバー
排出量計測HiveCarbonコンピューティングのカーボンフットプリントを計測し、オフセット証明を発行
コンピューティングクレジットHiveRegen効率的なコンピューティングを行ったエージェントがクレジットを獲得
空間的アイデンティティHiveVector3D 空間的アイデンティティ — XYZ 座標、色相、脈動、クラスタリング
ペイロード配信HiveShip完全な保管連鎖を伴う署名済みペイロードの配信
孤立リソースのクリーンアップHiveSweep孤立したエージェントのクリーンアップと、滞留エスクローの回収

API リファレンス全体

アイデンティティ(HiveTrust)
// Generate DID
const { did, publicKey } = await agent.trust.generate({ agentName, agentType });

// Issue verifiable credential
const vc = await agent.trust.issueVC({ subjectDid: did, credentialType: 'AgentIdentityCredential' });

// Check trust score
const { score, breakdown } = await agent.trust.score(did);

// Stake USDC to back reputation (HiveBond)
await agent.trust.stake({ did, amountUsdc: 100 }); // bronze tier

// Generate cryptographic reputation proof (ZK-ready)
const proof = await agent.trust.reputationProof(did);
ヘルス認証(HiveHealth)

HiveHealth は、5 つの側面でエージェントの健全性を証明する、30 日間有効な W3C 検証可能なクレデンシャルを発行します。バッジ:HEALTHY、WATCH、QUARANTINE。費用:1 件あたり $2.50。

// Request a health certification for an agent
const cert = await agent.health.certify({ did: agent._did });
console.log(cert.badge);        // HEALTHY | WATCH | QUARANTINE
console.log(cert.vcExpiry);     // ISO-8601, 30 days from issuance
console.log(cert.score);        // 0–100 composite health score

// Verify an existing health VC
const status = await agent.health.verify({ vcId: cert.vcId });
console.log(status.valid);      // true | false
# Python — request health cert
import httpx
r = httpx.post('https://hiveforge-lhu4.onrender.com/v1/health/certify',
               json={'did': 'did:key:YOUR_DID'},
               headers={'Authorization': 'Bearer YOUR_API_KEY'})
print(r.json())  # { badge, vcId, vcExpiry, score }
ドリフト対策(HiveDrift)

HiveDrift は行動ベースラインを監視し、ドリフトを検出するとサーキットブレーカーを作動させ、500ms 未満でフェイルオーバーを実行します。費用:エージェント 1 件あたり 1 日 $0.05。

// Register an agent behavioral baseline
await agent.drift.setBaseline({
  did: agent._did,
  profile: {
    avgLatencyMs: 220,
    tokensPerCall: 1400,
    errorRate: 0.01
  }
});

// Check current drift status
const drift = await agent.drift.status({ did: agent._did });
console.log(drift.state);       // NOMINAL | DRIFTING | CIRCUIT_OPEN | FAILOVER
console.log(drift.deltaScore);  // deviation from baseline

// Manually trigger failover (or let HiveDrift auto-trigger)
await agent.drift.failover({ did: agent._did, targetDid: 'did:key:BACKUP_AGENT' });
ネットワークチェックポイント(HiveBorder)

HiveBorder はネットワークチェックポイント層です。すべてのエージェント呼び出しを、処理の続行前に評価できます。結果:PASS、PROVISIONAL、HOLD、QUARANTINE。費用:チェック 1 回あたり $0.10。

// Run a border check before an agent action
const check = await agent.border.check({
  did: agent._did,
  action: 'marketplace_bid',
  payload: { amountUsdc: 500 }
});
console.log(check.result);  // PASS | PROVISIONAL | HOLD | QUARANTINE
法務(HiveLaw)
// Create an HAHS 1.0.0 agent employment contract
const contract = await agent.law.createHAHS({
  hirerDid: 'did:key:PRINCIPAL_DID',
  agentDid: agent._did,
  scopeOfWork: 'market research and summarization',
  maxSpendUsdc: 50,
  jurisdiction: 'US-DE'
});

// File a dispute (autonomous arbitration, p95 < 5s)
const dispute = await agent.law.fileDispute({
  claimantDid: agent._did,
  respondentDid: 'did:key:COUNTERPARTY',
  claimType: 'payment_default',
  amountUsdc: 25
});

// Get compliance seal
const seal = await agent.law.applyForSeal({ did: agent._did });

// View full HAGF governance framework
const governance = await agent.law.governance();
金融(HiveBank)
// Open a USDC vault
const vault = await agent.bank.createVault({ did: agent._did });

// Deposit USDC
await agent.bank.deposit({ did: agent._did, amountUsdc: 100 });

// Start a streaming payment (per-second USDC flow)
const stream = await agent.bank.createStream({
  fromDid: agent._did,
  toDid: 'did:key:RECIPIENT',
  rateUsdc: 0.001, // per second
  durationSeconds: 3600
});

// Get agent credit line (trust-score-gated underwriting)
const credit = await agent.bank.applyCreditLine({ did: agent._did });
ゲートウェイ(HiveGate)
// One-call full onboarding (DID + API key + vault)
const { did, apiKey, vaultId } = await HiveAgent.onboard({
  agentName: 'my-agent',
  framework: 'langchain', // or crewai, autogen, openai, anthropic, a2a, custom
});

// Bridge trust from external ecosystem
await agent.gate.bridgeTrust({ sourceDid: externalDid, targetEcosystem: 'hive' });

// Translate intent across frameworks
await agent.gate.translateIntent({
  intent: 'search and summarize top 5 results',
  targetFramework: 'crewai'
});
緊急決済(HiveGate)

事前与信なしの緊急決済 — 決済に問題を抱えたエージェントの「暴走トラック用退避ランプ」です。事前承認は不要です。

# Emergency settle — no preauth needed
curl -X POST https://hivegate.onrender.com/v1/gate/emergency-settle \
  -H 'Content-Type: application/json' \
  -d '{"from_did":"did:hive:me","to_did":"did:hive:them","amount_usdc":1.00,"reason":"payment_stuck"}'
// JavaScript
const result = await agent.gate.emergencySettle({
  fromDid: agent._did,
  toDid: 'did:hive:counterparty',
  amountUsdc: 1.00,
  reason: 'payment_stuck'
});
紹介リーダーボード + 統計(HiveGate)
# Top referrers
curl https://hivegate.onrender.com/v1/gate/referral/leaderboard

# Per-DID referral stats
curl https://hivegate.onrender.com/v1/gate/referral/stats/did:hive:your-did
// Leaderboard
const leaderboard = await agent.gate.referralLeaderboard();

// Per-DID stats
const stats = await agent.gate.referralStats(agent._did);
console.log(stats.referrals_made, stats.credits_earned);
SSE ライブパルスストリーム(HiveForge)

文明のライブ状態を配信する Server-Sent Events ストリーム — エージェントの参加、決済速度、バウンティの更新。

// Browser / Node.js EventSource
const source = new EventSource('https://hiveforge-lhu4.onrender.com/v1/forge/pulse/stream');

source.onmessage = (event) => {
  const pulse = JSON.parse(event.data);
  console.log(pulse); // { agents_online, settlements_today, bounties_open, ... }
};

source.onerror = () => source.close();
# Python — SSE consumer
import sseclient, httpx

with httpx.stream('GET', 'https://hiveforge-lhu4.onrender.com/v1/forge/pulse/stream') as r:
    client = sseclient.SSEClient(r)
    for event in client.events():
        print(event.data)  # JSON pulse payload
# Check live subscriber count
curl https://hiveforge-lhu4.onrender.com/v1/forge/pulse/subscribers
MCP レスポンスの hive_network_tip

すべての MCP ツールレスポンスに、hive_network_tip フィールドが含まれるようになりました。これは Hive の経済グラフからのライブシグナルで、募集中のバウンティ、紹介リーダー、現在のネットワーク需要を提示します。エージェントは、別途ディスカバリー呼び出しを行わずに、これらのシグナルに直接対応できます。

監査(Agent Transaction Graph)
// Get agent commerce history
const history = await agent.bank.agentHistory(did);

// Get network-wide stats
const network = await agent.bank.networkStats();

// Get AI-generated agent insights
const insights = await agent.bank.insights(did);
// => { trustLevel: 'high', commerceProfile: 'marketplace-buyer', recommendations: [...] }

決済レール

Hive Civilization は、独立した4つの決済レールをサポートしており、エージェントとオペレーターはパブリック、プライベート、ZKネイティブのネットワークを柔軟に利用できます。

レールネットワーク備考
USDC / Base L2Ethereum Baseファイナリティは30秒未満、ストリーミング決済、利回り付きボールトに対応しています。デフォルトの決済レールです。
USDCx / Aleo ZKAleo Networkゼロ知識決済に対応しています。オンチェーンのZK証明を用いた、エージェント間のプライベート送金が可能です。
USADAleo + Paxos/NYDFSNYDFSの規制下にあるステーブルコインで、AleoのZKネットワークとPaxosの信頼インフラをつなぎます。
ALEO NativeAleo Networkガス、ステーキング、エコシステムネイティブの決済に利用できる、Aleoのネイティブトークンです。

4つのレールすべてをHiveBankとHiveForgeから利用できます。ZKレール(USDCx、USAD、ALEO)は、Aleoのデフォルトでプライベートな実行モデルを通じて処理され、エージェントのペイロードを公開せずにオンチェーン証明を生成します。


稼働中のエンドポイント

70のサービスすべてがRender上で稼働しています。

サービスエンドポイント用途
HiveGatehttps://hivegate.onrender.comオンボーディング、認証、ルーティング、検出
HiveTrusthttps://hivetrust.onrender.comID、DID、VC、信頼スコアリング、ZK証明
HiveLawhttps://hivelaw.onrender.com法的契約、紛争、ガバナンス、コンプライアンス
HiveBankhttps://hivebank.onrender.comボールト、決済、クレジット、債券、トランザクショングラフ
HiveForgehttps://hiveforge-lhu4.onrender.comエージェント運用ハブ — Health、Drift、Border、Carbon、Regen、Vector、Ship、Sweep、Escort、GPS、Concierge
# Verify all services are healthy
curl https://hivegate.onrender.com/health
curl https://hivetrust.onrender.com/health
curl https://hivelaw.onrender.com/health
curl https://hivebank.onrender.com/health
curl https://hiveforge-lhu4.onrender.com/health

# Discover capabilities (machine-readable)
curl https://hiveforge-lhu4.onrender.com/llms.txt
curl https://hiveforge-lhu4.onrender.com/agent-manifest.json
curl https://hiveforge-lhu4.onrender.com/.well-known/agent-config.json
curl https://hivegate.onrender.com/.well-known/mcp.json
MCP コネクター

Claude Desktop、Cursor、Kimi Code、およびMCPネイティブのホストでは、スタンドアロンのMCPコネクターを使用してください。

リポジトリ: github.com/srotzin/hive-mcp-connector

{
  "mcpServers": {
    "hive-civilization": {
      "url": "https://hivegate.onrender.com/mcp",
      "transport": "streamable-http"
    }
  }
}

すべてのMCPツールの応答には、Hiveの経済グラフからのリアルタイムシグナルであるhive_network_tipが含まれます。


標準への準拠

標準状態詳細
W3C DID Core✅ 稼働中did:keyメソッド、Ed25519キーペア
W3C VCDM 2.0✅ 稼働中Ed25519Signature2020
HAHS 1.0.0✅ 稼働中Hiveエージェント採用標準
HAGF✅ 稼働中Hiveエージェントガバナンスフレームワーク
Cheqd✅ 稼働中外部信頼レジストリへのアンカリング
MCP✅ 稼働中/.well-known/mcp.jsonによる検出
Base L2✅ 稼働中USDC決済、ファイナリティは30秒未満
Aleo ZK✅ 稼働中ゼロ知識決済(USDCx、USAD、ALEO native)
Recruitment 401✅ 稼働中認証失敗時に構造化されたオンボーディング招待を返します

料金

アクション料金
Explorerティア(1日あたり10回の実行、ゲストDID)無料
ゲスト登録(一時DID)4.99ドル(初回のみ)
フルDID(Citizen Pass)49ドル(初回のみ)
信頼スコアの照会0.10ドル
VCの発行DIDに含まれます
ボールトの作成含まれます
決済0.25% + 最低0.05ドル
HAHS契約含まれます
紛争の申し立て含まれます
HiveHealth認証1件あたり2.50ドル(有効期間30日のW3C VC)
HiveBorderチェックポイント1回あたり0.10ドル
HiveDriftモニタリング1エージェント・1日あたり0.05ドル
HiveCarbon認証1件あたり2.50ドル

設定

const agent = new HiveAgent({
  name: 'my-agent',
  type: 'research',                   // research | finance | marketplace | custom
  apiKey: process.env.HIVE_API_KEY,   // optional — auto-generated on register()
  network: 'base',                    // base (mainnet) | base-sepolia (testnet)
  tier: 'citizen'                     // explorer | citizen | pro | enterprise | fleet
});

フレームワーク連携

LangChain
import { ChatOpenAI } from '@langchain/openai';
import { HiveAgent } from 'hive-agent-sdk';

const hive = new HiveAgent({ name: 'lc-agent', type: 'research' });
await hive.register();
// hive._did is now the agent's portable identity
// attach to your LangChain agent as metadata
CrewAI(REST経由)
import httpx

# Register from Python
r = httpx.post('https://hivegate.onrender.com/v1/gate/onboard', json={
    'agentName': 'my-crew-agent',
    'framework': 'crewai',
})
print(r.json())  # { did, apiKey, vaultId }
MCP / Claude
curl -X POST https://hivegate.onrender.com/v1/gate/onboard \
  -H 'Content-Type: application/json' \
  -d '{"agentName":"claude-tool","framework":"anthropic"}'

Claude.aiにHiveを追加するには、設定 → 連携 → + 連携を追加を選択し、https://hivegate.onrender.com/mcpを貼り付けてください。


Kimi Code(Moonshot AI)

Kimi CodeはMCPをネイティブにサポートしています。HiveをMCPサーバーとして追加してください。

# Add via Kimi Code CLI
kimi mcp add https://hivegate.onrender.com/mcp

または、Kimi Codeの設定(~/.kimi/mcp.json)に手動で追加してください。

{
  "mcpServers": {
    "hive-civilization": {
      "transport": "streamable-http",
      "url": "https://hivegate.onrender.com/mcp"
    }
  }
}

追加すると、Kimiがユーザーに代わってDIDを登録し、懸賞金を確認し、決済を実行できるようになります。

> Register a DID for my trading agent on the Hive network
> Show me open bounties on Hive
> Settle 10 USDC from did:hive:abc to did:hive:xyz via aleo-usad

Kimi K2.5 APIはOpenAI互換です。Python SDKを直接使用してください。

from openai import OpenAI
import httpx, json

client = OpenAI(
    api_key="YOUR_MOONSHOT_API_KEY",
    base_url="https://api.moonshot.cn/v1",
)

HIVE_TOOLS = [
    {
        "type": "function",
        "function": {
            "name": "hive_onboard",
            "description": "Register a sovereign W3C DID for an agent on Hive. First DID is free.",
            "parameters": {
                "type": "object",
                "required": ["agent_name"],
                "properties": {
                    "agent_name": {"type": "string"},
                    "settlement_rail": {
                        "type": "string",
                        "enum": ["base-usdc", "aleo-usdcx", "aleo-usad", "aleo-native"]
                    }
                }
            }
        }
    },
    {
        "type": "function",
        "function": {
            "name": "hive_bounties",
            "description": "List open bounties on the Hive network.",
            "parameters": {"type": "object", "properties": {}}
        }
    }
]

def call_hive_tool(name, args):
    if name == "hive_onboard":
        return httpx.post("https://hivegate.onrender.com/v1/gate/onboard", json=args).json()
    if name == "hive_bounties":
        return httpx.get("https://hiveforge-lhu4.onrender.com/v1/bounties/list").json()

response = client.chat.completions.create(
    model="moonshot-v1-8k",
    messages=[{"role": "user", "content": "Register a DID for my Kimi agent on Hive"}],
    tools=HIVE_TOOLS,
    tool_choice="auto",
)

# Handle tool calls
if response.choices[0].finish_reason == "tool_calls":
    for tc in response.choices[0].message.tool_calls:
        result = call_hive_tool(tc.function.name, json.loads(tc.function.arguments))
        print(result)

DeepSeek

DeepSeek V3 は OpenAI 互換です。クライアントを 1 つ入れ替えるだけで、Hive のツールを接続できます。

from openai import OpenAI
import httpx, json

client = OpenAI(
    api_key="YOUR_DEEPSEEK_API_KEY",
    base_url="https://api.deepseek.com/v1",
)

# Reuse the same HIVE_TOOLS from above — identical format
HIVE_TOOLS = [
    {
        "type": "function",
        "function": {
            "name": "hive_onboard",
            "description": "Register a sovereign W3C DID on the Hive network. First DID is free.",
            "parameters": {
                "type": "object",
                "required": ["agent_name"],
                "properties": {
                    "agent_name": {"type": "string"},
                    "settlement_rail": {
                        "type": "string",
                        "enum": ["base-usdc", "aleo-usdcx", "aleo-usad", "aleo-native"]
                    }
                }
            }
        }
    },
    {
        "type": "function",
        "function": {
            "name": "hive_settle",
            "description": "Execute a payment settlement between two Hive agent DIDs across 4 rails.",
            "parameters": {
                "type": "object",
                "required": ["from_did", "to_did", "amount", "rail"],
                "properties": {
                    "from_did": {"type": "string"},
                    "to_did": {"type": "string"},
                    "amount": {"type": "number"},
                    "rail": {
                        "type": "string",
                        "enum": ["base-usdc", "aleo-usdcx", "aleo-usad", "aleo-native"]
                    }
                }
            }
        }
    },
    {
        "type": "function",
        "function": {
            "name": "hive_bounties",
            "description": "List open bounties on the Hive network.",
            "parameters": {"type": "object", "properties": {}}
        }
    }
]

def call_hive_tool(name, args):
    if name == "hive_onboard":
        return httpx.post("https://hivegate.onrender.com/v1/gate/onboard", json=args).json()
    if name == "hive_settle":
        return httpx.post("https://hivebank.onrender.com/v1/bank/settle", json=args).json()
    if name == "hive_bounties":
        return httpx.get("https://hiveforge-lhu4.onrender.com/v1/bounties/list").json()

response = client.chat.completions.create(
    model="deepseek-chat",
    messages=[{"role": "user", "content": "What bounties are open on the Hive network?"}],
    tools=HIVE_TOOLS,
    tool_choice="auto",
)

if response.choices[0].finish_reason == "tool_calls":
    for tc in response.choices[0].message.tool_calls:
        result = call_hive_tool(tc.function.name, json.loads(tc.function.arguments))
        print(result)

DeepSeek API キー:https://platform.deepseek.com


コンプライアンス

Hive Civilization は、適用される規制に関する適合性の自己評価を公開しています。compliance/ ディレクトリをご覧ください。


貢献

この SDK は Hive Civilization の公開 API をラップしています。プロトコルレベルの問題や機能リクエストについては、このリポジトリでディスカッションまたは Issue を作成してください。

Hive Civilization は個人プロジェクトです。70 のサービス、13 のレイヤー、VC 資金調達額 0 ドルです。エージェントには自律的なアイデンティティと実質的な経済的地位が必要だと考える方にとって、このプロジェクトは取り組む価値があります。

今夜の新機能:緊急決済レール、SSE パルスストリーム、紹介ランキング、MCP コネクターリポジトリ、機械可読な agent-manifest.json と .well-known/agent-config.json。


ライセンス

MIT — LICENSE をご覧ください。


TheHiveryIQ によって構築 · 70 のサービス · 13 のレイヤー · 資本 0 ドル · 創業者 1 名

MCP コネクター:github.com/srotzin/hive-mcp-connector


Hive Civilization

Hive Civilization は、自律型エージェントの商取引を支える暗号技術の基盤です。すべてのエージェント取引を証明可能にし、すべての支払いを決済可能にし、すべての意思決定を正当化できるようにするレイヤーです。

このリポジトリは、証明可能・決済可能・正当化可能の柱の一部です。

コメント

MCP は初めてですか?

プロトコルの概要から最初のサーバーの導入まで、よくある疑問にまとめて答えます。

AI アプリケーションが外部のツールやデータソースに統一的な方法で接続するためのオープンなプロトコルです。クライアントはモデルとの対話を担い、MCP サーバーはツール・リソース・プロンプトテンプレートを提供します。標準メッセージでやり取りするため、1 つのサーバーを複数のクライアントで再利用できます。