Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

2.8 KB
Raw Blame

name: vector-setup description: First-run setup for [email protected] β€” installs ONNX/Brain/SONA add-ons, registers the MCP server, and verifies the install via doctor argument-hint: "[--full]" allowed-tools: Bash Read disable-model-invocation: true

Vector Setup

Bootstraps [email protected] and its optional add-ons so every /vector subcommand actually works on first run.

Why this exists

Out of the box, several /vector subcommands fail with a confusing dep error:

Error Missing package
ONNX WASM files not bundled. The onnx/ directory is missing. none β€” upgrade to ruvector 0.3.3, which bundles it (0.2.x lacks it)
Brain commands require @ruvector/pi-brain @ruvector/pi-brain
SONA not available. Native error: Cannot find module '/.../@ruvector/sona/index.js' @ruvector/ruvllm (JS fallback)
LLM commands require @ruvector/ruvllm @ruvector/ruvllm

This skill installs them in one pass.

Steps

  1. Pin ruvector:
    npm install [email protected]
    
  2. Install the add-ons (idempotent β€” only what's missing):
    npm install @ruvector/pi-brain \
                @ruvector/ruvllm
    
    For a leaner install, pass --full to also pull @ruvector/graph-node and @ruvector/router:
    npm install @ruvector/pi-brain \
                @ruvector/ruvllm \
                @ruvector/graph-node \
                @ruvector/router
    
  3. Verify the binary:
    npx -y [email protected] doctor
    npx -y [email protected] info
    
  4. Register the MCP server:
    claude mcp add ruvector -- npx -y [email protected] mcp start
    claude mcp list | grep ruvector
    
  5. Sanity check the most common subcommands:
    npx -y [email protected] hooks route "test"
    npx -y [email protected] attention list
    npx -y [email protected] rvf examples
    
  6. (Optional) Generate a pi identity for brain + edge:
    npx -y [email protected] identity generate
    npx -y [email protected] identity show
    

Smoke test

For a deterministic verification of the install, run the plugin's bundled smoke script:

bash plugins/ruflo-ruvector/scripts/smoke.sh

It checks: version pin, top-level subcommand visibility, hooks ast-analyze, hooks route, attention list, rvf examples, and info. Exits non-zero if any drift from the contracted surface is detected.

What this does not install

  • Native Rust toolchain (optional; only needed for source builds)
  • Platform-specific native bindings (auto-detected by @ruvector/core)
  • @ruvector/sona native binding (the JS fallback via @ruvector/ruvllm is sufficient on macOS arm64; Linux x64 has its own native binding)

If doctor still reports a problem after this skill runs, paste its output verbatim and ask.