← 返回
AI智能 中文

hippocampus

Photon: AI-enhanced memory system that FIXES human memory flaws. NO DECAY - AI never forgets. Features: tool success tracking, project checkpoints, failure p...
Photon:AI增强的记忆系统,修复人类记忆缺陷。不衰减 - AI永不遗忘。功能:工具成功率追踪、项目检查点、失败预防...
gabe-luv-nancy
AI智能 clawhub v1.0.3 2 版本 100000 Key: 无需
★ 1
Stars
📥 587
下载
💾 10
安装
2
版本
#latest#photon

概述

Hippocampus

> "AI is meant to FIX human memory flaws, why learn human decay?"

Philosophy

Traditional memory = Human memory imitation = DECAY = WRONG

Hippocampus FIXES human memory flaws:

  • Forgetting → Perfect recall
  • Fuzzy matching → Precise timestamps
  • Passive triggers → Proactive warnings
  • Importance decay → Never lose anything

Features

FeatureDescription
----------------------
No DecayAI never forgets
Micro-Macro WorkflowsShort command → full workflow
Proactive TriggersAutomatically loads relevant memory when keywords appear
CheckpointsKnow exactly where project left off
Success TrackingRemember what works / fails
Failure WarningProactive pattern detection
Knowledge GraphNetworked memory

Setup (REQUIRED!)

After installing, run initialization:

cd /path/to/hippocampus
python3 scripts/memory.py init

Then verify:

python3 scripts/memory.py status

Commands

CommandDescription
----------------------
/hippo initInitialize DB and directories
/hippo statusView memory status
/hippo saveSave current context
/hippo recall Precise recall
/hippo checkpointSave project state
/hippo warnCheck failure patterns
/hippo graphView knowledge graph
/hippo learn-workflowRegister a micro→macro workflow
/hippo workflowsList all registered workflows
/hippo forget-workflowRemove a workflow
/hippo triggersList keyword triggers
/hippo add-triggerAdd a proactive trigger
/hippo remove-triggerRemove a trigger
/hippo readingbetweenthelines察言观色 status and config
/hippo readingbetweenthelines-statShow current word counts
/hippo readingbetweenthelines-clearReset word counts
/hippo add-instantAdd instant trigger
/hippo remove-instantRemove instant trigger
/hippo add-thresholdAdd threshold trigger
/hippo remove-thresholdRemove threshold trigger
/hippo configShow / reload config
/hippo analyzeAnalyze all memory

Micro-Macro Workflows

Teach hippocampus your shortcuts:

/hippo learn-workflow deploy -> When I say "deploy", run: git push, then run tests, then notify team via slack
/hippo learn-workflow send report -> When I say "send report", compile weekly data, format as markdown, send via email

When you later say "deploy" or "send report", hippocampus will retrieve the full workflow automatically.

List all registered workflows:

/hippo workflows

Proactive Keyword Triggers

Configure hippocampus to automatically load relevant memories when you mention certain topics:

/hippo add-trigger database -> database-architecture
/hippo add-trigger api -> api-design

Now when your message contains "database" or "api", hippocampus loads the associated memory before answering — no need to manually recall.

List active triggers:

/hippo triggers

Configure triggers manually in USER_CONFIG.md:

PROACTIVE_KEYWORDS = database->database-architecture,api->api-design

察言观色 — ReadingBetweenTheLines

Proactive memory loading based on sustained conversation patterns.

When you discuss a topic repeatedly, hippocampus automatically loads relevant memories.

Two trigger types:

Instant: fires immediately when a high-signal keyword appears (error, deploy, database...)

Threshold: fires only after a word appears N times within a sliding window (project→5, api→4, config→4...)

Commands:

/hippo readingbetweenthelines         Show status and config
/hippo readingbetweenthelines-stat    Show current word counts in window
/hippo readingbetweenthelines-clear   Reset word counts
/hippo add-instant error -> error-patterns     Add instant trigger
/hippo add-threshold project -> 5              Add threshold trigger

How it works:

Heartbeat runs every N minutes (default 1). Analyzes recent user messages, removes stop words, counts meaningful words. If a trigger keyword meets its condition, the associated memory is loaded before answering.

Configuration (USER_CONFIG.md):

READINGBETWEENTHELINES_ENABLED = true
INSTANT_TRIGGERS = error->error-patterns,database->database-architecture
THRESHOLD_TRIGGERS = project->5,api->4,config->4
TRIGGER_COOLDOWN = 5   # minutes before reloading same memory

Two Memory Types

Chronicle — Temporal memory for everyday interactions

  • Auto-saves session content, indexed by time

Monograph — Important topics with rich metadata

  • Stores significant decisions, workflows, patterns
  • Created via /hippo checkpoint or /hippo recall saves

Proactive Recall (How It Works)

When PROACTIVE_TRIGGERS_ENABLED = true in USER_CONFIG.md:

  1. Before each response, hippocampus scans your message
  2. If a trigger keyword is found, it loads the associated memory file
  3. The loaded memory is prepended to context for this response
  4. You get relevant context without asking for it

This is configured via PROACTIVE_KEYWORDS in USER_CONFIG.md.

Version

1.0.3

版本历史

共 2 个版本

  • v1.0.3 当前
    2026-05-01 17:07 安全 安全
  • v1.0.0
    2026-03-20 01:20 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

ontology

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

self-improving agent

pskoett
捕获经验教训、错误和纠正,以实现持续改进。使用时机:(1)命令或操作意外失败;(2)用户纠正……
★ 4,055 📥 795,905
ai-intelligence

Self-Improving + Proactive Agent

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