Deterministic automation first: Deciding when an AI agent is needed

Reusing tested playbooks for routine IT operations helps enterprises control token consumption while reserving AI for work that requires judgment
Subscribe
3 min read
Arunachalam Jayaraman
Arunachalam Jayaraman
Vertical Solution Principal, Platform Engineering – HCLTech AI Force.ITOps, HCLTech
3 min read
Deterministic automation first: Deciding when an AI agent is needed

IT operations teams have spent years turning familiar problems into documented procedures. They know how to restart a service or provision a virtual machine from an approved configuration. Much of that knowledge already exists in scripts and playbooks that can execute the work repeatedly.

The arrival of AI agents should build on that investment. However, the temptation is to apply a new tool to every task, including work that existing automation already handles reliably. This is where agent washing becomes an operational cost: A procedure that previously ran without a model now consumes tokens each time it is performed.

In my  on token optimization, I introduced deterministic automation as the first consideration in designing Agentic . The starting question is straightforward: Does this task need judgment?

Recognizing work that already has an answer

A deterministic task follows a known procedure. The team knows which action to take for a given set of inputs and what result to expect.

Consider provisioning a virtual machine in Amazon Web Services. If the configuration is available and an approved Terraform script already performs the provisioning, that script can execute the request. Asking a model to generate the provisioning logic again adds work that has already been completed.

The same principle applies to password resets and standard service restarts. Their execution can remain within established automation, without invoking a language model.

That distinction is important at scale. A small amount of unnecessary token consumption may appear insignificant in a pilot but when the task runs repeatedly across an enterprise, it becomes a continuing expense. A tested playbook can be reused without paying for model reasoning on every execution.

Where an agent contributes

The boundary changes when the cause of a problem is unclear.

Imagine a business website has stopped working. The underlying environment includes a web server, an application server and a database. The symptom alone does not establish where the failure occurred.

In a major incident, specialists might join a call and investigate their respective systems. An AI agent can coordinate that investigation across the relevant technology agents, bringing their findings together to identify the most probable cause.

Suppose the database is responding and the application is running, but a web service has stopped. The investigation points to that service as the cause of the business interruption.

Once the agent identifies the likely cause, it selects the tested procedure needed to restore the service. In this example, an existing playbook restarts the web service. This is the combination I advocate: Use AI where the answer requires investigation, then execute through established wherever possible.

When there is no playbook

An unfamiliar task does not have to remain dependent on repeated code generation.

Take the provisioning example again, but assume there is no suitable script in the repository. The AI system can collect the environment and configuration information and help an administrator create a playbook.

That output will need human review. The administrator, for example, can modify the code and test it in a sandbox before it is approved for production. Once validated, the playbook becomes part of the repository.

When the same request arrives again, the team can use the approved automation. The model does not need to recreate the solution.

This gives AI a useful role in extending the automation estate. Its contribution produces a reusable asset that reduces the need for further model involvement in familiar work.

Making the distinction part of service design

At HCLTech, our approach begins with deterministic playbooks for ticket resolution, with failures escalated to agents for further investigation. The purpose is to use existing operational knowledge before introducing additional reasoning.

For global system integrators, that makes the playbook library an important part of the . Years of managed services experience are already captured in those procedures. Their value continues as agents take on more responsibility for deciding which procedure is appropriate.

Enterprise leaders should ask providers to explain which parts of a use case require AI and which run through deterministic automation. They should also establish whether an agent invokes an approved playbook or generates remediation code each time.

Those questions connect token spending to the work being performed. Teams can retain established procedures for familiar work and use agents to investigate problems where the cause or resolution is unclear. As new procedures are validated, bringing them into the automation library allows future requests to be handled without repeating the same reasoning.

Share
AI HCLTech AI Force Article Deterministic automation first: Deciding when an AI agent is needed