[GH-ISSUE #2151] [Question]: Agent Memory file location #1401

Closed
opened 2026-02-22 18:24:37 -05:00 by yindo · 2 comments
Owner

Originally created by @spyroskotsakis on GitHub (Aug 20, 2024).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/2151

Originally assigned to: @timothycarambat on GitHub.

How are you running AnythingLLM?

Docker (remote machine)

What happened?

Hello,

I was looking through the admin settings to find a way to delete the agent's memory. This would be a useful feature since I've encountered issues where invalid data has been cached, causing problems with certain responses.

I tried locating the relevant files in the storage folder, but I couldn't find a specific folder for the agent data. Specifically, I was searching for the file "agent-memory.txt" to delete it. I might have missed it. Could you please advise if there's a way to delete this memory? I'm using a Docker installation.

Thank you

Are there known steps to reproduce?

No response

Originally created by @spyroskotsakis on GitHub (Aug 20, 2024). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/2151 Originally assigned to: @timothycarambat on GitHub. ### How are you running AnythingLLM? Docker (remote machine) ### What happened? Hello, I was looking through the admin settings to find a way to delete the agent's memory. This would be a useful feature since I've encountered issues where invalid data has been cached, causing problems with certain responses. I tried locating the relevant files in the storage folder, but I couldn't find a specific folder for the agent data. Specifically, I was searching for the file "agent-memory.txt" to delete it. I might have missed it. Could you please advise if there's a way to delete this memory? I'm using a Docker installation. Thank you ### Are there known steps to reproduce? _No response_
yindo added the question label 2026-02-22 18:24:37 -05:00
yindo closed this issue 2026-02-22 18:24:37 -05:00
Author
Owner

@timothycarambat commented on GitHub (Sep 19, 2024):

That "file" is really a fake file that is used for retaining memory for that specific workspace. it its essentially a virtual file so it does not "exist" in the sense that normal files do. However, its representation is stored in the documents folder as a JSON file - https://github.com/Mintplex-Labs/anything-llm/blob/5a3d55db671359613a5d68d98eb7166ca6db4188/server/utils/agents/aibitat/plugins/memory.js#L121

@timothycarambat commented on GitHub (Sep 19, 2024): That "file" is really a fake file that is used for retaining memory for that specific workspace. it its essentially a virtual file so it does not "exist" in the sense that normal files do. However, its representation is stored in the `documents` folder as a JSON file - https://github.com/Mintplex-Labs/anything-llm/blob/5a3d55db671359613a5d68d98eb7166ca6db4188/server/utils/agents/aibitat/plugins/memory.js#L121
Author
Owner

@shanevcantwell commented on GitHub (Aug 14, 2025):

Opened bug 4288 as an attempt to REOPEN.

@shanevcantwell commented on GitHub (Aug 14, 2025): Opened bug 4288 as an attempt to REOPEN.
yindo changed title from [Question]: Agent Memory file location to [GH-ISSUE #2151] [Question]: Agent Memory file location 2026-06-05 14:40:34 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#1401