Ability to permanently delete cloud-agents, chat, history (not archive)

How do I delete cloud agents from https://cursor.com/agents ?

I do not want to archive anything. I want to delete all associated chats, code, environments, etc on a few of my existing agent runs. All I have found is “Remove repository from List” on the /dashboard/cloud-agents page. I don’t know what that means, but it’s not deletion.


Edit: When asking on the help page, this was the response.

I don’t have documentation on managing or deleting cloud agents from the agents dashboard. Let me check the Cloud Agents help page for this.

Read help article: cloud-agents

The help page doesn’t cover deletion specifics. Let me check the Cloud Agent documentation.

Read /docs/cloud-agent

Let me check the setup page, as that’s most likely to cover agent management including deletion.

Read docs page: setup

I don’t see specific instructions for deleting agents in the documentation. The docs cover creating, configuring, and managing environments, but not deleting agents from the dashboard.

Unfortunately, I don’t have documentation that specifically covers how to permanently delete cloud agents from cursor.com/agents/. The help and docs explain how to set up, configure, and run agents, but deletion/archival controls aren’t detailed.

I’d recommend:

  1. Check the agents dashboard UI - There may be a delete or removal button next to each agent that’s self-explanatory
  2. Contact support - Email [email address] with details about which agents you want to delete
  3. Check the forum - [forum link] might have community answers

Is there something specific preventing you from seeing a delete option on the dashboard, or do you need clarification on archive vs. delete?

Hey, thanks for the request. There are three different layers of data, so I’ll break it down by each:

Cloud agent runs chats and history on cursor.com/agents
In the web UI and the Agents sidebar, only Archive is available right now. You can restore via the Archived filter. There’s no permanent delete button in the UI. You can permanently delete this data via:

  • Cloud Agents API: DELETE /v1/agents/{id}. This is irreversible. See Cloud Agents API | Cursor Docs. You’ll need an API key with background agents access.
  • Deleting your Cursor account: this removes all cloud agents data

Environments
You can delete these from the dashboard at cursor.com/dashboard?tab=cloud-agents, using the menu on the repository row. This was added recently, so if you didn’t see it before, try again. If the option still isn’t there, tell me and I’ll take a look.
About Remove repository from List: this archives all agents for that repo and removes the row from the list, but the data is kept and can be restored. It does not touch PRs or branches. So it’s not a full delete.

Local chats in the IDE
These do have a permanent Delete. In the editor window, click the three dots on a chat in History, then Delete. This removes messages, checkpoints, and diffs, not just an archive flag. For bulk cleanup:

  • Command Palette Cmd/Ctrl+Shift+P then run Developer: Delete Old Chats... and pick a day threshold
  • Then run Developer: GC Agent KV Blobs to free orphaned storage
    Don’t delete the state.vscdb file manually. It breaks history.

One last note: if you need cloud agent deletion for enterprise data governance like retention policies or DPA details, it’s best to reach out via Cursor · Contact our sales team so they can confirm the current status for your case. Also, users are requesting a permanent delete button in the Agents UI here: Restore Delete option alongside Archive in chat history. There’s no timeline yet.

Let me know if any path doesn’t work and we’ll troubleshoot.