OBLYTECH Logo
OBLYTECH Logo

AI Desktop Actions: How Adaptive Agent Tools Work

Adaptive desktop actions let an AI agent carry out a task you describe in plain language across web pages and, on macOS, desktop applications and local files, without a dedicated API or a scripted sequence. The agent drafts a numbered plan, waits for your approval, and lets you pause or take over at any point.

Where adaptive desktop actions fit

Desktop actions are the tools an AI agent uses to work inside software that has no usable integration, such as thick client programs, older internal systems and web applications without an API. The agent works on screen, clicking buttons, typing into fields, choosing dropdown values and handling files. For agents that work through an API instead, see the ServiceNow MCP server and client page.

There are two modes, and you choose one per tool. A defined path action replays a fixed sequence captured in advance. An adaptive path action starts from a goal, and the agent plans its own steps and adjusts when a screen behaves differently from what it expected. For a related flow-based automation concept, see the action flow designer explainer.

Aspect Defined path Adaptive path
Steps Recorded in advance in the Design workspace Planned by the agent from a goal
Best fit Repeatable work with predictable screens Work that varies or involves changing interface elements
Where it runs AI Desktop Actions client on Windows Browser extension for web tasks; macOS client for desktop and web

Adaptive does not replace a recorded sequence. When the steps are known and fixed, a defined action is usually easier to predict and test. For the wider picture, see the ServiceNow AI and agentic automation page.

How an adaptive run moves from request to result

A run starts with a plain-language request that names the starting application, the data or documents involved, and the expected result. On the desktop, the agent returns a numbered plan. You accept it, or cancel and resubmit with more specific instructions. Rewording costs far less than correcting a run halfway through. For the wider use of generative AI across the platform, see the generative AI use cases page.

While a run is in progress it shows Running. When the agent lacks a value or needs your input, it pauses and asks you in the chat. Type the detail into the chat, or select Take control, finish the step yourself, and hand control back with notes on what you changed. Those notes give the agent the context to continue.

Two details help when watching a run. Consecutive actions are batched into single execution calls where possible. Background steps carry an “Executing in background” tag, so a quiet step is not mistaken for a stalled one. Each desktop task also starts without memory of earlier tasks.

Web runs report progress in the Otto panel and show periodic screenshots in the Web view.

Setting up an adaptive action for web tasks

The procedure requires the sn_aia.admin role. In AI Agent Studio, open Create and manage, choose an agent on the AI agents tab, and go to Add tools and information. Select Desktop action from the Add tool list, use the link to create one, pick the option that lets AI determine the steps dynamically for web-based tasks, and continue. The default Web Automation Agent can be used, or you can create your own.

Field What to enter
Name A unique name that says what the tool does
Tool description Purpose, input formats and limits, valid values, returned output and how to use it
Navigation actions Precise steps the agent follows on the page
Execution mode Supervised needs live input during the run; Autonomous does not
Output transformation None, Concise, Paragraph, Summary or Custom

The agent chooses a tool by reading its name and description, so vague wording sends it to the wrong tool. Describe what a valid input looks like. Widget options under display output appear when the Off Glide Conversation Server plugin (com.glide.cs.offglide) is installed.

Before a web run, install and connect the ServiceNow Web Automation Chrome extension, stay signed in with the instance active in a browser window, and confirm enhanced chat is available, because the Web view depends on it. In the request, give the full site address, one clear goal sentence and the steps you already know. Reply proceed or approve to accept the plan. If it is wrong, rephrase the request.

Keeping credentials and inputs out of plain view

A Parameter record stores the name of a value, not the value itself. The sn_aia.admin role is required to create one. With Shared selected, each run uses one value, which suits a service account. With Shared not selected, each user stores a value, and the agent uses the record of whoever triggered it. Mark As Sensitive encrypts values and decrypts them at execution. Shared and Mark As Sensitive lock once value records exist. For the platform basics behind roles and records, see the ServiceNow platform overview.

Each input is mapped in two places. In the Design workspace, tick Use parameter. In AI Agent Studio, a Map parameters section then appears for the tool, with a record drop-down for each input. Each such input must be mapped before the tool saves. One record can feed several inputs, but an input takes exactly one record. Mapped values override text typed into the instructions or the Otto panel.

Three details catch people out. Renaming an input removes its mapping. An edit made in the client after mapping takes effect once the tool is reopened and saved. Record names are case sensitive, so UserName and username are different records.

For web logins, stored credentials named in the goal are entered on the login page automatically. Otherwise the agent asks you to sign in within the site’s window and confirm in chat. Usernames can appear in the plan, but sensitive values are not displayed.

Controls, permissions and limits to plan for

On macOS the application needs Screen Recording, so the agent can see the screen, and Accessibility, so it can control the keyboard and pointer. Both are granted at first launch, followed by a restart. Depending on the resource access rules on your instance, the agent may need your permission before it reaches a file, folder, website or application. Do not let the desktop lock during a run, because a lock cuts off the agent’s access.

Administrator policies decide what happens when the agent reaches a resource. A denied file, folder or website stops the run. A denied application also stops the run. An allowed resource continues automatically. Where no rule exists, the agent asks you to choose Allow once or Deny. For the platform-wide access settings, see the instance security and access control page.

Web tasks have their own boundaries. The extension works within the browser. It cannot interact with desktop applications or other local files, apart from downloading files and attaching files to web forms. For local-file work on Windows, a defined desktop action can run standard system operations such as creating a ZIP file or deleting a file or folder.

Check availability and data handling early. Some model providers are not offered to in-country SKU customers, and some features are excluded in FedRAMP, NSC DOD IL5, Australia IRAP-protected, self-hosted and other restricted environments, as well as in Regulated Markets.

Review the output yourself. Results can be inaccurate or incomplete, so test against your use case, keep a person involved, and do not rely on the output alone for consequential decisions. Third-party sites fall under their own terms, which apply to you. The computer use capability is a beta from Anthropic, and ServiceNow provides the product as is, without warranties of uninterrupted operation or data security.

Testing an agent before people depend on it

Open All > AI Agent Studio > Testing, select Start manual test, and choose AI agent or workflow as the test type. Search for the agent, select the version to test, enter a task in the Task field, and select Continue to test chat response. The test opens a simulated chat in the Otto panel, a diagram of how the agents work together, and a decision log that records each agent’s reasoning.

Generative AI results vary between runs, so test several times. Runs appear in the Activity tab, newest first. If your account lacks a role that the agent or one of its tools needs, the test does not start.

For web tools, confirm the Chrome extension shows Connected.Each browser session starts on a blank page instead of a search engine homepage. When a result looks wrong, read the decision log to find the first point where the agent’s reasoning went astray.

Frequently asked questions

Does an adaptive action need a script?

No. You describe the goal in plain language and the agent works out the steps. Known steps can go into the request, which helps the plan.

Can the agent work with files on my computer?

On the macOS client, yes: it can open and manage files and documents. The browser extension can download files and attach them to web forms, but it cannot work with other files on your computer.

Can several web tasks run at once?

Yes. Open each task in its own Chrome window with a different user profile, signed in to ServiceNow as a different user. The tasks then run in parallel.

What if the agent goes wrong mid-run?

Take control to pause it, correct the step, and hand control back with notes. If the plan itself is wrong, cancel it and resubmit with more precise instructions.