AI Operations

Token Costs, Governance, Persistent Memory: The Three Scars of Running Virtual Employees

Practical guideBy Veeral LakhaniReviewed by Reliable Group operating teamPublished Updated
9 min readvirtual employees, governance, token economics

Three failure modes break most AI deployments before they reach scale. We learned each one running a suite of Virtual Employees inside Reliable Group.

Easy to say. Hard to do. That is the work.

Saying "we will deploy Virtual Employees" is a sentence anyone can write on a slide. Running them in production for two years inside a regulated business is a different thing. Three failure modes break most efforts before they reach scale. Most vendors do not talk about them, because most vendors have not run AI in production at scale inside their own operations. We have. Internally we call these the three scars, and the phrase has stuck because each one cost us something before it became a control. Read the rest of this as three production controls, in the order we learned we needed them.

Production control 1: Compute cost

The first time you run a Virtual Employee in production, the unit economics look beautiful. Twenty cents a task. Pennies for routine work that used to take a human five minutes. The CFO is happy. The slide deck is convincing. Then the prompt structure changes. Or the system upgrades to a longer-context model. Or someone adds a few extra steps to handle an edge case. Or the volume scales from a thousand a day to ten thousand. Suddenly the bill is fifteen times what the model said.

We learned this the hard way running our own AI BDR. The first version of the prompt was structured to give the model maximum context for every contact, on every call. The token consumption per task was acceptable at low volume. When volume scaled and we added longer-context retrieval to handle relationship history, the per-task cost went up roughly four times, and we did not see it for two weeks because the bill is monthly. By the time we noticed, we had spent more on the BDR’s compute that month than we would have spent on a junior human BDR.

Three things changed after that. Prompt-structure economics became a design constraint, not an afterthought. Every Virtual Employee now goes through a prompt-structure review before it ships. Context that does not change per task gets cached. Context that changes per task gets retrieved on demand, not stuffed into every call. Surprise bills stopped being a thing. Every Virtual Employee runs against a monthly token-cost budget with a 70 percent alert and a 100 percent hard cap. Unit-economics models live before the Virtual Employee does. Before we instantiate a Virtual Employee for a client, we build the cost model. The client sees the numbers before signing. The system goes live with budget controls already in place.

The cost model itself is four lines, and writing it down is most of the control. Tokens per task, measured on real examples rather than estimated, separated into the part that is the same every time and the part that varies. Tasks per month at expected volume, and again at the surge volume the workflow actually sees at month end or quarter end, because that is when it breaks. Cost per task at current model pricing, with the cached and uncached portions priced separately. The monthly ceiling, which is the surge number plus a margin, with an alert threshold below it and a hard stop at it. A model that shows only the expected-volume number is the model that produces the surprise, because no operation runs at its average.

The lesson: compute cost is an engineering discipline, not an accounting line. Build it in, or pay for the lesson the way we did.

Production control 2: Governance

The first time a Virtual Employee makes a wrong call in a regulated workflow, you have a serious problem. Not because the Virtual Employee was wrong. Wrong calls happen. Humans make wrong calls too. The serious problem is the answer to the question "who approved that." If the answer is "the Virtual Employee approved itself," the regulator is going to have a problem with you. If the answer is "we have a policy that requires human review but I cannot show you it ran on this case," the regulator is going to have a problem with you. If the answer is "here is the audit log showing the approval chain, the human reviewer, the timestamp, and the decision criteria," you are fine.

We learned this on our internal AI General Counsel, which triages every contract that comes through the company. The first version flagged risk levels and produced a recommendation. It worked well. Then we hit a contract where the recommendation was a low-risk pass and it should not have been. A human reviewer would have caught it. The system was not designed to require human review on low-risk passes. We caught the issue in a Friday review session, before the contract was signed. We were lucky.

We rebuilt the governance pattern after that. Every governed AI role now has, on day one, seven documented elements. Scope. Owner. Approval path. Audit trail. Compute ceiling. Context architecture. Rollback and incident ownership. The approval path matters most. For any output that touches a regulated workflow, a high-dollar decision, or an external commitment, a human owns the call. The Virtual Employee makes the recommendation. The human signs.

Three rules for governance that we now apply to every client engagement. The owner is named, on day one, before the Virtual Employee runs. Not the vendor. Not the platform. A specific human inside the company. The audit trail is engineered, not promised. Tamper-evident for regulated workflows. Retained for the regulatory retention period. The approval path is documented, sampled, and tested. Not just listed in a policy. Actually used. Tested quarterly with mock scenarios.

