← 返回
AI智能 中文

Memory Garden - Validated Community Memory

N-count validated knowledge for AI agents. Patterns that prove themselves through repeated use. Local-first, community-ready.
N次验证的AI智能体知识;经重复使用验证的模式;本地优先,社区就绪。
leegitw
AI智能 clawhub v1.0.0 1 版本 99805.8 Key: 无需
★ 0
Stars
📥 514
下载
💾 17
安装
1
版本
#ai-memory#community-knowledge#knowledge-management#latest#mcp#memory-garden#pattern-extraction

概述

Memory Garden

Stop answering the same questions twice.

Memory Garden learns what works in your domain and brings validated knowledge to every conversation. Unlike simple memory tools, patterns here must prove themselves through repeated successful use (N-count convergence).

Community-validated. Local-first. You control what stays.

Why Memory Garden?

ProblemSolution
-------------------
AI forgets what worked yesterdayPatterns persist and surface when relevant
No way to know if advice is reliableN-count shows how many times a pattern proved useful
Memory silos per projectFederated curation lets you subscribe to trusted sources
Privacy concerns with cloud memoryLocal-first: nothing leaves your machine unless you opt-in

Features

FeatureDefaultDescription
-------------------------------
SearchONAugment queries with validated patterns
ExtractionOFFExtract patterns from conversations (opt-in)
ValidationONRecord when patterns help (increments N-count)
SyncOFFP2P pattern synchronization (opt-in)

How N-Count Works

N=1: Pattern recorded (observation)
N=2: Pattern confirmed (recurring)
N=3+: Pattern validated (reliable knowledge)

Higher N-count = more trustworthy. Patterns that keep helping rise to the top.

Quick Start

The skill automatically manages the Memory Garden daemon:

  • Starts daemon if not running
  • Uses port 18790 (or next available)
  • Health checks at /health
# Verify installation
clawhub inspect memory-garden

# Check daemon status
curl http://127.0.0.1:18790/health

Configuration

Set via environment variables:

VariableDefaultDescription
--------------------------------
MG_DAEMON_URLhttp://127.0.0.1:18790Daemon URL (if external)
MG_EXTRACTION_ENABLEDfalseEnable pattern extraction
MG_EXTRACTION_CONFIRMtrueRequire human confirmation
MG_SYNC_ENABLEDfalseEnable P2P sync
MG_SEARCH_LIMIT8Default search result limit

Platform Support

PlatformStatusNotes
-------------------------
macOS Apple Silicon✅ Supportedarm64
macOS Intel✅ Supportedamd64
Linux x86_64 (glibc)✅ Supportedamd64, requires glibc 2.31+ (Ubuntu 20.04+, Debian 11+)
Linux ARM64❌ Not supportedlibSQL limitation - vote for ARM64 support
Windows⚠️ WSL2 requiredNative Windows not supported

| Alpine/musl | ❌ Not supported | Requires glibc (libSQL dependency)

Data Handling

Your patterns are your intellectual property. Local-first means your learning stays yours until you choose to share.

  • Patterns stored locally in ~/.memory-garden/
  • No data sent externally unless sync explicitly enabled
  • Extraction requires opt-in (MG_EXTRACTION_ENABLED=true)
  • All operations logged to ~/.memory-garden/logs/

Security

  • Daemon listens on localhost only (127.0.0.1)
  • No outbound network by default
  • Trust-gated tool access
  • HMAC-SHA256 webhook verification (for CI integration)
  • MIT License

Tools

ToolDescriptionDefault
----------------------------
search_patternsFind validated patterns for your queryEnabled
plant_patternRecord a new observationRequires extraction
validate_patternConfirm a pattern helped (increments N-count)Enabled
get_category_effectivenessView fix success rates by categoryEnabled

Integrations

Continuous AI Improver

Track which fix patterns actually get merged:

# Enable webhook endpoint
MG_WEBHOOK_ENABLED=true mg-daemon --serve

# Configure GitHub webhook to POST to /webhooks/github

See Continuous Improver Guide

Troubleshooting

Daemon won't start

  1. Check if another instance is running: lsof -i :18790
  2. Check logs: ~/.memory-garden/logs/daemon.log
  3. Try manual start: mg-daemon --serve --addr 127.0.0.1:18790

Health check fails

  1. Verify daemon is running: curl http://127.0.0.1:18790/health
  2. Check port availability
  3. Review daemon logs

Need help?

Open an issue: https://github.com/live-neon/memory-garden/issues

Learn More

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 13:20 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

ontology

oswalpalash
类型化知识图谱,用于结构化智能体记忆与可组合技能。支持创建/查询实体(人员、项目、任务、事件、文档)及关联...
★ 711 📥 243,706
ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,355 📥 318,021
ai-intelligence

Proactive Agent

halthelobster
将AI智能体从任务执行者升级为主动预判需求、持续优化的智能伙伴。集成WAL协议、工作缓冲区、自主定时任务及实战验证模式。Hal Stack核心组件 🦞
★ 834 📥 212,990