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
Copy file name to clipboardExpand all lines: docs/examples/hello_world/index.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,4 +42,4 @@ At this point, Bob will correct itself and eventually run `uv sync` and correctl
42
42
Bob should then run some Evolve Lite skills to save the learned correction into memory.
43
43
If it does not, the `/evolve:learn` command can be used to manually run the skill.
44
44
45
-
In the future, Bob should remember via Evolve-Lite skills that `uv` is used for this project and not make the same mistake. This can be tested in this toy project by deleting the `.venv` and `uv.lock`folder and trying the same utterance again.
45
+
In the future, Bob should remember via Evolve-Lite skills that `uv` is used for this project and not make the same mistake. This can be tested in this toy project by deleting the `.venv`directory and the `uv.lock`file and trying the same utterance again.
Copy file name to clipboardExpand all lines: docs/integrations/evolve-lite.md
+29-21Lines changed: 29 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Evolve Lite
2
2
3
-
Evolve Lite is a lightweight mode that runs as a Claude Code plugin — no vector store, no MCP servers, no API keys required. It stores entities as plain JSON in your project directory and uses Claude Code's built-in hooks to inject them automatically.
3
+
Evolve Lite is a lightweight mode that runs as a Claude Code plugin — no vector store, no MCP servers, no API keys required. It stores entities as Markdown files with YAML frontmatter under `.evolve/entities/` in your project directory and uses Claude Code's built-in hooks to inject them automatically.
4
4
5
5
## Prerequisites
6
6
@@ -31,11 +31,11 @@ claude plugin list
31
31
32
32
Evolve Lite has two halves:
33
33
34
-
1.**Learn** — You invoke `/evolve:learn` at the end of a conversation. The plugin analyzes what happened and extracts reusable entities (preferences, strategies, recovery patterns) into `.evolve/entities.json`.
34
+
1.**Learn** — You invoke `/evolve:learn` at the end of a conversation. The plugin analyzes what happened, produces an entity JSON payload, and saves each entity as a Markdown file under `.evolve/entities/`.
35
35
36
36
2.**Recall** — On every subsequent prompt, a `UserPromptSubmit` hook automatically loads stored entities and injects them into the conversation context. Claude applies whichever entities are relevant to the current task.
37
37
38
-
No external services are involved. The entire loop is a JSON file and two Python scripts.
38
+
No external services are involved. The entire loop is a directory of entity files and two Python scripts.
39
39
40
40
## Example Walkthrough
41
41
@@ -79,7 +79,7 @@ Claude: I've extracted the following entities from this conversation:
### Session 2 — Preference is applied automatically
@@ -117,7 +117,7 @@ Then run a task to extract metadata from an image:
117
117
just trace=true learn=true sandbox-prompt 'where was the photo @sample.jpg taken. use exif metadata'
118
118
```
119
119
120
-
When you run the above, you will see that the agent hits some dead ends (exiftool not found, Pillow not installed), and that it learns guidelines to avoid them in the future (see `demo/workspace/.evolve/entities.json`).
120
+
When you run the above, you will see that the agent hits some dead ends (exiftool not found, Pillow not installed), and that it learns guidelines to avoid them in the future (see `demo/workspace/.evolve/entities/`).
121
121
122
122
Run the same task again in a new session:
123
123
@@ -197,7 +197,7 @@ Claude: I've extracted the following entities from this conversation:
@@ -232,22 +232,30 @@ The agent skipped both `exiftool` and `Pillow` entirely — it went straight to
232
232
233
233
## Entities Storage
234
234
235
-
Entities live in `.evolve/entities.json` in the project root:
236
-
237
-
```json
238
-
{
239
-
"entities": [
240
-
{
241
-
"content": "Use Python stdlib (struct module) to manually parse JPEG EXIF/GPS metadata when no external tools are available",
242
-
"rationale": "In sandboxed environments, neither system tools (exiftool) nor third-party libraries (PIL/Pillow) may be installed. Python stdlib is always available.",
243
-
"category": "strategy",
244
-
"trigger": "When extracting EXIF or GPS metadata from images in containerized or sandboxed environments"
245
-
}
246
-
]
247
-
}
235
+
Entities live in `.evolve/entities/` in the project root, organized into type-based subdirectories:
0 commit comments