Perenna
Perenna
Лёгкая, постоянная память на Git для ИИ-агентов. Claude Code, Codex, ChatGPT, Cursor и другие MCP-клиенты могут обмениваться долговременными воспоминаниями, не разделяя учётную запись поставщика или историю разговоров.
Отдельные MCP-инструменты для чтения, записи и удаления воспоминаний
Локальные транспорты stdio и однопользовательские Streamable HTTP-транспорты с защитой OAuth
Человекочитаемый Markdown в независимом Git-репозитории
Локальный поисковый индекс Vexor, который всегда можно пересоздать из Git
Межпроцессная блокировка для нескольких локальных процессов агентов
Почему Perenna?
Ваша память должна следовать за вами, а не за агентом, которым вы пользуетесь.
Claude Code, Codex, Cursor и ChatGPT хранят память в отдельных изолированных хранилищах. Смените агента — и ваша память исчезнет. Смените машину — и локальная память останется позади.
Perenna даёт им общую память на базе Git. Локальные агенты и ChatGPT могут подключаться к одному и тому же самостоятельно размещённому сервису Perenna, а каждое долговременное воспоминание остаётся обычным Markdown, который вы можете просматривать, редактировать, версионировать и резервировать самостоятельно.
Самостоятельно размещаемый стек Mem0 значительно тяжелее, а его облачный бесплатный тариф в настоящее время допускает использование контента клиентов для обучения моделей и улучшения продукта.
Perenna отличается по своей сути: без учётной записи, без проприетарного облака для памяти, без привязки к вендору. Просто ваши воспоминания, в вашем Git-репозитории, на инфраструктуре, которую вы контролируете.
Related MCP server: phren
Быстрый старт
Установка с помощью вашего ИИ-агента
Вставьте это в Claude Code, Codex, ChatGPT Desktop, Cursor или другого агента для работы с кодом, имеющего доступ к терминалу и локальной конфигурации MCP:
Install Perenna and connect it to this AI agent as a local stdio MCP server.
Work through the complete setup autonomously.
Use these as the source of truth:
- https://github.com/scarletkc/Perenna/blob/main/docs/getting-started.md
- https://github.com/scarletkc/Perenna/blob/main/docs/guides/client-setup.md
1. Detect the operating system, shell, and current MCP client.
2. Check for Python 3.12 or newer, Git, and uv. Install uv in user scope if it
is missing. If Python or Git needs administrator approval, give me the exact
command and stop there.
3. Install Perenna with `uv tool install perenna`. If Perenna is already
installed, upgrade it with `uv tool upgrade perenna`.
For Codex, also run `perenna skill install --agent codex`. For Claude Code,
run `perenna skill install --agent claude-code`. Do not replace an existing
modified copy or remove unrelated installed skills.
4. Check the effective Vexor embedding provider configuration. Reuse a working
`~/.vexor/config.json` or inherited environment configuration. If none is
available, ask me to choose between a remote provider and local embeddings.
Explain that a remote provider receives memory text and search queries. For
a remote provider, keep the provider and model in Vexor configuration and
supply its secret through `VEXOR_API_KEY` or the provider-specific environment
variable. For local embeddings, install `perenna[local]` and configure the
local model according to the Perenna configuration reference. Verify the
selected provider with `uvx vexor doctor` using the same environment that
the Perenna process will inherit.
5. Ask whether I want to synchronize Perenna with a private Git repository. If
I do, ask me to provide or approve its URL, run
`perenna sync setup <repository-url>`, and verify it with
`perenna sync status`. Treat repository creation, remote replacement, and
reconciling diverged history as separate choices that require my explicit
approval.
6. Register `perenna mcp --source <stable-client-name>` using the client-specific
method in the setup guide. Preserve unrelated MCP servers and settings. Use
a stable source such as `claude-code`, `codex`, or `cursor` for this client.
For another client, use its official instructions for adding a local stdio
MCP server. Make sure the Perenna process inherits `VEXOR_CONFIG_JSON`,
`VEXOR_API_KEY`, or any provider-specific key used in step 4. Report only
whether a secret is present.
7. Verify `perenna --help` and the saved MCP configuration. Reload MCP servers
and call `memory_read` with `action: "list"` when the client supports it. If
a restart is required, tell me the single restart step.
8. Report the commands run, files changed, and verification results. Keep API
keys out of tracked configuration files.Установка опубликованного релиза
Для Perenna требуются Python 3.12+, Git и uv.
uv tool install perennaУстановите дополнительный навык поведения памяти для локального клиента:
perenna skill install --agent codex
# or
perenna skill install --agent claude-codeПовторите --agent в одной команде, если навык должны получить оба клиента. В справочнике по конфигурации описаны область действия пользователя и проекта, места назначения и защитные механизмы от перезаписи.
Codex и Claude Code могут вместо этого установить комбинированный навык и MCP-подключение из Marketplace репозитория Perenna. Следуйте руководству по настройке плагина и выберите один путь настройки для каждого клиента.
Для Perenna нужен рабочий провайдер эмбеддингов Vexor. Для интерактивного выбора и настройки провайдера выполните:
uvx vexor initPerenna автоматически переиспользует ~/.vexor/config.json. При использовании конфигурации на уровне процесса убедитесь, что MCP-сервер получает VEXOR_CONFIG_JSON и либо VEXOR_API_KEY, либо ключ выбранного провайдера из своего хост-окружения. Удалённые провайдеры получают текст воспоминаний и поисковые запросы.
Если вы выбираете локальные эмбеддинги, установите также локальный дополнительный пакет Perenna:
uv tool install "perenna[local]"Конфигурация провайдера Vexor охватывает удалённую и локальную настройку. В окружении, из которого запускается MCP-клиент, проверьте выбранного провайдера с помощью:
uvx vexor doctorНастройте MCP-клиент для запуска:
perenna mcp --source <client-name>Perenna создаёт свои локальные данные в ~/.perenna/, если не задан другой домашний каталог.
Чтобы импортировать, опубликовать или выполнить fast-forward совместимой истории через частный Git-репозиторий, выполните:
perenna sync setup <repository-url>Установка из исходного кода для разработки
git clone https://github.com/scarletkc/Perenna.git
cd Perenna
uv tool install .Документация
Начните с индекса документации, затем выберите путь для вашей задачи:
Лицензия
This server cannot be installed
Maintenance
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceProvides a memory layer for AI coding agents with Git-powered version control, enabling automatic tracking of prompts, context, and code diffs.191MIT
- AlicenseNot gradedqualityAmaintenanceA persistent memory server for AI agents that stores findings, tasks, and patterns in Markdown files within a git repository, enabling context injection across multiple AI tools.4MIT
- AlicenseAqualityAmaintenanceGit-native long-term memory for AI agents: your markdown files are the source of truth, the search index is a disposable projection rebuilt from git, and every memory the agent writes is a reviewable git commit. Served over one OAuth-secured MCP endpoint with hybrid lexical+semantic recall and a gated, git-first commit_note write tool.78AGPL 3.0
- AlicenseNot gradedqualityAmaintenanceOpen-source persistent memory infrastructure for AI agents.183318Apache 2.0
Related MCP Connectors
Git-backed platform for skills, tools, and context for AI agents
Persistent memory and knowledge management for AI agents with semantic search and 50+ tools.
Persistent memory for AI agents. Search, store, and recall across sessions.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/scarletkc/Perenna'
If you have feedback or need assistance with the MCP directory API, please join our Discord server