# US 2026/0064473 A1 · Ai-Driven Cross-Platform Workflow Automation Using Computer Vision And Machine Learning

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2026/0064473 A1
- Document ID: US20260064473A1
- Status: Published application
- Kind: A1
- Application number: 19/313,656
- Filed: 2025-08-28
- Published: 2026-03-05
- Earliest claimed: 2024-08-28
- Inventors: Ramin Bolouri
- Web page: https://patentgrep.com/patent/US20260064473A1

## CPC

- G06F 9/5027: {the resource being a machine, e.g. CPUs, Servers, Terminals}
- G06F 9/543: {User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]}
- G06F 9/542: {Event management; Broadcasting; Multicasting; Notifications}
- G06F 9/547: {Remote procedure calls [RPC]; Web services}
- G06F 21/6254: {by anonymising data, e.g. decorrelating personal data from the owner's identification}
- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06N 3/0442: characterised by memory or gating, e.g. long short-term memory [LSTM] or gated recurrent units [GRU]
- G06N 3/045: Combinations of networks
- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/08: Learning methods
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 3/088: Non-supervised learning, e.g. competitive learning
- G06N 3/09: Supervised learning
- G06N 20/00: Machine learning
- G06F 2209/545: Gui
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

An AI-driven robotic process automation system learns and replicates user workflows across web, desktop, and legacy applications using computer vision and machine learning. During training, the system observes user actions with visual and structural UI context, segments the sequence into reusable tasks, and synthesizes a generalized workflow model. At runtime, a hybrid locator fusing vision with DOM/accessibility metadata binds abstract actions to live controls, while a self-healing subsystem detects anomalies and applies recovery actions. A continuous learning loop updates models and task definitions from execution telemetry so automations remain effective as interfaces evolve. The result is resilient “learn-once, run-anywhere” automation that reduces brittle scripting and maintenance overhead.

## Claims

### Claim 1

A computer-implemented method for automatically learning and executing a user workflow across one or more applications, the method comprising: capturing images of a graphical user interface during performance of the user workflow and retrieving user-interface element information via operating-system or application programming interfaces; analyzing, by a computer-vision module, the images and the user-interface element information to recognize user-interface elements; monitoring and recording user input actions associated with the recognized user-interface elements; training or configuring a machine-learning model using the recorded actions in sequence to learn an ordered sequence of actions constituting the user workflow; automatically determining, via contextual analysis of the sequence of actions and interface states, boundaries that divide the sequence into one or more discrete reusable tasks; storing a representation of the ordered sequence of actions for each discrete task; and automatically executing at least one of the discrete tasks on a target computing environment by programmatically interacting with the recognized user-interface elements, including detecting an execution anomaly and, in response, adjusting execution using an alternative action or updated element identifier, and updating the machine-learning model based on the adjusted execution.

### Claim 2 (depends on 1)

The method of claim 1, wherein capturing the images comprises screenshotting the display and concurrently obtaining metadata about active UI elements from an accessibility framework or Document Object Model such that both pixel data and structural data are used in identifying the user-interface elements.

### Claim 3 (depends on 1)

The method of claim 1, wherein the machine-learning model comprises a recurrent neural network or a Transformer-based neural network trained to predict subsequent user actions based on preceding actions and interface contexts.

### Claim 4 (depends on 1)

The method of claim 1, wherein determining boundaries includes detecting a change in context indicated by at least one of: a new application window receiving focus, a significant idle gap between actions, or appearance of a completion confirmation.

### Claim 5 (depends on 1)

The method of claim 1, wherein executing includes sending synthetic input events and, if a target user-interface element is not found or an action fails, invoking a predefined error-handling routine selected from: searching the screen for a visually similar element using the computer-vision module, attempting an alternate interaction path, or retrying with backoff.

### Claim 6 (depends on 1)

The method of claim 1, further comprising continuously retraining or updating the machine-learning model as additional instances of the workflow are executed or as the user interface changes, such that the model adapts by incorporating new training examples derived from each executed task.

### Claim 7 (depends on 1)

The method of claim 1, further comprising storing each discrete task in a centralized repository as structured data including the sequence of actions, parameters, and identifiers of the user-interface elements, the repository providing version history and training data for model improvement.

### Claim 8 (depends on 1)

The method of claim 1, wherein locating user-interface elements includes using a deep-learning object-detection algorithm that recognizes controls regardless of changes in position, size, or color.

### Claim 9 (depends on 1)

The method of claim 1, further comprising masking or anonymizing sensitive user inputs during capture and retrieving secrets securely at runtime from a credential vault.

### Claim 10

An AI-driven robotic process automation system for learning and executing user tasks, the system comprising: a computer-vision module configured to capture screenshots of graphical user interfaces and to analyze the screenshots in conjunction with platform-specific UI metadata to recognize and locate user-interface elements within one or more applications; an action-learning module comprising a machine-learning model configured to receive a time-ordered sequence of user interactions and to learn a representation of a task by modeling the sequence; a task-segmentation engine configured to delineate boundaries between distinct tasks using contextual cues to produce discrete task definitions; an execution engine configured to replicate interactions of the discrete task definitions on target computing environments and including an error-handling subsystem that detects when a target user-interface element or expected response is not present and automatically applies a recovery action; a continuous-learning module configured to monitor performance and, upon detection of a failure or a change in the user interface, trigger an update or retraining of the machine-learning model;
and a centralized data repository storing structured data for each learned task including identifiers for user-interface elements, action sequences, and version information.

### Claim 11 (depends on 10)

The system of claim 10, wherein the computer-vision module comprises a trained deep neural network adapted for GUI imagery to identify buttons, text fields, icons, and other controls.

### Claim 12 (depends on 10)

The system of claim 10, wherein the action-learning module's machine-learning model is an LSTM-based recurrent neural network or a Transformer network.

### Claim 13 (depends on 10)

The system of claim 10, wherein the continuous-learning module automatically initiates retraining when an anomaly threshold is exceeded and updates stored task definitions with new element identifiers or modified action steps.

### Claim 14 (depends on 10)

The system of claim 10, wherein a capture module correlates screenshots or pixel data with low-level input events obtained via operating-system hooks to map each user action to a specific location and element on the screen.

### Claim 15 (depends on 10)

The system of claim 10, wherein the centralized repository stores success/failure telemetry and supports reuse across multiple robot instances.

### Claim 16 (depends on 10)

The system of claim 10, wherein the system executes a workflow learned on a first platform on a second platform by binding abstract actions to runtime user-interface elements using hybrid visual-and-metadata matching.

### Claim 17

A non-transitory computer-readable medium storing instructions that, when executed by one or more processors, cause performance of a method comprising: observing and recording a user performing a workflow across multiple applications including capturing screen data and input events; processing the recording with a machine-learning algorithm to determine an ordered sequence of actions with at least one conditional branch or loop and creating a generalized representation of the workflow; saving the generalized representation; executing the generalized representation without user intervention by identifying interface elements through image analysis and issuing synthetic input events; and automatically modifying the generalized representation upon detecting changes or errors during execution by incorporating additional branches or updated recognition data.

### Claim 18 (depends on 17)

The non-transitory computer-readable medium of claim 17, wherein processing includes invoking a pre-trained deep neural network to classify user actions and to predict relationships between actions used to form conditional branches.

### Claim 19 (depends on 17)

The non-transitory computer-readable medium of claim 17, wherein executing includes interfacing with an application programming interface when available and defaulting to simulated user-interface interactions via computer vision when no direct API is available.

### Claim 20 (depends on 17)

The non-transitory computer-readable medium of claim 17, wherein observing and recording includes masking sensitive data during capture and securely retrieving required secrets at runtime.
