AI Agents and Coding Assistants
What Operating an AI System Involves After the Launch Day
Monitoring, quality checks, updates, costs and incident handling: the ongoing work that keeps an AI system useful after release.
Key takeaways
- AI systems can degrade without any visible error, so quality has to be measured on purpose.
- The world, the users, the data and the underlying model can all change after launch.
- A fixed set of test cases lets you compare behavior before and after every change.
- Costs, response times and failure rates need the same attention as answer quality.
- Someone should have the authority and a rehearsed way to roll back or switch off the system.
Launching an AI system is the start of a job, not the end of a project. After release, someone has to watch whether answers stay accurate, whether costs stay reasonable, whether the information it relies on is current, and whether people are being served or quietly working around it.
Ordinary software tends to fail loudly, with an error message or a crash. AI systems often fail quietly. The page loads, the reply arrives in good grammar, and the content is wrong. That difference shapes almost everything about operating one. The practice is often called MLOps (machine learning operations) or, for language model products, LLMOps, and both mean the routines that keep a model-based service reliable.
Why behavior drifts
Even if you change nothing, the system's performance can shift. Drift is the general word for a growing gap between what a system was built or tested for and what it now faces.
User behavior changes. People discover new uses, ask longer questions or learn tricks that get particular results. The world changes too: products are renamed, policies are revised, prices move. A system that looks facts up in company documents is only as current as those documents. Unfamiliar situations are where models are least dependable, and the share of unfamiliar situations tends to grow with time.
The foundation may move as well. If you use a hosted model from another company, the provider may update it, change its settings or retire it. Your own team may adjust the instructions or swap a search component. Each change can fix one thing and disturb another, which is why planning for model changes belongs in the operating plan from the first week.
What to watch
Good monitoring covers four different questions. A system can score well on three and fail badly on the fourth.
Service health is the easiest, because standard tools already measure uptime, delays and error rates. Cost is also countable, although language model charges often depend on the amount of text processed, so a few very long requests can dominate a bill.
Quality and harm take more thought. Useful signals include how often users rephrase the same question, how often a person has to take over, how often drafts are heavily edited before use, and how many complaints arrive. None of these proves an answer was wrong. They tell you where to look.
Check quality with samples and test sets
Two complementary methods do most of the work.
The first is reviewing a sample of real interactions. On a regular schedule, someone who knows the subject reads a random batch and grades each against a short rubric: Is it factually right? Did it follow policy? Did it admit what it did not know? Random selection matters, since a sample made only of complaints gives a gloomy picture and a sample of favorites gives a rosy one.
The second is a fixed test set, a collection of inputs with agreed standards for a good response. Run it before and after any change. Include common requests, awkward edge cases, questions the system should decline, and every serious failure you have seen. A failure that once reached a user should become a permanent test.
You can use a second AI model to help grade large volumes, but check its grading against human judgment, because it has blind spots of its own. Testing whether a change helped covers how to avoid being fooled by one or two good examples.
Keep the knowledge current
Many business assistants use retrieval, which means the system searches a set of documents and hands the relevant passages to the model along with the question. When such a system gives an outdated answer, the model is often not the culprit. An old policy file is still sitting in the collection.
Treat the document collection as something with owners and dates. Assign each source to a person who must confirm it or retire it. Remove duplicates that disagree. Check that access rules carry through, so that a user cannot obtain through the assistant a document they could not open directly.
Retraining is a heavier option that applies mainly to models your organization trained or tuned itself. It needs fresh examples, a held-back test set the model has not seen and a comparison with the old version before switching. New training data can introduce new errors, especially if it includes the system's own earlier output without careful review.
Keep records that let you reconstruct an answer
Sooner or later someone will ask why the system said a particular thing. To answer, you need a log that ties the response to the conditions that produced it: the time, the request, the model and version, the instructions in force, any documents retrieved, any tools called and what happened next.
Without that trail, investigation turns into guesswork. Repeating the same question may not reproduce the problem, because many language model systems include some randomness and the surrounding data may have changed since.
Logs are also a liability. They can collect names, health details, passwords pasted by mistake and confidential business information. Decide what you really need, mask or drop sensitive fields where possible, limit who can read the records and delete them on a schedule. Tell users what is recorded. Retention periods and access rights may be set by law or contract, so this is a decision to make with privacy staff and not by default settings.
Check occasionally that logging works. Teams sometimes discover during an incident that the one field they needed was never saved.
Watch how people use and misuse it
Real users do things testers never imagined. Some ask for help far outside the intended purpose. Some probe for weaknesses, trying to extract hidden instructions or private data. Others simply trust it more than they should.
Read a sample of out-of-scope requests. They show where the system needs to decline politely, and sometimes they reveal a need worth serving. Set limits on request volume and size so that one user or a runaway script cannot exhaust your budget. Review security whenever you connect a new data source or tool, since each connection widens what an attacker could reach.
Feedback buttons help, but few people click them and those who do are not typical. Talk to a handful of regular users now and then. Ask what they double-check, what they have stopped asking and what they do when the answer looks wrong. A quiet system is not always a trusted one.
Manage changes carefully
Instructions to a language model are part of the product, and a one-line edit can alter behavior in surprising places. Handle changes the way careful software teams do.
- Keep every version of instructions, settings and model choice, with the date and reason.
- Run the test set on the proposed version and compare results side by side.
- Release to a small share of users or a single team first.
- Watch quality, cost and complaints for an agreed period.
- Expand, or roll back to the previous version.
Rolling back means returning to the earlier setup quickly. Practice it once before you need it. A rollback plan that depends on an old model the provider has already switched off is not a plan, so confirm what is still available.
Change one major thing at a time when you can. If the model, the instructions and the document set all change on the same day and results worsen, you will not know which to fix.
Handle failures and incidents
Decide in advance what counts as an incident. Examples include exposing private information, giving instructions that could injure someone, taking an unauthorized action or producing a large number of wrong answers before anyone noticed.
A basic response has a clear order: stop the harm, which may mean switching off a feature; preserve logs; work out who was affected; tell the people who need to know; correct the cause; and add a test so it does not return. Some sectors and places have legal duties to report certain failures, so involve legal and privacy staff early.
Systems that take actions need extra care, since a mistake can repeat many times in minutes. Spending limits and stop controls cap the damage while a person is still finding out what happened. Also plan for the system being unavailable: what do users see, and how does the work get done?
Count the ongoing costs
The bill for operating an AI system includes more than computing. It covers human review, maintaining documents and test sets, handling escalations, security updates, compliance work and the time of the people who investigate odd behavior. Review, integration and upkeep are easy to leave out of the original business case.
Compare the total with the benefit at intervals, using measurements and not impressions. It is acceptable to conclude that a feature should be narrowed or retired. When you retire one, tell users, remove its access, deal with stored data according to your retention rules and keep the records you are required to keep.
Who does the work
Small teams may combine roles, but the responsibilities should each have a name attached.
| Responsibility | Typical question it answers |
|---|---|
| System owner | Should this still be running, and in what scope? |
| Subject expert | Are the answers right by the standards of the field? |
| Engineer or administrator | Is it available, secure and affordable? |
| Privacy or compliance contact | Are data and disclosures handled lawfully? |
| Support contact | Where do users report a problem, and who replies? |
A short monthly review with these people, looking at the same few measures each time, catches slow decline that no single day would reveal.