Skip to main content
When an agent is deleted, Glean soft deletes it for 60 days before permanently removing it. During this window, an admin can restore the agent to its previous state. After 60 days, the agent is permanently deleted and cannot be recovered.

What happens when an agent is deleted

When a user deletes an agent, the following occurs:
  • The agent is removed from the Agent Library, Assistant and Chat pickers, embedded surfaces, My agents, Shared with me, and Favorites. Users can no longer run the agent.
  • The agent’s permissions, favorites, schedules, and triggers are preserved so they can be reinstated if the agent is restored.
  • Subscriptions and Slack/Teams deployment configurations are permanently removed and are not restored if the agent is later recovered.
  • If the agent has subagents, those subagents are also soft deleted along with the parent agent.

Restore a deleted agent

Admins can restore any agent that was deleted within the past 60 days.

Prerequisites

  • You must be an Admin. Agent Moderators cannot restore deleted agents.
  1. Navigate to the Admin Console > Agents > Manage.
  2. Select Recover deleted agents.
  3. Search for the agent by name if needed.
  4. Select the Restore action next to the agent you want to recover.
When a parent agent is restored, any soft-deleted subagents referenced by that parent are also restored automatically.
Subscriptions and Slack and Teams deployment configurations are not restored — you will need to re-deploy the agent to those channels manually.

Permanent deletion

Soft-deleted agents are permanently removed after 60 days. This cleanup runs automatically once every 24 hours. After permanent deletion, the agent and all associated data, including permissions and favorites, are fully removed and cannot be recovered.