Guide

How to delete your data from an AI agent: memory, files, chat history and the account

Published 7 November 2026 · 12 min read

Deleting a chat in Telegram clears your screen, not what the AI agent keeps. An agent holds four things: memory, files, chat history and your account, and each one is removed its own way. We tested the whole path on our test agent: told it about a client, sent a contract, then made it forget a phone number, delete the file and pack a copy of everything. Below are the real chats, the commands and what stays after /delete.

“Take your files, then close the door”: a woman in a linen shirt puts a pale blue folder into a giant cardboard moving box next to a low oak shelf in a bright empty room

The short answer

Your data in an AI agent is not one thing, so deleting it is not one button. Your agent on WAM Agents keeps four kinds of data: facts in its memory, files in its working folder, the chat history (the last 180 days of each chat) and your account with its payments. Each one has its own way out.

A fact goes with one sentence: “forget my phone number”. A file goes when you ask the agent to delete it. A copy of your files and chat history comes as an archive through /files in @wamagentsbot. Everything else, the agent included, goes with /delete in @wamagentsbot: you confirm with the word DELETE, and the container with your folders is removed in about a minute.

What the agent keeps, and how each part goes

Before deleting anything, it helps to know where things sit. Everything in the first four rows lives in your agent's own container, an isolated workspace that belongs to your account alone.

WhatWhat is in itHow long it staysHow you remove it
MemoryFacts about you, your people, projects, preferencesUntil you change it or delete the account“Forget…” in the chat
FilesFiles you sent and files the agent madeUntil you delete them or the accountAsk the agent, or /delete
Photos and voice you sendThe original fileA local copy for 24 hoursRemoved on its own
Chat historyYour messages, the agent's replies, voice transcripts, file captionsThe last 180 days and up to 1,000 messages per chatDeleted as a whole with the account
Account and billingAccount, plan, magnet balance, payments, consentsWhile the account exists; records the law requires are kept/delete in @wamagentsbot

Two practical notes come out of this table. A voice message leaves as a file after a day, but its transcript stays in the chat history. And /clear only starts a new conversation with the model: the chat history and memory stay where they were.

The test: Daniel, a phone number and a contract

Our reader is Daniel, a wedding photographer in Bristol. He tells the agent his phone number and studio address, sends a signed client agreement, then decides to tidy up: what does the agent hold, and how does each piece go?

Daniel, his studio and the Harper wedding are made up for the test. The agent's replies are real, from our test agent on 2 November 2026, quoted as they came, shortened in places but never added to.

Step 1. Find out what the agent holds

First, the setup. Daniel gives the agent a few facts and a PDF.

WAM Agentonline
Hi, I'm Daniel Brooks, a wedding photographer in Bristol. Things worth keeping: my phone is 07700 900461. My studio is at 14 Mill Road, Bristol BS3 4AE, but I'm moving out at the end of November. This month's big job is the Harper wedding on 22 November. I prefer short replies.09:35✓✓
Hi Daniel. Saved: phone 07700 900461, the studio at 14 Mill Road (until you leave at the end of November), the Harper wedding on 22 Nov, and short replies as my default.I can handle files, web search, and email/calendar/docs if you connect them, and I keep facts across chats — nothing shared with anyone else.Start with the Harper wedding? I can put together a shot-day checklist.09:36
pdfHarper_wedding_agreement.pdf1 page · 1 KBHere's the signed Harper agreement. Please save it in your files, I'll need the balance date later.09:37✓✓
Saved: workspace/clients/harper/harper-wedding-agreement-signed-2026-08-04.pdfThe balance date you'll want: GBP 1,800 due 8 November 2026 — six days from now, and two weeks before the wedding itself. Deposit of GBP 600 was paid 4 August.Also in there: Ashton Court Mansion, 10:00–21:00, one assistant, 450+ edited images delivered within 6 weeks of the event.Want a reminder on the 8th? One-off, say 9am.09:37
Message

The agent said what it saved and where: three facts went into memory, and the PDF went into a client folder under a name it can find later. Now the question everyone should ask before deleting anything.

WAM Agentonline
Before I tidy up: what exactly do you have on me right now? Split it into what's in your memory, which files you keep, and what's in our chat history.09:38✓✓
In memory, all written in the last few minutes from the "Daniel Brooks" message:- Phone 07700 900461; studio at 14 Mill Road, Bristol BS3 4AE, lease ending end of November- Harper wedding, 22 Nov: venue, 10:00–21:00, £2,400 fee, £1,800 balance due 8 Nov, plus the saved file path- Your preference for short repliesFiles- clients/harper/harper-wedding-agreement-signed-2026-08-04.pdf — the signed agreement you just sent, copied out of temp storageChat history — this DM still holds the whole day: the Daniel exchange, and this.09:38
Message