A worked governance example, for a coding first-pass role in a revenue-cycle function. Scope: propose codes with the supporting documentation attached; it may not submit, and it may not alter a code a human has set. Owner: the coding lead, named, with the escalation path going to her rather than to a queue. Approval rules: every code above a dollar threshold and every code below a confidence floor goes to human review before it leaves the function; everything else is sampled at a rate the compliance team set, which started at 100 percent and came down as the evidence accumulated. Audit trail: inputs, model calls, the proposed code, the policy checks with their results, and who reviewed it, queryable by compliance without asking us for an export. Ceiling: a monthly compute budget with a hard stop that reverts the workflow to the previous process rather than overrunning. Rollback: tested during the build, triggerable by the coding lead without our involvement. Six answers, written before the role ran. That is what governance is; the rest is a policy document nobody tested.

The lesson: governance is what makes a governed AI role a real line on the org chart. Skip it and you have a chatbot producing output a regulator will eventually ask about.

Production control 3: Durable context

A Virtual Employee that starts from zero every morning is a chatbot. A Virtual Employee that holds your business context across months of work is a system. The gap between the two is the difference between a pilot that never reaches production and an asset that compounds.

We learned this on our internal AI Recruiter. The first version was good at drafting job descriptions and summarizing candidate screens. It was bad at recognizing that the candidate it was screening on Tuesday had already been screened by a different Virtual Employee two months earlier and ruled out for a different role. The pattern repeated for weeks before a human noticed. We were doing duplicate work and producing inconsistent decisions because the system had no memory.

The fix was not "add memory." The fix was an architecture decision that took three months to ship. Persistent memory has to be defined storage, not chat history. A separate system that holds canonical facts about candidates, contracts, claims, customers. The chat history is volatile. The memory store is the source of truth. Retrieval has to be deterministic. When the Virtual Employee processes a new case, it looks up the canonical record first. Rule-based, not vibe-based. Update rules have to be explicit. When a Virtual Employee learns something new, the update is written to the canonical store with a timestamp and a source. Not to the model. Not to the prompt. To the store.

The lesson: persistent memory is the architecture decision that determines whether you are running a system or a demo.

Where these controls came from

We run a suite of Virtual Employees inside Reliable Group every day. Our AI BDR surfaces deal signals from thousands of sources. Our AI CFO pressure-tests pricing decisions. Our AI Recruiter drafts requisitions, screens candidates, schedules interviews. Our AI General Counsel triages every contract. Our AI Marketing drafts content. Our AI Board of Directors sits monthly and challenges the leadership team on capital allocation. The suite grows every quarter. Every one has the seven documented elements. Every one has been through the token-cost lesson, the governance lesson, and the persistent memory lesson. The patterns we ship to clients today are the patterns we tested on ourselves first.

What to ask any AI vendor before signing

Five questions. If the vendor cannot answer all five with specifics, the engagement is going to fail in one of the three ways above. 1. Show me your token-cost model for this workflow. 2. Who is the named owner of the Virtual Employee’s output, and what is the approval path? 3. Where is the audit trail stored, what is in it, and how long is it retained? 4. What is the persistent memory architecture? 5. What does this look like inside your own operation?

Easy to say. Hard to do. That is the work.

Sources and methodology

Every factual claim, figure or market statement in this article and the basis for it. Where the basis is our own judgment or experience rather than a measurement, the note says so.

The three failure modes.
Drawn from running these workflows inside Reliable Group before shipping the patterns to clients. This is operating experience rather than a study, and the article is written as a practical guide on that basis.
Compute cost moving by multiples on prompt and retrieval structure.
Observed in our own workflows. The multiple is workflow specific and we do not publish a general figure, because the one that mattered to us would not transfer to your volumes.
Production control requirements.
The seven-item production readiness gate published on the AI-Native Operations page. Same list applied to internal and client work.

Practical implications

  • Agree a compute ceiling with an alert threshold and a hard stop before launch, not after the first surprising invoice.
  • Design the memory store as a defined store with retrieval and update rules. A role running on conversation history will degrade in a way that is hard to diagnose.
  • Write the approval rules and the audit format before the workflow logic. Governance added afterwards tends to describe what was built rather than constrain it.

Where to go next

Get More Insights Like This

The GCC Briefing delivers weekly insights on building and running India operations.

Ready to Build Your India Team?

Book a 30-minute strategy call. We will walk through your situation and tell you honestly whether a GCC is the right move.

400+ ClientsUS-HeadquarteredSince 19716 India Cities