n8n Replaced Its Agent Delete Tool With Archive. Its Own Docs Still Tell You to Call delete_agent.
n8n 3.3 replaced the agent delete tool with archive. The reference still documents delete_agent. Here is what changed, what breaks, and what to check.
If anything in your stack called delete_agent against an n8n instance, it stopped working on 17 November 2026. The tool is not deprecated and it does not return a permissions error. It is simply gone from the tool list, and a client that asks for it gets Tool not found. Its replacement is archive_agent, and an n8n archive agent call does not destroy anything — which is the point, and also the reason a straight find-and-replace of the tool name will leave you with an automation that no longer does what its name suggests.
The change shipped in n8n 3.3, released 17 November 2026 according to n8n’s changelog. Four pull requests implementing it merged together on 11 November: the backend archive state, the MCP tool swap, the editor, and the package format. It is a small feature with an unusually wide blast radius, because it touched the three places people drive n8n from that are not the canvas.
There is a second thing worth knowing before you go looking for instructions, and it is the reason this article exists. As of 26 November 2026, n8n’s own documentation has not caught up. The page the changelog sends you to for details does not mention archiving at all, and the reference an MCP client developer reads still documents delete_agent as the way to remove an agent — including the note that the action cannot be undone.
What n8n actually changed
Until 3.3, an agent had exactly one exit. You deleted it, and it was gone. Workflows already had an archive state; agents did not, which meant the only way to clear a stale agent out of a crowded list was the irreversible option. The pull request that added the backend says so plainly: agents had no archive state, and a delete cannot be undone.
Archiving now sits in between. When you archive an agent, n8n unpublishes it in the same write. That is the part people underestimate — it is not a soft hide. Unpublishing disconnects the agent’s channels and stops its scheduled tasks, so anything that was running on a timer or answering on a channel stops answering the moment you archive.
What it keeps is everything else. n8n’s changelog lists it explicitly: configuration, versions, sessions, execution logs, memory, knowledge, and channel settings all survive. An archived agent disappears from the agent list until you turn on Show archived agents, and you can still open it in the builder, where it is read-only and cannot be published or run. An agent’s memory survives being archived intact, which is worth knowing if you have been working out what agent memory actually is and where it lives.
The restore direction has one detail that catches people. Selecting Unarchive brings the agent back unpublished. It does not resume. You have to publish it again before its channels reconnect and its schedules restart, which means restoring an agent is a two-step operation even though the menu makes it look like one.
How to archive an n8n agent, and how to delete one for good
In the editor, archiving has taken the place that delete used to occupy. On the agent card and in the builder menu, Archive now sits where Delete was. If the agent is published, n8n asks for confirmation first — reasonable, given that confirming disconnects live channels.
To see what you have archived, turn on Show archived agents in the agent list. Archived agents appear with an Archived label. Opening one puts the builder in read-only mode, with an Archived badge, no publish button, and the setup tasks hidden.
Permanent deletion still exists, but it is now gated behind archiving. The sequence, in n8n’s own words, is to archive the agent first and then select Delete — the archived agent’s menu offers Unarchive and Delete, and that second option is the one that destroys it. This is the thing people will search for, because the button they are looking for is not missing so much as moved behind a step.
The same gate applies below the UI. The pull request that added the archive state notes that DELETE on the REST route now requires an agent that is already archived. A direct delete call aimed at a live agent is no longer a single operation, whatever your integration used to do.
Three things that break if you drive n8n programmatically
The first and sharpest is MCP. The pull request that made the change states that archive_agent replaces delete_agent, and that MCP now has no delete tool and no unarchive tool at all — matching how the workflow tools already behaved. The reasoning given is that an MCP client could previously delete an agent in one step with no way back. So the capability was not renamed; it was removed and a safer one put in its place. The new tool needs the agent:delete scope, and every other agent tool now refuses an archived agent with the message that it is archived and cannot be accessed. If your client archives an agent and then tries to read it back to confirm, that read fails by design.
The second is the REST delete gate described above. The third is quieter and will bite anyone doing environment promotion: in package exports, the flag includeArchivedWorkflows is now includeArchived, and it applies to agents as well as workflows. A project export skips archived agents by default, and an agent file now carries an isArchived field. An import will archive or restore a matched agent to match whatever the package says, which needs the agent:delete scope — and an import will not publish an archived agent. If your deploy pipeline exports from one project and imports into another, the archive state now travels with it.
None of these three announce themselves loudly. They are the kind of change that surfaces as a job that silently stops doing something, which is a familiar shape if you have ever watched a bulk run hit the Notion API’s rate limit and keep reporting success.
The part n8n has not written down
The changelog entry ends with a line pointing readers to the Build and manage agents page for more. That page is where you would reasonably expect the instructions to be.
They are not there. On 26 November 2026, the page documents Unpublish an agent — take an agent offline while keeping the draft in your project — and then moves straight on to chatting with a published agent. There is no archive section, no delete section, and the word “archive” does not appear anywhere on the page.
For a person clicking around the editor, that is an inconvenience; the buttons are discoverable even when the manual is silent. For anyone writing against the MCP server it is worse, because the reference is not merely silent. It is still telling you to call the tool that was removed.
The reference still carries a full delete_agent entry: a description reading “Permanently delete an agent and its associated resources”, an agentId parameter, a deleted boolean in the output, and a note that the action cannot be undone. There is no archive_agent entry beside it. Someone building an integration from that page today would write code against a tool that does not exist, and the first sign of trouble would be Tool not found at runtime.
This is worth stating carefully, because it is a documentation lag and not a conspiracy. n8n’s changelog is accurate and detailed; the reference pages simply have not been updated. But the practical advice follows from it: for agent management right now, treat the changelog entry and the pull requests as the specification, and treat the reference pages as out of date until they say otherwise.
What is coming, and what has not shipped
There is a second surface arriving, and the dates matter.
On 25 November 2026 — eight days after 3.3 — n8n merged a pull request adding POST /api/v1/agents/{agentId}/archive and POST /api/v1/agents/{agentId}/unarchive to the public API. Notably, the public API gets both directions, where MCP got archive only. The stated requirements are an API key carrying the agent:delete scope plus the agent:delete permission on the agent’s project. The behaviour described is that archiving is idempotent and returns 200 on a repeat, a second unarchive returns 400, an unknown agent ID returns 404, and a missing scope returns 403.
That is merged code, not a shipped feature. As of 26 November 2026 the newest release listed on n8n’s release notes is still 3.3 from 17 November, so these endpoints are not in any tagged release yet. Worth planning for, not worth calling today.
What to check before you archive anything
Sub-agents are the trap. An agent that uses an archived agent as a sub-agent keeps the reference and displays it with an Archived badge. The reference is not cleaned up. A call to an archived sub-agent then fails with an error asking you to restore it. n8n’s own guidance is to check what depends on an agent before you archive it. In a project where agents call each other, archiving one is not a local decision.
The second thing to internalise is that archive is not a pause button. Because archiving unpublishes in the same write, channels disconnect and scheduled tasks stop. If what you wanted was a temporary quiet period with the agent still deployable in one click, Unpublish is the lighter instrument and it is the one the documentation actually covers.
If you need to track any of this, the backend emits audit events n8n.audit.agent.archived and n8n.audit.agent.unarchived. Those are the hooks to watch if archiving is going to be part of a managed process rather than something people do by hand. And if you are earlier than that — still deciding whether agents belong in your stack at all — the prior question of what AI agents can realistically run and what they cost is the one to settle first.
Preview status, and a version number that does not add up
Two caveats close this out, and both are n8n’s own.
The first is that agents, including archive and restore, are in Preview. The changelog entry says so in a warning box and advises against relying on them in production. That is an awkward combination to be on the receiving end of: a breaking change to a programmatic interface, inside a feature whose own documentation tells you not to depend on it. If you have agents in a production path, this is the argument for keeping that path thin and for pinning your assumptions to behaviour you have actually tested on your own instance.
The second is stranger and I will report it rather than explain it, because n8n’s documentation does not. The changelog page carries a box reading “Current stable: 2.49.6, Current beta: 2.50.1”. The release notes page that same changelog links to runs 3.3, then 3.2, 3.1, 3.0, and then drops back to 2.47.6 — and the strings “2.49” and “2.50” appear nowhere on it. n8n’s feature-availability page explains semantic versioning and the Cloud release tracks, but it does not reconcile those two numbers, and I could not find a page that does. I am not going to assert a relationship between them that n8n has not stated.
What that means in practice is simple enough. Do not pin your expectations to a version string you read on a docs page. Check what your own instance reports, call the tool list on your own MCP connection and see what is actually in it, and verify the behaviour against the instance you are running rather than the one the documentation assumes. That is good advice generally; it is necessary advice when the reference is nine days behind the product. If you are building something more substantial on n8n once you have the agent lifecycle straight, wiring a content pipeline through n8n and Ollama is a good next step.
Sources
Every figure in this article traces to one of these. Dates are when the page was read.
- Archive and restore agentsn8n ChangelogAccessed Nov 26, 2026Official docs
- n8n 3.3 release notesn8n DocsAccessed Nov 26, 2026Official docs
- Build and manage agentsn8n DocsAccessed Nov 26, 2026Official docs
- MCP server tools reference — delete_agentn8n DocsAccessed Nov 26, 2026Official docs
- Replace the MCP agent delete tool with an archive tool (PR 43393)n8n on GitHubAccessed Nov 26, 2026Official docs
- Add an archive state for agents (PR 43392)n8n on GitHubAccessed Nov 26, 2026Official docs
- Carry the agent archive state in n8n packages (PR 43329)n8n on GitHubAccessed Nov 26, 2026Official docs
- Add agent archive and unarchive endpoints to public API (PR 44982)n8n on GitHubAccessed Nov 26, 2026Official docs
- Add archive and restore for agents (PR 43394)n8n on GitHubAccessed Nov 26, 2026Official docs
- Understand feature availabilityn8n DocsAccessed Nov 26, 2026Official docs
Written by
Full-stack developer who builds and runs AI automation systems in production. Runs local LLMs on personal hardware, builds N8N pipelines that actually ship, and deploys on Cloudflare Pages. Every guide on Pipeline Monk is tested on real consumer hardware — a Ryzen 7 5800HS with 16GB RAM and a GTX 1650. If it works on that, it works.