This is the map you need. Memory holds facts in records. Files sit in folders. The chat history is a log of the conversation itself. Three stores, three different ways to clean them, and the agent can show each one when you ask. There is no settings screen for this: you ask in plain words.

Step 2. Make it forget one fact

Daniel is moving out and does not want his phone and old address kept.

WAM Agentonline
Forget my phone number and the studio address. I don't want those stored anymore.09:38✓✓
Gone. The record with your phone and the Mill Road address is deleted, its index line removed, and the two links pointing to it cleaned up. Neither the phone nor the address appears anywhere else in memory — the Harper note has only the venue, fee and dates.One honest caveat: both still exist in this chat log, from your own first message and my audit reply.09:39
Check for me: is my phone number still anywhere on your side?09:40✓✓
Memory: clean. Zero hits.On disk, though, all logs of what was said:- this chat's message journal: 3 occurrences, plus 1 in the incoming-message log — the record of your original message and my audit09:40
Message

The agent removed the record itself, the line in the memory index and the links to it, then checked that the facts were not hiding in another note. When asked again, it searched and reported zero hits in memory.

It also said, unprompted, where the number still is: the chat history. That is exactly how “forget” is built. It works on memory, so the agent stops knowing and using the fact. Your own messages stay in the chat history as a record of the conversation, up to 180 days per chat, and they go together with the account. If you only want an old fact to stop coming up, “forget” is the right tool. If you want every trace gone, that is Step 5. How memory is organised in the first place is covered in AI agent in Telegram: 18 terms in plain English.

Step 3. Delete a file

WAM Agentonline
The Harper balance is paid. Delete the agreement PDF from your files.09:40✓✓
Deleted. No other copies existed anywhere in the workspace, and the empty client folder is gone too.Memory now reads: fee settled in full, balance paid 2 November — and that the agreement PDF was deleted at your request, so I won't go looking for it later.09:41
Message

Two details are worth noticing. The agent checked for other copies before reporting, so “deleted” means the file is gone from the workspace, not just one folder. And it updated the memory note so it will not go looking for a file that no longer exists. The facts Daniel still needs, the fee and the payment date, stay.

For files you send, there is one more automatic clean-up: photos and voice messages keep a local copy for 24 hours, then it is removed. Files the agent saved on purpose, like this contract, stay until you ask it to delete them.

Step 4. Take a copy before you go

Leaving for good starts with a copy. Daniel asks how.

WAM Agentonline
Say one day I want to leave for good. How do I take a copy of my files first, and then delete everything, including you?09:43✓✓
gzcopy-2026-11-02.tar.gz891 KBEverything in my workspace, minus credentials — 891 KB.09:44
Copy first — that's the file above: my whole workspace minus credentials (logins and tokens are never inside). Your files, memory notes, chat journal, reminders. It opens with any zip tool, and it holds what's on my side, not the messages in this chat.09:44
Message

The agent did not explain how to make a copy. It made one: an archive of its workspace with files, memory notes, chat journal and reminders, and without logins and tokens. That took one message.

There is also the formal route, the one to use when you are about to delete the account. In @wamagentsbot, the bot you used to create your agent, send /files. It creates an export request, and once it is approved you get a .tar.gz archive with the same folder structure as the agent's working folder. Archives over 45 MB arrive in parts. Inside are every file in the working folder, what you sent and what the agent made, plus the chat history. Memory is stored separately and is exported on request through /support in @wamagentsbot.

Step 5. Withdraw consent, or delete everything

Two commands in @wamagentsbot end the relationship, and they differ in what they start with.

/withdraw-consent withdraws your consent to personal data processing and takes you to deleting the account, which the bot asks you to confirm. /consent shows the current status of your consents.

/delete removes the agent together with your account. The bot asks you to confirm by typing the word DELETE. After that, the container, its volumes and your folders are removed in about a minute: memory, files, chat history, skills, settings and reminders.

Right before deletion the system takes one safety backup automatically. It is encrypted, kept on a separate server for a limited time and then deleted. The exact terms for backups and security logs are in the Retention section of the Privacy Policy.

What stays after /delete, and why

Three things outlive the account, and none of them is your conversations:

  • billing records the law requires a company to keep, such as payments and consents;
  • the safety backup and limited security logs, for the period set in the Privacy Policy, then deleted;
  • requests that already went to the default model. On the default plan they are processed in DeepSeek's infrastructure in the People's Republic of China, which you agree to at onboarding, and how long DeepSeek keeps them is set by DeepSeek's own terms.

