advanced-agentdb-vector-search-implementation
БесплатноБез исполняемых скриптовНе проверенMaster advanced AgentDB features including QUIC synchronization, multi-database management, custom distance metrics, hybrid search, and distributed systems…
от majiayu000★ 31 звезда на GitHubОб этом скилле
Advanced AgentDB Vector Search Implementation
LIBRARY-FIRST PROTOCOL (MANDATORY)
Before writing ANY code, you MUST check:
Step 1: Library Catalog
- Location:
.claude/library/catalog.json - If match >70%: REUSE or ADAPT
Step 2: Patterns Guide
- Location:
.claude/docs/inventories/LIBRARY-PATTERNS-GUIDE.md - If pattern exists: FOLLOW documented approach
Step 3: Existing Projects
- Location:
D:\Projects\* - If found: EXTRACT and adapt
Decision Matrix
| Match | Action |
|---|---|
| Library >90% | REUSE directly |
| Library 70-90% | ADAPT minimally |
| Pattern exists | FOLLOW pattern |
| In project | EXTRACT |
| No match | BUILD (add to library after) |
Overview
Master advanced AgentDB features including QUIC synchronization, multi-database management, custom distance metrics, hybrid search, and distributed systems integration for building distributed AI systems, multi-agent coordination, and advanced vector search applications.
When to Use This Skill
Use this skill when you need to:
- Build distributed vector search systems
- Implement multi-agent coordination with shared memory
- Create custom similarity metrics for specialized domains
- Deploy hybrid search combining vector and traditional methods
- Scale AgentDB to production with high availability
- Synchronize multiple AgentDB instances in real-time
SOP Framework: 5-Phase Advanced Vector Search Deployment
Phase 1: Setup AgentDB Infrastructure (2-3 hours)
Objective: Initialize multi-database AgentDB infrastructure with proper configuration
Agent: backend-dev
Steps:
- Install AgentDB with advanced features
npm install agentdb-advanced@latest
npm install @agentdb/quic-sync @agentdb/distributed
- Initialize primary database
import { AgentDB } from 'agentdb-advanced';
import { QUICSync } from '@agentdb/quic-sync';
const primaryDB = new AgentDB({
name: 'primary-vector-db',
dimensions: 1536, // OpenAI embedding size
indexType: 'hnsw',
distanceMetric: 'cosine',
persistPath: './data/primary',
advanced: {
enableQUIC: true,
multiDB: true,
hybridSearch: true
}
});
await primaryDB.initialize();
- Configure replica databases
const replicas = await Promise.all([
AgentDB.createReplica('replica-1', {
primary: primaryDB,
syncMode: 'quic',
persistPath: './data/replica-1'
}),
AgentDB.createReplica('replica-2', {
primary: primaryDB,
syncMode: 'quic',
persistPath: './data/replica-2'
})
]);
- Setup health monitoring
const monitor = primaryDB.createMonitor({
checkInterval: 5000,
metrics: ['latency', 'throughput', 'replication-lag'],
alerts: {
replicationLag: 1000, // ms
errorRate: 0.01
}
});
monitor.on('alert', (alert) => {
console.error('Database alert:', alert);
});
Memory Pattern:
await agentDB.memory.store('agentdb/infrastructure/config', {
primary: primaryDB.id,
replicas: replicas.map(r => r.id),
syncMode: 'quic',
timestamp: Date.now()
});
Validation:
- Primary database initialized
- Replicas connected and syncing
- Health monitor active
- Configuration stored in memory
Evidence-Based Validation:
// Self-consistency check across replicas
const testVector = Array(1536).fill(0).map(() => Math.random());
await primaryDB.insert({ id: 'test-1', vector: testVector });
// Wait for sync
await new Promise(resolve => setTimeout(resolve, 100));
// Verify consistency
const checks = await Promise.all(
replicas.map(r => r.get('test-1'))
);
const consistent = checks.every(c =>
c && vectorEquals(c.vector, testVector)
);
console.log('Consistency check:', consistent ? 'PASS' : 'FAIL');
Phase 2: Configure Advanced Features (2-3 hours)
Objective: Setup QUIC synchronization, multi-DB coordination, and advanced routing
Agent: ml-developer
Steps:
- Configure QUIC synchronization
import { QUICConfig } from '@agentdb/quic-sync';
const quicSync = new QUICSync({
primary: primaryDB,
replicas: replicas,
config: {
maxStreams: 100,
idleTimeout: 30000,
keepAlive: 5000,
congestionControl: 'cubic',
prioritization: 'weighted-round-robin'
}
});
await quicSync.start();
// Monitor sync performance
quicSync.on('sync-complete', (stats) => {
console.log('Sync stats:', {
duration: stats.duration,
vectorsSynced: stats.count,
throughput: stats.count / (stats.duration / 1000)
});
});
- Implement multi-database router
import { MultiDBRouter } from '@agentdb/distributed';
const router = new MultiDBRouter({
databases: [primaryDB, ...replicas],
strategy: 'load-balanced', /
Установить advanced-agentdb-vector-search-implementation в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл advanced-agentdb-vector-search-implementation?
Master advanced AgentDB features including QUIC synchronization, multi-database management, custom distance metrics, hybrid search, and distributed systems integration for building distributed AI systems, multi-agent coordination, and advanced vector search applications.
Как установить скилл advanced-agentdb-vector-search-implementation?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл advanced-agentdb-vector-search-implementation запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
agent-skill-stack
Find, evaluate, and assemble the smallest compatible set of AI Agent Skills for an end-to-end natural-language goal. Use when a user wants Skills for a…
от GitHubbuild-evidence-map
Build an auditable evidence map for a contested technical choice, research synthesis, proposal review, or consequential decision. Use when Copilot must…
от GitHubpinecone-rag
Build production RAG pipelines and persistent agent memory using Pinecone as the vector database backend. ALWAYS USE THIS SKILL when the user mentions…
от GitHubqdrant-monitoring-debugging
Diagnoses Qdrant production issues using metrics and observability tools. Use when someone reports 'optimizer stuck', 'indexing too slow', 'memory too high'…
от GitHub