memory-protocol

Recall, remember, update, and forget persistent agent memories via a structured API.

7|3|Updated Mar 8, 2026
One-click install
npx skills add https://github.com/BaiGanio/aperio --skill memory-protocol-baiganio
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: memory-protocol
Source: https://github.com/BaiGanio/aperio/tree/main/skills/memory-protocol
Command: npx skills add https://github.com/BaiGanio/aperio --skill memory-protocol-baiganio

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enables reading from and writing to the persistent memory store, providing structured access to recall, remember, update_memory, and forget while supporting advanced retrieval patterns.

Core Features & Use Cases

  • Memory API: recall, remember, update_memory, forget to capture and retrieve user context, preferences, decisions, and facts.
  • Advanced access: direct access to the Aperio Postgres schema and vector search patterns for context-rich retrieval.
  • On-demand usage: trigger by user actions such as sharing a fact or giving a correction to update context.

Quick Start

Tell the agent to remember a fact with content and type, or ask it to recall memories matching a query.

Frequently Asked Questions about memory-protocol

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add persistent memory to an AI agent for recalling user context?

Persistent memory for AI agents is enabled through recall, remember, update_memory, and forget operations that capture preferences, decisions, and facts. It provides structured access to a durable context store for reliable retrieval.

How do I store and retrieve agent memory using PostgreSQL and vector search?

You store and retrieve memory by using the provided API for writing facts and leveraging direct access to the PostgreSQL schema and vector search patterns for context-rich retrieval. This enforces defined memory types, tagging, and embedding handling for reliable results.

What is the best way to structure context retrieval for an AI agent?

The best way to structure context retrieval is by using a structured API with defined memory types, tagging, and embedding handling. This ensures reliable vector search and recall of durable context from the persistent memory store.

Can I directly access the PostgreSQL schema for agent memory operations?

Yes, you can directly access the PostgreSQL schema for advanced retrieval patterns and context-rich queries. This allows deeper integration while the structured API maintains safety and reliable embedding handling for standard operations.

When should I use the forget capability in an agent memory system?

You should use the forget capability when you need to remove outdated or incorrect context from the persistent memory store. It works alongside update_memory to ensure the agent retrieves only accurate, relevant facts during recall operations.

Do I need to define memory types and tags when remembering new context?

Yes, you need to define memory types and tags when remembering new context because the API enforces structured tagging and embedding handling. This ensures reliable retrieval and safety when the agent recalls memories matching a query.