The third point is under your control long before you delete anything. On Pro, attach your own model and move all your chats to it with /claude all or /codex all: your chats then run through your own account with that provider, and your WAM account stays as it is. How that works is in Claude in Telegram: how to connect your own Claude subscription to your AI agent.

Deleting the chat in Telegram is not deleting your data

This is the most common mix-up, and it is where most “how to delete a bot in Telegram” searches start. When you delete a chat with a bot in Telegram, the messages disappear from your screen. The agent's memory, files and chat history live in its container, not in Telegram, so they stay.

The order that works:

  1. Ask the agent for a copy, or send /files in @wamagentsbot.
  2. Send /delete in @wamagentsbot and confirm with DELETE.
  3. Then delete the chats in Telegram, if you want a clean screen too.

If you simply stop writing on Free, the data does not hang around forever either. After 30 days without messages, @wamagentsbot sends a notice. If there is no reply within 7 days, the container data is deleted: chat history, working files and agent settings. The account and magnet balance stay, and /start creates a fresh container.

If you are not sure you want to leave

Deleting is final. A few softer moves cover most reasons people reach for /delete:

  • An old fact keeps coming up: “forget it” fixes that in one line.
  • A file you no longer want the agent to have: ask it to delete the file.
  • A conversation has drifted: /clear starts fresh, and memory and files stay.
  • You want to pay less: turn off auto-renewal in @wamagentsbot (/status). Pro runs to the end of the paid period, then the agent moves to Free and keeps your files, memory and bought magnets.
  • You want your chats to skip the default model: on Pro, attach your own Claude or Codex and move all chats with /claude all or /codex all; your account stays.

What else the agent protects by default, from guests in groups to keys, is in Is an AI agent safe? 8 things to check before you let one into your chats.

What stays with you

Tips before you delete anything

  • Ask “what do you have on me?” first. It takes one message and shows memory, files and history separately.
  • Use “forget” for facts and “delete” for files. Say both in one message if you want.
  • Ask the agent to check after it forgets. A second question costs a fraction of a magnet and confirms the result.
  • Take the copy before /delete, never after. Deletion takes about a minute.
  • Keep separate projects in separate forum topics: each topic has its own memory, so tidying one does not touch the others.

What it costs

Forgetting and deleting are ordinary agent work, so they cost the same as any message. In our test, by the balance in the status line, the seven messages shown here came to about 13 M, from 0 to 4 M each; reading the contract was the most expensive step. On the default model, text costs 1 M per 20,000 tokens.

Both plans include memory, files and every command in this guide. Free gives 200 M in the first month and 100 M every month after, with no card. Pro costs $13.90 a month with 400 M, or $1.39 for the first month if you subscribe within 7 days of signing up. The full rate card is on the pricing page.

Messages worth copying

What exactly do you have on me? Split it into memory, files and chat history.

Forget [the fact]. Then check that it's gone from your memory.

Delete [the file] from your files and tell me if there were other copies.

Pack a copy of everything you keep for me into one archive.

Create your agent, and you can always ask it what it keeps and have it forget anything.

Try it with your own agent

Free, no card. The agent starts working in the chat straight away.

Create your AI agent

Questions

If I delete the chat with the bot in Telegram, is my data gone?

Your screen is clear, but the agent's memory, files and chat history live in its own container, not in Telegram. To remove them, ask the agent to forget or delete specific things, or delete everything with /delete in @wamagentsbot.

Does “forget” delete the fact everywhere?

It removes the fact from the agent's memory, so the agent stops knowing and using it. Your earlier messages stay in the chat history, which keeps the last 180 days of each chat and is deleted together with the account.

Can I download my data before deleting the account?

Yes. /files in @wamagentsbot sends a .tar.gz archive with your working folder and chat history, in parts if it is over 45 MB. Memory is exported on request through /support. In our test the agent also packed a copy of its workspace right in the chat when asked.

How fast does /delete work?

You confirm by typing the word DELETE, and the container, its volumes and your folders are removed in about a minute. A safety backup taken just before deletion is encrypted, kept for a limited time and then deleted.

What does WAM keep after I delete my account?

Billing records the law requires, such as payments and consents, plus limited security logs for the period set in the Privacy Policy. Your conversations, memory and files go with the container.

What happens if I just stop using it?

On Free, after 30 days without messages @wamagentsbot sends a notice, and 7 days later the container data is deleted: chat history, working files and agent settings. The account and magnets stay until you delete the account.

Your AI agent in Telegram, ready in a minute

Open the bot, hit Start, and it walks you through the rest.

Create your AI agent

Free · no card · nothing to install · cancel in the bot

Free no card, nothing to set upCreate your AI agent