### AgentDB Quick Start Command Source: https://agentdb.ruv.io/docs/index This command-line interface (CLI) command launches an interactive wizard to help you create custom AgentDB configurations, examples, and integrations quickly. It requires Node.js and npm to be installed on your system. ```bash npx agentdb ``` -------------------------------- ### Initialize AgentDB via CLI Source: https://agentdb.ruv.io/docs/index Shows the command-line interface command to initialize an AgentDB database file. This is a simple, zero-configuration step. ```bash $ agentdb init --path ./memory.db ``` -------------------------------- ### Initialize and Use AgentDB Vector Database (Node.js) Source: https://agentdb.ruv.io/docs/index Demonstrates how to initialize a vector database using AgentDB in a Node.js environment, insert data in batches, and perform similarity searches. Requires the 'agentdb' package. ```javascript import { createVectorDB } from 'agentdb'; // Initialize database const db = createVectorDB({ path: './memory.db' }); // Insert vectors await db.insertBatch([ { embedding: [0.1, 0.2, 0.3, ...], metadata: { type: 'pattern', task: 'code_gen' } } ]); // Search similar vectors const results = await db.search( queryEmbedding, 10, 'cosine', 0.8 ); console.log('Found:', results.length); ``` -------------------------------- ### Display AgentDB Statistics via CLI Source: https://agentdb.ruv.io/docs/index Demonstrates the command-line command to display statistics for an AgentDB instance, including vector count, storage size, index type, and search performance. ```bash $ agentdb stats ``` -------------------------------- ### Check AgentDB Sync Status via CLI Source: https://agentdb.ruv.io/docs/index Provides the command-line command to check the synchronization status of an AgentDB instance, confirming QUIC link establishment and connected tools. ```bash $ agentdb sync --status ``` -------------------------------- ### Store Memory Episode using AgentDB CLI Source: https://agentdb.ruv.io/docs/index Illustrates how to use the AgentDB CLI to store a memory episode, including session details, task, and a confidence score. This is part of the Reflexion Memory feature. ```bash $agentdb reflexion store "session-1" "task" 0.95 ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.