🌊 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
TypeScript agentic-aiagentic-frameworkagentic-workflowagentsai-agentsai-assistantai-skillsautonomous-agentsclaudecodexdsh-pluginharnessmcp-servermulti-agentmulti-agent-systemsnpmskillsswarmswarm-intelligencetypescript
feat(ruvocal): expand RuFlo Capabilities modal
Reuvene813bb1de4cf
diff --git a/ruflo/src/ruvocal/src/lib/components/RufloHelpModal.svelte b/ruflo/src/ruvocal/src/lib/components/RufloHelpModal.svelteindex a19edbf329..29719b74f6 100644--- a/ruflo/src/ruvocal/src/lib/components/RufloHelpModal.svelte+++ b/ruflo/src/ruvocal/src/lib/components/RufloHelpModal.svelte@@ -11,12 +11,60 @@type Tool = { name: string; desc: string };type Group = { id: string; title: string; emoji: string; intro: string; tools: Tool[] };+ type ModelInfo = {+ name: string;+ provider: string;+ strength: string;+ notes: string;+ isDefault?: boolean;+ };++ const models: ModelInfo[] = [+ {+ name: "Claude Haiku 4.5",+ provider: "Anthropic",+ strength: "Fast, cheap, reliable tool-calling",+ notes: "Default. Best price/perf for routine MCP tool flows.",+ isDefault: true,+ },+ {+ name: "Claude Sonnet 4.6",+ provider: "Anthropic",+ strength: "Best general reasoning + long-horizon work",+ notes: "Reach for this on complex multi-step tasks or 6+ parallel tool calls.",+ },+ {+ name: "Gemini 2.5 Pro",+ provider: "Google",+ strength: "1M context, deep research synthesis",+ notes: "Strongest at multi-document analysis. Tool-calling is more cautious than Claude.",+ },+ {+ name: "Gemini 2.5 Flash",+ provider: "Google",+ strength: "Fast multimodal + grounded search",+ notes: "Good for image / PDF inputs. May skip tool calls when context grows.",+ },+ {+ name: "Qwen 3.6 Max",+ provider: "Alibaba",+ strength: "Open-weight flagship with strong code/math",+ notes: "262K context, competitive with closed frontier on code tasks.",+ },+ {+ name: "GPT-4o",+ provider: "OpenAI",+ strength: "Multimodal baseline",+ notes: "Familiar OpenAI behavior. Tool-calling is solid.",+ },+ ];+const groups: Group[] = [{id: "memory",title: "Memory & Knowledge",emoji: "🧠",- intro: "Persistent cross-session memory backed by AgentDB. Store and recall by key or semantic search.",+ intro: "Persistent cross-session memory backed by AgentDB (sql.js + HNSW vector index). Store anything by key, search by meaning, or list a namespace.",tools: [{ name: "ruflo__memory_store", desc: "Save a key/value into a namespace." },{ name: "ruflo__memory_search", desc: "Semantic vector search over stored memories." },@@ -30,92 +78,100 @@id: "agents",title: "Agents & Orchestration",emoji: "🤖",- intro: "Spawn agents, coordinate swarms, run hive-mind consensus, manage tasks.",+ intro: "Spawn specialized agents, coordinate swarms with hierarchical / mesh / adaptive topologies, and run hive-mind consensus for fault-tolerant work.",tools: [- { name: "ruflo__agent_spawn", desc: "Create a new specialized agent (coder, tester, reviewer, …)." },- { name: "ruflo__swarm_init", desc: "Initialize a swarm with topology + strategy." },+ { name: "ruflo__agent_spawn", desc: "Create a new specialized agent (coder, tester, reviewer, security-auditor, …)." },+ { name: "ruflo__swarm_init", desc: "Initialize a swarm with topology + strategy + max agents." },{ name: "ruflo__hive-mind_*", desc: "Queen-led Byzantine fault-tolerant collective." },- { name: "ruflo__task_create", desc: "Create + assign a task to an agent." },- { name: "ruflo__agent_list", desc: "List active agents and their state." },+ { name: "ruflo__task_create / task_assign / task_status", desc: "Full task lifecycle." },+ { name: "ruflo__agent_list / agent_status", desc: "Inspect active agents and their state." },],},{id: "intelligence",title: "Intelligence & Learning",emoji: "✨",- intro: "Pattern learning, routing, code analysis, and trajectory tracking via RuVector.",+ intro: "Pattern learning, model routing, code analysis, and trajectory tracking via RuVector. Tools here improve future task execution by recording what worked.",tools: [{ name: "ruvector__hooks_route", desc: "Pick the optimal agent type for a task." },- { name: "ruvector__hooks_remember / recall", desc: "Cross-session key/value memory." },- { name: "ruvector__hooks_trajectory_*", desc: "Record multi-step task execution for learning." },+ { name: "ruvector__hooks_remember / recall", desc: "Cross-session key/value memory shared with agents." },+ { name: "ruvector__hooks_trajectory_begin / step / end", desc: "Record multi-step task execution so the system learns from the run." },{ name: "ruvector__hooks_security_scan", desc: "Scan code for vulnerabilities." },{ name: "ruvector__hooks_rag_context", desc: "Get retrieval-augmented context for a query." },- { name: "ruvector__hooks_swarm_recommend", desc: "Recommend swarm topology for a task." },+ { name: "ruvector__hooks_swarm_recommend", desc: "Recommend swarm topology + agent mix for a task." },],},{id: "devtools",title: "Dev Tools & Analysis",emoji: "🛠️",- intro: "System health, performance profiling, GitHub integration, and shell access.",+ intro: "System health, performance profiling, GitHub integration, code-review primitives, and shell access. The widest group at 73 tools.",tools: [{ name: "ruflo__system_status", desc: "Overall system health overview." },- { name: "ruflo__performance_metrics", desc: "Detailed performance metrics." },- { name: "ruflo__performance_bottleneck", desc: "Identify performance bottlenecks." },- { name: "ruflo__analyze_diff", desc: "Risk-score and classify a code diff." },- { name: "ruflo__github_repo_analyze", desc: "Repo metrics and structure analysis." },- { name: "ruflo__terminal_execute", desc: "Run a shell command." },- { name: "ruflo__progress_*", desc: "Implementation progress tracking." },+ { name: "ruflo__performance_metrics / bottleneck / report", desc: "Detailed performance and hotspot analysis." },+ { name: "ruflo__analyze_diff*", desc: "Risk-score, classify, and suggest reviewers for a code diff." },+ { name: "ruflo__github_repo_analyze / pr_manage / issue_track", desc: "Repository metrics and PR/issue ops." },+ { name: "ruflo__terminal_execute / terminal_create", desc: "Run shell commands and manage sessions." },+ { name: "ruflo__progress_*", desc: "Implementation progress tracking across long-horizon work." },],},{id: "core",title: "Core Tools",emoji: "⚡",- intro: "Built-in tools always available regardless of MCP configuration.",+ intro: "Built-in tools always available regardless of MCP configuration. These three cover most knowledge questions before any specialized tool is needed.",tools: [- { name: "search", desc: "Search the local knowledge base." },- { name: "web_research", desc: "Web search, deep research, comparisons, fact-checking." },- { name: "guidance", desc: "Get help on any tool group or specific tool. Topics: overview, groups, agents, memory, intelligence, devtools." },+ { name: "search", desc: "Search the local knowledge base for documents and how-tos." },+ { name: "web_research", desc: "Web search, deep research, comparisons, fact-checking, and multi-step GOAP research." },+ { name: "guidance", desc: "Get help on any tool group. Topics: overview, groups, agents, memory, intelligence, devtools, or a specific tool by name." },],},{id: "wasm",title: "WASM Gallery (Browser-side)",emoji: "🧩",- intro: "In-browser MCP server (rvagent-wasm) with persistent IndexedDB storage. Works offline, no server roundtrip.",+ intro: "In-browser MCP server (rvagent-wasm, ~588 KB) with persistent IndexedDB storage. Tools run locally — no server roundtrip, works offline. Available as MCP (1) in the chat input.",tools: [- { name: "WASM gallery", desc: "18 templates exposed via the local WASM MCP server (visible as MCP (1) in the chat input)." },+ { name: "WASM gallery", desc: "18 prebuilt templates exposed via the local WASM MCP server." },{ name: "Custom templates", desc: "Add your own via the MCP Servers panel → Add Server." },+ { name: "Web Worker (opt-in)", desc: "Append ?worker=1 to the URL to run WASM MCP off the main thread." },],},];const tips = [- 'Click the **MCP** pill above the message box to manage servers and toggle individual tools.',- '**AUTO** = autopilot mode. ON: tool calls chain automatically. OFF: stops between calls so you can inspect each result.',- 'For long-horizon work, use `ruvector__hooks_trajectory_begin` so the system learns from the run.',- 'Memory persists across sessions — say "remember that X" or "what did we save about Y" anytime.',- 'Tool names are prefixed with their backend (`ruflo__`, `ruvector__`). Always use the full name when invoking explicitly.',+ "**MCP (n) pill** above the message box opens the server manager — toggle individual servers, add custom MCP endpoints, run health checks.",+ '**AUTO toggle**: green/lit means tool chains continue automatically. Gray means RuFlo stops after each tool result so you can inspect before continuing.',+ '**Parallel tool calls** — when your prompt implies multiple steps ("get system status AND list memory namespaces AND check performance"), the model emits all `tool_calls` in one response and they run via `Promise.all`. Watch for the "Step N — M tools completed" cards.',+ '**Memory just works** — say "remember my favorite color is indigo" and later "what color do I like?" — no explicit tool name needed.',+ '**Trajectory mode** — for long multi-step work, prefix with "Use `ruvector__hooks_trajectory_begin`" so the system learns from the run for future routing.',+ '**Tool name prefixes** — `ruflo__` is the agent/memory backend, `ruvector__` is the intelligence layer. Always use the full prefixed name when invoking explicitly.',+ ];++ const examplePrompts = [+ '"Use ruflo__memory_store namespace=prefs key=editor value=vim then ruflo__memory_retrieve to confirm."',+ '"Run ruflo__system_status, ruflo__performance_metrics, and ruflo__memory_list in parallel and summarize."',+ '"Spawn a 5-agent hierarchical swarm (architect, coder, tester, reviewer, security-auditor) for a Python→TypeScript refactor."',+ '"Use ruvector__hooks_route on the task: add OAuth to a SvelteKit API. Then spawn the recommended agent."',];let openGroup = $state<string | null>("memory");</script>-<Modal width="max-w-2xl" closeButton={false} {onclose}>- <div class="flex max-h-[85vh] w-full flex-col overflow-hidden rounded-2xl bg-white text-gray-900 dark:bg-gray-900 dark:text-gray-100">- <header class="flex items-center justify-between border-b border-gray-200 px-6 py-4 dark:border-gray-700">- <div class="flex items-center gap-3">- <span class="text-2xl">📘</span>+<Modal width="max-w-3xl" closeButton={false} {onclose}>+ <div class="flex max-h-[88vh] w-full flex-col overflow-hidden rounded-2xl bg-white text-gray-900 dark:bg-gray-900 dark:text-gray-100">+ <header class="flex items-start justify-between border-b border-gray-200 px-6 py-4 dark:border-gray-700">+ <div class="flex items-start gap-3">+ <span class="text-3xl leading-none">📘</span><div><h2 class="text-lg font-semibold">RuFlo Capabilities</h2>- <p class="text-xs text-gray-500 dark:text-gray-400">~210 MCP tools across 5 server groups + WASM gallery.</p>+ <p class="text-xs text-gray-500 dark:text-gray-400">~210 MCP tools · 5 server groups · 18 in-browser WASM tools · 6 frontier models · parallel tool calling</p></div></div><buttontype="button"onclick={() => onclose?.()}- class="flex size-8 items-center justify-center rounded-full text-gray-500 hover:bg-gray-100 hover:text-gray-900 dark:hover:bg-gray-700 dark:hover:text-white"+ class="flex size-8 shrink-0 items-center justify-center rounded-full text-gray-500 hover:bg-gray-100 hover:text-gray-900 dark:hover:bg-gray-700 dark:hover:text-white"aria-label="Close help"><CarbonClose />@@ -126,15 +182,49 @@<section class="mb-6"><h3 class="mb-2 text-sm font-semibold uppercase tracking-wide text-gray-500">Quick start</h3><ol class="list-decimal space-y-1.5 pl-5 text-sm">- <li>Pick a model (default: <code class="rounded bg-gray-100 px-1 dark:bg-gray-800">Gemini 2.5 Flash</code>).</li>- <li>Click an example below the chat box, or type your own prompt.</li>- <li>RuFlo decides which tools to call. Watch the streaming tool-call cards below your message.</li>- <li>Use <strong>AUTO</strong> on the chat box to auto-continue tool chains.</li>+ <li>Pick a model below (default: <code class="rounded bg-gray-100 px-1 dark:bg-gray-800">Claude Haiku 4.5</code>).</li>+ <li>Click an example prompt below the chat box, or type your own.</li>+ <li>RuFlo decides which tools to call. Watch the streaming tool-call cards below your message — multiple cards = parallel execution.</li>+ <li>Use <strong>AUTO</strong> on the chat box to chain tool calls automatically.</li>+ <li>Need to add a custom MCP server? Click the <strong>MCP (n)</strong> pill → Add Server.</li></ol></section><section class="mb-6">- <h3 class="mb-2 text-sm font-semibold uppercase tracking-wide text-gray-500">Tool groups</h3>+ <h3 class="mb-2 text-sm font-semibold uppercase tracking-wide text-gray-500">Models available</h3>+ <div class="overflow-hidden rounded-lg border border-gray-200 dark:border-gray-700">+ <table class="w-full text-xs">+ <thead class="bg-gray-50 text-gray-600 dark:bg-gray-800 dark:text-gray-400">+ <tr>+ <th class="px-3 py-2 text-left font-medium">Model</th>+ <th class="px-3 py-2 text-left font-medium">Provider</th>+ <th class="px-3 py-2 text-left font-medium">Best for</th>+ </tr>+ </thead>+ <tbody class="divide-y divide-gray-200 dark:divide-gray-700">+ {#each models as m}+ <tr class={m.isDefault ? "bg-blue-50/50 dark:bg-blue-900/10" : ""}>+ <td class="px-3 py-2 align-top">+ <div class="font-medium">{m.name}</div>+ {#if m.isDefault}+ <span class="mt-0.5 inline-block rounded bg-blue-600/10 px-1.5 py-0.5 text-[10px] font-semibold text-blue-700 dark:bg-blue-500/20 dark:text-blue-300">DEFAULT</span>+ {/if}+ </td>+ <td class="px-3 py-2 align-top text-gray-600 dark:text-gray-400">{m.provider}</td>+ <td class="px-3 py-2 align-top">+ <div>{m.strength}</div>+ <div class="mt-0.5 text-[11px] text-gray-500 dark:text-gray-400">{m.notes}</div>+ </td>+ </tr>+ {/each}+ </tbody>+ </table>+ </div>+ <p class="mt-2 text-[11px] text-gray-500 dark:text-gray-400">All models route through OpenRouter. Switch any time via <strong>Models</strong> in the sidebar.</p>+ </section>++ <section class="mb-6">+ <h3 class="mb-2 text-sm font-semibold uppercase tracking-wide text-gray-500">Tool groups <span class="text-gray-400">(click to expand)</span></h3><div class="space-y-2">{#each groups as group}<details@@ -168,6 +258,17 @@</div></section>+ <section class="mb-6">+ <h3 class="mb-2 text-sm font-semibold uppercase tracking-wide text-gray-500">Try these</h3>+ <ul class="space-y-1.5 text-xs">+ {#each examplePrompts as prompt}+ <li class="rounded-md border border-gray-200 bg-gray-50 px-3 py-2 font-mono text-gray-700 dark:border-gray-700 dark:bg-gray-800 dark:text-gray-300">+ {prompt}+ </li>+ {/each}+ </ul>+ </section>+<section class="mb-6"><h3 class="mb-2 text-sm font-semibold uppercase tracking-wide text-gray-500">Tips</h3><ul class="list-disc space-y-1.5 pl-5 text-sm">@@ -187,7 +288,12 @@</li><li><a href="https://github.com/ruvnet/ruflo/blob/main/ruflo/docs/adr/ADR-033-RUVOCAL-WASM-MCP-INTEGRATION.md" target="_blank" rel="noopener" class="text-blue-600 hover:underline dark:text-blue-400">- ADR-033 — WASM-MCP integration →+ ADR-033 — Web UI architecture →+ </a>+ </li>+ <li>+ <a href="https://github.com/ruvnet/ruflo/issues/1689" target="_blank" rel="noopener" class="text-blue-600 hover:underline dark:text-blue-400">+ Issue #1689 — UI capabilities & roadmap →</a></li><li>