RuVector/assets/ruvector/ruvector-walkthrough.md at main · ruvnet/RuVector · GitHub
Skip to content

Latest commit

 

History

History
313 lines (185 loc) · 13.1 KB

ruvector-walkthrough.md

File metadata and controls

313 lines (185 loc) · 13.1 KB

RuVector full animated walkthrough

Watch the full 23 chapter tour below, then explore each area at your own pace. The complete animation lasts 4 minutes 36 seconds; the README features a separate 32 second trailer.

Full RuVector animation covering all 23 chapters

Open the full animation · Back to the README trailer

Explore each area

Each chapter opens with a full width animated explainer panel. A section specific diagram and three highlighted steps introduce the idea in a nine second loop, with a plain language explanation and practical boundaries below.

The tour uses an entirely vector based intro and conceptual illustrations inspired by the supplied RuVector Explorer. The original attached bitmap is not embedded. The visual style follows the supplied Explorer screenshot: a black instrument canvas, branching search trees, orange path traversal, mint recall hints, and compact monospace labels. All five views are included: Canopy reveals expanding branches; Hyper moves the graph focus; Tree traces layered hops; Space shows query trails; Learn highlights Recall, Search, Score, Store and Adapt in sequence. These views are conceptual SVG animations; no Three.js or scripts are required. It is an explanation, not a live benchmark or interactive explorer.

INTRO: Memory that stays. Search that understands.

INTRO: Memory that stays. Search that understands. Animated diagram and three explanatory steps.

RuVector combines local retrieval, relationships and feedback.

  • Remember useful context
  • Find related information
  • Improve with measured outcomes

A guided tour of the system • Illustrations are conceptual

01 / THE BIG PICTURE: Give your agent a useful memory.

01 / THE BIG PICTURE: Give your agent a useful memory. Animated diagram and three explanatory steps.

Capture → encode → store → recall → act → record feedback.

  • Keep facts and past decisions
  • Find context for the next task
  • Choose what the agent may act on

Your application decides what to remember and which evidence to trust.

02 / EMBEDDINGS: Turn meaning into coordinates.

02 / EMBEDDINGS: Turn meaning into coordinates. Animated diagram and three explanatory steps.

An embedding model turns text into a list of numbers.

  • Similar ideas sit near each other
  • Different wording can still match
  • Use one model and dimension per store

Local semantic mode uses a model downloaded and cached on first use.

03 / SEMANTIC RECALL: Ask naturally. Find the relevant memory.

03 / SEMANTIC RECALL: Ask naturally. Find the relevant memory. Animated diagram and three explanatory steps.

A new question becomes a vector in the same space.

  • Question: Where can data run?
  • Memory: Keep inference in Canada
  • Retrieve context, then let the agent reason

Similarity helps find context. It does not establish truth.

04 / HNSW SEARCH: Take shortcuts through your data.

04 / HNSW SEARCH: Take shortcuts through your data. Animated diagram and three explanatory steps.

HNSW is a layered network of nearby vectors.

  • Start with a few long distance hops
  • Move into a denser local neighborhood
  • Return the closest candidates found

Approximate search trades some recall for less search work.

05 / THE EXPLORER: Watch the search find its way.

05 / THE EXPLORER: Watch the search find its way. Animated diagram and three explanatory steps.

Your attached explorer makes search behavior visible.

  • Canopy and Tree reveal each hop
  • Space shows a projected vector map
  • Hyper shows branches inside a disk

The WASM engine and animated JavaScript trace are separate implementations.

06 / SEARCH QUALITY: Fast is useful when recall holds.

06 / SEARCH QUALITY: Fast is useful when recall holds. Animated diagram and three explanatory steps.

Compare approximate results with an exact flat scan.

  • Recall: how many true neighbors return?
  • Latency: how long does a query take?
  • Search breadth: how much work is allowed?

Higher search breadth usually costs more work. Measure on your data.

07 / PERSISTENCE: Close the process. Keep the memory.

07 / PERSISTENCE: Close the process. Keep the memory. Animated diagram and three explanatory steps.

VectorDB persists vectors, metadata and configuration.

  • Store a fact with source and tenant
  • Reopen the same storagePath later
  • Recall it in a new agent session

Current HNSW reopening rebuilds the index. Measure cold start time.

08 / MEMORY TYPES: Facts, experiences and ways of working.

08 / MEMORY TYPES: Facts, experiences and ways of working. Animated diagram and three explanatory steps.

Use memory types to organize what the agent knows.

  • Working: current task and session
  • Episodic: what happened and its outcome
  • Semantic: facts • Procedural: skills

AgenticDB has persistent typed records; the unified ruvllm manager is in memory.

09 / RELATIONSHIPS: Find connections, not just similar text.

09 / RELATIONSHIPS: Find connections, not just similar text. Animated diagram and three explanatory steps.

Graph memory links people, projects, events and decisions.

  • Follow who approved a decision
  • Connect an outcome to its procedure
  • Reconstruct context across several hops

Graph reconstruction and learned shortcuts require separate integration.

10 / HYBRID RETRIEVAL: Combine meaning with exact details.

10 / HYBRID RETRIEVAL: Combine meaning with exact details. Animated diagram and three explanatory steps.

Different retrieval components answer different questions.

  • Dense search finds similar meaning
  • Sparse search preserves exact terms
  • Filters and graph paths narrow context

