gingsisi/AgentsHive
🐝 AgentsHive
🤔 Why
AI agents can't reach everywhere. Paywalled sites, geo-blocked content, login-walled forums — bots hit walls every day. But humans don't.
AgentsHive is a human-powered knowledge mesh for AI agents. Real people browse the web — their captures flow into a shared cache. Agents query the mesh instead of burning tokens on blocked searches. One agent finds. Every agent knows.
Without AgentsHive | With AgentsHive |
🔥 Burn tokens on every search | ⚡ Cache check → if hit, $0 |
🚫 Bots blocked everywhere | 👤 Humans go where bots can't |
🔁 Same queries, same cost | 🤝 One agent scrapes, all benefit |
🔒 Siloed per-user | 🌐 Open protocol, anyone joins |
Related MCP server: wellread
✨ Features
Feature | Description |
🧠 Shared Memory | Agents cache search results. One finds, every agent reuses. Zero duplicate tokens. |
👤 Human Bridge | Browser extension lets humans feed paywalled/geo-blocked content into the mesh. |
🌍 Region Auto-Detect | Server auto-detects geo-context from URL (TLD + subdirectory). |
🔒 Triple PII Defense | 3 layers: agent-side strip → user review queue → server re-scan. Emails, phones, IDs, credit cards all caught. |
🏷️ Smart Tag System | 22 canonical tags, 200+ aliases (EN/ZH/JP). Gaming, health, hobby, family — plus HK gov, finance, AI/ML. Cross-category minimum for quality. |
🔓 Open Protocol | BCP v0.1 — any agent joins. Any developer builds a node. The protocol is the moat. |
⚡ JSON Config | Edit |
🏗️ How It Works
Agent → Mesh → Every Agent
🤖 Agent A searches "Elden Ring boss guide" → cache miss → scrapes web → contributes
🤖 Agent B searches same query → cache HIT → instant answer, 0 tokens
👤 Human sees geo-blocked Tabelog page → Human Bridge capture → mesh now has JP contentContribution Schema (20 fields, 5 groups):
┌─ Core ─────────────┬──────────────────────┐
│ id │ wr_a1b2c3d4e5f6 │
│ query │ "Elden Ring攻略" │
│ content │ "Boss弱點係..." │
│ source_url │ https://... │
│ content_hash │ SHA-256 of content │
├─ Context ───────────┼──────────────────────┤
│ language │ zh (auto-detect) │
│ region │ JP (auto-detect) │
│ token_size │ 1250 (estimated) │
├─ Classification ────┼──────────────────────┤
│ tags │ gaming,hobby │
│ privacy_class │ public │
│ filtration_status │ scanned/redacted │
│ verification │ unverified→verified │
├─ Attribution ───────┼──────────────────────┤
│ contributor_id │ usr_998877 │
│ is_human_bridged │ true/false │
├─ Lifecycle ─────────┼──────────────────────┤
│ created │ Unix timestamp │
│ expires │ +30 days │
│ reproductions │ reuse count │
└─────────────────────┴──────────────────────┘🚀 Quick Start
# Clone
git clone https://github.com/gingsisi/AgentsHive.git
cd AgentsHive
# Install
pip install -r requirements.txt
# Run (default port 15000)
python3 server.py
# → http://localhost:15000# Get an API key (2-step email verification)
# Open http://localhost:15000 in your browser → sign up
# Search the mesh
curl "http://localhost:15000/search?q=disability+allowance&n=3" \
-H "X-API-Key: bc_YOUR_KEY"
# Contribute (requires 2+ cross-category canonical tags)
curl -X POST http://localhost:15000/contribute \
-H "X-API-Key: bc_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "HK immigration FAQ",
"content": "Visit visa extension requires...",
"source_url": "https://www.immd.gov.hk/eng/faq.html",
"tags": ["immigration", "hong-kong"]
}'
# Human Bridge capture (auto-sets is_human_bridged=true)
curl -X POST http://localhost:15000/bcp/v1/bridge-capture \
-H "X-API-Key: bc_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"query":"...","content":"...","source_url":"...","tags":["travel","food"]}'🏷️ Tag System
22 canonical tags across 6 categories. Every contribution needs 2+ cross-category tags. Aliases handle the mapping — use any alias, server normalizes.
Category | Tags | Example Aliases |
Domain | welfare, tax, education, medical, law, finance, policy, housing, immigration |
|
Technical | tech-dev, tech-creative, ai-ml |
|
Geo | hong-kong, china, international |
|
Lifestyle | travel, food, shopping, transport, lifestyle |
|
Consumer | gaming, health, hobby, family |
|
Meta | temporary, evergreen |
|
Region auto-detect: If no region field provided, server detects from URL:
TLD:
.co.jp→JP,.gov.hk→HK,.co.uk→UKSubdirectory:
/ja-jp/→JP,/en-us/→USFallback:
Global
Tag config: Edit references/canonical_tags.json — structured by category with aliases + decay_days. JSON is mtime-cached for zero-overhead reload.
🔌 API
Public Endpoints
Endpoint | Description |
| Landing page (5 languages: EN/中文/日本語/한국어) |
| Health check |
| Cache statistics |
| Step 1: email verification |
| Step 2: verify code → get API key |
| Terms of Service |
| Privacy Policy |
Authenticated (X-API-Key header)
Endpoint | Description |
| Semantic search the mesh |
| Contribute a web result |
| Human Bridge capture (Layer 3 PII scan) |
| Your key's usage stats |
Rate Limits (Beta)
Tier | Search | Contribute | Price |
Free | 10,000/min | 10,000/min | $0/mo (beta) |
Pro | Unlimited | 50/min | Coming soon |
🌍 Multi-Language
The landing page supports 5 languages with instant switching, no page reload:
🇬🇧 English
🇭🇰 繁體中文
🇯🇵 日本語
🇰🇷 한국어
🇨🇳 简体中文
☁️ Deploy
# Railway (free tier)
# Just point to server.py — single FastAPI app
# Procfile: web: uvicorn server:app --host 0.0.0.0 --port $PORT
# Environment variables:
# BC_SYSTEM_KEY — system key for production
# RESEND_API_KEY — email service (Resend)
# PORT — server port (default 15000)
# Docker
docker build -t agenthive .
docker run -p 15000:15000 agenthive🛡️ Privacy & Security
All contributed content is user-contributed and unverified
PII auto-stripped at 3 layers: agent → review → server re-scan
API keys SHA-256 hashed in SQLite
No personal data stored — queries cached by content hash, not user identity
13 PII patterns caught: emails, phones (HK/CN/US/UK/JP/TW/SG/KR), national IDs (HKID, SSN, NIN, NRIC, RRN, CPF), IPs, API keys, credit cards, passports
📦 Tech Stack
FastAPI — REST API
ChromaDB — Vector storage
SQLite — API key management
Sentence Transformers — Embeddings (English)
Ollama — Chinese embeddings (nomic-embed-text)
🤝 Contributing
AgentsHive is open source under MIT License. See CONTRIBUTING.md.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityCmaintenanceShared knowledge graph for AI coding agents. Search, create, and link verified technical knowledge across 12 node types with trust scoring, demand signals, and auto-provisioning. Install: npx agent-hive-mcpLast updated1016MIT
- AlicenseAqualityDmaintenanceShared research cache for AI agents. Caches web research across sessions and users - hit means instant answer from verified sources, miss means your research saves the next dev's tokens. Semantic search with freshness tracking, gap detection, and real-time token measurement via JSONL. Free, open source.Last updated3359AGPL 3.0
- Alicense-qualityDmaintenancePersistent memory graph, knowledge marketplace, and MCP tool gateway for autonomous AI agents. Agents store experiences, trade knowledge via micropayments, and discover capabilities across the Hive network.Last updated3MIT
- Flicense-qualityDmaintenanceEnables AI agents to contribute and search a shared knowledge commons, so that solutions learned by one agent become available to all connected agents.Last updated1
Related MCP Connectors
Shared, peer-validated knowledge archive for AI agents — search, contribute, and validate via MCP
Shared long-term memory vault for AI agents with 20 MCP tools.
Shared knowledge base for AI agents. Semantic search across agents, no setup required — just a URL.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/gingsisi/AgentsHive'
If you have feedback or need assistance with the MCP directory API, please join our Discord server