Skip to content

Commit a704dae

Browse files
committed
docs: clarify memory database path config
1 parent c2758c0 commit a704dae

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

web/content/docs/6-memory.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,9 +175,21 @@ ai-devkit memory store \
175175

176176
Your memory is **100% local**.
177177

178-
All data is stored in a high-performance SQLite database located at `~/.ai-devkit/memory.db`. No data is sent to the cloud, ensuring your proprietary coding patterns remain private.
178+
By default, Memory stores data in a local SQLite database at `~/.ai-devkit/memory.db`.
179179

180-
This is portable so you can just copy the database file to another machine to use it across different machines.
180+
If you use the `ai-devkit` CLI, you can override that location in your `.ai-devkit.json` file with `memory.path`. When `memory.path` is set, CLI commands use that path instead. Absolute paths are used as-is, and relative paths are resolved from the directory that contains `.ai-devkit.json`.
181+
182+
```json
183+
{
184+
"memory": {
185+
"path": ".ai-devkit/project-memory.db"
186+
}
187+
}
188+
```
189+
190+
No data is sent to the cloud, ensuring your proprietary coding patterns remain private.
191+
192+
Because the database is just a local file, you can copy it to another machine and keep using the same memory there.
181193

182194
## Next Steps
183195

0 commit comments

Comments
 (0)