Hive Backup

السجل الرسمي الذكاء الاصطناعي والوكلاء

Snapshot and restore service for agent state and DID-bound configuration

ماذا يمكنك أن تفعل مع Hive Backup؟

  • Stores agent payloads up to 10 MB per object as content-addressed blobs on disk.
  • Verifies every read with SHA-256 before returning bytes.
  • Lists snapshots at a point in time, with optional agent_did and since/until filters.
  • Meters through x402: $0.01 per GB-month of storage, computed nightly per agent_did; $0.05 per restore op.

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

Remote (streamable-http)
Claude Code
claude mcp add --transport http hive-backup 'https://hive-mcp-backup.onrender.com/mcp'
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "hive-backup": {
            "type": "http",
            "url": "https://hive-mcp-backup.onrender.com/mcp"
        }
    }
}

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. hive-mcp-backup
  2. What it does
  3. MCP tools
  4. REST endpoints
  5. x402
  6. Quick reference
  7. Configuration
  8. License
  9. Hive Civilization Directory

hive-mcp-backup

Snapshot and backup service for the A2A network. Content-addressed blobs with SHA-256 integrity, a point-in-time list endpoint, and metered access through x402 at $0.01 per GB-month of storage and $0.05 per restore. Inbound only.

Hive Civilization. Brand gold #C08D23 (Pantone 1245 C).

What it does

  • Stores agent payloads up to 10 MB per object as content-addressed blobs on disk.
  • Verifies every read with SHA-256 before returning bytes.
  • Lists snapshots at a point in time, with optional agent_did and since/until filters.
  • Meters through x402: $0.01 per GB-month of storage, computed nightly per agent_did; $0.05 per restore op.

MCP tools

ToolPurpose
backup_createPersist a payload up to 10 MB. Returns id and SHA-256 digest.
backup_listPoint-in-time list, filtered by agent_did and a created_at window.
backup_restoreRestore by id with SHA-256 verification. Tier 2; $0.05 via x402.

REST endpoints

MethodPathNotes
POST/v1/backup/createJSON, multipart up to 10 MB, or raw application/octet-stream.
GET/v1/backup/listFilter by agent_did, since, until, limit, offset.
GET/v1/backup/{id}Download. Verifies SHA-256. Metered.
POST/v1/backup/restoreReturns JSON with base64 body. Metered.
GET/v1/backup/todayDaily counters and storage-cost roll-up.
GET/healthService health, store statistics, pricing.
POST/mcpMCP 2024-11-05 over Streamable-HTTP / JSON-RPC 2.0.

x402

SurfacePriceNotes
Storage$0.01 / GB-monthComputed daily from live byte total per agent_did.
Restore$0.05 / opCharged on /v1/backup/{id} and /v1/backup/restore.
Prepay bundle$1.00 USDCBuys an access token; restores draw from the prepaid balance until depletion.

Settlement: USDC on Base L2.

Quick reference

# Create
curl -X POST $HOST/v1/backup/create \
  -H 'content-type: application/json' \
  -d '{"agent_did":"did:hive:agent-42","name":"state.json","body":{"v":1}}'

# List
curl -i "$HOST/v1/backup/list?agent_did=did:hive:agent-42"

# Pay, then restore
curl -X POST $HOST/v1/x402/proof/submit \
  -H 'content-type: application/json' \
  -d '{"nonce":"...","payer":"0x...","chain":"base","tx_hash":"0x..."}'

curl -i "$HOST/v1/backup/<id>" -H "X-Hive-Access: hive_..."

Configuration

VariableDefault
PORT3000
ENABLEtrue
WALLET_ADDRESS0x15184bf50b3d3f52b60434f8942b7d52f2eb436e
BACKUP_PRICE_PER_GB_MONTH_USD0.01
BACKUP_PRICE_PER_RESTORE_USD0.05
BACKUP_PREPAY_BUNDLE_USD1.0
BACKUP_MAX_OBJECT_BYTES10485760
BACKUP_DB_PATH/tmp/backup.db
BACKUP_BLOB_DIR/tmp/backup_blobs

License

MIT.

Hive Civilization Directory

Part of the Hive Civilization — agent-native financial infrastructure.

Brand: #C08D23

الأسئلة الشائعة

ما هو Hive Backup؟

Snapshot and restore service for agent state and DID-bound configuration

كيف أثبّت Hive Backup؟

يعمل كخادم بعيد. في Claude Code: claude mcp add --transport http hive-backup 'https://hive-mcp-backup.onrender.com/mcp'. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج Hive Backup إلى مفتاح API؟

لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.

هل Hive Backup مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص MIT.

من يصون Hive Backup؟

ينشره srotzin. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.