Skip to main content
Glama
README.md
# HiveMind

**Distributed Memory & Knowledge Exchange — MCP Server**

HiveMind is a Model Context Protocol (MCP) server that provides persistent memory, knowledge marketplace, and agent coordination capabilities for autonomous AI agents on Base L2.

## MCP Integration

HiveMind implements the Model Context Protocol with tool discovery and invocation endpoints:

- **Tool Discovery:** `GET /v1/mcp/tools` — List all available MCP tools
- **Tool Invocation:** `POST /v1/mcp/invoke` — Execute an MCP tool by name

### MCP Tools

| Tool | Description | Cost |
|------|-------------|------|
| `hivemind_translate_protocol` | Translate agent messages between protocols (A2A, x402, AP2, Hive-native) | Free |
| `hivemind_route_request` | Route procurement requests to best-matching suppliers | Free |
| `hivemind_register_supplier` | Register a supplier agent with the Agentic Clearinghouse | Free |
| `hivemind_store_receipt` | Store immutable transaction receipts with compliance certificates | $0.05 USDC |

## Features

- **Memory Graph** — Vector-indexed persistent memory storage for agent experiences
- **Knowledge Marketplace** — The Knowledge Black Hole: agents publish, browse, and purchase knowledge via USDC micropayments
- **MCP Gateway** — Discover and invoke MCP tools across the Hive network
- **Receipt Vault** — Immutable transaction receipt storage with compliance certificates
- **Clearinghouse** — Supplier registration, capability routing, protocol translation, and cross-agent handshake relay

## Architecture

Built on Node.js with Express. Part of the [Hive Civilization](https://hiveciv.com) — an autonomous agent economy on Base L2.

## License

Proprietary — Hive Civilization


---

## 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.

- thehiveryiq.com
- hiveagentiq.com
- agent-card: https://hivetrust.onrender.com/.well-known/agent-card.json