Import of local agents failed

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Change to Grok Bot broke and i don’t have any of my chats from the last 6 months. Rushed. Failed. I’m done with you guys.

Steps to Reproduce

NA

Screenshots / Screen Recordings

Operating System

MacOS

Version Information

Grok Build new release

Does this stop you from using Cursor

Yes - Cursor is unusable

Hi @Ben_Walwyn, your chats were not deleted. The update moved you to the new Agents Window, and the import on your Mac finished and copied your earlier local chats into it. The copies it read from are still in place too. What’s not right is that the sidebar isn’t listing your recent ones.

Two quick checks would tell us where they are:

  1. Click the filter icon in the sidebar (beside the “Older” heading) and tick Archived. Are the recent chats listed there?
  2. If not, click Search at the top of the sidebar and type a few words from the title of a chat you worked on yesterday. Does it come up?

Let me know what each one shows!

the same happened to me. i cannot import my local agents and all the context is gone. the import is not going beyond this

That is exactly what’s happening for me as well, import failed at 92 our 598, I am missing 70% of my chats. While I ask agents to recover, I want to know why did you guys release such a bad product?

And your AI support is equally lackluster to provide any help. Refers me to outdated listings and help docs.

@Colin

[22620:1201/102200.578:ERROR:electron\shell\common\node_bindings.cc:192] OOM error in V8: MarkCompactCollector: young object promotion failed Allocation failed - JavaScript heap out of memory

The app has a real bug.

How do we resolve memory issues when we have 600+ chats that go back years? It is 77 gigs.

Earlier local agents never finish importing. The importer starts, runs for about 5–7 minutes, then exits. The sidebar stays empty. The old chats are still on disk.

Product: Cursor IDE, Agents Window, Earlier local agents
Version: 3.32.24 (win32-x64, stable)
OS: Windows 10.0.26300
RAM: 16 GB

What happens
- Settings → Agents → Earlier local agents stays on Importing.
- Every attempt dies the same way. Latest session, 2 Dec 2026:
  08:59:10  molten-local import started
  09:05:05  molten-local import failed: importer-exited
  09:05:05  the importer exited unexpectedly with code 0
  09:05:11  molten-local import started
  09:10:14  molten-local import failed: importer-exited
  09:10:14  the importer exited unexpectedly with code 0
- Same failure has repeated since 1 Dec 2026, including overnight. Clicking Import only restarts it.
- molten.log reports: vscode.db import failed: importer-exited
- Process monitor shows the importer Cursor.exe process climbing to about 3.4–4.3 GB, then disappearing. Same pattern as the V8 "JavaScript heap out of memory" report already on this thread. Exit code is still logged as 0.

Local database (not deleted)
%APPDATA%\Cursor\User\globalStorage\state.vscdb
- File size: 39.6 GB
- composerHeaders: 291 chats
- cursorDiskKV: 3,126,109 rows
  - bubbleId: 2,601,386 rows, 14.2 GB
  - agentKv: 482,824 rows, 13.4 GB
  - checkpointId: 4,385 rows, 8.4 GB

Import ledger (agent-host-import-ledger.json, last written 1 Dec 2026 19:04, not updated by later retries)
- partialImports: true, lackingPieces: true, otherOwnerParents: true
- ready: 174
- held: 1
- left: 115
  - listing:no-head: 80
  - listing:draft: 21
  - listing:ephemeral: 13
  - refused:owner-mismatch: 1
Those 174 were marked eligible, but they were not written into the new session store. Only a handful of newer sessions exist under %USERPROFILE%\.grok\agent-host-daemon\sessions.

Logs
%APPDATA%\Cursor\logs\20261202T085848\main.log
%APPDATA%\Cursor\molten\logs\molten.log

Expected: the import finishes, or skips chats it cannot convert, and the older local chats show up. Raising the process memory limit is not viable here: the history is ~40 GB and the machine has 16 GB of RAM.

Attach main.log from that session if the forum lets you. Do not attach state.vscdb or agent-host-import-ledger.json; the first is 40 GB and contains your chats, and the ledger contains session ids.

Windows 10, Cursor 3.32.24, same failure. state.vscdb is 18 GB, not 40 or 77. molten-local starts and ends after about three minutes with importer-exited, exit code 0. The ledger is not updated: 32 ready, 0 copied, including the two chats I need. Those chats are still in the IDE history. Since 1 Dec, molten_agents_window is on for this account and canOptIn is off, so the switch back to the built-in window is gone.

If this beta is not working yet, please restore the option to turn it off right away. molten_agents_window is forced on for my account and canOptIn is false, so I cannot switch back to the built-in Agents Window. The import never finishes, so the new window does not have the chats I need. I cannot use Cursor for that work until this is reverted.

Hi all, an update is out this morning (3.32.25) that gets the import past the point where it was stopping with “the importer quit unexpectedly”. Please take the “Restart to update” prompt, or use Help → Check for Updates… (on a Mac it is in the app menu). The import starts again by itself after the restart and picks up where it stopped. Nothing was deleted along the way: the import only reads your earlier chats, so they are all still on your disk and still open from the editor window’s chat history.

