convez.ai
MCP ServerSegurançaIntermediário
EvolvingLMMs-Lab

Engram - Camada de Memória IA Criptografada

EvolvingLMMs-Lab/engram

Memória IA privada, criptografada, local-first com E2EE

Ver no GitHub
BomPluginScore · de 0 a 100

Servidor MCP que implementa uma camada de memória end-to-end criptografada para assistentes IA como Claude e Cursor. Armazena dados localmente com AES-256-GCM, oferecendo busca semântica, cofre de segredos e sincronização opcional zero-knowledge. Funciona offline por padrão, sem dependência de servidores centralizados.

Instalação

$npx convez-ai EvolvingLMMs-Lab/engram

1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.

Métricas

Estrelas
23
Forks
2
Acompanhando
1
Saúde
62%
Último commit
há 5 meses
Versão
—
Issues abertas
0
Contribuidores
3

Casos de uso

  • Manter contexto persistente de sessões sem compartilhar dados com terceiros
  • Armazenar credenciais e chaves de API de forma segura e criptografada
  • Implementar busca semântica em histórico de conversas e decisões IA
  • Multi-dispositivo sincronizado com privacidade total (zero-knowledge)
  • Auditoria open-source de segurança da camada de memória

Veredito

Engram resolve genuinamente o problema de memória privada em assistentes IA com arquitetura sólida (E2EE, local-first, open-source). Ideal para quem precisa de contexto persistente sem sacrificar privacidade; exige conforto técnico para setup inicial mas oferece garantias criptográficas reais.

README

A tradução para o português deste README ainda está na fila.


What is Engram?

An end-to-end encrypted memory layer for AI assistants.

LOCAL BY DEFAULT - Your data lives on your device. No cloud, no servers, no sync unless you ask for it.

ENCRYPTED ALWAYS - AES-256-GCM. Keys never leave your device. 24-word recovery phrase, like a crypto wallet.

ZERO-KNOWLEDGE SYNC - Need multi-device? Opt-in sync encrypts everything client-side. We only see ciphertext. Like Signal, but for AI memory.

OPEN SOURCE - Don't trust us. Verify. Audit the code. Self-host if you want. Fork if we disappear.

Works with Claude Desktop, Claude Code, Cursor, and any MCP-compatible client.

Quick Start

npx engram-core init

Restart your AI client. It remembers you now.

Features

FeatureDescription
Local by DefaultYour data stays on your device. No cloud required.
E2E EncryptionAES-256-GCM. Keys never leave your device.
Open SourceAudit the code. Self-host. Fork if we disappear.
Semantic MemoryVector similarity search across all your sessions
Secrets VaultEncrypted storage for API keys and credentials
Zero-Knowledge SyncOptional. Client-side encryption. We only see ciphertext.

Architecture

+---------------------------------------------------------------+
|                          AI CLIENTS                           |
|                                                               |
|   +-------------+    +-------------+    +-------------+       |
|   |   Claude    |    |   Cursor    |    |   Claude    |       |
|   |   Desktop   |    |             |    |    Code     |       |
|   +------+------+    +------+------+    +------+------+       |
|          |                  |                  |               |
|          +------------------+------------------+               |
|                             |                                  |
|                             v                                  |
|                  +--------------------+                        |
|                  |    MCP Protocol    |                        |
|                  +---------+----------+                        |
|                            |                                   |
+----------------------------+-----------------------------------+
                             |
                             v
+---------------------------------------------------------------+
|                        ENGRAM SERVER                          |
|                                                               |
|   +-------------+    +-------------+    +-------------+       |
|   |   Memory    |    |   Secrets   |    |   Session   |       |
|   |   Store     |    |   Vault     |    |   Watcher   |       |
|   +-------------+    +-------------+    +-------------+       |
|                                                               |
+----------------------------+----------------------------------+
                             |
                             v
                  +---------------------+
                  |       SQLite        |
                  |     ~/.engram/      |
                  |                     |
                  |   Your data stays   |
                  |     on YOUR disk    |
                  +---------------------+

Security

All encryption uses node:crypto (OpenSSL). No custom cryptography.

LayerAlgorithm
At RestAES-256-GCM
Key DerivationPBKDF2-SHA256 (600k iterations)
Search IndexHMAC-SHA256 (blind indexing)
RecoveryBIP39 Mnemonic (24 words)

Why Not Cloud Memory?

EngramCloud Memory
Where's your data?Your device (default)Their servers
Who holds the keys?YouThey do
Can they read it?NoYes
Can you verify?Yes (open source)No
Cross-appAny MCP clientLocked to one app

Philosophy

The AI industry solved intelligence. It forgot about sovereignty.

  • Memory is infrastructure, not a feature
  • Encryption is a right, not a premium tier
  • If you can't export it, you don't own it

Claude Code Agent Teams Integration

Engram integrates with Claude Code Agent Teams through lifecycle hooks. When teams complete tasks or wind down, Engram can automatically consolidate team memories into structured summaries.

How it works:

  • Agents save memories tagged with team:<name> during work
  • Hooks trigger engram consolidate at key moments (task completion, teammate idle)
  • Consolidation categorizes memories into findings, decisions, hypotheses, blockers, and action items
  • Summaries are saved as searchable team-summary memories for future sessions

Configuration (.claude/settings.json):

{
  "hooks": {
    "TaskCompleted": [
      "engram consolidate"
    ],
    "TeammateIdle": [
      "engram consolidate"
    ]
  }
}

You can also run engram consolidate manually to generate team summaries on demand.


Ver o original no GitHub

Bom para

Relacionados