Perenna
A lightweight, Git-backed permanent memory for AI agents.
Open source Open in the app JSON README (API)
About
A lightweight, Git-backed permanent memory for AI agents.
Details
- Kind
- MCP servers
- Topic
- AI, RAG & memory
- Publisher
- scarletkc
- Origin
- official
- Category
- ferramentas
- Transport
- local
- Version
- 0.4.1
- Stars
- 39
- Forks
- 1
- Open pull requests
- 2
- Last push
- 2026-08-30T11:53:20Z
- Repository state
- ativo
- Language
- Python
- License
- MIT
- Added
- 2026-08-29 04:01:22
- Updated
- 2026-08-29 04:01:22
- Origin id
io.github.scarletkc/perenna
README
<div align="center"> <img src="https://raw.githubusercontent.com/scarletkc/Perenna/main/assets/logo.svg" alt="Perenna logo" width="160" /> # Perenna [](https://www.python.org/downloads/) [](https://pypi.org/project/perenna/) [](https://github.com/scarletkc/Perenna/actions/workflows/validate.yml) [](https://codecov.io/github/scarletkc/Perenna) [](https://coderabbit.ai) [](https://github.com/scarletkc/Perenna/blob/main/LICENSE) [](https://deepwiki.com/scarletkc/Perenna) [](https://glama.ai/mcp/servers/scarletkc/perenna) </div> <!-- mcp-name: io.github.scarletkc/perenna --> --- 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: ```text Open the following URL, read the complete instructions, and follow them to install and connect Perenna: https://raw.githubusercontent.com/scarletkc/Perenna/main/docs/guides/agent-installation.md ``` ### Install a published release Perenna requires Python 3.12+, Git, and [uv](https://docs.astral.sh/uv/). #### Install Perenna ```bash uv tool install perenna ``` #### Configure retrieval Perenna needs a working Vexor embedding provider. For interactive provider selection and configuration, run: ```bash uvx vexor init ``` 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: ```bash uv tool install "perenna[local]" ``` [Vexor provider configuration](https://github.com/scarletkc/Perenna/blob/main/docs/reference/configuration.md#vexor-provider-configuration) covers remote and local setup. From the environment that starts the MCP client, verify the selected provider with: ```bash uvx vexor doctor ``` #### Connect a client For the standalone setup, configure the MCP client to start: ```text perenna mcp ``` Follow the [Client setup guide](https://github.com/scarletkc/Perenna/blob/main/docs/guides/client-setup.md) for the exact client command or configuration file. Codex and Claude Code can also install the optional memory behavior Skill: ```bash perenna skill install --agent codex # or perenna skill install --agent claude-code ``` Repeat `--agent` in one command when both clients should receive the skill. The [configuration reference](https://github.com/scarletkc/Perenna/blob/main/docs/reference/configuration.md#bundled-agent-skill) 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](https://github.com/scarletkc/Perenna/blob/main/docs/guides/plugin-setup.md) 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: ```bash perenna sync setup <repository-url> ``` 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](https://github.com/scarletkc/Perenna/blob/main/docs/reference/configuration.md#git-remote-synchronization) owns remote selection, credentials, conflict handling, and recovery details. ### Install from source ```bash git clone https://github.com/scarletkc/Perenna.git cd Perenna uv tool install . ``` Source contributors should use the locked environment in the [development guide](https://github.com/scarletkc/Perenna/blob/main/docs/development/contributing.md#set-up-the-repository). ## Documentation Start with the [documentation index](https://github.com/scarletkc/Perenna/blob/main/docs/index.md), then follow the path for your task: - [Getting started](https://github.com/scarletkc/Perenna/blob/main/docs/getting-started.md) - [Client setup](https://github.com/scarletkc/Perenna/blob/main/docs/guides/client-setup.md) - [Plugin setup](https://github.com/scarletkc/Perenna/blob/main/docs/guides/plugin-setup.md) - [Secure MCP Tunnel](https://github.com/scarletkc/Perenna/blob/main/docs/guides/secure-mcp-tunnel.md) - [Self-hosting for ChatGPT](https://github.com/scarletkc/Perenna/blob/main/docs/guides/self-hosting.md) - [Using permanent memory](https://github.com/scarletkc/Perenna/blob/main/docs/guides/using-memory.md) - [`perenna-memory` Agent Skill](https://github.com/scarletkc/Perenna/blob/main/skills/perenna-memory) - [Configuration reference](https://github.com/scarletkc/Perenna/blob/main/docs/reference/configuration.md) - [Architecture](https://github.com/scarletkc/Perenna/blob/main/docs/concepts/architecture.md) - [Development guide](https://github.com/scarletkc/Perenna/blob/main/docs/development/contributing.md) ## License [MIT](https://github.com/scarletkc/Perenna/blob/main/LICENSE)