Skip to content

How Do You Offboard an AI Employee?

Offboard an AI employee in order: stop its schedule, revoke every key at the source, reassign its work, then check its last actions. A 7-step checklist.

Reviewed by WaveBrain Operations TeamReviewed 9 min read

The short answer

To offboard an AI employee, stop its schedule first, then revoke every key and login it used at the service that issued them, hand its open work to a named owner and read its last actions. Removing an agent from your laptop is not enough: its keys can keep working elsewhere. Keep its activity log key until last, so you can confirm it has really stopped.

Most owners put real effort into starting an AI employee and almost none into stopping one. The agent that drafted your newsletter for three months gets replaced by a better one, everyone moves on, and its API keys, scheduled jobs and tool connections stay exactly where they were. Nobody owns them anymore, and nobody is watching what they do.

This guide is for non-technical owners retiring an AI agent, whether it's being replaced, paused for a while or shut down because it cost more checking than it saved. It gives you the order to do things in, a seven-step checklist and the mistakes that leave a "retired" agent quietly running.

What does offboarding an AI employee mean?#

Offboarding an AI employee means removing everything that lets it act on your behalf: its schedules, its keys and logins, its tool connections and its open work. It's the same job as offboarding a person who leaves, except the agent never hands back a laptop, so you have to find its access yourself.

OWASP, the security community behind widely used risk lists, ranks this as the first risk in its 2025 Top 10 for non-human identities. It defines improper offboarding as "the inadequate deactivation or removal of non-human identities (NHIs) such as service accounts and access keys when they are no longer needed." An AI agent's API keys are exactly that kind of identity.

OWASP describes three ways it happens, and all three fit AI employees:

  1. Stale: the agent is replaced, but its keys stay active and unused.
  2. Orphaned: the person who set up the agent leaves, and nobody new owns its keys.
  3. Partly offboarded: someone saw the agent's credentials while setting it up and leaves without anyone changing them.

Why does offboarding an AI employee matter?#

It matters because a retired agent's access doesn't expire on its own. A key that nobody uses is a key nobody notices, and OWASP warns that such identities "may retain elevated permissions, amplifying the potential damage" if they're ever misused.

The gap is common. OWASP's page cites a Cloud Security Alliance report finding that 51% of organizations have no formal process to offboard or revoke long-lived API keys. For a small business, the practical risk is simpler: an old scheduled job that wakes up and emails customers, or a key in a forgotten config file that still has write access to your CRM.

In what order should you offboard an AI employee?#

Stop the agent first, cut its access second and close its record last. If you revoke keys while a schedule is still running, the agent may keep trying to work, fail halfway through tasks and leave a mess you have to clean up by hand.

StepWhat to doWhy it comes here
1. PausePause every scheduled job and trigger the agent runs onNothing new starts while you work
2. Hand offGive its open tasks, drafts and queues to a named person or agentWork in progress doesn't get lost
3. List its accessWrite down every key, login, MCP server and integration it usedYou can't revoke what you haven't found
4. Revoke at the sourceRevoke each key in the service that issued itDeleting a local copy doesn't disable a key
5. Remove connectionsRemove its MCP servers, plugins and webhooksStops it reconnecting by accident
6. Check the recordRead its last actions and confirm nothing ran after the pauseProves it has stopped
7. Close outRevoke its activity log key, update your roster, write the dateLeaves a clear answer for later

The order matters most at the end. Keep the agent's activity log key active until step 6, because that log is how you see whether anything still runs after you think it's off.

How do you offboard an AI employee, step by step?#

Work through the seven steps in one sitting, ideally on a day the agent would normally run, so you'd notice if something slips through.

  1. Pause its schedules. In Hermes, for example, the docs describe hermes cron pause <job> as "keep the job but stop scheduling it," and hermes cron remove <job> deletes it entirely. Also check outside the agent: a system cron job, an n8n or Zapier workflow, or a webhook can start the same agent.
  2. Hand off its open work. Ask the agent, before you cut it off, for a plain list of what's unfinished and where each item lives. Give each item to one owner. Our guide to handing off work between AI agents covers what that note should contain.
  3. List its access. Check the job card or roster first, then the places keys hide: config files, environment variables, the agent's MCP settings and each tool's list of API keys or connected apps.
  4. Revoke each key where it was issued. GitHub's documentation is clear on what revocation does: "When a token has expired or has been revoked, it can no longer be used to authenticate Git and API requests." Deleting the key from your laptop does nothing to a copy that lives somewhere else.
  5. Remove its tool connections. In Claude Code, claude mcp remove <name> removes a server. Its docs add an important caveat: Claude Code deletes the tokens it stored, but it "doesn't revoke the tokens at the authorization server that issued them." That's why step 4 comes first.
  6. Check the record. Read the agent's last week of actions. Look for anything logged after you paused it, and for any task that started but never finished.
  7. Close out. Revoke the agent's activity log key, mark it retired on your roster with the date and the reason, and tell anyone who relied on its work.

