ruvector/examples
Claude 05c90c77d1 docs: Add crate READMEs, AGI optimization review, and root README update
- ruvector-solver README with algorithm table, performance optimizations
- ruvector-attn-mincut README with min-cut gating architecture
- ruvector-coherence README with metrics and comparison docs
- ruvector-profiler README with profiling hooks documentation
- AGI sublinear optimization review (18-agi-sublinear-optimization.md)
- Root README updated with sublinear solver section
- Enhanced solver_witness RVF example

https://claude.ai/code/session_01TiqLbr2DaNAntQHaVeLfiR
2026-02-20 07:07:37 +00:00
..
agentic-jujutsu feat: Add comprehensive agentic-jujutsu integration examples and tests 2025-11-22 03:12:31 +00:00
apify Add WebAssembly binary and TypeScript definitions for rvlite 2025-12-25 19:50:53 +00:00
app-clip feat(app-clip): add Swift App Clip skeleton for RVQS QR seed decoding 2026-02-15 18:34:13 +00:00
benchmarks feat(rvf): rvf-solver-wasm — self-learning AGI engine compiled to WASM 2026-02-16 00:43:12 +00:00
data feat(data-framework): v0.3.0 with HNSW, similarity cache, and batch embeddings (#107) 2026-01-05 16:16:38 -05:00
delta-behavior feat(delta-behavior): Complete Δ-behavior implementation with WASM 2026-01-28 04:18:34 +00:00
dna docs(rvdna): add health mission, npm/crate details, mermaid diagrams 2026-02-12 15:55:02 +00:00
docs docs: Organize examples/ with comprehensive READMEs 2025-11-29 14:05:04 +00:00
edge fix(security): Address critical security and performance issues in ZK proofs 2026-01-01 19:52:44 +00:00
edge-full/pkg feat(edge-full): add unified WASM package with all modules 2025-12-31 20:59:29 +00:00
edge-net feat(training): RuvLTRA v2.4 Ecosystem Edition - 100% routing accuracy (#123) 2026-01-20 20:08:30 -05:00
exo-ai-2025 style: apply rustfmt across entire codebase 2026-01-28 17:00:26 +00:00
google-cloud fix(ci): Fix formatting and workflow permission issues 2025-12-26 22:11:57 +00:00
graph docs: Organize examples/ with comprehensive READMEs 2025-11-29 14:05:04 +00:00
meta-cognition-spiking-neural-network feat(gnn-v2): Comprehensive GNN v2 implementation with cognitive substrate (#43) 2025-12-02 11:26:10 -05:00
mincut fix(ci): Fix formatting and workflow permission issues 2025-12-26 22:11:57 +00:00
neural-trader docs(neural-trader): comprehensive README with features, benchmarks, use cases 2025-12-31 18:03:56 +00:00
nodejs docs: Organize examples/ with comprehensive READMEs 2025-11-29 14:05:04 +00:00
onnx-embeddings chore(onnx-embeddings): fix crates.io category slug 2025-12-31 03:37:06 +00:00
onnx-embeddings-wasm docs(onnx-wasm): comprehensive README update for v0.1.2 2025-12-31 05:10:36 +00:00
OSpipe feat(rvf): RuVector Format — Universal Cognitive Container SDK (#166) 2026-02-14 13:14:49 -05:00
prime-radiant feat(prime-radiant): Advanced Mathematical Frameworks + fix(router): VectorDb Deadlock (#133) (#132) 2026-01-24 12:30:59 -05:00
pwa-loader feat(pwa-loader): add in-browser RVF seed decoder PWA 2026-02-15 18:38:10 +00:00
refrag-pipeline fix(ci): Fix formatting and workflow permission issues 2025-12-26 22:11:57 +00:00
rust feat(postgres): Add HNSW index and embedding functions support (#62) 2025-12-09 11:14:52 -05:00
ruvLLM fix: HNSW index bugs, agent/SPARQL crashes, lru security (#152, #164, #167, #171, #148) 2026-02-15 06:15:00 +00:00
rvf docs: Add crate READMEs, AGI optimization review, and root README update 2026-02-20 07:07:37 +00:00
scipix fix(ci): Fix formatting and workflow permission issues 2025-12-26 22:11:57 +00:00
spiking-network feat(micro-hnsw-wasm): Add Neuromorphic HNSW v2.3 with SNN Integration (#40) 2025-12-01 22:30:15 -05:00
subpolynomial-time fix(ci): Fix formatting and workflow permission issues 2025-12-26 22:11:57 +00:00
ultra-low-latency-sim feat(examples): Add ultra-low-latency meta-simulation engine (#53) 2025-12-04 18:00:21 -05:00
vibecast-7sense docs(mincut): Add ADR/DDC for Anytime-Valid Coherence Gate (#115) 2026-01-17 14:36:52 -05:00
vwm-viewer feat: add package.json for rvdna example with WASM bindings and build scripts 2026-02-12 15:32:55 +00:00
wasm/ios feat(training): RuvLTRA v2.4 Ecosystem Edition - 100% routing accuracy (#123) 2026-01-20 20:08:30 -05:00
wasm-react docs: Organize examples/ with comprehensive READMEs 2025-11-29 14:05:04 +00:00
wasm-vanilla docs: Organize examples/ with comprehensive READMEs 2025-11-29 14:05:04 +00:00
bounded_instance_demo.rs feat(mincut): Add subpolynomial-time dynamic minimum cut system (#74) 2025-12-23 07:53:32 -05:00
README.md docs: Organize examples/ with comprehensive READMEs 2025-11-29 14:05:04 +00:00

RuVector Examples

Comprehensive examples demonstrating RuVector's capabilities across multiple platforms and use cases.

Directory Structure

examples/
├── rust/                 # Rust SDK examples
├── nodejs/               # Node.js SDK examples
├── graph/                # Graph database features
├── wasm-react/           # React + WebAssembly integration
├── wasm-vanilla/         # Vanilla JS + WebAssembly
├── agentic-jujutsu/      # AI agent version control
├── exo-ai-2025/          # Advanced cognitive substrate
├── refrag-pipeline/      # Document processing pipeline
└── docs/                 # Additional documentation

Quick Start by Platform

Rust

cd rust
cargo run --example basic_usage
cargo run --example advanced_features
cargo run --example agenticdb_demo

Node.js

cd nodejs
npm install
node basic_usage.js
node semantic_search.js

WebAssembly (React)

cd wasm-react
npm install
npm run dev

WebAssembly (Vanilla)

cd wasm-vanilla
# Open index.html in browser

Example Categories

Category Directory Description
Core API rust/basic_usage.rs Vector DB fundamentals
Batch Ops rust/batch_operations.rs High-throughput ingestion
RAG Pipeline rust/rag_pipeline.rs Retrieval-Augmented Generation
Advanced rust/advanced_features.rs Hypergraphs, neural hashing
AgenticDB rust/agenticdb_demo.rs AI agent memory system
GNN rust/gnn_example.rs Graph Neural Networks
Graph graph/ Cypher queries, clustering
Node.js nodejs/ JavaScript integration
WASM React wasm-react/ Modern React apps
WASM Vanilla wasm-vanilla/ Browser without framework
Agentic Jujutsu agentic-jujutsu/ Multi-agent version control
EXO-AI 2025 exo-ai-2025/ Cognitive substrate research
Refrag refrag-pipeline/ Document fragmentation

Feature Highlights

Vector Database Core

  • High-performance similarity search
  • Multiple distance metrics (Cosine, Euclidean, Dot Product)
  • Metadata filtering
  • Batch operations

Advanced Features

  • Hypergraph Index: Multi-entity relationships
  • Temporal Hypergraph: Time-aware relationships
  • Causal Memory: Cause-effect chains
  • Learned Index: ML-optimized indexing
  • Neural Hash: Locality-sensitive hashing
  • Topological Analysis: Persistent homology

AgenticDB

  • Reflexion episodes (self-critique)
  • Skill library (consolidated patterns)
  • Causal memory (hypergraph relationships)
  • Learning sessions (RL training data)
  • Vector embeddings (core storage)

EXO-AI Cognitive Substrate

  • exo-core: IIT consciousness, thermodynamics
  • exo-temporal: Causal memory coordination
  • exo-hypergraph: Topological structures
  • exo-manifold: Continuous deformation
  • exo-exotic: 10 cutting-edge experiments
  • exo-wasm: Browser deployment
  • exo-federation: Distributed consensus
  • exo-node: Native bindings
  • exo-backend-classical: Classical compute

Running Benchmarks

# Rust benchmarks
cargo bench --example advanced_features

# Refrag pipeline benchmarks
cd refrag-pipeline
cargo bench

# EXO-AI benchmarks
cd exo-ai-2025
cargo bench

License

MIT OR Apache-2.0