Agent Library

•
34
•

Provides AI agents with persistent knowledge storage and retrieval capabilities for maintaining context across conversations.

Agent Library equips AI agents with a robust personal knowledge base, enabling them to store and retrieve information across conversations using semantic and keyword search. Built on Arcade's Model Context Protocol (MCP), it offers multi-modal support for indexing and searching text, code, PDFs, and images with optional OCR. The system leverages SQLite with `sqlite-vec` for vector search and FTS5 for full-text search, integrating hybrid search and Max Marginal Relevance (MMR) for diverse, relevant results. It features configurable local or OpenAI-compatible embedding models and provides both a command-line interface (CLI) and an MCP server for seamless integration with various AI assistants and tools.

Key Features

0128 GitHub stars
02Multi-modal support for Text, Code, PDF, and Image (with OCR)
03CLI and MCP server interfaces for AI assistant integration
04Persistent knowledge storage for AI agents
05Hybrid semantic and keyword search with Max Marginal Relevance (MMR)
06Configurable local or OpenAI-compatible API embedding models

Use Cases

01Enhancing AI agents with long-term memory and context retention
02Enabling AI assistants to search and retrieve specific information from stored assets
03Building personal knowledge bases for various document types including code and research papers