Skip to main content
Perenna logo

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 AgentMemory Mem0
Simplicity 3 MCP tools 54 tools + hooks SDK/API/server stack
Local use stdio, no daemon Multiple local services Library or server
Storage Plain Markdown + Git Runtime-managed Database/service-managed
Ownership Your files, your Git history Runtime-managed Backend-managed

Perenna is small by design: no account, no proprietary memory cloud, no lock-in. Just plain Markdown, Git history, and three focused tools.

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:

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.

uv tool install perenna

Install the optional memory behavior skill for the local client:

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 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 needs a working Vexor embedding provider. For interactive provider selection and configuration, run:

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:

uv tool install "perenna[local]"

Vexor provider configuration covers remote and local setup. From the environment that starts the MCP client, verify the selected provider with:

uvx vexor doctor

Configure an MCP client to start:

perenna mcp

Perenna creates its local data under ~/.perenna/ unless another home is configured.

To import, publish, or fast-forward compatible history through a private Git repository, run:

perenna sync setup <repository-url>

Install from source for development

git clone https://github.com/scarletkc/Perenna.git
cd Perenna
uv tool install .

Documentation

Start with the documentation index, then follow the path for your task:

License

MIT

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

perenna-0.3.0.tar.gz (51.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

perenna-0.3.0-py3-none-any.whl (60.3 kB view details)

Uploaded Python 3

File details

Details for the file perenna-0.3.0.tar.gz.

File metadata

  • Download URL: perenna-0.3.0.tar.gz
  • Upload date:
  • Size: 51.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for perenna-0.3.0.tar.gz
Algorithm Hash digest
SHA256 8c3b75548188f62a99d1e773a78f82746aef40b3f44a26d88d09a70de78d7b19
MD5 2f387f5765f1a3fa2d5334aaa89bc42f
BLAKE2b-256 6923c0c2a72dc205c24e8f4ccbdf150f1c1d97bad2300edcb785eccf5731430d

See more details on using hashes here.

Provenance

The following attestation bundles were made for perenna-0.3.0.tar.gz:

Publisher: publish.yml on scarletkc/Perenna

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file perenna-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: perenna-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 60.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for perenna-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 38e734ed51969861555226b14c3494a1158ea94fa5214a56214ac74354f14476
MD5 cd00180e92eb8a854d0f524b3cfcd4d0
BLAKE2b-256 68940bc22140197f9602f5a577184f9263b23deb73e2b01dc1572e7cd5968360

See more details on using hashes here.

Provenance

The following attestation bundles were made for perenna-0.3.0-py3-none-any.whl:

Publisher: publish.yml on scarletkc/Perenna

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 files

0.2.0

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page