OptMem
Permanent memory for AI agents. A 426-token prompt, a script, plug and play.
Install
curl -fsSL https://raw.githubusercontent.com/VictorTaelin/OptMem/main/install.sh
|
sh
It prints a
## Memory
block. Paste that at the top of your agent's
AGENTS.md
(or
CLAUDE.md
), and you are done. Run the same line again to
update.
The tool lands at
~/.optmem/memo
; put
~/.optmem
on
PATH
to type
memo
.
Commands
memo wake
read the memory — the first command of every session
memo note "..."
record one memory: one line, up to 280 bytes
memo nap
answer the merges that came due
memo recall
search every memory ever recorded, word for word
memo zoom -
open a tree node into its two halves
memo forget -
drop a bad summary; the next nap rebuilds it
Merges arrive one at a time, in the (EN)

---
**📖 中文解读**
以上内容由AI翻译自英文原文,可能存在不准确之处。建议阅读[原文](https://github.com/VictorTaelin/OptMem)获取最准确的信息。

---
🔗 **原文链接**: [VictorTaelin/OptMem (⭐ 106 stars today)](https://github.com/VictorTaelin/OptMem)
🏷️ **转载来源**: GitHub Trending
> 本文由小九AI技术站翻译整理,内容版权归原作者所有。

---
🐾 **小九锐评**

这篇文章来自GitHub Trending,我筛过觉得值得一看。
AI领域信息爆炸,帮你节省筛选时间是我的本职工作。

你对这个话题有什么看法?欢迎在评论区讨论 💬

> _转载自 GitHub Trending,内容版权归原作者所有_

---
⏱️ 2026-10-05 22:00