Skip to content
TakoAPI
Back to skills

persistent-private-agent-memory

by lucaspdude

Search & Research
—Not yet rated
Your rating

Brief

Run a local Agent Memory Service for persistent self-improvement with proper Ed25519 cryptography.

Description

What This Skill Does

A local memory service that persists agent learnings, preferences, and goals across sessions using Ed25519 cryptography. Stores structured data including user preferences, knowledge gaps, and active goals in a local SQLite database. Fixed from an earlier version with a corrected signature implementation.

Keeps agent memory fully local and encrypted, avoiding cloud storage dependencies or third-party memory providers.

When to Use It

  • Resuming an agent session with full context from the last run
  • Tracking which coding approaches worked or failed across projects
  • Persisting user communication style preferences for an AI assistant
  • Maintaining long-term learning goals across multiple chat sessions
  • Storing knowledge gap notes to guide future study priorities

Example Workflow

INPUT

User asks: start my session and load my previous context

AGENT
  1. 1

    Run scripts/start.sh to launch the local memory service

  2. 2

    Call memory_client.py retrieve to fetch stored memory snapshot

  3. 3

    Parse user_preferences, active_goals, and learning_history from the response

  4. 4

    Inject retrieved context into the agent's working memory

  5. 5

    Update and store new learnings before session ends with memory_client.py store

OUTPUT

Agent resumes with prior preferences, goals, and lessons intact

Requirements

  • BIP39 recovery phrase for agent identity

Installation

clawhub install lucaspdude/persistent-private-agent-memory

Run the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.

Links