Core filters apply to candidates; selective filters can return fewer results.

11 / TIME AND CONTEXT: Old facts may need a second look.

11 / TIME AND CONTEXT: Old facts may need a second look. Animated diagram and three explanatory steps.

Temporal recall can prefer recent, supported memories.

  • Let stale observations lose weight
  • Keep timestamps and supporting sources
  • Tune retention for the actual domain

Temporal coherence is a proof of concept for moderate memory sets.

12 / EXPLORER LEARNING: Remember a route. Adjust the search effort.

12 / EXPLORER LEARNING: Remember a route. Adjust the search effort. Animated diagram and three explanatory steps.

The demo learns query hints and tunes search breadth.

  • Recall similar past queries and answers
  • Score against an exact reference
  • Store the route and adjust ef or nprobe

This demo does not change the index or run SONA. Exact scoring is a demo aid.

13 / SONA AND FEEDBACK: Learning needs an outcome.

13 / SONA AND FEEDBACK: Learning needs an outcome. Animated diagram and three explanatory steps.

SONA can adapt small weights from trajectories and rewards.

  • Record what the agent tried
  • Supply a success or quality signal
  • Consolidate to protect useful learning

Reading memory alone does not train weights or guarantee improvement.

14 / LOCAL DECISIONS: Some tasks need a decision, not an essay.

14 / LOCAL DECISIONS: Some tasks need a decision, not an essay. Animated diagram and three explanatory steps.

The separate typesafe package supports bounded decisions.

  • Route a support ticket to a department
  • Estimate urgency with a score
  • Abstain when confidence is insufficient

Use real semantic embeddings and labeled evaluation; the hash embedder is a test double.

15 / COMPRESSION: Fit more memory into less space.

15 / COMPRESSION: Fit more memory into less space. Animated diagram and three explanatory steps.

Specialized components reduce storage and search costs.

  • Quantization uses smaller representations
  • Coarse search narrows the candidate set
  • Reranking checks the strongest candidates

Compression can reduce recall. Core quantization settings alone do not compress storage.

16 / MEMORY LIFECYCLE: Keep what matters. Recover when needed.

16 / MEMORY LIFECYCLE: Keep what matters. Recover when needed. Animated diagram and three explanatory steps.

Manage memory beyond insertion and search.

  • Compact according to a chosen policy
  • Use snapshots and portable RVF artifacts
  • Branch memory for isolated experiments

Compaction and snapshot restore are not all wired into the default VectorDB path.

17 / TRUST AND ACCESS: Memory informs. Policy authorizes.

17 / TRUST AND ACCESS: Memory informs. Policy authorizes. Animated diagram and three explanatory steps.

Keep retrieval separate from permission to act.

  • Enforce user identity and access rules
  • Track sources and tamper evident lineage
  • Apply retention to exports and copies too

Filters are not full authorization. Witness logs do not encrypt the data.

18 / DEPLOYMENT: Start local. Add the pieces you need.

18 / DEPLOYMENT: Start local. Add the pieces you need. Animated diagram and three explanatory steps.

Choose the runtime that fits your application.

  • Node.js or Rust for embedded services
  • Separate WASM package for the browser
  • HTTP service, PostgreSQL or RVF as needed

Installing ruvector does not activate every component in the repository.

19 / SHARED MEMORY: Share deliberately across agents.

19 / SHARED MEMORY: Share deliberately across agents. Animated diagram and three explanatory steps.

Optional shared memory adds a separate data boundary.

  • Review what leaves the local process
  • Retain provenance and trust controls
  • Evaluate replication for your topology

Shared Brain is optional and hosted. Replication primitives are not a complete network plane.

20 / AGENT TOOLS: Connect memory to your agent.

20 / AGENT TOOLS: Connect memory to your agent. Animated diagram and three explanatory steps.

MCP and coding hooks expose memory operations.

  • Start with an explicit tool policy
  • Pin the installed package for automation
  • Inspect and verify generated hook config

Read only MCP profile: RUVECTOR_MCP_PROFILE=readonly

21 / VALIDATION: Test the outcome, not just the animation.

21 / VALIDATION: Test the outcome, not just the animation. Animated diagram and three explanatory steps.

Choose a workload and measure quality alongside cost.

  • Record recall, p95 latency and memory
  • Compare against a tuned fixed baseline
  • Promote changes only after evaluation

Explorer timings and demo savings are not production performance guarantees.

22 / GET STARTED: Give your next agent a memory that lasts.

22 / GET STARTED: Give your next agent a memory that lasts. Animated diagram and three explanatory steps.

Start with npx. Remember one fact. Recall it in a new process.

  • npx ruvector
  • npx ruvector info
  • npm install ruvector

No database server or API key required for the local memory quick start.

Try persistent semantic memory

Use Node.js 20 or newer for the current npm package. npx fetches and runs the CLI; npm install ruvector installs it as a project dependency.

npx ruvector
npx ruvector info
npx ruvector hooks remember --semantic --type decision "The customer requires all inference to remain in Canada."
npx ruvector hooks recall --semantic --top-k 3 "Where may customer data be processed?"

Run the recall command as a new process in the same project. The acceptance test is that it retrieves the stored Canada decision. The first semantic command downloads and caches its embedding model.

Sources and scope

Source review: 2026-10-06. Repository README blob: 251d6ae7b6ce0fbe668224dd8eefccfb445c9cef.