AgentDB Vector Search

Perform semantic vector search and retrieval over documents using AgentDB.

4.4k|580|Updated Nov 19, 2025
One-click install
npx skills add https://github.com/ruvnet/ruvector --skill agentdb-vector-search-ruvnet
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: AgentDB Vector Search
Source: https://github.com/ruvnet/ruvector/tree/main/.claude/skills/agentdb-vector-search
Command: npx skills add https://github.com/ruvnet/ruvector --skill agentdb-vector-search-ruvnet

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables semantic vector search and retrieval over documents using AgentDB's high-performance vector database with HNSW indexing, quantization, and sub-millisecond responses.

Core Features & Use Cases

  • Vector storage and semantic search with local, scalable deployments.
  • Hybrid search combining vector similarity with metadata filters for precise results.
  • RAG-ready integration: build retrieval augmented generation pipelines for knowledge bases and intelligent document retrieval.
  • Use Case: Build a knowledge-base search for a research team that finds the most relevant sections across thousands of documents in seconds.

Quick Start

Install Node.js 18+ and AgentDB, then initialize a database and run a sample query:

  • npx agentdb@latest init ./vectors.db
  • npx agentdb@latest query ./vectors.db "[0.1,0.2,0.3,...]" -k 5

Frequently Asked Questions about AgentDB Vector Search

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement semantic vector search for a local knowledge base?

Semantic vector search for a local knowledge base is implemented using AgentDB with HNSW indexing, enabling sub-millisecond retrieval across thousands of documents. You initialize a database and run queries using an embedding model to produce vectors.

Can I build a RAG pipeline using AgentDB for document retrieval?

Yes, you can build retrieval augmented generation (RAG) pipelines using AgentDB for intelligent document retrieval. It provides RAG-ready integration by storing document embeddings and retrieving relevant sections through high-performance vector similarity searches.

Does AgentDB vector search support hybrid search with metadata filters?

AgentDB vector search supports hybrid search by combining vector similarity with metadata filters. This allows you to execute precise queries that narrow down semantic search results based on specific document attributes.

What do I need to run a local vector database with HNSW indexing?

To run a local vector database with HNSW indexing, you need Node.js 18+ and AgentDB v1.0.7 or higher. You also need an embedding model to generate the vectors for storage and retrieval.

How do I query a local vector database from the command line?

You query a local vector database from the command line using npx agentdb, passing the database file, your embedding vector, and the desired number of results. This returns the most similar vectors using HNSW indexing and quantization.