smart-memory

Persist and retrieve contextual knowledge across AI agent sessions.

2|Updated Mar 31, 2026
One-click install
npx skills add https://github.com/Wike-CHI/acquisition-agent --skill smart-memory
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: smart-memory
Source: https://github.com/Wike-CHI/acquisition-agent/tree/main/skills/smart-memory
Command: npx skills add https://github.com/Wike-CHI/acquisition-agent --skill smart-memory

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

AI agents lose context between interactions, forcing users to repeat information and breaking workflow continuity.

Core Features & Use Cases

  • Persistent storage of episodic, semantic, belief, and goal memories via a local FastAPI server.
  • Semantic retrieval with Nomic embeddings and token‑bounded prompt composition.
  • Hot working memory that tracks active projects, questions, and insights across sessions.
  • Background cognition that generates reflections, consolidates memories, decays low‑importance items, and resolves belief conflicts.
  • Tool interfaces (memory_search, memory_commit, memory_insights) for seamless integration with OpenClaw, LangChain, or custom agents.
  • Session arc capture automatically creates summaries at checkpoints and session end.

Use cases include AI sales assistants recalling past client decisions, research bots maintaining project focus, and any autonomous agent needing continuous memory.

Quick Start

Request the smart‑memory skill to compose your agent’s initial context by providing your agent identity and a opening message.

Frequently Asked Questions about smart-memory

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

FAQPage Schema
How do I add persistent memory to an AI agent so it remembers context across sessions?

Persistent memory for AI agents allows them to store and retrieve contextual knowledge across sessions. You can use a local FastAPI server with Nomic embeddings to save episodic and semantic memories, preventing context loss between interactions.

Can I use local CPU-only embeddings for semantic search in my autonomous agent?

Yes, CPU-only PyTorch embeddings using Nomic models support semantic retrieval for autonomous agents. This allows token-bounded prompt composition and hot working memory tracking without requiring GPU hardware.

What's the best way to maintain project focus for a research bot over multiple interactions?

Maintaining project focus for research bots requires continuous memory that tracks active projects, questions, and insights. Background cognition generates reflections and consolidates memories, ensuring the agent retains focus across multiple interactions.

Does this continuous memory system work with LangChain and custom agents?

Yes, continuous memory systems work with LangChain, OpenClaw, and custom agents through tool interfaces like memory_search, memory_commit, and memory_insights. These interfaces allow seamless integration of semantic retrieval and persistent storage.

How does background cognition help manage memory decay in AI agents?

Background cognition manages memory decay by generating reflections, consolidating memories, and decaying low-importance items. It also resolves belief conflicts automatically, ensuring the agent's persistent storage remains relevant and accurate over time.

Do I need a FastAPI server to run local memory persistence for AI applications?

Yes, a local FastAPI server is required to run local memory persistence for AI applications. It works alongside a Node.js adapter and CPU-only PyTorch embeddings to store episodic, semantic, belief, and goal memories.