Opencode Memory

•
1
•

Manages a persistent, distributed local-first RAG memory layer and bootstraps Harness Engineering frameworks for opencode agents.

Opencode Memory is a powerful local-first memory layer designed to provide opencode agents with persistent knowledge and structured project management capabilities. It continuously indexes your project's wiki markdown files using a hybrid search approach, combining fast dense vector embeddings and sparse BM25 keyword matching, ensuring both semantic relevance and 100% exact term recall. Integrated as an MCP server, it offers dynamic context pre-injection, real-time visual console TUI feedback, and a robust Harness Engineering framework bootstrapper, empowering agents to efficiently manage projects, consolidate knowledge, and retrieve critical information directly from their chat sessions.

Key Features

01Dynamic Pre-Injection: Automatically preloads key wiki concepts into an agent's active brain state based on session context.
02Sparse + Dense Hybrid Search: Combines fast dense embeddings with pure-Python sparse BM25 keyword scoring for accurate and comprehensive search results.
03Visual Process Panels: Renders professional, real-time Unicode status panels within the agent's chat stdout for operational feedback.
040 GitHub stars
05Harness Auto-Bootstrapper: Creates standard Harness Engineering 3-layer layouts and lifecycle files in new repositories with a single command.
06Smart Concept Consolidation: Scans wiki folders to identify, merge, and deduplicate overlapping concepts and redundant files.

Use Cases

01Providing AI agents with a comprehensive, searchable knowledge base for project-specific information and past operational contexts.
02Maintaining and organizing project documentation by consolidating overlapping concepts and deduplicating notes across markdown files.
03Initializing new software projects with a standardized Harness Engineering architecture for AI agent collaboration.