Agent Memory

Recall prior feedback and apply prevention rules in MCP-compatible agent sessions.

25|7|Updated Mar 3, 2026
One-click install
npx skills add https://github.com/IgorGanapolsky/ThumbGate --skill agent-memory-igorganapolsky
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Agent Memory
Source: https://github.com/IgorGanapolsky/ThumbGate/tree/main/skills/agent-memory
Command: npx skills add https://github.com/IgorGanapolsky/ThumbGate --skill agent-memory-igorganapolsky

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It prevents AI agents from repeating the same failures by recalling prior feedback and enforcing auto-generated prevention rules before the next tool action.

Core Features & Use Cases

  • Persistent recall across sessions: surfaces relevant past feedback, recent failure summaries, and active prevention rules before the agent starts work.
  • Structured thumbs-up/thumbs-down feedback capture: records success or failure with specific context and what to change so lessons are actionable.
  • Auto-generated prevention rules: converts repeated mistakes into enforceable patterns the agent must follow in future runs.
  • Use cases: regulated or high-liability workflows, incident recovery, and any agent that keeps failing the same way (e.g., bad tool usage, unsafe commands, incorrect process steps).

Quick Start

Start an MCP server for ThumbGate by running npx thumbgate serve after adding it to your MCP setup.

Frequently Asked Questions about Agent Memory

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

FAQPage Schema
How do I stop my AI agent from repeating the same mistakes across different sessions?

Persistent agent memory stops repeated AI mistakes by recalling prior failure context and enforcing auto-generated prevention rules before the next tool action executes. This ensures past feedback actively blocks recurring unsafe commands and bad tool usage.

How do I capture structured success and failure feedback for MCP-compatible agent workflows?

You capture structured feedback for MCP-compatible agents by logging thumbs-up or thumbs-down signals with specific context and required changes. This records actionable lessons for improvement tracking across runs.

What is local-first agent memory and do I need an API key to use it?

Local-first agent memory stores and derives prevention rules from repeated down signals directly on your machine. It operates entirely without an API key, ensuring feedback capture and recall remain private and self-contained.

How do I start an MCP server for agent memory and prompt evaluation?

To start an MCP server for agent memory, add the ThumbGate package to your MCP setup and run the command `npx thumbgate serve`. This enables the recall and capture_feedback tools for your workflows.

Can I use agent memory and feedback capture for regulated or high-liability workflows?

Yes, you can use agent memory for regulated or high-liability workflows. It enforces structured success and failure logging, converts repeated mistakes into prevention rules, and aids incident recovery by recalling past failures.

What are the limitations of local recall for preventing bad tool usage in agents?

Local recall prevents bad tool usage by relying on previously captured feedback and derived rules, but it requires consistent thumbs-down logging to build effective prevention patterns. It does not inherently detect novel errors not yet captured in local memory.