If an agent was given more access than its job needed, offboarding is when you find out. Our guide to giving an AI agent access to tools safely shows how to keep that list short for the next one.

Should you pause an AI employee or retire it?#

Pause it when you expect to bring it back within a few weeks, such as during a busy season or while you rewrite its instructions. Retire it when it's being replaced, when nobody owns it anymore or when it has cost more checking than it saved.

SituationPause or retireWhat to do
Replacing it with a better agentRetireFull seven steps; give the new agent its own keys
Owner is leaving the companyRetire, or reassignGive it a new owner and rotate every key the old owner saw
Too many corrections latelyPausePause schedules, rewrite instructions, restart on drafts only
Seasonal job, back in a monthPausePause schedules; keep keys but note when to review them
Nobody can say what it doesRetireTreat it as orphaned and offboard it fully

One detail to watch when you resume a paused agent: the schedule may not simply pick up where it left off. Hermes, for example, documents that a recurring job whose slot came due while it was paused fires "one catch-up run" on the next tick. Check what that run will do before you resume, especially if it sends anything. Our guide to monitoring scheduled AI agents covers how to spot runs you didn't expect.

What do people forget when they offboard an AI agent?#

They usually forget the access that isn't on the agent's own machine. The keys you remember are the ones you created recently; the ones that cause trouble are the ones someone else set up months ago.

  • Copies of the same key in more than one place, such as a laptop and a server.
  • Keys the agent shared with other tools, so revoking one breaks a second workflow you forgot was using it.
  • OAuth connections in your Google, Slack or GitHub account settings, which stay authorized until you remove the app there.
  • Scheduled jobs in a second tool, such as a no-code workflow that calls the agent.
  • The owner's own knowledge of the credentials. OWASP's advice is to "transfer ownership to another employee and rotate any credentials that the departing employee had access to."

A one-key-per-agent rule makes all of this easier next time: when each agent has its own key in each tool, retiring one agent never breaks another.

Where does WaveBrain fit?#

WaveBrain is the record you check at step 6. It's a hosted activity log: your agents report each finished action to it, and you read what they did in one place, so you can confirm a retired agent has stopped and see what it touched last.

Agents connect through WaveBrain's MCP server, which gives them a log_action tool and tells them to call it after any action with an effect outside the chat. Each entry has a title, details of what changed and the result, the agent's name, a project and an optional link, marked as a success or a failure. Scripts and no-code workflows log the same fields with one REST request. For offboarding, filter the dashboard by the agent's name to read its last actions, and check the API keys page, which shows when each key was last used. Use a separate key per agent so you can revoke one without touching the others. A revoked key stops being accepted for new actions within about half a minute, and the entries it already logged stay in your history.

Be clear about what it isn't. WaveBrain doesn't revoke your agent's keys in other tools, pause its schedules or block its actions; you still do steps 1 to 5 in each service. It records only what agents report, so an agent that skips log_action leaves no entry, and revoking its WaveBrain key stops the logging, not the agent. It isn't LLM tracing and doesn't record prompts, responses or token costs. It isn't a tamper-proof audit trail, and it doesn't filter secrets from the text agents write on the server. History is kept for your plan's window and then deleted, so copy anything you need to keep longer. The Free plan includes 1,000 actions a month, 7-day history and 2 API keys. Pro is $12 a month for 50,000 actions, 90-day history and 50 API keys. You can start free with no credit card.

Frequently asked questions#

What is the first thing to do when you retire an AI agent?#

Pause its schedules and triggers so nothing new starts. Then hand off its open work and revoke its access, in that order.

Is uninstalling an AI agent enough to offboard it?#

No. Uninstalling removes the local copy, but its API keys and app connections keep working until you revoke them in the service that issued them. Claude Code's docs, for example, say removing an MCP server doesn't revoke its tokens at the server that issued them.

Should I delete an AI employee's activity history?#

Usually not right away. Its last actions are how you check that it stopped cleanly and what it left unfinished, and they answer questions that come up later. Keep a copy of anything you need beyond your log's retention window.

What if nobody knows which keys an old AI agent used?#

Check each tool's list of API keys and connected apps for unknown or unused entries, and revoke what nobody can explain. If something breaks, you've found a dependency you can now document properly.

Does WaveBrain turn off my AI agents?#

No. WaveBrain records the actions your agents report so you can review them. Pausing schedules and revoking keys happen in the tools your agents use.

Sources#