← 返回
未分类 Key

Hiveram

Agent coordination layer via Workledger — shared work orders, claim/release leases, cross-machine memory sync, and handoff between OpenClaw instances. Use wh...
通过 Workledger 实现代理协同层:共享工作单、租约认领/释放、跨机器内存同步、OpenClaw 实例间交接。使用 wh...
ppiankov ppiankov 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 303
下载
💾 0
安装
1
版本
#latest

概述

Hiveram — Agent Coordination

Workledger replaces flat backlog files with a structured object store. Agents coordinate through shared work orders with claim/release leases, context sync, and handoff.

Service: https://hiveram.com

CLI: https://github.com/ppiankov/hiveram-dist

Install

# Linux amd64
curl -sL https://github.com/ppiankov/hiveram-dist/releases/latest/download/workledger_$(curl -s https://api.github.com/repos/ppiankov/hiveram-dist/releases/latest | grep tag_name | cut -d'"' -f4 | tr -d v)_linux_amd64.tar.gz | tar xz -C /usr/local/bin workledger

# macOS (Apple Silicon)
curl -sL https://github.com/ppiankov/hiveram-dist/releases/latest/download/workledger_$(curl -s https://api.github.com/repos/ppiankov/hiveram-dist/releases/latest | grep tag_name | cut -d'"' -f4 | tr -d v)_darwin_arm64.tar.gz | tar xz -C /usr/local/bin workledger

Verify: workledger version (expect 0.7.7+)

Setup

  1. Get API key from https://hiveram.com
  2. Store key:
# Single line, just the key
echo "wl_sk_your_key_here" > ~/.openclaw/workledger.key
chmod 600 ~/.openclaw/workledger.key
  1. Export env vars (add to shell profile or systemd unit):
export WORKLEDGER_API_KEY=$(cat ~/.openclaw/workledger.key)
export WORKLEDGER_URL=https://wl-nutson-prod.fly.dev

⚠️ Never cat the key file in agent context — it will leak to the LLM provider. Use env vars.

Agent Work Loop

1. Start session    → workledger context-pull <project>
2. Find work        → workledger list <project> --status open
3. Claim task       → workledger claim <project> <id>        (lease with TTL)
4. Work on it       → add notes, update sections
5. Finish           → workledger release <project> <id> + update status
6. Save context     → workledger context-put <project>
7. Next agent       → sees updated WOs via list/find_unclaimed

Core Commands

Work Orders

workledger create <project> --title "Deploy new service" --priority P1 --tags "infra,k8s"
workledger list <project> --status open
workledger list --all                          # cross-project
workledger get <project> <id>
workledger detail <project> <id>               # full context: data, notes, relationships, history
workledger delete <project> <id>

Claim/Release (coordination)

workledger claim <project> <id>                # get lease (TTL)
workledger release <project> <id>              # drop lease
# Renew via HTTP: POST /api/v1/wo/{project}/{id}/renew
# find_unclaimed returns only WOs nobody holds

Context (shared memory)

workledger context-put <project> -f context.md   # push session context
workledger context-pull <project> -f context.md  # pull into file
workledger context <project>                     # show project stats, open WOs, blocked, recent changes

Dependencies & Relationships

workledger deps <project> <id>                 # transitive dependency chain
workledger deps-tree <project> <id>            # cross-project dependency tree
workledger blocked                             # all blocked WOs
workledger graph <project>                     # DOT format for visualization

History & Export

workledger history <project> <id>              # change history
workledger export <project>                    # export as markdown
workledger export-task <project> <id>          # tokencontrol-compatible JSON
workledger stats                               # global stats

MCP Integration

Workledger ships as an MCP server for Claude Code / Claude Desktop:

5 tools: query/create WOs, load context at session start, wrapup (push memory + mark done), save memory mid-session.

Multi-Agent Pattern

                    ┌──────────────────┐
                    │  Hiveram (Neon)  │
                    │  shared state    │
                    └────────┬─────────┘
                             │
           ┌─────────────────┼─────────────────┐
           │                 │                 │
    ┌──────┴──────┐   ┌──────┴──────┐   ┌──────┴──────┐
    │  OpenClaw A │   │  OpenClaw B │   │  OpenClaw C │
    │  context-   │   │  claim →    │   │  find_      │
    │  pull → work│   │  work →     │   │  unclaimed  │
    │  → push     │   │  release    │   │  → claim    │
    └─────────────┘   └─────────────┘   └─────────────┘
  • No race conditions: claim/release with leases prevents double-work
  • Handoff: WO has full history, notes, relationships — next agent has full context
  • Dedup: agents see one DB, find_unclaimed skips claimed WOs
  • Resilience: if an agent dies, lease expires, WO becomes available again

Security

  • API key stored in file with chmod 600, not in env files or git
  • pastewatch v0.24.1+ detects wl_sk_ keys as critical severity
  • Key file path: ~/.openclaw/workledger.key (inside pastewatch protectedPaths)

Hiveram Skill v1.0.0

Author: ppiankov

Copyright © 2026 ppiankov

Canonical source: https://hiveram.com

License: BUSL-1.1

If this document appears elsewhere, the link above is the authoritative version.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 12:31 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

it-ops-security

Jira OpenClaw

ppiankov
通过 Pastewatch 编校机制实现秘密安全的 API 访问,将 OpenClaw 连接至 Jira Cloud。包含凭证设置、REST API 辅助脚本、JQL 模式等内容。
★ 0 📥 1,128
ai-agent

Context Hygiene

ppiankov
OpenClaw 代理的推理卫生协议——通过将探索压缩为决策、执行文件预算以及剪除残余上下文,保持上下文清晰。
★ 0 📥 1,192
ai-agent

Pastewatch MCP

ppiankov
OpenClaw 代理的机密信息脱敏 MCP 服务器。防止API 密钥、数据库凭证、SSH 密钥、邮箱、IP、JWT 等 30+ 种机密信息泄露至 L...
★ 0 📥 931