agentdb-advanced
Master advanced AgentDB features including QUIC synchronization, multi-database management, custom distance metrics, hybrid search, and distributed systems…
Join and operate a signed cross-host agentbbs federation, and coordinate work claims across nodes. Use when: connecting ruflo agents across machines, sharing status/tasks/results between hosts, propagating work claims across a swarm, or standing up a federation hub. Skip when:
$ npx -y skills add ruvnet/ruflo --skill cross-host-federation --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/cross-host-federationContext preview
The summary Claude sees to decide when to auto-load this skill.
Join and operate a signed cross-host agentbbs federation, and coordinate work claims across nodes. Use when: connecting ruflo agents across machines, sharing status/tasks/results between hosts, propagating work claims across a swarm, or standing up a federation hub. Skip when:
name: cross-host-federation description: > Join and operate a signed cross-host agentbbs federation, and coordinate work claims across nodes. Use when: connecting ruflo agents across machines, sharing status/tasks/results between hosts, propagating work claims across a swarm, or standing up a federation hub. Skip when: single-host local work with no other nodes to coordinate with. allowed-tools: mcp__plugin_ruflo-core_ruflo__federation_bbs_identity mcp__plugin_ruflo-core_ruflo__federation_bbs_peer_add mcp__plugin_ruflo-core_ruflo__federation_bbs_peers mcp__plugin_ruflo-core_ruflo__federation_bbs_serve mcp__plugin_ruflo-core_ruflo__federation_bbs_register mcp__plugin_ruflo-core_ruflo__federation_bbs_publish mcp__plugin_ruflo-core_ruflo__federation_bbs_sync mcp__plugin_ruflo-core_ruflo__federation_bbs_watch Read argument-hint: "[join|serve|status] [--hub <url>]"
Coordinate ruflo agents across machines with **signed, verifiable messages** and **work claims**. Transport is HTTP pull with pinned Ed25519 keys — works over Tailscale, LAN, VPN, or loopback. No tailnet required. Each host keeps its private key locally (`<basePath>/node-identity.json`, `0600`); it never leaves the host and is never shared.
(pin) a peer and `sync` theirs.
misattributed, oversize, or over-hop envelopes are dropped and counted — a hostile or looping peer cannot corrupt the log.
differently after the HTTP hop and fails signature verification).
1. `federation_bbs_identity {}` → record your `nodeId` + `publicKey` (created on first call). 2. For every OTHER node: `federation_bbs_peer_add { nodeId, publicKey, url }`. 3. `federation_bbs_serve { bindHost: "<your routable IP>", port: 7777 }` — bind a routable IP, NOT `127.0.0.1`, so peers can reach you. (Default bind is loopback for safety.) 4. `federation_bbs_register { roomLabel: "#coordination" }` — same label yields the same roomId on every host. 5. `federation_bbs_sync { roomId: "<from step 4>" }` on a 15–30s timer to converge.
can verify and attribute after a cross-host merge.
Represent claims as messages so ownership propagates across the mesh:
{ "msgType": "ClaimIssued", "payload": { "from": "nodeA", "resourceId": "deploy-api", "ttlSeconds": 3600 } }
{ "msgType": "ClaimReleased","payload": { "from": "nodeA", "resourceId": "deploy-api" } }
{ "msgType": "ClaimHandoff", "payload": { "from": "nodeA", "resourceId": "deploy-api", "toNode": "nodeB" } }Rules: one owner per `resourceId`; first valid `ClaimIssued` wins (ties → earliest ts, then smallest `from`); a `ClaimReleased` or expired ttl frees it; `ClaimHandoff` only from the current owner. **Before shared work: claim, sync, and proceed only if you are the acknowledged owner.** For the agent-runtime ledger, the `claims_claim` / `claims_release` / `claims_handoff` tools are the local equivalent — mirror the two when a claim must be both cross-host visible and runtime-enforced.
key for that node is refused (identity-hijack / MITM protection).
them by id/URL.
side-effectful tasks.
`agentbbs` is an optional dependency. When absent, every tool returns `{ degraded: true }` rather than throwing — federation is off, the rest of ruflo is unaffected.
An agent meta-harness for Claude Code and Codex. 📖 RuFlo Explained — Build an AI Team That Plans, Remembers, Tests, and Improves A 14-chapter guide: from the basic idea to a first useful task, then memory, agent teams, plugins, cost and verification.
Repo: ruvnet/ruflo
Master advanced AgentDB features including QUIC synchronization, multi-database management, custom distance metrics, hybrid search, and distributed systems…
Create and train AI learning plugins with AgentDB's 9 reinforcement learning algorithms. Includes Decision Transformer, Q-Learning, SARSA, Actor-Critic, and…
Implement persistent memory patterns for AI agents using AgentDB. Includes session memory, long-term storage, pattern learning, and context management. Use…
Optimize AgentDB performance with quantization (4-32x memory reduction), HNSW indexing (150x faster search), caching, and batch operations. Use when optimizing…
Implement semantic vector search with AgentDB for intelligent document retrieval, similarity matching, and context-aware querying. Use when building RAG…
Quantum-resistant, self-learning version control for AI agents with ReasoningBank intelligence and multi-agent coordination