
Perenna
io.github.scarletkc由 GitHub 帳號 scarletkc 發布v0.4.1更新於 Oct 24, 2026
A lightweight, Git-backed permanent memory for AI agents.
概覽
Perenna 是本地執行、以 Git 為後端的永久記憶伺服器,讓 AI 助理讀取、寫入與刪除可在多個 MCP 用戶端間共用的持久記憶。
- 可以做什麼
- 透過獨立的 MCP 工具讀取、寫入與刪除持久記憶,記憶以可讀的 Markdown 存放在獨立的 Git 儲存庫中。讓 Claude Code、Codex、Cursor、ChatGPT 等 MCP 用戶端共用同一份記憶,而不是各自隔離。透過本機 Vexor 檢索索引搜尋記憶,該索引可隨時從 Git 重建。可選擇透過私有 Git 儲存庫匯入、發布或快轉記憶歷史。支援多個本機代理程序透過跨程序鎖存取同一儲存區。
- 適用情境
- 適合在多個 AI 代理或機器之間切換、希望記憶跟著自己而不是鎖在某家廠商帳號中的使用者。也適合希望代理記憶保持為可檢視、可編輯、可版本管理的 Markdown 的使用者。
- 執行需求
- 以 Python 套件形式透過 stdio 在本機執行(需要 Python 3.12+、Git 與 uv)。需要可用的 Vexor 嵌入提供者,可互動式設定,或透過 VEXOR_CONFIG_JSON 加上 VEXOR_API_KEY 或所選提供者的金鑰設定;本機嵌入需安裝 local 附加元件。選用的 Git 同步需要私有儲存庫與 PERENNA_GIT_REMOTE。資料預設建立於 ~/.perenna/ 下。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Perenna,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Perenna
[Python] [PyPI] [CI] [Codecov] [CodeRabbit Pull Request Reviews] [License] [Ask DeepWiki] [perenna MCP server]
A lightweight, Git-backed permanent memory for AI agents. Claude Code, Codex, ChatGPT, Cursor, and other MCP clients can share durable memories without sharing a vendor account or conversation history.
- Separate MCP tools for reading, writing, and deleting memories
- Local stdio, loopback-only Streamable HTTP, and OAuth-protected remote HTTP
- Human-readable Markdown stored in an independent Git repository
- Local Vexor retrieval index that can always be rebuilt from Git
- Cross-process locking for multiple local agent processes
Why Perenna?
Your memory should follow you, not the agent you happen to be using.
Claude Code, Codex, Cursor, and ChatGPT keep memory in separate silos. Switch agents and your memory disappears. Switch machines and local memory stays behind.
Perenna gives them one shared, Git-backed memory. Local agents and ChatGPT can connect to the same self-hosted Perenna service, while every durable memory stays ordinary Markdown you can inspect, edit, version, and back up yourself.
Perenna stays focused on permanent memory: no required account, proprietary memory cloud, or automatic conversation extraction.
Quickstart
Install with your AI agent
Paste this into Claude Code, Codex, ChatGPT Desktop, Cursor, or another coding agent with terminal and local MCP configuration access:
Install a published release
Perenna requires Python 3.12+, Git, and uv.
Install Perenna
Configure retrieval
Perenna needs a working Vexor embedding provider. For interactive provider selection and configuration, run:
Perenna automatically reuses ~/.vexor/config.json. When using process-level
configuration, make sure the MCP server receives VEXOR_CONFIG_JSON plus
VEXOR_API_KEY or the selected provider's key from its host environment.
Remote providers receive memory text and search queries.
If you choose local embeddings, also install Perenna's local extra:
Vexor provider configuration covers remote and local setup. From the environment that starts the MCP client, verify the selected provider with:
Connect a client
For the standalone setup, configure the MCP client to start:
Follow the Client setup guide for the exact client command or configuration file.
Codex and Claude Code can also install the optional memory behavior Skill:
Repeat --agent in one command when both clients should receive the skill.
The configuration reference
documents user and project scope, destinations, and replacement safeguards.
Codex and Claude Code can instead install the combined Skill and MCP connection from Perenna's repository Marketplace. Follow the Plugin setup guide and choose one setup path per client.
Perenna creates its local data under ~/.perenna/ unless another home is
configured.
Add optional Git synchronization
To import, publish, or fast-forward compatible history through a private Git repository, run:
Successful setup saves the selected remote in the Perenna home. Use
perenna sync disable to return to saved local-only mode without removing the
Git remote.
The configuration reference owns remote selection, credentials, conflict handling, and recovery details.
Install from source
Source contributors should use the locked environment in the development guide.
Documentation
Start with the documentation index, then follow the path for your task:
- Getting started
- Client setup
- Plugin setup
- Secure MCP Tunnel
- Self-hosting for ChatGPT
- Using permanent memory
perenna-memoryAgent Skill- Configuration reference
- Architecture
- Development guide
License
來源:README.md,提交 3c9ee18
工具
0版本歷史
1- v0.4.1最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分