OPEN_SOURCE ↗
REDDIT · REDDIT// 8d agoOPENSOURCE RELEASE
ThumbGate blocks repeated agent mistakes with Thompson Sampling
ThumbGate (mcp-memory-gateway) is an open-source MCP server that converts "thumbs-down" feedback into adaptive prevention rules for AI agents. By utilizing Thompson Sampling, it physically blocks tool calls that match known failure patterns, ensuring models like Claude and Gemini learn from past errors rather than ignoring prompt instructions.
// ANALYSIS
ThumbGate addresses the "instruction following" bottleneck by moving constraints from the system prompt into the execution layer.
- –Thompson Sampling (Beta distributions) provides a robust mathematical framework to balance rule enforcement with exploration for new feedback.
- –The "pre-action gate" architecture prevents dangerous or incorrect tool calls before they are executed, a major upgrade over simple reactive memory.
- –Its ability to "decay" rules that trigger on legitimate actions prevents the system from becoming overly restrictive as the codebase evolves.
- –Integration with major agents like Claude Code and Cursor offers a practical, low-friction path toward reliable, autonomous developer workflows.
// TAGS
thumbgatemcp-memory-gatewayagentmcpai-codingdevtoolopen-sourcethompson-samplingsafety
DISCOVERED
8d ago
2026-04-04
PUBLISHED
8d ago
2026-04-03
RELEVANCE
9/ 10
AUTHOR
eazyigz123