
Octobrain
io.github.Muvon由 GitHub 帳號 Muvon 發布v0.15.2更新於 Nov 8, 2026
為AI助理提供持久記憶,具備語義搜尋和知識圖譜關係功能。
AI 翻譯由 AI 模型根據下方的原文描述翻譯,可能有誤。
原文描述
Persistent memory for AI assistants with semantic search and knowledge graph relationships.
概覽
Octobrain 的本機 MCP 服務;無需登入;STDIO。
暫無 AI 概覽:以下資訊來自註冊中心條目和服務本身。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Octobrain,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Octobrain
Persistent memory for AI assistants — store insights, decisions, and knowledge that survives across conversations.
[Crates.io] [License] [Rust] [CI] [Coverage]
MCP Registry: mcp-name: io.github.Muvon/octobrain
Table of Contents
- Why Octobrain?
- Quick Start
- Installation
- Usage
- Features
- Benchmarks
- Configuration
- Memory Types
- MCP Integration
- Storage Locations
- Contributing
- License
Octobrain gives your AI assistant a long-term memory. Store code insights, architecture decisions, bug fixes, and knowledge — then retrieve them with semantic search in future sessions. Works as a CLI tool or as an MCP server for integration with Claude Desktop and other AI tools.
Why Octobrain?
AI assistants start every conversation with zero context. You explain your project, your preferences, your decisions — every single time. Octobrain breaks that cycle:
- Persistent memory — Insights survive across sessions, not just within them
- Semantic search — Find memories by meaning, not exact keywords
- Auto-linking — Related memories connect automatically (Zettelkasten-style)
- Knowledge indexing — Ingest docs, articles, and files for retrieval
- MCP integration — Works with Claude Desktop and other MCP-compatible tools
Quick Start
Installation
From crates.io (Recommended)
From Source
Docker
Homebrew (macOS/Linux)
Feature Flags
Octobrain supports multiple embedding providers:
For API-based embeddings, set the appropriate environment variable:
VOYAGE_API_KEYfor Voyage AIOPENAI_API_KEYfor OpenAIGOOGLE_API_KEYfor GoogleJINA_API_KEYfor Jina
Usage
Memory Management
Store and retrieve insights, decisions, and context:
All memory subcommands accept global flags:
--scope <string>— Override project scope (default: auto-detected from Git remote)--role <string>— Filter by role (e.g. "developer", "reviewer")
Memory Consolidation
Close a goal and fold all its contributing memories into a consolidated summary:
Memory Relationships
Connect related memories for context-rich retrieval:
Knowledge Base
Index and search web content, docs, and files:
Knowledge Boxes
Import and sync git-backed knowledge bundles scoped to your projects:
MCP Server
Run as an MCP server for integration with Claude Desktop and other AI tools:
Available MCP Tools:
Features
- Semantic Search — Find memories by meaning using vector embeddings, not exact keyword matches
- Hybrid Search — Combines BM25 full-text search with vector similarity for better results
- Reranking Support — Pluggable cross-encoder reranking stage (provider-dependent)
- Auto-Linking — Automatically connects semantically similar memories (Zettelkasten-style)
- Temporal Decay — Ebbinghaus forgetting curve for importance management
- Knowledge Indexing — Ingest URLs, PDFs, docs for retrieval
- Project Scoping — Isolate memories per Git project or share across projects
- Role Filtering — Tag memories by role (developer, reviewer, etc.)
- Query Expansion (HyDE-lite) — Pseudo-relevance feedback for +10-30% recall on long-tail queries
- MCP Protocol — Full MCP 2026-07-28 compliance for AI tool integration
Benchmarks
Retrieval quality of octobrain's knowledge system on standard BEIR datasets — nDCG@10, fully local, no LLM judge, using the harness's default embedder bge-small-en-v1.5 (384-dim, 33M params). Each corpus passage is indexed through octobrain's real retrieval path and scored against the official qrels (metrics reproduce pytrec_eval).
- vector = dense-only retrieval; reproduces the embedder's published BEIR numbers (validates the harness).
- hybrid = BM25 + vector fused with Reciprocal Rank Fusion (k=60) — octobrain's default. Adds +2 nDCG@10 over the bare embedding and beats classic BM25 on both datasets.
¹ Canonical BM25 from the BEIR paper (Anserini/Lucene, k1=0.9 b=0.4). ² From the bge-small-en-v1.5 model card (MTEB).
Scope: this measures the ranking layer (embedding + BM25 fusion + reranking). BEIR passages are pre-chunked, so octobrain's chunking strategy is not exercised here.
⚠️ Reranker status: The cross-encoder reranker is currently a no-op with fastembed models (byte-identical results to hybrid-only). Rerank is excluded from the numbers above pending investigation. See
benches/README.mdfor details.
Reproduce (downloads the datasets, builds a release binary, runs fully offline):
Configuration
Configuration is stored in ~/.local/share/octobrain/config.toml. The template written on first run defines every option with sensible defaults, but loading is strict — a field you delete by hand causes startup to fail rather than falling back to a default.
Override the config location with OCTOBRAIN_CONFIG_PATH=/path/to/config.toml.
Key Settings
Embedding Providers
Full Configuration
See config-templates/default.toml for all available options with documentation.
Memory Types
Organize memories by category for better filtering:
MCP Integration
Claude Desktop Setup
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
Restart Claude Desktop. Octobrain tools will be available in your conversations.
HTTP Transport
For web-based integrations:
The server exposes endpoints at /mcp for MCP protocol communication.
Storage Locations
Data is stored in platform-specific directories:
Project-specific memories are isolated by normalized Git remote URL (e.g., github.com/org/repo).
Contributing
Contributions are welcome! Please:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Run
cargo fmt --allto format code - Run
cargo clippyand fix all warnings - Run
cargo test --no-default-features - Submit a pull request
Development Setup
License
Apache-2.0 — see LICENSE for details.
Credits
Developed by Muvon Un Limited.
來源:README.md,提交 4bdf7d1
工具
0版本歷史
11- v0.15.1Nov 3, 2026
- v0.15.0Oct 29, 2026
- v0.14.10Oct 25, 2026
- v0.14.9Oct 24, 2026
- v0.14.8Oct 22, 2026
- v0.14.7Oct 11, 2026
- v0.14.6Oct 8, 2026
- v0.14.4Sep 30, 2026
- v0.14.3Sep 27, 2026
- v0.14.1Sep 19, 2026
- v0.14.0Sep 16, 2026
評分
已滿足適用檢查項的 90%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具必需15 分
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分