AgentDB Vector Search
Implement semantic vector search with AgentDB for intelligent document retrieval, similarity matching, and context-aware querying.
Skill by AlphaSaleAidan
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/alphasaleaidan-agentdb-vector-search
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documents, ml
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
AgentDB Vector Search- Description
- Implement semantic vector search with AgentDB for intelligent document retrieval, similarity matching, and context-aware querying. Use when building RAG systems, semantic search engines, or intelligent knowledge bases.
- License
- MIT
- Instructions
- 336 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- name: only lowercase letters, digits and single hyphens allowed
- name: "AgentDB Vector Search" does not match folder "agentdb-vector-search"
Files (2)
- LICENSE
- SKILL.md
SKILL.md (first lines)
# 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
```bash
# 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
```bash
# Basic similarity search
npx agentdb@latest query ./vectors.db "[0.1,0.2,0.3,...]"
# Top-k results
npx agentdb@latest query ./vectors.db "[0.1,0.2,0.3]" -k 10
# With similarity threshold (cosine similarity)
npx agentdb@latest query ./vectors.db "0.1 0.2 0.3" -t 0.75 -m cosine
# Different distance metrics
npx agentdb@latest query ./vectors.db "[...]" -m euclidean # L2 distance
npx agentdb@latest query ./vectors.db "[...]" -m dot # Dot product
# JSON output for automation
npx agentdb@latest query ./vectors.db "[...]" -f json -k 5
# Verbose output with distances
npx agentdb@latest query ./vectors.db "[...]" -v
```
### Import/Export Vectors
```bash
# Export vectors to JSON
npx agentdb@latest export ./vectors.db ./backup.json
# Import vectors from JSON
npx agentdb@latest import ./backup.json
# Get database statistics
npx agentdb@latest stats ./vectors.db
```
## Quick Start with API
```typescript
import { createAgentDBAdapter, computeEmbedding } from 'agentic-flow/reasoningbank';
// Initialize with vector search optimizations
const adapter = await createAgentDBAdapter({
dbPath: '.agentdb/vectors.db',
enableLearning: false, // Vector search only
enableReasoning: true, // Enable semantic matching
quantizationType: 'binary', // 32x memory reduction
cacheSize: 1000, // Fast retrieval
});
// Store document with embedding
const text = "The quantum computer achieved 100 qubits";
const embedding = await computeEmbedding(text);
await adapter.insertPattern({
id: '',
type: 'document',
domain: 'technology',
pattern_data: JSON.stringify({
embedding,
text,
metadata: { category: "quantum", date: "2025-01-15" }
}),
confidence: 1.0,
usage_count: 0,
success_count: 0,
created_at: Date.now(),
last_used: Date.now(),
});
// Semantic search with MMR (Maximal Marginal Relevance)
const queryEmbedding = await computeEmbedding("quantum computing advances");
const results = await adapter.retrieveWithReasoning(queryEmbedding, {
domain: 'technology',
k: 10,
useMMR: true, // Diverse results
synthesizeContext: true, // Rich context
});
```
## Core Features
### 1. Vector Storage
```typescript
// Store with automatic embedding
await db.storeWithEmbedding({From AlphaSaleAidan/opus-5-5-x-gpt-skill-tree, MIT.
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Sep 23, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.496score
AgentDB Vector Search
ovachiever
Implement semantic vector search with AgentDB for intelligent document retrieval, similarity matching, and context-aware querying.
SkillDFreshness: D★ 55Claude Code +9 - 0.352score
AgentDB Vector Search
lilinji
Implement semantic vector search with AgentDB for intelligent document retrieval, similarity matching, and context-aware querying.
SkillBFreshness: B★ 16Claude Code +9 - 0.318score
AgentDB Vector Search
anubhavg-icpl
Implement semantic vector search with AgentDB for intelligent document retrieval, similarity matching, and context-aware querying.
SkillCFreshness: C★ 11Claude Code +9 - 0.304score
AgentDB Vector Search
harshvardhankulkarni
Implement semantic vector search with AgentDB for intelligent document retrieval, similarity matching, and context-aware querying.
SkillBFreshness: BClaude Code +9 - 0.293score
AgentDB Vector Search
Manojkumar7671
Implement semantic vector search with AgentDB for intelligent document retrieval, similarity matching, and context-aware querying.
SkillCFreshness: C★ 1Claude Code +9 - 0.285score
AgentDB Vector Search
agenticdevops
Implement semantic vector search with AgentDB for intelligent document retrieval, similarity matching, and context-aware querying.
SkillDFreshness: D★ 19Claude Code +9 - 0.283score
AgentDB Vector Search
aegntic
Implement semantic vector search with AgentDB for intelligent document retrieval, similarity matching, and context-aware querying.
SkillDFreshness: D★ 12Claude Code +9 - 0.277score
AgentDB Vector Search
yycholla
Implement semantic vector search with AgentDB for intelligent document retrieval, similarity matching, and context-aware querying.
SkillCFreshness: CClaude Code +9 - 0.251score
AgentDB Vector Search
Geralt1983
Implement semantic vector search with AgentDB for intelligent document retrieval, similarity matching, and context-aware querying.
SkillDFreshness: D★ 1Claude Code +9
Cite this page
AgentDB Vector Search skill. Agent Mart. https://agentmart.dev/skills/alphasaleaidan-agentdb-vector-search (last updated 2026-10-24)