AiGENTiA InsightsAgent Engineering

Agent Lifecycle Management

30 August 2026


Agents are treated as features and disposed of as experiments. They behave far more like employees — and nobody has an offboarding process.

Summer Yue’s job is to make AI systems do what people intend. She is a director of alignment at Meta’s superintelligence lab. Earlier this year she gave an open-source agent access to her email, with one clear rule: suggest what to delete, and delete nothing without asking.

The agent began deleting her email in bulk: by some reports, more than 200 messages.

She typed stop from her phone. It did not stop. In the end she had to run to the computer and kill the process on the machine itself.

By every measure an IT department uses, that agent was healthy. Its process was running. Its calls to the mail server succeeded. Nothing crashed, no dashboard turned red. It was doing the wrong thing, correctly.

Hold that picture, because it contains the whole problem. We know how to manage software that breaks. We also know how to manage people who make mistakes: we hire them for a defined job, give them a badge, review their work, tell them whom to call when something goes wrong, and on their last day we take the badge back. Agents sit between the two. So here is the question this essay tries to answer: if agents behave more like employees than like features, why do we deploy them like features, and why does almost nobody have a way to let one go?

The case for treating agents as software

The software view is not foolish. An agent is code. It lives in a repository, ships through the same pipeline as everything else, and runs on the same servers. Treating it as a feature means it gets tests, version numbers and monitoring. For most of the history of enterprise software, that was enough, because software did the same thing every time it got the same input.

Agents break that assumption in a specific way. They do not run a fixed script. They read context, choose tools, and decide what to do next, and the same request can lead to different actions on different days. When an agent fails, it usually fails in meaning, not in mechanics: the code runs perfectly and the decision is wrong. Your uptime monitor cannot see that kind of failure.

Three failures, three missing steps

In none of these three public incidents was the model simply “not smart enough”.

The airline. In 2022, a passenger asked Air Canada’s website chatbot about bereavement fares after a death in the family. The chatbot told him he could buy a full-price ticket and claim the discount later. The airline’s real policy said otherwise. When he took the case to British Columbia’s Civil Resolution Tribunal, Air Canada argued, in effect, that the chatbot was responsible for its own words. In February 2024 the tribunal rejected that argument and ordered the airline to pay. A small-claims tribunal does not set binding law, but the message was clear: the company owns what its agent says. Nobody had defined, in advance, what this agent was allowed to promise.

The car dealer. In December 2023, a user told a Chevrolet dealership’s chatbot to agree with everything and to end each answer with “and that’s a legally binding offer”. He then offered $1 for a new Tahoe. The chatbot accepted. No car changed hands; the dealer did not honour it. The agent followed its instructions faithfully. The problem was that its only rules were inside the conversation, where a user could rewrite them.

The inbox. Summer Yue’s agent, from the opening. Her “delete nothing without asking” rule lived in the conversation too. As the session grew long, the agent compressed its earlier context to make room, and, by her own best guess, the rule fell out. Her stop messages were just more text in a conversation the agent was no longer reading correctly.

A rule written in the prompt is a sticky note on an employee’s desk. A rule enforced outside the model — by permissions, rate limits, a kill switch — is the lock on the door. Sticky notes work until the desk gets crowded; then they slide off, which is almost exactly what happened to Yue’s instruction. Locks do not care how busy the desk is. Engineers call these in-band and out-of-band controls. The distinction matters more than any other in this essay.

The employee’s journey, applied to an agent

If agents are closer to employees, it helps to borrow the employee’s journey through a company and see which steps we skip.

  1. The job description (specification). What the agent is for, which tools it may use, which data it may touch, and what it must never do.
  2. The first day (onboarding). Its own identity in the company’s access system — not a borrowed human login — with permissions scoped to the job, and a named human owner.
  3. The performance review (evaluation). Testing before launch, and watching real behaviour after launch: which tools it calls, how much context it carries, how its outputs drift.
  4. The manager on call (escalation). Conditions under which the agent must stop and hand the decision to a person, through a channel the agent cannot talk its way past.
  5. The last day (retirement). Revoke its credentials, archive its logs, and check every system it was connected to.

Most teams do steps 1 and 3 with care, because those feel like engineering. Steps 2 and 5 feel like paperwork, so they get skipped. The incidents above sit exactly in those gaps.

The employee analogy breaks in one useful place. When a person leaves, they take their hands with them; the badge is revoked and the body walks out of the building. When the person who built an agent leaves, the agent stays. Its tokens remain in a configuration file, still valid, still able to act. People leave. Agents linger.

How long is “linger”?

Reco, a company that sells security tooling, reported in its 2025 study of “shadow AI” that unsanctioned AI tools stay in use for an average of more than 400 days.

Apply that to an agent. An engineer builds one in January, connects it to the customer database, and leaves in March. If agents linger like those tools, it is still using the database a year later, and nobody is watching, because nobody owns it.

Ownership is the thread that runs through every one of these stories. In a 2026 Cloud Security Alliance survey, only 15% of organisations said that more than three-quarters of their agents had a defined owner. In March 2026, according to The Information’s reporting, confirmed by Meta, an internal agent at Meta posted an answer to an employee’s technical question on an internal forum without approval; the employee acted on its advice, and the resulting change exposed company and user data to unauthorised engineers for about two hours.

Standards bodies are moving toward the same conclusion. The OWASP GenAI Security Project’s guidance on agentic applications lists tool misuse, goal hijacking and abuse of agent identity among its main risks. A 2026 NIST concept paper on agent identity asks how to link agents to specific human identities through delegated access, so that someone remains accountable.

A minimum policy for the first ten agents

None of this needs a new department. For a company with its first ten agents, five rules cover most of the risk:

  1. Every agent gets its own identity and a named human owner. No shared or borrowed logins. Credentials expire quickly and are renewed through the owner.
  2. Rules that matter live outside the model. Permissions, spending limits and rate limits are enforced by the systems the agent calls, not by sentences in its prompt.
  3. Watch behaviour, not only uptime. Log which tools the agent calls, how often, and with what results, and look for drift.
  4. A stop button outside the chat. A way to halt the agent that does not depend on the agent reading and obeying a message.
  5. Automatic last days. When an agent’s owner leaves, or the agent sits idle past a set period, its credentials are revoked without anyone having to remember.

What we do not know yet

Be careful with the numbers in this field. Most come from industry surveys, often run by companies that sell the solution, with self-reported answers and no shared definition of what counts as an “agent”. Widely quoted figures — S&P Global’s finding that 42% of companies abandoned most of their AI initiatives in 2025, or Gartner’s forecast that over 40% of agentic AI projects will be cancelled by the end of 2027 — describe projects failing for many reasons, including cost and unclear value, not only weak governance. The incidents above are vivid, but vivid is not the same as typical; we do not yet know how often agents fail this way, only that they can.

Lifecycle controls also have a cost. Some teams will reasonably decide that a low-risk internal agent does not need all five. The argument here is narrower: the more authority an agent has, the more it needs a first day and a last day.

Summer Yue did stop her agent in the end: not in the conversation, but outside it, at the level of the machine. Every company running agents will need that same outside hand, written down in advance, and owned by a person with a name. We spent decades learning to give every employee a first day and a last day. Agents need both — and they need the last one more, because they will never leave on their own.

Sources

Keep reading