@ChaitanyaNabh @chaitanya603 @detri_flux this is what was stopping your imports. A large history is fine after the update and there is nothing to change on your side, though it takes a while to get through. If Settings → Agents → Imports still shows a red line once it has run on 3.32.25, please post what it says.

@Reinhard_Nissl your import ran through after you updated this morning, with a few chats left out. If the two you need are among those, please keep working on them from the editor window, where they still open.

@Ben_Walwyn your import had already completed, so your case is a different one. The two checks in my earlier reply (Archived in the sidebar filter, then Search) are still what would tell us where your recent chats are.

I am already on 3.32.25, the version you said would get past this, and it is still not working.

Windows. Settings, Agents, Import Older Local Grok Build Agents. It shows about 2,702 remaining and 0 imported. It sits on Importing, then fails, then it cycles. There is no lasting red line. The chats are still on the PC. I cannot get them back in the list.

The Beta page on this install only has Language Servers and Language Servers in Worktrees. There is no switch to go back to the old window.

It has worked. Thank you.

For me, the update swallowed GBs of chats from working a “remote” SSH server with a workspace (in reality, it’s a Distrobox but that shouldn’t have anything to do with it). All those chats are inaccessible now.

Import decided to skip a large chunk of chats, and I’m not sure if this is the root cause. It seems data is there, but corrupted.

The usual workspace item in the sidebar is not there anymore, and I added it again by hand but obviously all previous chats are gone. This is incredibly frustrating, infuriating even.

Luckily for me, just 2 days ago I ran an auto-learn skill to extract learnings…

On 3.32.25 the import finished this morning: 29 imported, 2 already here, 2 skipped, 3 failed, none left queued.

Of the two chats I needed, IDE window content is in the Agents window. Mapillary user profile link is one of the three that were refused (owner mismatch). It is still pinned, the history is there, and a new message in that chat completed successfully. I do not need the editor window for either of them.

Hi Colin. 3.32.25 helped partly, but my main chat still won’t import.

  • Windows, Grok Build 3.32.25 (auto-updated 2 Dec)
  • 14 chats imported in 19 seconds. Stuck at “14 Imported · 101 Remaining” since then.
  • The big chat (~1.6 GB spool) failed 6 times in ~2h15m. Each run lasts 15–32 min, then main.log shows “molten-local import failed: daemon-unavailable (Unavailable)” (once “daemon-error (Canceled)”).
  • daemon.log writes nothing during the run, then the daemon restarts.
  • Twice the restart logged “Agent host store used after close” (data.sqlite), and the next import failed after 3 seconds with “daemon-error (Internal)”.
  • No sessions folder for this chat has ever appeared (checked by its session ID).

Questions:

  1. Can you fix or skip this chat so the other 101 can import?
  2. Until it’s fixed, can you turn the Agents Window off for my account? canOptIn is false, so I can’t switch back myself.

Full logs are available if you need them. Thanks.

@Colin
I looked in Archived and searched, found nothing in both.

The issue it seems is the import doesn’t recognise those chats at all in Cursor and so isn’t trying to import them at all. I had over 900 chats in Cursor but only 600 imported.

I’m going to just get an agent to search the transcripts and summarise and start new local chats.

Long-term: We have been updating our processes towards being multi lab - too risky to build rely on Cursor as a multi-lab tool now that its simply a Grok arm - and this confirmed the problem. Might as well spend the money directly on Claude until opencode and other labs catch up.

Looks like its a problem with chats made in multi folder workspaces. I guess the new agent mode decoupled you from VS code, but you had to re-build some things that couldn’t import.

Hi all, a second update (3.33) started rolling out today with more fixes for the import. Please take the “Restart to update” prompt when it shows, or use Help → Check for Updates… (on a Mac it is in the app menu). The import runs again by itself after the restart.

@Ben_Walwyn thanks for checking both, and you read it right. The import copied 914 of your chats and left out 351 because it can’t read back the workspace they were started in. That fits what you found: it happens with multi-folder workspaces whose workspace file was never saved, or has been moved or deleted since. Those chats are still on your Mac, since the import only reads them. 3.33 brings in some of these, so please check Settings → Agents → Imports after updating. For any that still show as skipped there, I’ve flagged this for the team.

@Anthony_Smith you were right that the first update didn’t get yours through. It did finish earlier today: Settings → Agents → Imports should now read about 2,700 imported, with your earlier chats back in the sidebar. There is still no switch back to the previous window for accounts the update moved.

@lesmo your chats were not removed. Chats from a Remote SSH workspace aren’t copied with the local ones. They come across on the host once you connect to it from the Agents Window (New Agent → Use Existing → Connect via SSH), and they still open for reading from a Remote SSH editor window on that workspace. The skipped count in Settings is separate: those are local chats the import couldn’t read in full, and they still open from the editor’s chat history. Is your SSH workspace a multi-folder one (a .code-workspace file on the server)?

@Faiz I’ll leave the details to your own thread, where Farhan is following up. On your two questions here: the other 100 chats are side and subagent chats of the big one, so they come in together with it, and there is no switch back to the previous window for accounts the update moved.