ruvnet avatar

AgentDB Vector Search

This adds vector search to Claude using AgentDB, which claims 150x to 12,500x faster operations than traditional vector databases with sub-100 microsecond search times. It uses HNSW indexing and quantization under the hood. You'll need Node.js 18+, AgentDB v1.0.7+, and an OpenAI API key for embeddings, though custom models work too. The setup is straightforward with a CLI init command. Worth considering if you're building semantic search features and speed matters, though the performance claims are aggressive enough that you'd want to benchmark against your own data. It's part of the larger ruflo skill collection from ruvnet.

GitHub stars
67.2K
last updated
Aug 21, 2026

Install

$ npx -y skills add ruvnet/ruflo --skill 'AgentDB Vector Search' --agent claude-code

Installs into .claude/skills of the current project.

Files

AgentDB Vector Search

What This Skill Does

Implements vector-based semantic search using AgentDB's high-performance vector database with 150x-12,500x faster operations than traditional solutions. Features HNSW indexing, quantization, and sub-millisecond search (<100µs).

Prerequisites

  • Node.js 18+
  • AgentDB v1.0.7+ (via agentic-flow or standalone)
  • OpenAI API key (for embeddings) or custom embedding model

Quick Start with CLI

Initialize Vector Database

# Initialize with default dimensions (1536 for OpenAI ada-002)
npx agentdb@latest init .$vectors.db

# Custom dimensions for different embedding models
npx agentdb@latest init .$vectors.db --dimension 768  # sentence-transformers
npx agentdb@latest init .$vectors.db --dimension 384  # all-MiniLM-L6-v2

# Use preset configurations
npx agentdb@latest init .$vectors.db --preset small   # <10K vectors
npx agentdb@latest init .$vectors.db --preset medium  # 10K-100K vectors
npx agentdb@latest init .$vectors.db --preset large   # >100K vectors

# In-memory database for testing
npx agentdb@latest init .$vectors.db --in-memory

Query Vector Database

Sponsors

Details

Repository
github.com/ruvnet/ruflo
Category
AI & Agent Building
First seen
Jun 3, 2026

More from ruvnet/ruflo

All 236
1spencermarx avatarAgentDB Vector Searchspencermarx/open-code-reviewImplement semantic vector search with AgentDB for intelligent document retrieval, similarity matching, and context-aware querying. Use when building RAG systems0skills.sh installs
2sunflowermm avatarxrk-mcpsunflowermm/XRK-AGT当你需要理解或扩展 MCP 工具(Model Context Protocol)、工具注册/分组/远程 MCP 连接与 LLM tool calling 的关系时使用。0skills.sh installs
3inference-sh avatarai-image-generationinference-sh/skillsGenerate AI images with GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: GPT-Image-2, FLUX Dev LoRA, FLUX.2 Klein Lo1.7Mskills.sh installs
4xixu-me avatarrunning-claude-code-via-litellm-copilotxixu-me/skillsUse when routing Claude Code through a local LiteLLM proxy to GitHub Copilot, reducing direct Anthropic spend, configuring ANTHROPIC_BASE_URL or ANTHROPIC_MODEL520.2Kskills.sh installs
5runcomfy-com avatarai-video-generationruncomfy-com/skillsGenerate AI videos on RunComfy via the `runcomfy` CLI — a smart router across the full video-model catalog: HappyHorse 1.0 (Arena #1, native in-pass audio), Wan392.8Kskills.sh installs
6doany-ai avatarai-image-generationdoany-ai/skillsGenerate and edit images on RunComfy via the `runcomfy` CLI — a smart router across the full image-model catalog: FLUX 2 (Klein 9B/4B, Pro, Dev, Flash, Turbo, M274.2Kskills.sh installs