You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -155,6 +156,35 @@ Agent capabilities are stored as memories: *"claude-code: Advanced coding agent.
155
156
156
157
No new database tables. No separate routing service. The same `Memory.add()` / `Memory.search()` that stores user conversations also stores agent profiles and routes tasks.
157
158
159
+
### Skill Memory — the self-improvement loop
160
+
161
+
Agents learn from experience. When an agent completes a task, Engram records the trajectory (actions, tools, results). Successful trajectories accumulate. The Skill Miner analyzes clusters of similar trajectories and extracts reusable **skills** — validated procedures stored as SKILL.md files with YAML frontmatter.
162
+
163
+
Skills have confidence scores that update on success/failure (Bayesian, asymmetric — failures penalize more). High-confidence skills are automatically suggested when matching tasks arrive. The loop:
164
+
165
+
```
166
+
Agent works → Trajectory recorded → Miner extracts patterns → Skills stored
Skills are discovered from `~/.engram/skills/` and `{repo}/.engram/skills/`. Six MCP tools: `search_skills`, `apply_skill`, `log_skill_outcome`, `record_trajectory_step`, `mine_skills`, `get_skill_stats`.
187
+
158
188
### Handoff
159
189
160
190
When an agent pauses (rate limit, crash, tool switch), it saves a session digest: task summary, decisions made, files touched, TODOs remaining. The next agent loads it and continues. If no digest was saved, Engram falls back to parsing the conversation logs automatically.
@@ -171,6 +201,8 @@ When an agent pauses (rate limit, crash, tool switch), it saves a session digest
171
201
|**CLS Distillation**| Sleep-cycle replay: episodic to semantic fact extraction |
172
202
|**Multi-trace**| Benna-Fusi model — fast/mid/slow decay traces per memory |
173
203
|**Intent routing**| Episodic vs semantic query classification |
0 commit comments