Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| programming:0_ide:kilocode_vscode [2026/05/12 11:24] – [Agent Memory] td | programming:0_ide:kilocode_vscode [2026/05/12 22:07] (current) – [memvid mcp for vscode] td | ||
|---|---|---|---|
| Line 18: | Line 18: | ||
| ## Agent Memory | ## Agent Memory | ||
| * https:// | * https:// | ||
| + | * https:// | ||
| * https:// | * https:// | ||
| * https:// | * https:// | ||
| Line 40: | Line 41: | ||
| Prefer a small synthetic File(...) or Dir(...) entry for a tutorial, then switch to LocalDir, GitRepo, or storage mounts for production-sized datasets | Prefer a small synthetic File(...) or Dir(...) entry for a tutorial, then switch to LocalDir, GitRepo, or storage mounts for production-sized datasets | ||
| . | . | ||
| - | # This is a visual preview of the sandbox workspace structure. | + | ### This is a visual preview of the sandbox workspace structure |
| - | # The next cell builds the actual Manifest entries manually. | + | . |
| + | ### The next cell builds the actual Manifest entries manually. | ||
| + | ``` | ||
| WORKSPACE_TREE = """ | WORKSPACE_TREE = """ | ||
| /workspace/ | /workspace/ | ||
| Line 56: | Line 59: | ||
| print(WORKSPACE_TREE) | print(WORKSPACE_TREE) | ||
| + | |||
| + | ``` | ||
| Prepare a Small Evidence Workspace | Prepare a Small Evidence Workspace | ||
| + | ### memvid mcp for vscode | ||
| + | |||
| + | #### Install npm, uv on windows | ||
| + | * https:// | ||
| + | |||
| + | |||
| + | #### Setup memvid mcp server | ||
| + | |||
| + | * https:// | ||
| + | |||
| + | |||
| + | Running local mpx server may not work due to not available PATH for non admin user. | ||
| + | |||
| + | Install memvid-mcp-server locally | ||
| + | |||
| + | If you have Node.js installed but npx isn't in PATH, install the package globally or locally: | ||
| + | |||
| + | npm install -g memvid-mcp-server | ||
| + | |||
| + | Then update the ~/ | ||
| + | |||
| + | ``` | ||
| + | { | ||
| + | " | ||
| + | ... | ||
| + | } | ||
| + | |||
| + | ``` | ||
| + | |||
| + | Example: | ||
| + | |||
| + | ``` | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | ], | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | | ||
| + | ``` | ||
| + | |||
| + | ``` | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | ``` | ||
| + | |||
| + | Note: If you do not provide OPENAI_API_KEY, | ||
| + | |||
| + | MEMVID_LOCAL_STORAGE Set to " | ||
| + | |||
| + | |||
| + | **This only work in external powershell not in VS Code sandbox. See troubleshooting** | ||
| + | If PATH only defined in non admin user $profile, use this command | ||
| + | |||
| + | | ||
| + | |||
| + | #### Troubleshooting | ||
| + | |||
| + | VS Code use sandbox environment where non admin user $profile is not available. | ||
| + | |||
| + | ##### Set PATH | ||
| + | | ||
| + | |||
| + | Edit PATH as non admin user: | ||
| + | |||
| + | | ||
| + | |||
| + | Add full PATH: | ||
| + | |||
| + | | ||
| + | |||
| + | ##### Set $env | ||
| + | |||
| + | | ||
| + | |||
| + | Then restart your computer (not just VS Code) to ensure it propagates system-wide. | ||
| + | |||
| + | Check $env in terminal: | ||
| + | | ||
| + | | ||
| + | |||
| + | Alternative: | ||
| + | " | ||
| + | " | ||
| + | } | ||