Gemini Memory

•
3
•

Provides a persistent memory extension for the Gemini CLI, storing conversational context in a local SQLite database for recall and management.

Gemini Memory enhances the Gemini CLI by integrating a robust, hook-based memory system. It captures and retrieves project-specific conversational history and observations, storing them securely in a local SQLite database. Beyond automatic memory handling via hooks, it offers convenient slash commands for users to inspect, search, and prune memory. For more advanced use cases, the extension includes optional MCP (Multi-Agent Communication Protocol) server tools, enabling external agents or clients to interact with and share the same persistent memory database.

主要功能

01Optional MCP server tools for external agents to interact with memory
02Local, per-project SQLite storage for persistent memory
03Configurable settings for database path, model limits, and timeouts
04Hook-based memory capture and retrieval for Gemini CLI sessions
05Slash commands for memory inspection, search, and cleanup within Gemini CLI
060 GitHub stars

使用案例

01Extend Gemini CLI with persistent, context-aware memory across sessions
02Manage and audit an AI agent's past interactions and observations within a project
03Enable external AI agents or clients to access and contribute to a shared memory database via MCP