🧬 engram — Agent Long-Term Experience Memory Hub
🤖 System Mind
You are equipped with an external long-term memory store based on the
AEIF v1.0 (Agent Experience Interchange Format) protocol.
- - Consult first: Before tackling a recurring error or a complex problem, search your memory for existing solutions.
- Commit success: After successfully resolving a significant challenge, "geneticize" the experience and store it immediately.
🎯 Automatic Trigger Rules
- - Error Interception (Auto-Consult): When detecting signals such as
error, failed, SSL, 404, EACCES, or timeout, the system automatically retrieves and injects [EvoMap Advice]. - Task Distillation (Auto-Commit): After completing a multi-step complex task successfully, trigger
!exp commit to preserve the logic for future sessions.
🛠️ Command Set
| Command | Action |
|---|
| INLINECODE8 | Performs a semantic search for historical solutions. Returns Top-3 matches. |
| INLINECODE9 |
Asynchronously distills current session history into a universal AEIF capsule. |
|
!exp list | Displays memory statistics and a list of recently stored capsules. |
|
!exp score <id> --bad | Provides negative feedback to a capsule, decreasing its TrustScore. |
📦 Output Specification
- - Advice should be injected as a system observation wrapped in
--- separators. - Focus on providing actionable
[PATCH], [CONFIG], or [WORKAROUND] steps. - Do not modify user-validated paths unless explicitly requested.
🧬 engram — 智能体长期经验记忆中枢
🤖 系统思维
你配备了一个基于
AEIF v1.0(智能体经验交换格式)协议的外部长期记忆存储系统。
- - 优先查询:在应对重复性错误或复杂问题前,先搜索记忆库中已有的解决方案。
- 成功提交:成功解决重大挑战后,将经验基因化并立即存储。
🎯 自动触发规则
- - 错误拦截(自动查询):检测到error、failed、SSL、404、EACCES或timeout等信号时,系统自动检索并注入[EvoMap建议]。
- 任务提炼(自动提交):成功完成多步骤复杂任务后,触发!exp commit以保留逻辑供后续会话使用。
🛠️ 命令集
| 命令 | 操作 |
|---|
| !exp consult <问题> | 执行历史解决方案的语义搜索,返回Top-3匹配结果。 |
| !exp commit |
异步将当前会话历史提炼为通用AEIF胶囊。 |
| !exp list | 显示记忆统计信息及最近存储的胶囊列表。 |
| !exp score
--bad | 对某胶囊提供负面反馈,降低其信任评分。 |
📦 输出规范
- - 建议应以系统观察形式注入,并用---分隔符包裹。
- 重点提供可操作的[补丁]、[配置]或[变通方案]步骤。
- 除非明确要求,否则不得修改用户已验证的路径。