Quick Take
An AI agent used in a business-critical process is production software, not just a prompt. Its instructions influence behaviour, its tools and knowledge sources are dependencies, and changes can introduce failures that are difficult to detect.
The solution is not another AI framework. It is applying established software engineering practices: version control, automated testing, documentation, controlled deployment and monitoring. Evaluations should verify behaviour and detect regressions before changes reach production.
Personal AI experiments can remain lightweight. But when agents access enterprise systems, influence decisions or execute transactions, engineering discipline must increase with the risk and consequences of failure. More autonomy requires more control, not less.
AI agents are moving into serious business processes. The boring rules of software engineering now apply to them too. That means putting agents under source control, automating tests, documenting dependencies and deploying changes through a controlled release process.
Consider these two examples:
- Ask an AI agent to draft a clean, readable email and get it wrong, and someone rewrites a paragraph.
- Ask an AI agent to qualify a bid, review a deal, or assess risk, and if it gets it wrong, someone signs off on a number that was never actually verified.
Both are called AI agents, but the consequences of failure are very different. That difference should determine how they are engineered, tested and deployed.
That difference is the whole story, and most organisations build both the same way. We use our own prompts, Open ChatGPT, Claude, Copilot or Gemini. Tweak the instructions. Add a document. Adjust a tool description. Ask it a handful of questions, nod at the answers, publish. No pull request. No test suite. No second pair of eyes. Just an editor window and a “looks good to me.”
For the email agent, that’s a reasonable way to work. Worst case, someone reads a slightly odd sentence before it goes out.
For the agent sitting inside bid qualification, deal review, or risk assessment, that same casual workflow is how a wrong number reaches a decision-maker who trusts it because “the AI checked it.” The governance, the testing, the traceability. None of that scales down just because the interface looks the same.
Your AI agent is not a prompt. It is not a clever configuration in a chatbot window. It is software, running in production, making decisions that affect customers and revenue. What that means in practice depends entirely on what it’s allowed to touch. Most organisations don’t make that distinction. They should, since the second one is serious software.
When an agent becomes production software
A personal assistant that drafts an email and an agent that qualifies a bid may use similar models, but their failures have different consequences. The second agent can influence a commercial decision, retrieve sensitive records or call external systems. That makes ordinary engineering questions unavoidable: which version was running, what changed, who approved it and what evidence showed the new version was safe to deploy? If an answer later proves wrong, the team must be able to reconstruct the instructions, model, tools, permissions and knowledge that shaped it.
This is familiar territory. Engineers once edited configuration directly on production servers, copied files between environments and documented changes afterwards, if they remembered. The people doing that work were often skilled. The problem was that the production system gradually drifted beyond reliable control. Source control, separate environments, automated tests and repeatable releases emerged because changes had to become traceable and reversible. Editing an agent’s live instructions in a browser can recreate the same problem with a more inviting interface.
An AI agent is more than a prompt
The model is not the application. A working agent combines a model with instructions, orchestration logic, tools, permissions, knowledge sources and sometimes memory or other agents. Natural-language instructions are not compiled code, but they can still change what the system does. A sentence that changes tool selection or stops escalation may break workflows that previously worked, without raising a syntax error. That is why instructions and configuration belong in a controlled engineering lifecycle.
This also changes who can build software-like capabilities. A business analyst or domain specialist can prototype an agent without starting a conventional development project, and that accessibility is valuable. Yet easier creation does not make production responsibility disappear. The useful distinction is not developer versus non-developer; it is experimentation versus an agent on which a real process depends. The controls should follow the impact of a failure, not the job title of the person who built it.
A small edit can have a large blast radius
Consider an agent that gives customers an incorrect answer about a policy. Someone changes an ambiguous instruction, asks the original question again and gets the right answer. It is tempting to publish immediately. But perhaps the same instruction also affects escalation, tool selection or answers in another language. A local retest proves very little about the rest of the system. An agent’s probabilistic behaviour makes regression evaluation more important, not less. Teams need representative scenarios, tests of boundaries and failure cases, and a record of what changed.
The operational consequence is straightforward. A change to an agent definition deserves review when it can affect business outcomes. That includes changes to prompts, model snapshots, tool implementations, retrieval configuration, permissions and evaluation data. Once these parts are treated as dependencies rather than invisible editor settings, the next step is to build an actual release process around them.
Engineering the agent: versioning, testing and delivery
Call it a prompt if you want. It won’t stay accurate for long. A production agent can carry detailed instructions defining role and boundaries, hold very elaborate skills, tool descriptions steering which capabilities get used, retrieval configuration determining what knowledge it sees, permission models controlling what systems it can touch, and output schemas shaping what downstream systems can do with the result. Some carry memory across interactions.
At that point, “it’s just a prompt” is roughly as accurate as calling an enterprise application implementation “just a config file for <insert your favorite ERP>.” Technically, something like that exists. It tells you nothing useful about the system.
The industry is already moving past the word. AWS calls the operational discipline AgentOps, and treats agents, tools and memory as versioned, deployable artefacts with CI/CD and governance wrapped around them. Anthropic makes the same point from the testing angle: teams need evaluations to catch behavioural changes before users do. The label will keep shifting: LLMOps, AgentOps, agent engineering. The behaviour underneath it won’t.
Managing production AI agents means being able to trace what is running, why it was changed and whether the new version still behaves as intended. Four engineering controls make this practical:
- Source control and version management: record what changed, why it changed and which instructions, tools and knowledge sources belong to a release;
- Document the agent’s scope and intent, including dependencies on other agents, knowledge sources and skills;
- Validation and automated evaluation: check new behaviour, regression scenarios and relevant failure conditions before promoting a release;
- Controlled deployment and delivery automation: record which agent version and dependencies run in each environment, with a way to roll back.
1. Source control: the first boring requirement
Start with the obvious one. Put the instructions for your LLM agents in Git, and a change stops being invisible.
You see what changed. Who changed it? Which requirement or issue is it tied to? Someone else can review it before it ships. You can diff the new version against the old one. If a change causes problems, you can return to a previously working version without losing its history.
For a team still editing prompts in a browser window, moving to source control looks like a minor technical upgrade. It isn’t. It changes who owns the production definition. The configuration is no longer whatever happens to be sitting in the editor today. The repository becomes the source of truth.
This is showing up explicitly in LLMOps practice already, treating a prompt change, model swap, or retrieval change as a deployment: tested, staged, reversible.
That’s the right instinct. Even a one-line instruction change can alter a production release. Its risk should determine the review and testing required.
Git alone doesn’t finish the job
Versioning prompt.txt is a starting point, not a lifecycle. The release also needs to identify the model and its version, tool implementations, permissions, retrieval configuration, knowledge snapshot, skills, safety boundaries and evaluation suite. Together with the instructions, these elements provide the evidence needed to reconstruct behaviour as closely as the platform allows.
For example, a release manifest might record instructions version 1.7, model snapshot X, knowledge release 42, tool bundle 3.4, evaluation suite 18 and source commit 7f29c4a. This is an illustrative record, not a prescribed standard.
The exact format doesn’t matter. Knowing what was running when something broke does. Without it, incident analysis of a false output of an AI agent turns into archaeology.
2. Natural language doesn’t document itself
Instructions written in English create an illusion of self-documentation. They aren’t. Reading an instruction tells you what someone told the agent to do. It doesn’t tell you why. Which alternatives got rejected? Which risks were accepted on purpose? Why was a particular tool, model or external source allowed? When is the agent supposed to hand control back to a human?
The most important thing to document is the agent’s intended purpose and the decisions behind its configuration. Those answers need to live somewhere, attached to the agent: What is the goal, who owns it, what problem it solves, which process depends on it, which data it can touch, which systems it can modify, what it must never do, when it has to escalate, what correct behaviour looks like, what its known limitations are, and who signs off on a new version.
This documentation is not merely paperwork for auditors. It allows the engineer investigating an incident six months later to understand the agent’s intended behaviour, accepted risks and dependencies. If no one owns that knowledge, the organisation may operate the agent without being able to explain or control it.
3. Testing: Non-deterministic is not the same as untestable
The testing discussion often goes wrong at the same point. A language model can produce different answers to the same input, so exact string comparison is not always a useful acceptance test. But that does not make an agent untestable. We can evaluate whether it follows instructions, chooses permitted tools, respects boundaries and reaches an acceptable result across a representative set of scenarios. Testing has to account for variation rather than abandon quality control.
Plenty of an agent is ordinary deterministic software. Tool APIs get unit tests. Authentication gets tested. Permissions get verified. Output schemas get validated. The probabilistic part gets a different kind of test: evaluations. Did the agent reach an acceptable result, not an exact string match? Are the required facts present? Did it avoid the prohibited behaviour? Did it pick the right tool? Did it follow the expected process?
And evaluations let you compare versions. Fix one failing scenario, and the new version passes it. Good. Did it get worse somewhere else? That’s a regression test, and Google’s guidance on evaluating generative AI is explicit that agent actions and tool selection belong in that evaluation, not just final output.
The mechanics of evaluation change when an agent can produce varied outputs and choose different tools. The need to demonstrate acceptable behaviour remains.
4. Quality assurance beyond the playground
Quality assurance is the validation of a product against a minimum set of standards. This is not: someone builds an agent, tries a handful of prompts, and calls it tested. That’s a demo, not quality assurance. A production agent needs functional evaluation against representative scenarios, regression evaluation to catch damage from a proposed change, and security testing to check whether users or retrieved content can talk the agent out of its own boundaries.
Tool permissions deserve extra scrutiny. An agent that can act and alter data inside another (enterprise) system is a different category of risk compared to a chatbot that can help you improve the readability of an awkward paragraph.
Performance matters too. An accurate agent that takes forty seconds when users expect five is a production problem. Especially when the Agent is part of a straight-through process. Cost control is also part of quality too: a new instruction or model can quietly triple token use and reasoning depth for a marginal accuracy gain. Retrieval access needs its own testing, because giving an agent access to the right document is not the same as it retrieving the right document. And reliability needs testing, because APIs fail, tools time out, and credentials expire.
The test intensity and thus test strategy should match the risk of the process. That’s just engineering.
5. Knowledge sources need versioning too
Knowledge often gets managed more casually than the instructions themselves. Upload a PDF, connect SharePoint, re-index, done.
However, a change in a knowledge document can alter agent behaviour as much as a change in its instructions. When a policy document is updated, which agent versions use it? When did the underlying content change? Is the old document still floating around somewhere? Was the new version tested against the scenarios that depend on it?
Or the reverse: a knowledge configuration change quietly exposes something the agent shouldn’t see, or removes something it needs to make a correct call.
For production, knowledge needs provenance and a lifecycle. “What did the agent actually know at the time?” has to be an answerable question. Not a philosophical one, an incident-management one.
6. The model is a dependency too
Teams swap between GPT, Claude and Gemini, and between versions within a provider, as if they were interchangeable compute engines. But for more complex AI agents, they are not interchangeable. Different models interpret the same instructions differently. They make different tool choices. They differ in reasoning behaviour, context limits, safety posture, latency, cost. Even a point release inside one provider can shift behaviour.
Model selection belongs in the controlled release configuration. If you test on one model and deploy on another you didn’t deploy the thing you tested. Software engineering already has a word for this: dependency management.
7. Continuous delivery is the missing piece
AI agents do not need a new vocabulary for continuous integration and continuous delivery. The established engineering practices still apply, with agent-specific evaluation added where necessary. A workable release process follows these steps:
- A developer or domain expert changes the definition in a repository.
- A pull request triggers automated checks.
- Functional and regression evaluations run.
- A reviewer sees the change and its results.
- The approved version deploys to a controlled environment, gets smoke-tested, and (for higher-risk cases) waits for explicit approval before production.
- The approved release is promoted through the appropriate development, test, acceptance and production environments.
- Monitoring tells you how the new version behaves against real traffic. If it degrades, you roll back to a known version.
None of this is exotic. It follows the continuous-delivery practices that engineering teams have developed over the past two decades. The missing piece in most agent implementations isn’t another foundation model or another orchestration library. It’s a delivery pipeline.
Many agent-building tools still make automated deployment harder than conventional software platforms do. That gap matters when the agent is part of a critical business process.
A practical CI/CD release for an AI agent
Consider a bid-qualification agent with read access to tender documents and permission to produce a recommendation, but no authority to submit a bid or change commercial data. Its owner changes a tool instruction and opens a pull request. The pull request should make the behavioural change visible, run reproducible structural checks and test representative situations before anyone promotes the agent. In a low-risk experiment this can stay lightweight. In a business-critical workflow, evaluation evidence and approval must be part of the release record.
Version the release, not just the prompt
A release manifest could identify agent_version: 1.8, source_commit: 7f29c4a, model_snapshot: approved-model-id, tool_bundle: 3.4, knowledge_snapshot: 42 and evaluation_suite: 18. These are illustrative fields, not a vendor-specific schema. The manifest should also record the permissions and deployment environment. An immutable knowledge snapshot is preferable where the platform supports it; otherwise record document versions, retrieval index configuration and time of deployment so that an incident can be investigated.
Use evaluations as a release gate
The evaluation suite should go beyond checking whether an answer sounds reasonable. In this example it would verify that required tender requirements are extracted, unknown evidence is marked as unknown, financial values are not invented, disallowed tools are never called and the agent escalates an uncertain recommendation to a human. Run the proposed version against a fixed scenario set and compare the results with the current production version. Track the pass rate, prohibited tool calls, escalation correctness, response time and token cost. Define failure thresholds before examining the result; otherwise the team is tempted to move the goalposts when a release looks promising.
Promote, monitor and roll back
A practical pipeline validates the repository, runs the evaluation suite, saves the evidence and requires review before promotion to a test environment. After a smoke test, the approved version can be deployed using the appropriate platform interface. Production monitoring should track unexpected tool calls, error rates, latency, cost and incidents. Keep the last known-good release available for rollback, and remember that restoring instructions alone may not restore a changed model or mutable knowledge source. This example is a design pattern, not a claim that one universal deployment command works across OpenAI, Claude, Copilot Studio, Google and AWS.
This extends existing continuous-delivery practice rather than replacing it. The AMIS Technology Blog also has useful background on continuous-delivery pipelines and on measuring software quality. The underlying engineering challenge is familiar: changes should be understandable, measurable and recoverable.
Where the platforms actually stand
“OpenAI versus Anthropic versus Google” is the wrong comparison. The real split is between consumer-oriented builders and managed developer runtimes. They solve different problems.
ChatGPT Custom GPTs and Gemini Gems are built for accessibility, and they deliver on it. Their documented workflows are still editor-centric rather than a Git-to-production pipeline; OpenAI gives GPTs version history, Google treats Gems as objects created and edited in the Gemini app.
Developer platforms provide more of the necessary lifecycle controls, although the division between native features and team-built integration matters. Claude Managed Agents supports reusable, versioned configurations covering the model, instructions, tools and skills; its managed API is still labelled beta in the documentation checked for this update. Microsoft Copilot Studio’s Agent Review Pipeline can be configured as a pre-deployment quality gate through Power Platform Pipelines, but teams must set up the required flows, workflows and thresholds. Microsoft Foundry documents a GitHub Actions-based deployment and smoke-test route for hosted agents. AWS Bedrock AgentCore supplies managed runtime, evaluation and observability capabilities, while CI/CD composition remains an engineering choice. Code-first agent applications built with SDKs can participate in established Git and CI/CD workflows. None of these options eliminates the need to define the tests, ownership and production approvals.
These are different implementation models, not a single maturity ladder. A low-code environment with managed lifecycle controls may suit one organisation; a code-first runtime integrated into existing pipelines may suit another. The useful comparison is which controls are available, which must be built, and who owns them.
Platform comparison: an August 2026 snapshot
| Platform | Source control fit | Automated deployment | Lifecycle/ versioning | Automated testing & evaluation | Overall CI/CD fit |
|---|---|---|---|---|---|
| Anthropic Claude Managed Agents | Strong | Strong via API and CLI | Native versioned managed agents | Strong fit for eval pipelines | Strong (Managed Agents still beta) |
| Microsoft Foundry Hosted Agents | Strong | Strong, documented GitHub Actions flow | Hosted agent versions per deployment | Smoke testing and evaluation integrable | Very strong (some Hosted Agent tooling preview) |
| Microsoft Copilot Studio | Good via Power Platform ALM | Strong via Power Platform Pipelines | Solution and environment lifecycle | Automated Agent Review quality gates | Strong for enterprise low-code |
| Google Vertex AI Agent Engine | Strong for code-based agents | Strong via cloud CI/CD, Agent Starter Pack | Managed deployed resources | Vertex Gen AI Evaluation | Strong |
| AWS Bedrock AgentCore | Strong for code and config | Strong via standard AWS delivery, AgentCore CLI | Managed runtime, config as artefacts | AgentCore evaluation and observability | Strong |
| OpenAI Agents SDK / API stack | Strong | Strong via normal app CI/CD | Controlled through your own architecture | Code-first evaluation possible | Strong |
| OpenAI Custom GPTs | Limited | Editor-oriented, no documented Git pipeline | Version history in the GPT editor | Interactive testing, not a CI model | Limited |
| Gemini Gems | Limited | Gemini app workflow | Builder-oriented | Not equivalent to a CI pipeline | Limited |
The table above is an editorial comparison from August 2026, not a certification or an up-to-the-minute feature inventory. Terms such as strong and limited describe the fit for an automated engineering workflow, not overall product quality. Some capabilities are native, others require additional CI jobs, deployment tooling or test harnesses. Preview and beta labels may change; check the linked vendor documentation before selecting a production platform. Consumer-oriented builders such as Custom GPTs and Gemini Gems serve a different need. A personal assistant created in fifteen minutes does not necessarily require an enterprise release pipeline.
An autonomous agent touching a financial, operational, or compliance process in fifteen minutes is exactly what should worry you. The ability to build fast is not the same as the right to deploy carelessly.
Production controls must match the consequences
The interesting question is no longer only whether a model can solve a task. It is whether the organisation can reproduce a release, evaluate a change before deployment, explain an incident and recover when a new version performs worse. A personal assistant may need only lightweight checks. An agent updating business records, qualifying a bid or recommending a risk decision needs a documented owner, explicit boundaries, meaningful evaluations and controlled delivery. The engineering standard should be proportionate to access, autonomy and potential harm.
The argument is not that every prototype needs an approval committee. Experiments should remain quick and inexpensive. The point is to recognise when a useful experiment becomes part of a real process. At that moment the organisation must be able to identify its dependencies, assign accountability and demonstrate that changes have been tested. A live editor is convenient; it is not a substitute for a release procedure.
More autonomy makes engineering discipline more important
As agents receive broader permissions and less direct supervision, failures can reach further. That calls for stronger access controls, better evaluation and more observable operations. Much of the machinery already exists: Git, pull requests, CI/CD pipelines, infrastructure as code, incident handling and monitoring. Agent-specific evaluation introduces new work, but it does not require us to abandon what software engineering has learned over decades.
A production agent should have a reproducible definition, traceable changes and an identifiable release. Teams should know which model and knowledge sources it used, what tests were run and how to roll it back. The difficult part is often less about finding another framework than deciding who owns these controls and which failures must block release. A convincing demo does not answer those questions.
The final responsibility remains with the people deploying the system. AI makes it easier to express behaviour in natural language and to automate tasks that previously required conventional software. It does not make the consequences of production failures disappear. Put the definition under source control, test meaningful behaviour, document dependencies and deploy through a controlled process.
The next articles will examine practical agent engineering in more depth: versioned definitions, automated evaluations and deployment pipelines. For a related discussion of ownership and review dates, see Your AI Agent Skills Have an Expiry Date. Practical examples of what has and has not worked are welcome in the comments.
(Images in this article were generated using AI.)
