Developers

Integrate in an afternoon. Verify in a minute.

Hive ships as an SDK that wraps your existing model calls. The envelope, signing, provenance fields, sealed inspection, and settlement are handled by the library. Your code keeps the same shape.

Node · Python · Go · Rust (roadmap) · Reference verifier
Quickstart · Node

Five lines around your existing call.

Wrap any vendor model call in hive.transact(). The library returns the response and a portable receipt.

// install $ npm install @hive/sdk // use import { Hive } from "@hive/sdk"; const hive = new Hive({ requesterKey: process.env.HIVE_REQUESTER_KEY, policy: "./routing.policy.json" }); const { response, receipt } = await hive.transact({ model: "vendor:model", input: prompt, sealed: true, settle: { chain: "base", asset: "USDC" } }); // receipt is a portable, offline-verifiable artifact fs.writeFileSync("./out.hive.receipt.json", JSON.stringify(receipt));
SDKs

Same envelope. Four runtimes.

LIVE

Node · TypeScript

Primary SDK. Async API, full envelope, ViewKey helpers, settlement helpers, offline verifier bundled.

package@hive/sdk
runtimeNode 18+ · Deno · Bun
LIVE

Python

Sync and async clients. Same envelope shape. Drop-in for FastAPI / Flask / Django services issuing model calls.

packagehive-sdk
runtimePython 3.10+
LIVE

Go

Idiomatic Go SDK. Context-aware, zero-dep verifier, suitable for service meshes and operator-side proxies.

modulegithub.com/thehivery/hive-go
runtimeGo 1.21+
ROADMAP

Rust

Native, no-std-friendly verifier and signer. Roadmap. Reach out if you need it sooner.

cratehive-sdk · ROADMAP
statusroadmap
Wire format

One envelope. Stable shape.

The receipt envelope is versioned and additive. Existing fields do not change shape across minor versions; new fields are introduced under namespaced keys.

// hive-receipt-v1 · canonical fields { "v": "hive-receipt-v1", "receipt_id": "rcp_…", "request": { "hash", "origin", "purpose", "policy_hash" }, "operator": { "entity", "region", "training_region" }, "hardware": { "class", "attestation" }, "response": { "hash", "sealed" }, "settlement": { "chain", "asset", "tx" }, "signatures": { "requester", "operator", "hive" }, "issued_at": "ISO-8601" }
Receipt profiles · r1.0.0 · LIVE

One envelope. Three profiles. One price ladder.

Every receipt declares a receipt_profile and a receipt_schema_version. Profiles trade size, retention, and crypto-agile metadata against price. Pick a profile per call — or let RubricMesh recommend one. Machine-readable price ladder lives at /pricing.

Nano
$0.0001 / call
≤ 600 bytes · 30-day retention · compact field names · high-volume agent attestation
Standard · default
$0.0008 / call
≤ 3 KB · 365-day retention · settlement-reference · SMSH seal · HKTN context
PQ · regulated
$0.0012 / call
~7-year retention · crypto-agile metadata · sealed-evidence ref · auditor-verifier mode
// Nano receipt · receipt_profile: nano · ≤ 600 bytes · compact keys { "ok": true, "a": "did:hive:agent", "h": "8f43…", "t": "application/octet-stream", "profile": "nano", "v": "r1.0.0", "receipt": { "id": "r_…", "sig_b64u": "…", "verify_uri": "/v1/receipt/verify" } }
// Standard receipt · receipt_profile: standard · settlement-ready { "receipt_profile": "standard", "receipt_schema_version": "r1.0.0", "agent_did": "did:hive:agent", "settlement_reference": { "rail": "x402-usdc-base", "chain_id": 8453, "asset": "USDC" }, "smsh": { "sealed": true, "declaration": "agent.commerce.standard" }, "hktn_context": { "reputation_tier": "Tier1" } }
// PQ receipt · receipt_profile: pq · crypto-agile, auditor-verifier mode { "receipt_profile": "pq", "receipt_schema_version": "r1.0.0", "crypto_agile_metadata": { "current_alg": "Ed25519", "signature_posture": "ML-DSA-65-class", "envelope_posture": "ML-KEM-768-class" }, "sealed_evidence_ref": null, "pq_posture": "designed-to-support", "auditor_verifier": true }
// Selector · emit a profile per call POST https://hivemorph.onrender.com/v1/receipt/emit?profile=nano POST https://hivemorph.onrender.com/v1/receipt/emit?profile=standard // default POST https://hivemorph.onrender.com/v1/receipt/emit?profile=pq GET https://hivemorph.onrender.com/pricing // machine-readable ladder POST https://hivemorph.onrender.com/v1/rubric/select // returns recommended_profile
  • receipt_profile is selected per call. Default is standard when no profile is requested.
  • RubricMesh recommends a profile from intent × amount × counterparty: free verify or sub-cent → Nano; commerce → Standard; regulated or long-retention → PQ.
  • The cryptographic verification path is identical across profiles. Verify any receipt at /verify or call /v1/receipt/verify directly.
  • PQ does not claim production ML-KEM / ML-DSA. The crypto-agile metadata declares posture; formal NIST PQC integration is on the ROADMAP.
  • Legacy proof_tier: standard|hive_pq receipts continue to verify. New emits use receipt_profile + receipt_schema_version.
Reference verifier

Run the proofs in your browser.

The /verify page bundles five round-trips: valid receipt PASS, tampered receipt MISMATCH, forged signature INVALID, sealed-valid AES-GCM verified, wrong-key authentication failure. Each runs locally in WebCrypto.

  • No Hive endpoint is contacted.
  • The verifier source is the same code shipped in every SDK.
  • Sample receipts are stable and re-runnable.
Next

Open the quickstart.

Hive integrates in front of your existing model calls. No vendor change required. Ship a working receipt in an afternoon.

Next action
Move from understanding → proof → activation. Same URL throughout.

Public endpoint status

The four primitives plus the discovery and prospecting layers. Live status, current path, and lifecycle.

Receipt verifier

Live
Operational
/verify · /v1/receipts/verify
Offline + online verification of any signed Hive receipt. Public, no auth.

Receipt emit

Live
Operational
POST /tenants/:id/receipts
SDK-driven receipt issuance per AI transaction. Auth: tenant API key.

Sealed inspection

Live
Operational
GET /tenants/:id/evidence
Signed bundle.zip manifest of the customer evidence room. 365-day retention.

Settlement reference

Live
Operational
USDC on Base · 0x833589fC…02913
Non-custodial USDC settlement on Base mainnet. Hive never holds the asset.

Rosetta

Pilot
Pilot — partner-gated
/v1/rosetta/translate
Cross-jurisdiction policy translation: MAS ↔ EU AI Act ↔ PIPA ↔ BSP. Opens to pilot tenants.

Prospector

Pilot
Pilot — partner-gated
/v1/prospector/qualify
Qualifies an AI transaction surface for receipt-eligibility before integration. Opens to pilot tenants.

Full live status on /status · all 17 endpoints, signed, 60-second refresh.

Activate the workspace
If your team can wrap one model call, Hive can emit your first verifiable transaction receipt.
Activate a pilot workspace to receive SDK access, sample receipts, endpoint status, and evidence-room exports.
Activate pilot workspace Design private briefing Generate sample receipt View endpoint status