Guide

When someone leaves, their agents keep working

People leave. The agents they built, the keys those agents hold and the grants they approved stay behind, running with nobody watching them.

By the NoFly team

What stays behind

  • Agents built in Copilot Studio, Agentforce or n8n under the person’s account.
  • MCP servers configured on their laptop with long-lived tokens.
  • Model API keys created for a side project and never rotated.
  • OAuth grants that let an AI app read their mailbox or drive.
  • Scheduled automations that keep calling tools on a timer.

Why the usual offboarding misses it

Disabling the account in your identity provider stops the person signing in. It does not always stop an API key, a token saved in a config file, or an agent that runs as a service. Those keep working until someone finds them.

A better checklist

  1. 01

    Find everything the person owned or created: agents, keys, MCP servers and grants.

  2. 02

    Decide for each one whether to transfer it, revoke it, or keep it with a new owner.

  3. 03

    Revoke in an order that does not break production.

  4. 04

    Check a week later that nothing still runs under their name.

How NoFly helps

  • Govern

    People who have left are flagged while they still hold access, with an offboarding plan that lists every agent, key and grant, and what revoking each one will and won’t stop.

  • Discover

    Every agent, MCP server and key gets a named owner, so nothing is orphaned when a person moves on.

  • Protect

    An agent can be suspended or revoked in one step, and a departed person’s grants stop working at the gate.

What to do this week

This week3 actions
  1. Take the last three people who left and search for keys and agents in their names.
  2. Give every agent a named owner and a backup owner.
  3. Add AI agents, keys and grants to your offboarding checklist.
Keep reading

More from the blog.

Find out what your AI is allowed to do today.

Book a call and we will map your agents, MCP servers and keys with you, or start on one laptop with the free scan.

Book a demo
npm i -g @nofly/agent