What Happens to an Employee's AI Agent When They Leave?

On November 27, OpenAI filed 12 counterclaims against Apple. It is the latest round in a legal fight that began in July. Apple accuses OpenAI of getting its hardware secrets through people who moved between the two companies. OpenAI now accuses Apple of doing the same in reverse, through an engineer who returned to Apple after about six months at OpenAI. Both sides deny wrongdoing. No court has ruled on either side’s claims.

I won’t guess who is right. The question underneath the case is the one that matters, because every company faces it. When someone leaves, what goes with them?

For most of history, the answer was files, memories, and contacts. Companies built a routine around it. Return the laptop. Revoke the logins. Remind people of their confidentiality agreement.

That routine now has a gap. More employees work beside an AI agent that reads their email, sits in their meetings, and remembers what they have worked on. When the person leaves, most companies have not decided what happens to the agent.

What an agent holds

Be concrete about what a working agent collects over a few months. Depending on its setup, it may hold:

  • Memory. Notes on projects, customers, preferences, and decisions. Often far more detail than the person ever wrote down.
  • Conversation history. Months of questions and answers. Drafts, numbers, and opinions that never reached an official document.
  • Credentials and connections. Saved logins and access to email, calendar, CRM, code, and shared drives.
  • Running work. Scheduled reports, reminders, and monitoring tasks that fire whether or not anyone is watching.
  • Files it created. Summaries, exports, and documents it saved along the way.

Put that list next to a classic offboarding checklist. Almost none of it is covered. Revoking the person’s account does not necessarily stop an agent with its own credentials. Collecting the laptop does not collect memory stored on a vendor’s servers. A scheduled task does not know its owner has left.

An agent is a second employee who arrived with the first. Nobody remembers to offboard it.

Three questions most companies haven’t answered

1. Who owns the agent? Suppose an employee set up an agent on a personal subscription and connected it to work email. The agent, and everything it remembers, may leave with them. This is not a hypothetical worry. A detailed memory of your pricing, customers, and product plans, sitting in a former employee’s personal account, is the kind of material that ends up at the center of disputes like Apple’s and OpenAI’s. That holds whatever the person intended. If the agent runs on a company account, the company keeps it. Then the company has to decide what to do with it.

2. What’s in its memory, and who may see it? An agent’s memory mixes company knowledge with personal data. Customer names. Colleagues’ comments. The employee’s own notes about their life and work. Under the GDPR, personal data shouldn’t be kept longer than its purpose requires, and the departing employee may have rights over data about themselves. “Keep everything forever” is rarely the right answer. Neither is “delete everything”, if the team depended on what the agent knew.

3. Who inherits its work? Say the agent posted the Monday pipeline update or monitored supplier deliveries. Someone else must own that now, or switch it off on purpose. The worst outcome is the quiet middle: an agent still running under a departed person’s name, with nobody watching what it does.

An offboarding checklist for agents

Add these steps to your offboarding process. Most take minutes if you have set things up well. They take hours if you haven’t.

  • List the person’s agents. Include agents on company platforms and any personal tools they connected to work accounts.
  • Pause scheduled work. Stop recurring reports and monitoring tasks before you revoke access. Then nothing fails loudly or half-finishes.
  • Revoke the agent’s access, not just the person’s. Remove the agent’s own credentials and connections to email, CRM, code, and drives.
  • Disconnect personal tools from work accounts. Remove any third-party agent the person authorized. Ask the vendor to delete company data where you can.
  • Review the memory before deciding. Separate what the team needs, such as project context and customer history, from personal data that should be deleted.
  • Hand over or retire. Give each useful agent a new named owner, or shut it down on purpose. Don’t leave it running ownerless.
  • Keep the record. Retain the agent’s activity log under your normal retention policy. Then you can answer questions later about what it did and when.

Design for departures from day one

The easiest offboarding is the one you planned for when you created the agent. A few choices make the difference.

Run agents on company accounts. If an agent touches company data, it should live on a platform the company controls. Not on someone’s personal subscription.

Give agents their own identity. An agent that borrows a person’s login disappears, or breaks, when that login is revoked. An agent with its own scoped credentials can be handed over cleanly. The big platforms are heading this way. Microsoft now lets companies set up agents with their own identities and an accountable manager.

Name an owner who isn’t the agent’s only user. The owner is the person responsible for the agent’s work. They are the first person you call when its user leaves.

Keep shared knowledge where the team can reach it. Project context and customer history belong in team-owned memory or documentation. Not only in one person’s private agent.

Record what agents do. Questions will come up months later. The activity log answers them, whether or not the person is still around to ask.

Where we fit

We are not neutral here. We build Agent Barn, and several of these choices are built into it. Agents run on your own infrastructure, under company control. Each agent has its own encrypted credentials, separate from any person’s login, so access can be changed or revoked in one place. Every conversation and tool call is recorded in a database you own. That is what you will want when someone asks, months after a departure, what an agent did.

The bottom line

The Apple and OpenAI case will be decided in court, probably not before next summer. The question underneath it will not go away. When people move between companies, what moves with them?

Agents make that question harder and easier. Harder, because an agent can remember far more than a person ever writes down. Easier, because unlike a person’s memory, an agent’s memory can be owned, reviewed, handed over, or deleted on purpose. That only works if you decide who owns it before the farewell drinks.

If you’d like to set up agents that survive a resignation cleanly, tell us about one workflow worth automating.

Sources

  1. Latin Times: OpenAI countersues Apple
  2. ABAB News: OpenAI countersues Apple in a California federal court
  3. Sulat News: OpenAI v Apple lawsuit
  4. Microsoft Learn: Agent 365 identity
  5. Agent Barn