System and method for artificial intelligence-based agenetic automation
The six-layer platform addresses deployment challenges of AI agents by assembling them on demand with declarative definitions, ensuring scalable and governed agentic automation with persistent memory and typed messaging, enabling production-ready AI systems.
Patent Information
- Application Number
- US19/683523
- Authority / Receiving Office
- US · United States
- Patent Type
- Applications(United States)
- Current Assignee / Owner
- Priority Date
- 2025-07-25
- Filing Date
- 2026-05-20
- Publication Date
- 2026-11-26
AI Technical Summary
Existing artificial intelligence-based agent frameworks face challenges in deploying multi-step computational workflows at production scale due to issues with durable execution, distributed worker coordination, modular capability reuse, typed inter-agent communication, persistent memory, sandboxed tool invocation, and uniform access-control enforcement across enterprise environments.
A six-layer computer-implemented platform that assembles AI agents on demand from a declarative agent definition, externalizing state, access policy, capabilities, and communication into separate layers, using a universal intermediate representation for typed messaging and persistent memory to ensure scalability, fault-tolerance, and uniform access control.
Enables the deployment of AI agents in production environments by providing scalable, reusable, and governed agentic automation, overcoming the limitations of single-program agents and ensuring consistent access controls and knowledge persistence across executions.
Smart Images

Figure US20260377788A1-D00000_ABST
Abstract
Description
PRIORITY APPLICATION
[0001] This application claims the benefit of U.S. Provisional Patent Application No. 63 / 809,129, filed on May 20, 2025, titled “Artificial Intelligence-Based Agentic Automation” (Atty. Docket No. GENI1000USP01); U.S. Provisional Patent Application No. 63 / 811,557, filed on May 24, 2025, titled “Solari” (Atty. Docket No. GENI1001USP01); U.S. Provisional Patent Application No. 63 / 851,028, filed on Jul. 25, 2025, titled “Distributed Agentic Framework for Scalable Multi-Agent Task Automation” (Atty. Docket No. GENI1002USP01); U.S. Provisional Patent Application No. 63 / 851,046, filed on Jul. 25, 2025, titled “Intelligent Dynamic Type System for Language-Agnostic Serialization and Interoperability in Multi-Agent AI Systems” (Atty. Docket No. GENI1003USP01); U.S. Provisional Patent Application No. 63 / 851,061, filed on Jul. 25, 2025, titled “System and Method for Multi-Modal Decomposition and Regeneration of Document Layouts” (Atty. Docket No. GENI1004USP01); and U.S. Provisional Patent Application No. 63 / 851,073, filed on Jul. 25, 2025, titled “Neuro-symbolic System for Verified Financial Model Generation and Explainable Analytics” (Atty. Docket No. GENI1005USP01) all of which are hereby incorporated by reference for all purposes.TECHNICAL FIELD
[0002] The technology disclosed relates to artificial intelligence type computers and digital data processing systems and corresponding data processing methods and products for emulation of intelligence (i.e., knowledge based systems, reasoning systems, and knowledge acquisition systems); and including systems for reasoning with uncertainty (e.g., fuzzy logic systems), adaptive systems, machine learning systems, and artificial neural networks. Specifically, the field of artificial intelligence, and more particularly to systems, methods, and computer-readable media for agentic automation of multi-step tasks in enterprise environments.BACKGROUND OF THE INVENTION
[0003] Enterprises increasingly use artificial intelligence-based software agents to automate multi-step computational workflows, including software engineering automation, data engineering operations, knowledge synthesis, customer assistance, information retrieval, document processing, system monitoring, and operational coordination. Existing agent frameworks may interpret user requests, invoke tools, and generate outputs for individual tasks, but they often remain difficult to deploy reliably at production scale because execution state may remain tied to process memory, agents may be coupled to fixed tools or model providers, and independently authored capabilities may use incompatible schemas or message formats.
[0004] Production deployment of artificial intelligence-based agentic automation presents technical challenges relating to durable execution, distributed worker coordination, modular capability reuse, typed inter-agent communication, persistent memory across executions, sandboxed tool invocation, model-provider abstraction, and uniform access-control enforcement across organizations, users, agents, and tools. Accordingly, there remains a need for improved computer-implemented systems and methods that provide scalable, fault-tolerant, reusable, and governed agentic automation across enterprise computing environments.BRIEF DESCRIPTION OF THE DRAWINGS
[0005] A more complete appreciation of this disclosure and many of the attendant advantages thereof will be readily obtained as the same becomes better understood by reference to the following detailed description when considered in connection with the accompanying drawings, wherein:
[0006] FIG. 1 illustrates an agentic automation system comprising a user interface layer, an agent planning and coordination layer, a capability registry layer, modular agentic capability units, an orchestration and execution control layer, and a persistent data and memory layer.
[0007] FIG. 2 illustrates a user interface layer of the agentic automation system configured to receive a natural language outcome request and a declarative agent definition through a multimodal input interface and to render results through a dynamic layout engine.
[0008] FIG. 3 illustrates a declarative agent definition and an agent reasoning engine and compiler configured to parse the declarative agent definition, select a planning technique, and instantiate an agent for planning and execution.
[0009] FIG. 4 illustrates an agent planning and coordination layer configured to generate an executable plan as a directed acyclic graph, schedule parallel branches, monitor intermediate outputs, and revise a remaining portion of the executable plan.
[0010] FIG. 5 illustrates a capability registry layer configured to store, version, and supply modular agentic capability units, and a modular agentic capability unit comprising a typed message interface, a unified interface, a respective sandboxed execution environment, and an output interface.
[0011] FIG. 6 illustrates an orchestration and execution control layer configured to enforce access controls, persist operations to a database-backed job queue, dispatch operations to a distributed worker pool, execute operations within sandboxed execution environments, mediate model invocations, provision infrastructure resources, and observe execution.
[0012] FIG. 7 illustrates typed inter-agent messaging via a universal intermediate representation between modular agentic capability units of the agentic automation system.
[0013] FIG. 8 illustrates a persistent organization memory architecture configured to retain knowledge across sessions, modular agentic capability units, and tasks, and to apply selective forgetting, continuous learning, and learning transfer.
[0014] FIG. 9 illustrates an end-to-end swim-lane method for agentic automation across six cooperating layers of the agentic automation system.
[0015] FIG. 10 illustrates a document layout capability unit comprising a layout extraction and representation pipeline, an adaptive regeneration engine, and an output quality validation.
[0016] FIG. 11 illustrates a neuro-symbolic reasoning capability unit comprising a neural sub-component, a symbolic sub-component, a bidirectional controller, a rules repository, and a verification engine.
[0017] FIG. 12 illustrates a computing and deployment environment of the agentic automation system comprising one or more cloud provider environments, an on-premises deployment environment, and worker nodes of a distributed worker pool.
[0018] FIG. 13 is a schematic representation of an encoder-decoder architecture.
[0019] FIG. 14 shows an overview of an attention mechanism added onto an RNN encoder-decoder architecture.
[0020] FIG. 15 is a schematic representation of the calculation of self-attention showing one attention head.
[0021] FIG. 16 is a depiction of several attention heads in a Transformer block.
[0022] FIG. 17 is an illustration that shows how one can use multiple workers to compute the multi-head attention in parallel, as the respective heads compute their outputs independently of one another.
[0023] FIG. 18 is a portrayal of one encoder layer of a Transformer network.
[0024] FIG. 19 shows a schematic overview of a Transformer model.
[0025] FIG. 20 is a depiction of a Vision Transformer (ViT).
[0026] FIG. 21 illustrates a processing flow of the Vision Transformer (ViT).
[0027] FIG. 22 shows example software code that implements a Transformer block.
[0028] FIG. 23 illustrates an example configuration of a computing device that can be used to implement the systems and techniques described herein.DETAILED DESCRIPTION
[0029] In the drawings, like reference numerals designate identical or corresponding parts throughout the several views. Further, as used herein, the words “a,”“an” and the like generally carry a meaning of “one or more,” unless stated otherwise.
[0030] Furthermore, the terms “approximately,”“approximate,”“about,” and similar terms generally refer to ranges that include the identified value within a margin of 20%, 10%, or preferably 5%, and any values therebetween.Indicia of Novelty, Inventiveness, Non-Obviousness, and Subject-Matter Eligibility Overview
[0031] AI agents work in pilots and fail in production. The technology disclosed is the architecture that closes the gap.
[0032] Enterprises everywhere are deploying AI agents to handle multi-step computational work that used to require coordinated effort from teams of specialists. Software engineering teams want agents that review code, run tests, and triage build failures. Site reliability teams want agents that diagnose system incidents and remediate them. Data engineering teams want agents that maintain data pipelines and resolve schema drift. Information security teams want agents that triage alerts and respond to threats. Individual agents now perform useful work on individual tasks. The capability of the individual agent is no longer the bottleneck.
[0033] Production is. The agent that solves a problem in a demonstration does not survive the move to thousands of concurrent users, across diverse operational contexts, operating under the security, scalability, observability, and reliability constraints an enterprise platform faces. State held in process memory is lost on a crash. Access controls embedded inside one agent do not extend to another. Capabilities written for one agent cannot be reused by the next. Communication between capabilities scales quadratically with each new capability added. Infrastructure hard-coded to one cloud and one model becomes a rewrite when either changes. No single program can satisfy these five constraints simultaneously. The leap from pilot to production is not an engineering effort. It is an architectural one.
[0034] The technology disclosed is a six-layer computer-implemented platform that assembles an AI agent on demand from a declarative agent definition. The system externalizes state into a persistent data and memory layer shared across every agent The system runs. The system externalizes access policy into an orchestration and execution control layer that enforces role-based access controls uniformly. The system externalizes capabilities into a capability registry layer that supplies modular agentic capability units on demand. The system externalizes communication into a universal intermediate representation through which every typed message between capabilities flows. The system externalizes infrastructure into an infrastructure-as-code interface and a model abstraction interface. The agent itself becomes a composition. The user supplies a declarative agent definition. The system reads the definition, retrieves the required capability units from the registry, and assembles the agent in the moment. The same library produces a different agent for every user, every outcome, and every permission set.How It Works
[0035] The technology disclosed works in three phases.
[0036] The first phase assembles the agent. The user supplies a natural language outcome request and a short declarative file describing the agent: the role the agent should play, the capability units the agent requires, the memory the agent should consult, and the tools the agent is permitted to use. The system parses the declarative file, identifies the capability units the agent requires, and retrieves them from a versioned capability registry layer that holds every capability The system has accumulated. The system instantiates the agent in the moment, configured for this specific user, this specific outcome, and this specific set of permissions. The agent is not selected from a catalog. The agent is composed at run time.
[0037] The second phase plans and runs the work. The agent planning and coordination layer turns the natural language request into an executable plan represented as a directed acyclic graph (DAG). Each node is an operation. Each edge is a dependency. Independent branches execute in parallel. The agent planning and coordination layer monitors intermediate outputs and revises the remaining portion of the plan when results diverge from expectation. The capability units perform their operations within respective sandboxed execution environments and exchange typed inter-agent messages through a universal intermediate representation (UIR) that mediates between the schema of a sender capability unit and the schema of a receiver capability unit. The orchestration and execution control layer dispatches operations to a distributed worker pool through a database-backed job queue that persists operations independently of in-memory state. Role-based access controls (RBAC) apply at organization, user, agent, and tool granularities. Compute reaches infrastructure through a cloud-agnostic interface. Language models reach The system through a model-agnostic abstraction.
[0038] The third phase remembers. The persistent data and memory layer retains everything the agent produced. A short-term memory store holds the recent run. A long-term memory store holds what The system has learned across runs. A knowledge graph maintains semantic relationships between entities. A learning transfer mechanism propagates behaviors learned by one capability instance to the next. Memory persists across executions of the plan and across instances of the capability units. The next agent reads from the same memory.The Technical Architecture
[0039] The technology disclosed rests on four structural elements that work together. Removing any one of them collapses the whole.
[0040] The first element is the six-layer separation of concerns. A user interface layer handles user input and result presentation. An agent planning and coordination layer assembles the agent and plans the work. A capability registry layer stores and supplies the capability units. Modular agentic capability units perform the operations. An orchestration and execution control layer enforces access policy and dispatches the operations. A persistent data and memory layer retains the state. Each layer is a distinct technical component with explicit interfaces to the others. Collapsing layers re-creates the single-program agent the invention replaces.
[0041] The second element is the on-demand assembly from a declarative agent definition. The system does not host a finite list of agents. The system hosts a library of capability units and a method for combining them on demand. When a user supplies a declarative definition, The system reads the definition and assembles a fresh agent matched to that user's outcome, that user's permissions, and that user's context. The same library produces different agents for different users and different outcomes, without new code for each combination. Removing the assembly collapses The system back into a fixed catalog.
[0042] The third element is the typed-message UIR between capability units. Capability units do not speak directly to one another. They speak through a translation layer that infers types, mediates between sender and receiver schemas, evolves the schema when capabilities change, and serializes the result securely. Integration cost stays linear in the number of capabilities rather than quadratic. Removing the UIR collapses the library back into a tightly coupled mass that cannot be extended without rewriting what already exists.
[0043] The fourth element is the persistence across both execution and instance lifetimes. Memory does not vanish when an agent finishes. Memory does not vanish when a capability instance terminates. A learning transfer mechanism propagates learned behavior from one instance to the next. The persistence is the structural element that allows The system's accumulated knowledge to compound. Removing the persistence collapses The system back into a stateless framework where every run starts from zero.
[0044] The four elements depend on each other. The six-layer separation matters only because the on-demand assembly composes agents that span all six layers. The on-demand assembly matters only because the UIR lets the capability units communicate without breaking each other. The UIR matters only because the persistence layer remembers what the resulting agent learned. The persistence matters only because the six layers below produce work worth remembering.Technical Advantages
[0045] The technology disclosed offers concrete technical advantages that follow directly from the architecture. The on-demand assembly from a declarative agent definition removes the engineering effort of writing bespoke code for every new agent. The versioned library of capability units is reused across every agent The system builds, so the engineering effort for each new agent decreases as the library grows. The UIR keeps integration complexity linear in the number of capabilities rather than quadratic, which allows the library to grow without becoming brittle. The database-backed job queue and the sandboxed execution environments give The system horizontal scalability and fault tolerance that in-memory frameworks cannot deliver. The RBAC applied uniformly at four granularities gives The system a single point of access policy enforcement for every agent The system runs. The cloud-agnostic provisioning interface and the model-agnostic abstraction free the agent from vendor lock-in on infrastructure and on models. The persistent memory across executions and across instances converts every agent run into a contribution to The system's accumulated knowledge. The DAG plan with monitored execution and plan revision allows the agent to adapt mid-run rather than fail when the plan no longer fits the work. Each of these advantages is the direct result of an architectural component identified in the claims and is measurable in production.Why It Matters
[0046] For an enterprise running AI workloads at production scale, the technology disclosed is not a feature improvement. The technology disclosed is the architectural layer that converts an AI agent from a pilot artifact into a production system. The agent is no longer a single program that one team owns and that fails when production conditions arrive. The agent is an artifact composed on demand from a versioned library, access-controlled uniformly, monitored continuously, and remembered persistently.
[0047] The outcome the user requests is the outcome The system assembles an agent to produce. The agent that gets assembled is the agent the access controls apply to. The access controls applied to today's agent are the access controls applied to tomorrow's. The memory created today is the memory consulted tomorrow. The capabilities developed for one agent become the capabilities available to every agent The system assembles next.
[0048] The technology disclosed is not an incremental improvement to existing agent frameworks. The technology disclosed is the architectural step that converts agent frameworks (which produce single programs) into an agentic system (which produces composed, access-controlled, persistent, reusable agents). The structural elements of the architecture cooperate to deliver the production readiness that no single program can deliver on its own. The leap from pilot to production is an architectural one. The technology disclosed is the architecture.System Architecture
[0049] FIG. 1 illustrates an agentic automation system. The agentic automation system, also referred to as the system, is configured to receive an outcome request expressed in natural language from a user and to deliver the requested outcome by instantiating, planning, executing, and persisting the work of one or more software agents operating across a distributed computing environment. The system implements a layered architecture for enterprise-scale agentic automation in which a stack of cooperating layers communicates through typed inter-agent messages and operates on a declarative agent definition, so that an outcome stated in natural language may be translated into an executable plan, executed by modular agentic capability units within sandboxed execution environments, and grounded in persistent organizational memory. The system may be deployed within cloud environments, on-premises environments, or hybrid combinations of cloud and on-premises environments, and may operate across a wide range of enterprise knowledge workflows, including, but not limited to, structured document generation, multimodal content production, data extraction and transformation, retrieval and synthesis of information, multi-step workflow automation, internal assistance for knowledge workers, and customer-facing assistance.
[0050] The agentic automation system comprises a user interface layer 100, an agent planning and coordination layer 102, a capability registry layer 104, one or more modular agentic capability units 106, an orchestration and execution control layer 108, and a persistent data and memory layer 110. The user interface layer 100 is communicatively coupled to a user device 112 and is configured to receive an outcome request and agent definition 114 from the user device 112. The user interface layer 100 is further communicatively coupled to the agent planning and coordination layer 102, which is in turn communicatively coupled, directly or indirectly, to the capability registry layer 104, the modular agentic capability units 106, the orchestration and execution control layer 108, and the persistent data and memory layer 110. The agentic automation system is further configured to interoperate with one or more external tools 116, one or more enterprise data sources 118, one or more model providers 120, one or more cloud or on-premises resources 122, and a distributed worker pool 124, each of which may be read, written, or invoked by The system during planning, execution, and memory operations.
[0051] The user interface layer 100 is configured to provide a multimodal channel of interaction between the user device 112 and the agentic automation system. The user interface layer 100 may be implemented as a web application, a mobile application, a desktop application, a voice-driven interface, a command-line interface, a programmatic application programming interface (API), or any combination of the foregoing, and may support interaction through a graphical interface, a natural language interface, a chat interface, or an action-driven interface. The user device 112 may include a desktop computer, a laptop computer, a tablet computer, a smartphone, a wearable device, a voice-controlled assistant, or any other client device configured to submit input and render output. Through the user interface layer 100, the user device 112 may submit the outcome request and agent definition 114, in which the outcome request comprises a natural language expression of a goal to be achieved and the agent definition comprises a declarative specification of one or more software agents to be instantiated for pursuing the goal. The declarative agent definition may include a persona specification, references to capability units, a memory configuration, and tool permissions and execution constraints. The user interface layer 100 may further accept multimodal input in the form of text, audio, images, and files, and may present results, intermediate outputs, and approval prompts back to the user device 112. In some embodiments, the user interface layer 100 is further configured to capture user approvals, actions, edits, and feedback during execution and to propagate the captured input into the agent planning and coordination layer 102, the orchestration and execution control layer 108, and the persistent data and memory layer 110.
[0052] The agent planning and coordination layer 102 is configured to translate the outcome request and agent definition 114 into an executable plan and to coordinate the cooperation of software agents that carry out the executable plan. The agent planning and coordination layer 102 may include a planning technique selector configured to select a planning technique based on the persona specification carried by the declarative agent definition, a task decomposition engine configured to decompose the outcome request into a sequence of operations, a plan generator configured to construct the executable plan as a directed acyclic graph (DAG) of operations, a dependency analyzer configured to identify ordering and data dependencies among the operations, a parallel branch scheduler configured to dispatch independent branches of the DAG concurrently, an intermediate output monitor configured to observe outputs emitted by completed operations, and a plan reflection and adaptation component configured to revise a remaining portion of the executable plan based on the observed intermediate outputs. The planning techniques selectable by the agent planning and coordination layer 102 may include single-shot planning, multi-step planning, hierarchical task decomposition, tree-of-thought planning, plan-and-solve planning, and reflective replanning, among others. The agent planning and coordination layer 102 may further assign roles among multiple software agents, including a coordinator role configured to oversee a group of agents, a worker role configured to perform a delegated operation, and a co-worker role configured to perform an operation in cooperation with peer agents. In some implementations, the agent planning and coordination layer 102 is further configured to pause execution at a human-in-the-loop checkpoint, to receive a user approval, action, or feedback through the user interface layer 100, and to resume execution with a revised remaining portion of the executable plan.
[0053] The capability registry layer 104 is configured to store, version, and supply the modular agentic capability units 106 used by the agentic automation system. The capability registry layer 104 may be implemented as a database, an object store, a service registry, a container registry, a package registry, or a combination of the foregoing, and may include a storage component configured to hold capability artifacts, a versioning component configured to track semantic versions of each capability, a lifecycle state controller configured to maintain lifecycle states including, by way of non-limiting example, draft, candidate, published, deprecated, and retired, and a metadata index configured to support discovery of capabilities by tags, input and output schemas, permissions, and usage telemetry. The capability registry layer 104 may receive capability specifications from a generator component, evaluate capability candidates against a metadata and policy package, and supply a selected capability version to the agent planning and coordination layer 102, to the orchestration and execution control layer 108, or directly to a calling modular agentic capability unit through a registry query interface. By centralizing storage, versioning, and lifecycle control of capability units, the capability registry layer 104 may permit reuse of capability units across teams, organizations, and tenant environments, and may support controlled promotion of capability versions across development, staging, and production deployments. In some embodiments, the capability registry layer 104 is further configured to receive usage telemetry and lifecycle feedback from execution events and to apply the received feedback to refine subsequent versions of a capability.
[0054] The modular agentic capability units 106 are configured to perform discrete operations delegated by the agent planning and coordination layer 102. Each modular agentic capability unit may include a typed message interface configured to send and receive a typed inter-agent message, a unified interface configured to expose internal tools and external tools 116 through a consistent invocation schema, a respective sandboxed execution environment in which the modular agentic capability unit executes, and an output interface configured to emit results, intermediate state, and telemetry. The modular agentic capability units 106 may include, by way of non-limiting example, a document layout capability unit configured to process structured documents, a data extraction capability unit configured to parse tabular content, a summarization capability unit configured to condense long inputs, a retrieval capability unit configured to fetch information from the enterprise data sources 118, a transformation capability unit configured to convert content between formats, a validation capability unit configured to check outputs against rule sets, a reasoning capability unit configured to perform stepwise inference, and a multimodal interpretation capability unit configured to operate over combinations of text, images, audio, and structured data. Each modular agentic capability unit may invoke an internal tool or an external tool 116 through the unified interface, may invoke a model provided by one of the model providers 120 through a model abstraction interface, and may read from or write to the persistent data and memory layer 110 through a memory operation framework. The internal and external tools invoked by a modular agentic capability unit may include, by way of non-limiting example, file parsers, search clients, retrievers, web browsers, code interpreters, image processors, robotic process automation runners, and connectors to enterprise systems, and may each be associated with policy metadata governing permitted inputs, permitted outputs, rate limits, and audit requirements.
[0055] The orchestration and execution control layer 108 is configured to dispatch operations from the executable plan to compute resources, to manage the lifecycle of the operations, to enforce access controls, and to observe execution. The orchestration and execution control layer 108 may include an access control component configured to evaluate organization permissions, user permissions, agent permissions, and tool permissions before an operation is permitted to execute, a database-backed job queue configured to persist queued operations independently of in-memory state, a dispatcher configured to route operations from the database-backed job queue to the distributed worker pool 124, a lifecycle manager configured to track job state transitions, a retry manager configured to schedule retries upon recoverable failure, and an observability component configured to emit metrics and logs to a metrics and logs store. The distributed worker pool 124 may comprise a plurality of stateless or stateful worker nodes, in which each worker node is configured to instantiate a sandboxed execution environment hosting an execution worker, a tool runtime, and a model runtime for a given operation. The sandboxed execution environment may provide isolation, reproducibility, and policy enforcement during execution, and may be implemented through containerization technologies, virtualization technologies, micro-virtual-machines, language-level sandboxes, or process-level sandboxes, among others. The orchestration and execution control layer 108 may further include a model abstraction interface configured to mediate invocations between the modular agentic capability units 106 and the model providers 120, in a manner that permits substitution and failover across the model providers 120 without hardcoded provider-specific parameters at the capability unit level, and an infrastructure-as-code interface configured to provision and reproduce the cloud or on-premises resources 122 used by The system.
[0056] The persistent data and memory layer 110 is configured to retain knowledge across sessions, agents, and tasks, and to make the retained knowledge available to the modular agentic capability units 106 during planning and execution. The persistent data and memory layer 110 may include a short-term memory store configured to hold session-level context, a long-term memory store configured to retain durable knowledge across sessions, a dynamic memory graph configured to relate entities, events, and actions, an embeddings store configured to support semantic retrieval, a natural language memory configured to hold descriptive notes and observations, and one or more structured stores configured to hold lists, files, task records, and portfolio data. The persistent data and memory layer 110 may further apply a selective forgetting policy configured to expire, compress, or anonymize entries that are no longer relevant, a continuous learning component configured to incorporate new information from completed operations into the long-term memory store, a learning transfer component configured to propagate learnings across modular agentic capability units, and a feedback collection mechanism configured to capture user approvals, actions, and corrections received through the user interface layer 100. Implementations of the persistent data and memory layer 110 may include relational databases, document stores, object stores, key-value stores, vector databases, graph databases, or combinations of the foregoing, and may be deployed within the cloud or on-premises resources 122.
[0057] The external tools 116, the enterprise data sources 118, the model providers 120, the cloud or on-premises resources 122, and the distributed worker pool 124 cooperate with the layers described above to ground the executable plan in real systems, real data, and real compute. The external tools 116 may include third-party application programming interfaces, software-as-a-service applications, browsers, code interpreters, robotic process automation runners, and connectors to enterprise applications, and may be invoked through the unified interface of a modular agentic capability unit. The enterprise data sources 118 may include relational databases, data lakes, document repositories, knowledge bases, content management systems, customer relationship systems, ticketing systems, electronic mail systems, and messaging systems, among others, and may be accessed through read connectors, change-data-capture pipelines, scheduled synchronization, or streaming ingestion. The model providers 120 may include hosted large language models, hosted vision models, hosted audio models, hosted multimodal models, on-premises model servers, and locally hosted small language models, and may be invoked through the model abstraction interface of the orchestration and execution control layer 108 in a manner that permits provider substitution and routing across providers. The cloud or on-premises resources 122 may include compute clusters, container orchestrators, serverless runtimes, virtual private clouds, object storage services, block storage services, network services, and identity services, among others, and may be provisioned through the infrastructure-as-code interface of the orchestration and execution control layer 108. The distributed worker pool 124 may scale horizontally across the cloud or on-premises resources 122 to support concurrent execution of operations from multiple executable plans across multiple tenants.
[0058] In operation, the layers of the agentic automation system exchange typed inter-agent messages, in which the schema of a typed inter-agent message is declared by a sending modular agentic capability unit and validated by a receiving modular agentic capability unit prior to deserialization. Typed inter-agent messaging may be implemented through a universal intermediate representation, a semantic type discovery component, a schema evolution component, an intelligent mediation component, and a secure serialization layer, in a manner that may reduce or eliminate the need for hardcoded point-to-point integrations between capability units. The declarative agent definition received with the outcome request may be parsed by an agent definition parser of the agent planning and coordination layer 102, in which the persona specification governs the selection of a planning technique, the capability unit references identify the modular agentic capability units 106 to be instantiated from the capability registry layer 104, the memory configuration governs read and write operations against the persistent data and memory layer 110, and the tool permissions and execution constraints govern enforcement of access controls by the orchestration and execution control layer 108. Through cooperation of the layers, the agentic automation system may receive a natural language outcome request, generate an executable plan represented as a directed acyclic graph, dispatch operations from the executable plan to the distributed worker pool 124, execute the operations within sandboxed execution environments instantiated on the cloud or on-premises resources 122, exchange typed inter-agent messages among the modular agentic capability units 106, persist memory and knowledge in the persistent data and memory layer 110, and return a result to the user device 112, in a manner that may be configurable, auditable, and reproducible across enterprise deployments.Agentic Automation System
[0059] FIG. 2 illustrates a user interface layer 200 of the agentic automation system. The user interface layer 200 is configured to receive a natural language outcome request 214 and a declarative agent definition 216 from a user device 202, to forward the natural language outcome request 214 and the declarative agent definition 216 to downstream layers of the agentic automation system, and to present results, intermediate outputs, and approval prompts back to the user device 202.
[0060] The user device 202 may comprise a desktop computer, a laptop computer, a tablet computer, a smartphone, a wearable device, a voice-controlled assistant, or any other client device configured to submit input to and render output from the agentic automation system, and is communicatively coupled to the user interface layer 200 over a wired network, a wireless network, or a combination of the foregoing.
[0061] The user interface layer 200 comprises an input interface 204, a multimodal normalization module 218, a request and definition intake controller 220, an approval / action / feedback interface 222, a dynamic layout engine 224, a result presentation 226, a planning-layer handoff 228, a session state store 230, and an audit / interaction log 232.
[0062] The input interface 204 is configured to accept multimodal input from the user device 202, including a text input 206, an audio input 208, an image input 210, and a file input 212, alone or in combination. The text input 206 may comprise typed prompts, pasted text, or content captured from a chat field. The audio input 208 may comprise spoken utterances, dictated content, or recorded audio files captured through a microphone of the user device 202. The image input 210 may comprise photographs, screenshots, scans, diagrams, or other visual content. The file input 212 may comprise documents, spreadsheets, presentations, source code, archives, or any other file type supported by the agentic automation system.
[0063] The multimodal normalization module 218 is communicatively coupled to the input interface 204 and is configured to convert the text input 206, the audio input 208, the image input 210, and the file input 212 into a normalized internal representation suitable for consumption by downstream layers of the agentic automation system. The multimodal normalization module 218 may apply automatic speech recognition to the audio input 208, optical character recognition and visual feature extraction to the image input 210, format parsing and content extraction to the file input 212, and tokenization and language detection to the text input 206. The normalized internal representation may comprise structured fields, embedding vectors, attached binary content, and metadata identifying the source modality and extraction confidence values.
[0064] The request and definition intake controller 220 is communicatively coupled to the multimodal normalization module 218 and is configured to derive, from the normalized internal representation, the natural language outcome request 214 and the declarative agent definition 216. The natural language outcome request 214 comprises a natural language expression of a goal to be achieved by the agentic automation system. The declarative agent definition 216 comprises a structured specification of one or more software agents to be instantiated for pursuing the goal, and may include a persona specification, one or more capability unit references, a memory configuration, and tool permissions and execution constraints. The request and definition intake controller 220 may detect a declarative agent definition 216 embedded within the input, validate the declarative agent definition 216 against a schema, and augment a partial declarative agent definition 216 with system defaults inferred from the natural language outcome request 214, a user identity, and a tenant context.
[0065] The approval / action / feedback interface 222 is configured to capture human-in-the-loop input during planning and execution. The approval / action / feedback interface 222 may render an approval prompt, an action selector, a free-form feedback field, an inline edit control, or a rejection control, and may surface plan summaries, intermediate outputs, and pending operations for review. User input captured through the approval / action / feedback interface 222 may resume a paused executable plan, revise a remaining portion of the executable plan, reject an operation, or annotate an output for downstream learning, and is propagated to the agent planning and coordination layer and to the persistent data and memory layer of the agentic automation system.
[0066] The dynamic layout engine 224 is configured to compose the result presentation 226 based on the type, structure, and modality of outputs returned from the agent planning and coordination layer. The dynamic layout engine 224 may select among rendering templates, arrange textual content, tabular content, charts, embedded media, source citations, and inline controls into a coherent layout, and adapt the layout to the viewport, accessibility settings, and locale of the user device 202. The result presentation 226 may include final outputs, intermediate outputs, plan summaries, source citations, and confidence indicators, and may be delivered to the user device 202 as a rendered view, a streamed update, a downloadable artifact, or any combination of the foregoing.
[0067] The planning-layer handoff 228 is configured to transmit the natural language outcome request 214, the declarative agent definition 216, and an associated session context to the agent planning and coordination layer of the agentic automation system. The planning-layer handoff 228 may serialize the transmitted payload as a typed inter-agent message, attach identity, tenant, and authorization tokens, and apply retry, ordering, and idempotency controls so that an outcome request submitted by the user device 202 is conveyed at-most-once or exactly-once according to a configured delivery policy.
[0068] The session state store 230 is configured to retain session-level context for the duration of a session and across sequential interactions within the session. The session state store 230 may hold conversation history, partial inputs, pending approvals, identifiers of in-flight executable plans, and references to outputs already presented through the result presentation 226, and may be implemented using an in-memory key-value store, a session database, or a cache-backed persistence service.
[0069] The audit / interaction log 232 is configured to record events occurring within the user interface layer 200 for observability, traceability, and downstream learning. The audit / interaction log 232 may record received inputs, derived requests, presented outputs, captured approvals, actions, feedback, errors, and timestamps, and may write records to a metrics and logs store accessible to the orchestration and execution control layer of the agentic automation system.
[0070] In operation, the user device 202 transmits multimodal input to the input interface 204, the multimodal normalization module 218 normalizes the multimodal input into the normalized internal representation, the request and definition intake controller 220 derives the natural language outcome request 214 and the declarative agent definition 216, and the planning-layer handoff 228 forwards the natural language outcome request 214 and the declarative agent definition 216 to the agent planning and coordination layer. During execution, intermediate outputs returned from the agent planning and coordination layer are composed by the dynamic layout engine 224 into the result presentation 226 and rendered on the user device 202. Approvals, actions, and feedback captured through the approval / action / feedback interface 222 are propagated back to the agent planning and coordination layer to revise the remaining portion of the executable plan, and to the persistent data and memory layer for incorporation into long-term learning. Session-level context is retained in the session state store 230, and a record of the inputs, the derived requests, the presented outputs, and the captured approvals, actions, and feedback is preserved in the audit / interaction log 232.
[0071] FIG. 3 illustrates a declarative agent definition 300 and an agent reasoning engine / compiler 314 of the agentic automation system. The agent reasoning engine / compiler 314, also referred to as the compiler 314, is configured to receive the declarative agent definition 300 together with a natural language outcome request 302, to compile the declarative agent definition 300 into an instantiated agent for planning and execution 324, and to emit an execution-ready agent configuration 332 to the agent planning and coordination layer of the agentic automation system.
[0072] The declarative agent definition 300 comprises a structured specification of one or more software agents to be instantiated by the agentic automation system, and includes a persona specification 306, one or more capability unit references 308, a memory configuration 310, and tool permissions and execution constraints 312. The declarative agent definition 300 may be expressed in a structured data format including, by way of non-limiting example, JSON, YAML, TOML, or a domain-specific declarative language, and may be authored manually by a user, generated programmatically, retrieved from a template stored in the capability registry layer, or inferred from the natural language outcome request 302 by the agent reasoning engine / compiler 314.
[0073] The persona specification 306 is configured to define behavior parameters that govern how the instantiated agent for planning and execution 324 conducts reasoning, communication, and tool use. The persona specification 306 may identify a role archetype, a domain of expertise, a tone of communication, an escalation protocol, an autonomy level, and a preferred reasoning style. By way of non-limiting example, the persona specification 306 may identify a researcher persona configured for broad retrieval and synthesis, an analyst persona configured for stepwise quantitative reasoning, a reviewer persona configured for validation against rule sets, or an executor persona configured for low-latency tool invocation.
[0074] The capability unit references 308 identify the modular agentic capability units to be instantiated for the instantiated agent for planning and execution 324. Each of the capability unit references 308 may comprise an identifier, a version selector, and optional configuration overrides, and may resolve against the capability registry layer of the agentic automation system to a specific selected capability version.
[0075] The memory configuration 310 specifies how the instantiated agent for planning and execution 324 interacts with the persistent data and memory layer of the agentic automation system. The memory configuration 310 may declare memory scopes, retention policies, embedding configurations, retrieval strategies, write privileges, and sharing policies among capability units, and may identify one or more memory stores within the persistent data and memory layer to be made available to the instantiated agent for planning and execution 324.
[0076] The tool permissions and execution constraints 312 govern enforcement of access controls and execution policies by the orchestration and execution control layer of the agentic automation system. The tool permissions identify internal tools and external tools that the instantiated agent for planning and execution 324 is authorized to invoke. The execution constraints may declare rate limits, time-out values, cost budgets, output schema requirements, audit requirements, sandbox profiles, and data-handling policies applicable to the instantiated agent for planning and execution 324 during execution.
[0077] The agent reasoning engine / compiler 314 comprises an agent definition parser 304, a planning technique selector 316, and an agent instantiator 318. The agent definition parser 304 is configured to receive the natural language outcome request 302 and the declarative agent definition 300, to validate the declarative agent definition 300 against a schema, and to resolve symbolic references contained within the declarative agent definition 300, including the capability unit references 308 and any inherited persona, memory, or tool templates referenced from the capability registry layer. The agent definition parser 304 may further normalize variant spellings, expand macro definitions, apply tenant defaults, and emit a canonical intermediate representation of the declarative agent definition 300 for consumption by the planning technique selector 316 and the agent instantiator 318.
[0078] The planning technique selector 316 is configured to select, based on the persona specification 306 and properties of the natural language outcome request 302, a planning technique to be applied by the instantiated agent for planning and execution 324. The planning techniques selectable by the planning technique selector 316 may include, by way of non-limiting example, single-shot planning, multi-step planning, hierarchical task decomposition, tree-of-thought planning, plan-and-solve planning, reflective replanning, and graph-of-thought planning. The planning technique selector 316 may further attach planning-stage parameters to the canonical intermediate representation, including, by way of non-limiting example, a maximum decomposition depth, a branching factor, a reflection cadence, and a checkpoint interval.
[0079] The agent instantiator 318 is configured to issue a capability registry query 320 to the capability registry layer of the agentic automation system based on the capability unit references 308 and to receive in response one or more selected modular agentic capability units 322. The capability registry query 320 may carry version constraints, compatibility constraints, and policy filters, and may return artifacts comprising executable code, prompt templates, input and output schemas, and policy bindings for each of the selected modular agentic capability units 322. The agent instantiator 318 is further configured to bind the selected modular agentic capability units 322 to the persona specification 306, the memory configuration 310, the tool permissions and execution constraints 312, and the planning-stage parameters emitted by the planning technique selector 316.
[0080] The instantiated agent for planning and execution 324 is configured to perform planning and execution for the natural language outcome request 302 according to the declarative agent definition 300. The instantiated agent for planning and execution 324 may be assigned one or more roles, including a coordinator role 326 configured to oversee a group of cooperating instantiated agents and to allocate operations among the group, a worker role 328 configured to perform an operation delegated by an instantiated agent assigned the coordinator role 326, and a co-worker role 330 configured to perform an operation in parallel with one or more peer instantiated agents. Role assignment may be specified explicitly by the persona specification 306, inferred by the agent instantiator 318 from the structure of the natural language outcome request 302, or established dynamically by an instantiated agent assigned the coordinator role 326 during planning.
[0081] The execution-ready agent configuration 332 is configured to carry the instantiated agent for planning and execution 324, the selected modular agentic capability units 322, the planning-stage parameters, the memory bindings, and the tool permissions and execution constraints 312 to the agent planning and coordination layer of the agentic automation system. The execution-ready agent configuration 332 may be serialized as a typed inter-agent message conforming to a schema validated by the agent planning and coordination layer prior to deserialization. The execution-ready agent configuration 332 may further include an identifier of the canonical intermediate representation, a hash of the declarative agent definition 300 for audit purposes, and a reproducibility manifest enabling deterministic re-instantiation of the instantiated agent for planning and execution 324 across deployments of the agentic automation system.
[0082] In operation, the agent reasoning engine / compiler 314 receives the natural language outcome request 302 and the declarative agent definition 300, the agent definition parser 304 validates and canonicalizes the declarative agent definition 300, the planning technique selector 316 selects a planning technique based on the persona specification 306, the agent instantiator 318 issues the capability registry query 320 and receives the selected modular agentic capability units 322, and the instantiated agent for planning and execution 324 is assembled and assigned one or more of the coordinator role 326, the worker role 328, and the co-worker role 330. The execution-ready agent configuration 332 is then emitted as a typed inter-agent message to the agent planning and coordination layer of the agentic automation system for downstream planning and execution.
[0083] FIG. 4 illustrates an agent planning and coordination layer 400 of the agentic automation system. The agent planning and coordination layer 400 is configured to receive a planning context input 402, to generate an executable plan represented as a directed acyclic graph 410, to monitor execution of the directed acyclic graph 410, to adapt a remaining portion of the directed acyclic graph 410 based on intermediate outputs and user input, and to hand off operation nodes of the directed acyclic graph 410 to the orchestration and execution control layer of the agentic automation system.
[0084] The planning context input 402 is configured to carry the inputs that govern plan generation. The planning context input 402 may comprise the natural language outcome request, the execution-ready agent configuration emitted by the agent reasoning engine / compiler, references to memory entries retrieved from the persistent data and memory layer, identifiers of available modular agentic capability units, and tenant policies retrieved from the orchestration and execution control layer of the agentic automation system.
[0085] The agent planning and coordination layer 400 comprises a persona-based planning technique selector 404, a task decomposition engine 406, a plan generator 408, a dependency analyzer 412, a parallel branch scheduler 414, an intermediate output monitor 416, a plan reflection and adaptation component 418, a checkpoint manager 420, a saved checkpoint store 422, a human-in-the-loop pause controller 424, and an execution-layer handoff 428.
[0086] The persona-based planning technique selector 404 is configured to select a planning technique based on the persona specification carried by the planning context input 402. The planning techniques selectable by the persona-based planning technique selector 404 may include, by way of non-limiting example, single-shot planning, multi-step planning, hierarchical task decomposition, tree-of-thought planning, plan-and-solve planning, reflective replanning, and graph-of-thought planning. The persona-based planning technique selector 404 may further emit planning-stage parameters governing decomposition depth, branching factor, reflection cadence, and checkpoint interval, and may select different planning techniques for different sub-problems within a single planning context input 402.
[0087] The task decomposition engine 406 is configured to decompose the natural language outcome request carried by the planning context input 402 into a structured operation list capable of execution by one or more modular agentic capability units. The task decomposition engine 406 may identify sub-goals, gather constraints, enumerate candidate operations for each sub-goal, score the candidate operations against the persona specification and the identifiers of available modular agentic capability units, and emit the structured operation list to the plan generator 408. The task decomposition engine 406 may invoke one or more model providers through a model abstraction interface to perform the decomposition.
[0088] The plan generator 408 is configured to receive the structured operation list from the task decomposition engine 406 and to construct the directed acyclic graph 410. The directed acyclic graph 410 comprises a plurality of operation nodes, illustrated by way of non-limiting example as operation nodes Op1, Op2, Op3, Op4, Op5, and Op6, in which each operation node represents an operation to be executed by a modular agentic capability unit and each directed edge between two operation nodes represents a data dependency or a control dependency. The plan generator 408 may bind each operation node to a selected modular agentic capability unit, to an input schema, to an output schema, and to a permitted set of tool invocations, and may annotate each operation node with a time budget, a cost budget, and a retry policy.
[0089] The dependency analyzer 412 is configured to analyze the directed acyclic graph 410 and to identify independent branches of operation nodes capable of being executed concurrently. The dependency analyzer 412 may further identify critical paths, bottleneck operation nodes, fan-in and fan-out patterns, and operation nodes that may be coalesced or partitioned to improve throughput, latency, or cost.
[0090] The parallel branch scheduler 414 is configured to dispatch independent branches of the directed acyclic graph 410 for concurrent execution. The parallel branch scheduler 414 may emit operation nodes from independent branches as typed inter-agent messages addressed to the orchestration and execution control layer of the agentic automation system, may bound the degree of concurrency based on tenant policies and resource quotas, and may interleave dependent and independent operation nodes to maximize utilization of the distributed worker pool of the agentic automation system.
[0091] The intermediate output monitor 416 is configured to observe outputs emitted from completed operation nodes of the directed acyclic graph 410. The intermediate output monitor 416 may validate intermediate outputs against expected output schemas, evaluate intermediate outputs against expected ranges or properties, detect anomalies, and forward observations to the plan reflection and adaptation component 418.
[0092] The plan reflection and adaptation component 418 is configured to revise a remaining portion of the directed acyclic graph 410 based on the intermediate outputs observed by the intermediate output monitor 416. The plan reflection and adaptation component 418 may add operation nodes to the directed acyclic graph 410, remove operation nodes from the directed acyclic graph 410, replace operation nodes within the directed acyclic graph 410, alter dependencies between operation nodes, reassign operation nodes to different modular agentic capability units, or change the selected planning technique during execution. Revisions emitted by the plan reflection and adaptation component 418 are committed as a revised remaining plan 426 to the directed acyclic graph 410 prior to further dispatch by the parallel branch scheduler 414.
[0093] The checkpoint manager 420 is configured to persist execution state of the directed acyclic graph 410 to the saved checkpoint store 422 at configured points during execution. The checkpoint manager 420 may emit checkpoints upon completion of designated operation nodes, upon human-in-the-loop pause events, upon detection of recoverable failures, or at fixed time intervals. The saved checkpoint store 422 may be implemented using a relational database, a document store, an object store, or a combination of the foregoing, and may retain prior checkpoints to enable rollback of the directed acyclic graph 410 to a previously committed execution state.
[0094] The human-in-the-loop pause controller 424 is configured to suspend execution of the directed acyclic graph 410 at a checkpoint at which user input is desired. The human-in-the-loop pause controller 424 may emit an approval prompt to the approval / action / feedback interface of the user interface layer of the agentic automation system, await a user approval, action, or feedback 430, and resume execution of the directed acyclic graph 410 with the revised remaining plan 426 upon receipt of the user approval, action, or feedback 430. Human-in-the-loop pause events may be specified by the declarative agent definition, by the persona specification, or by policies maintained at the orchestration and execution control layer of the agentic automation system.
[0095] The execution-layer handoff 428 is configured to dispatch operation nodes from the directed acyclic graph 410 to the orchestration and execution control layer of the agentic automation system for execution by the distributed worker pool. The execution-layer handoff 428 may serialize each dispatched operation node as a typed inter-agent message conforming to a schema validated by the orchestration and execution control layer prior to deserialization, may attach the persona specification, the tool permissions and execution constraints, and the memory bindings applicable to the dispatched operation node, and may attach an identifier of the directed acyclic graph 410 and of the operation node within the directed acyclic graph 410 for traceability.
[0096] In operation, the agent planning and coordination layer 400 receives the planning context input 402, the persona-based planning technique selector 404 selects a planning technique, the task decomposition engine 406 decomposes the natural language outcome request into the structured operation list, the plan generator 408 constructs the directed acyclic graph 410, the dependency analyzer 412 identifies independent branches of the directed acyclic graph 410, and the parallel branch scheduler 414 dispatches operation nodes through the execution-layer handoff 428 to the orchestration and execution control layer of the agentic automation system. During execution, the intermediate output monitor 416 observes outputs returned from completed operation nodes, the plan reflection and adaptation component 418 emits the revised remaining plan 426 based on the observed outputs, the checkpoint manager 420 persists execution state to the saved checkpoint store 422, and the human-in-the-loop pause controller 424 suspends execution at checkpoints to receive the user approval, action, or feedback 430 before resuming with the revised remaining plan 426.
[0097] FIG. 5 illustrates a capability registry layer 510 and a modular agentic capability unit 530 of the agentic automation system. The capability registry layer 510 is configured to store, version, and supply modular agentic capability units to an agent planning and coordination layer 528 and to other layers of the agentic automation system. The modular agentic capability unit 530 is configured to perform a discrete operation delegated by the agent planning and coordination layer 528, to exchange typed inter-agent messages with other modular agentic capability units of the agentic automation system, and to invoke internal tools and external tools through a unified interface 534.
[0098] A capability specification 502 is provided as input to a generator component 504 associated with the capability registry layer 510. The capability specification 502 may comprise a natural language description of a desired capability, a structured schema declaring inputs, outputs, side effects, and required tool permissions, one or more reference examples, and persona compatibility metadata. The capability specification 502 may be authored by a developer, generated by an upstream modular agentic capability unit, or derived from prior usage telemetry retained within the capability registry layer 510.
[0099] The generator component 504 is configured to receive the capability specification 502 and to produce a capability candidate 506 together with an associated metadata and policy package 508. The capability candidate 506 may comprise executable code, prompt templates, input and output schemas, one or more test fixtures, and a manifest describing dependencies on internal tools, external tools, and model providers. The metadata and policy package 508 may comprise version identifiers, semantic tags, compatibility constraints, permission scopes, audit requirements, deprecation flags, and computational cost and latency profiles. The generator component 504 may apply automated validation, security scanning, and test execution against the test fixtures prior to admitting the capability candidate 506 to the capability registry layer 510.
[0100] The capability registry layer 510 comprises a storage component 512, a versioning component 514, a lifecycle state controller 516, and a metadata index 518. The storage component 512 is configured to retain capability candidates admitted to the capability registry layer 510, and may be implemented using a database, an object store, a container registry, a package registry, or any combination of the foregoing. The versioning component 514 is configured to track semantic versions of each capability and to maintain compatibility relationships among versions, and may implement immutable version pinning, version range resolution, and rollback to a prior version. The lifecycle state controller 516 is configured to maintain lifecycle states associated with each capability, including, by way of non-limiting example, draft, candidate, published, deprecated, and retired, and to gate transitions between lifecycle states according to policy. The metadata index 518 is configured to support discovery of capabilities by the semantic tags, the compatibility constraints, the permission scopes, the computational cost and latency profiles, and usage telemetry retained by the capability registry layer 510.
[0101] The capability registry layer 510 is configured to receive a registry query interface 520 invocation from the agent planning and coordination layer 528 or from a calling modular agentic capability unit. The registry query interface 520 may carry an identifier of a desired capability, a version constraint, a persona compatibility requirement, a permission scope, and a policy filter, and may be served as a synchronous request, an asynchronous request, or a subscription against capability changes.
[0102] A version selector 522 of the capability registry layer 510 is configured to resolve the registry query interface 520 invocation against the storage component 512, the versioning component 514, the lifecycle state controller 516, and the metadata index 518, and to produce a selected capability version 524. The version selector 522 may apply tie-breakers based on the computational cost and latency profiles carried by the metadata and policy package 508 and based on usage telemetry maintained by the capability registry layer 510.
[0103] The selected capability version 524 is conveyed through a supply pipeline 526 for instantiation of the modular agentic capability unit 530. The supply pipeline 526 may fetch the executable code, the prompt templates, the input and output schemas, and the policy bindings associated with the selected capability version 524, may verify integrity through cryptographic signatures, may prepare a respective sandboxed execution environment 536 for the modular agentic capability unit 530, and may install dependencies declared in the manifest of the selected capability version 524. The supply pipeline 526 may further cache prepared sandboxed execution environments for reuse to reduce instantiation latency.
[0104] The modular agentic capability unit 530 comprises a typed message interface 532, the unified interface 534, the respective sandboxed execution environment 536, and an output interface 538. The typed message interface 532 is configured to send and receive typed inter-agent messages with other modular agentic capability units of the agentic automation system. The typed message interface 532 may validate the schema of an inbound typed inter-agent message prior to deserialization, negotiate compatible message versions with a sending modular agentic capability unit, and emit outbound typed inter-agent messages conforming to the schema declared by a receiving modular agentic capability unit.
[0105] The unified interface 534 is configured to expose internal tools and external tools to the modular agentic capability unit 530 through a consistent invocation schema. The unified interface 534 may route a tool invocation to an internal tool 540 or to an external tool 542 based on the policy bindings carried by the selected capability version 524, enforce the tool permissions and execution constraints applicable to the modular agentic capability unit 530, and capture telemetry for each tool invocation. The internal tool 540 may comprise, by way of non-limiting example, a file parser, a search client, a retriever, a code interpreter, or an image processor hosted within the agentic automation system. The external tool 542 may comprise, by way of non-limiting example, a third-party application programming interface, a software-as-a-service application, a browser, or a robotic process automation runner hosted outside the agentic automation system and accessed through a network connector.
[0106] The respective sandboxed execution environment 536 is configured to host execution of the modular agentic capability unit 530 in isolation from other modular agentic capability units. The respective sandboxed execution environment 536 may provide process isolation, network isolation, file-system isolation, and resource-quota enforcement, and may be implemented through containerization technologies, virtualization technologies, micro-virtual-machines, language-level sandboxes, or process-level sandboxes, alone or in combination. The respective sandboxed execution environment 536 may load the executable code and the prompt templates supplied through the supply pipeline 526, attach the policy bindings, and bind memory access to a memory scope declared by the memory configuration of the declarative agent definition.
[0107] The output interface 538 is configured to emit results, intermediate outputs, and telemetry produced by the modular agentic capability unit 530. The output interface 538 may serialize outputs as typed inter-agent messages addressed to downstream modular agentic capability units, write outputs to the persistent data and memory layer of the agentic automation system through a memory operation framework, and emit usage telemetry and lifecycle feedback 544 to the capability registry layer 510. The usage telemetry and lifecycle feedback 544 may comprise invocation counts, latency distributions, error rates, computational cost consumption, tool invocation patterns, and user feedback signals, and may be applied by the lifecycle state controller 516 to advance, hold, or revert lifecycle states of capability versions and by the version selector 522 to refine subsequent capability selections.
[0108] In operation, the capability specification 502 is processed by the generator component 504 into the capability candidate 506 with the associated metadata and policy package 508, the capability candidate 506 is admitted to the capability registry layer 510 and managed by the storage component 512, the versioning component 514, the lifecycle state controller 516, and the metadata index 518. Upon a registry query interface 520 invocation from the agent planning and coordination layer 528, the version selector 522 produces the selected capability version 524, the supply pipeline 526 instantiates the modular agentic capability unit 530 within the respective sandboxed execution environment 536, the modular agentic capability unit 530 communicates through the typed message interface 532, invokes the internal tool 540 or the external tool 542 through the unified interface 534, and emits results and telemetry through the output interface 538. The usage telemetry and lifecycle feedback 544 is returned to the capability registry layer 510 to inform subsequent lifecycle decisions and version selections.
[0109] FIG. 6 illustrates an orchestration and execution control layer 600 of the agentic automation system. The orchestration and execution control layer 600 is configured to receive operations dispatched from the agent planning and coordination layer of the agentic automation system, to enforce access controls over the operations, to persist the operations to a database-backed job queue 614, to dispatch the operations to a distributed worker pool 618, to execute the operations within sandboxed execution environments, to mediate invocations of model providers through a model abstraction interface 630, to provision cloud and on-premises resources through an infrastructure-as-code interface 634, and to observe execution through an observability component 638.
[0110] An orchestration request input 602 is configured to carry an operation to be executed, together with metadata identifying the operation. The orchestration request input 602 may comprise a typed inter-agent message received from the agent planning and coordination layer, an identifier of the modular agentic capability unit assigned to the operation, the persona specification, the tool permissions and execution constraints applicable to the operation, the memory bindings declared by the memory configuration, and an identifier of an operation node within a directed acyclic graph from which the operation originates.
[0111] An access control component 604 is configured to evaluate the orchestration request input 602 against permission sets maintained by the agentic automation system. The access control component 604 may evaluate an organization permission 606 governing whether an organization or tenant is permitted to perform the operation, a user permission 608 governing whether the requesting user has authority to invoke the operation, an agent permission 610 governing whether the modular agentic capability unit assigned to the operation is permitted to act on behalf of the user and the organization, and a tool permission 612 governing whether internal tools and external tools required by the operation may be invoked under the present context. The access control component 604 may apply role-based access control, attribute-based access control, or policy-as-code evaluation, and may deny, downgrade, or escalate the operation based on the evaluation outcome.
[0112] Upon admission by the access control component 604, the operation is persisted to the database-backed job queue 614. The database-backed job queue 614 is configured to retain queued operations in a durable store that persists independently of in-memory state of the agent planning and coordination layer and of the distributed worker pool 618. The database-backed job queue 614 may be implemented using a relational database, a document store, a stream-processing platform, or any combination of the foregoing, and may support at-least-once or exactly-once delivery semantics, priority queues, delay queues, dead-letter queues, and ordering guarantees. By persisting queued operations independently of in-memory state, the database-backed job queue 614 enables the agentic automation system to recover queued operations after a worker failure, a coordinator failure, or a system restart without loss of in-flight work.
[0113] A dispatcher 616 is configured to retrieve operations from the database-backed job queue 614 and to route the retrieved operations to the distributed worker pool 618. The dispatcher 616 may apply scheduling policies including, by way of non-limiting example, fair-share scheduling, priority scheduling, deadline-aware scheduling, and locality-aware scheduling, and may shape dispatch to honor resource quotas, concurrency limits, and rate limits configured at the orchestration and execution control layer 600.
[0114] The distributed worker pool 618 comprises a plurality of stateless or stateful worker nodes, in which each worker node is configured to receive a dispatched operation, to instantiate a sandboxed execution environment 620 for the dispatched operation, and to host execution of the dispatched operation. The distributed worker pool 618 may scale horizontally across the cloud or on-premises resources 636 used by the agentic automation system, and may include heterogeneous worker nodes specialized by hardware, by software runtime, or by attached model accelerators. Hardware specializations may include, by way of non-limiting example, central processing units, graphics processing units, tensor processing units, and field-programmable gate arrays. Software runtimes may include, by way of non-limiting example, container runtimes, language runtimes, and serverless runtimes.
[0115] The sandboxed execution environment 620 comprises an execution worker 622, a tool runtime 624, and a model runtime 626. The execution worker 622 is configured to load the executable code, the prompt templates, and the policy bindings of the modular agentic capability unit assigned to the dispatched operation, to apply the persona specification and any planning-stage parameters carried by the orchestration request input 602, and to drive execution of the dispatched operation against the inputs declared in the typed inter-agent message. The tool runtime 624 is configured to invoke one or more external tools 642 through the unified interface of the modular agentic capability unit, to apply the tool permission 612 enforced by the access control component 604, and to capture per-invocation telemetry. The model runtime 626 is configured to invoke one or more model providers 632 through the model abstraction interface 630, to manage prompt construction, context-window assembly, and response parsing, and to apply token, time, and computational cost limits declared by the execution constraints applicable to the modular agentic capability unit.
[0116] The model abstraction interface 630 is configured to mediate invocations between the model runtime 626 and the model providers 632 of the agentic automation system. The model abstraction interface 630 may expose a uniform invocation schema covering completion, chat, embedding, function-calling, multimodal, and streaming interactions, and may translate between the uniform invocation schema and provider-specific application programming interfaces of the model providers 632. The model abstraction interface 630 may further apply provider routing policies, failover from a primary model provider to a secondary model provider upon error, A / B routing across model providers, and adaptive routing based on quality, latency, and computational cost telemetry. The model providers 632 may include hosted large language models, hosted vision models, hosted audio models, hosted multimodal models, on-premises model servers, and locally hosted small language models.
[0117] A lifecycle manager 628 is configured to track state transitions of each dispatched operation, including, by way of non-limiting example, queued, dispatched, running, paused, completed, failed, and abandoned. The lifecycle manager 628 may emit state-transition events to the observability component 638, coordinate with the agent planning and coordination layer to propagate completion notifications, and release resources held by completed or abandoned operations.
[0118] A retry manager 646 is configured to schedule retries of operations that fail recoverably. The retry manager 646 may apply retry policies including, by way of non-limiting example, fixed delay, exponential backoff with jitter, capped backoff, and circuit-breaker patterns, may classify failures as recoverable or non-recoverable based on error categories, and may emit a non-recoverable operation to a dead-letter queue of the database-backed job queue 614 for downstream remediation. Retry attempts may resume from a checkpoint persisted by the checkpoint manager of the agent planning and coordination layer to avoid redundant computation.
[0119] The infrastructure-as-code interface 634 is configured to provision and reproduce the cloud or on-premises resources 636 used by the agentic automation system. The infrastructure-as-code interface 634 may accept declarative configurations expressed in, by way of non-limiting example, HashiCorp Configuration Language, Pulumi templates, Ansible playbooks, Helm charts, or Kubernetes manifests, and may apply the declarative configurations through a continuous deployment pipeline to provision compute clusters, container orchestrators, serverless runtimes, virtual private clouds, object storage services, block storage services, network services, identity services, and key-management services. The cloud or on-premises resources 636 may include public cloud environments, private cloud environments, on-premises data centers, and edge locations, alone or in combination.
[0120] The observability component 638 is configured to collect metrics, logs, and traces emitted by the orchestration and execution control layer 600 and by the distributed worker pool 618, and to write the collected telemetry to a metrics and logs store 640. The observability component 638 may emit structured records linked by an operation identifier, a directed-acyclic-graph identifier, a tenant identifier, and a user identifier, and may support derived dashboards, alerts, and root-cause-analysis queries against the metrics and logs store 640. The metrics and logs store 640 may be implemented using time-series databases, log-aggregation systems, distributed-tracing backends, or any combination of the foregoing.
[0121] An execution status and results output 644 is configured to emit completion notifications, intermediate outputs, and final outputs from the orchestration and execution control layer 600 to the agent planning and coordination layer of the agentic automation system, to the persistent data and memory layer of the agentic automation system, and, where authorized, to the user interface layer of the agentic automation system. The execution status and results output 644 may serialize each emitted record as a typed inter-agent message conforming to the schema declared by the receiving layer.
[0122] In operation, the orchestration request input 602 is admitted by the access control component 604 against the organization permission 606, the user permission 608, the agent permission 610, and the tool permission 612, the admitted operation is persisted to the database-backed job queue 614, the dispatcher 616 routes the operation to the distributed worker pool 618, a worker node instantiates the sandboxed execution environment 620 in which the execution worker 622 drives execution, the tool runtime 624 invokes one or more external tools 642, and the model runtime 626 invokes one or more model providers 632 through the model abstraction interface 630. The lifecycle manager 628 tracks state transitions, the retry manager 646 schedules retries upon recoverable failure, the observability component 638 writes telemetry to the metrics and logs store 640, the infrastructure-as-code interface 634 provisions the cloud or on-premises resources 636 in support of the distributed worker pool 618, and the execution status and results output 644 emits completion notifications, intermediate outputs, and final outputs to upstream layers of the agentic automation system.
[0123] FIG. 7 illustrates typed inter-agent messaging via a universal intermediate representation 700 of the agentic automation system. The typed inter-agent messaging via the universal intermediate representation 700 is configured to convey a structured payload from a sender capability unit 702 to a receiver capability unit 726 in a manner that may preserve semantic content across heterogeneous schemas, support schema evolution over time, and reduce or eliminate hardcoded point-to-point integrations between modular agentic capability units of the agentic automation system.
[0124] The sender capability unit 702 comprises an embodiment of a modular agentic capability unit configured to emit a structured payload upon completion of an operation. The sender capability unit 702 includes a typed message interface 704 and a sender schema 706. The typed message interface 704 is configured to construct and emit a typed inter-agent message 708 conforming to the sender schema 706. The sender schema 706 declares the structure, types, and semantic annotations of the payload emitted by the sender capability unit 702, and may comprise field definitions, nested structures, enumerations, constraint annotations, units of measurement, and references to one or more ontologies.
[0125] The typed inter-agent message 708 comprises the structured payload emitted by the sender capability unit 702 together with metadata associated with the payload. The metadata may identify the sender capability unit 702, identify the sender schema 706, carry a message identifier, carry a correlation identifier linking the typed inter-agent message 708 to an operation node within a directed acyclic graph of an executable plan, carry a tenant identifier, carry an authorization token, and carry a timestamp.
[0126] The typed inter-agent message 708 is conveyed to the universal intermediate representation 710. The universal intermediate representation 710 is configured to receive the typed inter-agent message 708 from the typed message interface 704 of the sender capability unit 702, to derive a schema-agnostic representation of the payload that retains semantic content, and to produce a receiver-ready translated message 724 conforming to a receiver schema 728 of the receiver capability unit 726. The universal intermediate representation 710 may be implemented as a hierarchical type graph, a labeled property graph, a typed feature structure, or any combination of the foregoing, and may maintain compatibility mappings and transformation pathways among schemas registered with the agentic automation system.
[0127] The universal intermediate representation 710 comprises a semantic type discovery component 712, a schema evolution component 714, an intelligent mediation component 716, and a secure serialization layer 718. The semantic type discovery component 712 is configured to derive semantic types of fields within the typed inter-agent message 708 without reliance on predefined schemas. The semantic type discovery component 712 may apply ontology alignment, structural schema analysis, content pattern recognition, embedding-based similarity, and unit-of-measurement inference to determine that a field of the typed inter-agent message 708 carries a value of a particular semantic type recognized by the agentic automation system.
[0128] The schema evolution component 714 is configured to track changes to the sender schema 706 and the receiver schema 728 across versions, to maintain compatibility mappings between successive versions, and to update transformation pathways used by the universal intermediate representation 710 as schemas evolve. The schema evolution component 714 may apply schema-difference detection, backward-compatibility validation, forward-compatibility validation, and automated mapping generation to maintain interoperability between modular agentic capability units that operate on different schema versions.
[0129] The intelligent mediation component 716 is configured to construct the receiver-ready translated message 724 from the universal intermediate representation 710 of the typed inter-agent message 708 according to the receiver schema 728. The intelligent mediation component 716 may apply type normalization, format translation, unit conversion, field renaming, structural rearrangement, and value-set mapping, and may invoke one or more model providers through a model abstraction interface to resolve ambiguous mappings. The intelligent mediation component 716 may further apply a reinforcement-learned mediation policy that selects among candidate transformation pathways based on historical mediation performance, latency, and fidelity telemetry maintained by the agentic automation system.
[0130] The secure serialization layer 718 is configured to serialize and deserialize messages exchanged with the universal intermediate representation 710. The secure serialization layer 718 may apply integrity protection through message authentication codes or cryptographic signatures, confidentiality protection through encryption of selected fields or whole messages, replay protection through nonces and timestamps, and policy-based redaction of fields prior to transmission. The secure serialization layer 718 may support serialization formats including, by way of non-limiting example, JSON, CBOR, Avro, Protocol Buffers, and FlatBuffers.
[0131] The universal intermediate representation 710 is coupled to a compatibility policy store 720 and a message translation log 722. The compatibility policy store 720 is configured to retain compatibility policies governing which sender schemas may be translated to which receiver schemas, which mediation pathways are permitted under which tenant policies, and which fields may be transmitted across which trust boundaries. The compatibility policy store 720 may be queried by the intelligent mediation component 716 prior to construction of the receiver-ready translated message 724 to determine whether a desired translation is permitted under the present context.
[0132] The message translation log 722 is configured to retain a record of each translation performed by the universal intermediate representation 710. The message translation log 722 may record the sender capability unit 702, the receiver capability unit 726, the sender schema 706, the receiver schema 728, the mediation pathway selected by the intelligent mediation component 716, the serialization format applied by the secure serialization layer 718, fidelity and latency telemetry, and any policy decisions rendered by the compatibility policy store 720. The message translation log 722 may be made available to the observability component of the orchestration and execution control layer of the agentic automation system for audit, debugging, and reinforcement-learning feedback.
[0133] The receiver-ready translated message 724 is constructed by the intelligent mediation component 716 from the universal intermediate representation 710 of the typed inter-agent message 708 and conforms to the receiver schema 728. The receiver-ready translated message 724 is conveyed to the receiver capability unit 726 through a typed message interface 730 of the receiver capability unit 726. The typed message interface 730 is configured to validate the receiver-ready translated message 724 against the receiver schema 728 prior to deserialization and to reject a non-conforming receiver-ready translated message 724 in accordance with policies declared by the receiver capability unit 726.
[0134] The receiver capability unit 726 comprises an embodiment of a modular agentic capability unit configured to receive a structured payload, to perform a delegated operation upon receipt, and to emit further typed inter-agent messages. Upon validation of the receiver-ready translated message 724 against the receiver schema 728 by the typed message interface 730, the receiver capability unit 726 performs a receiver-side handoff 732. The receiver-side handoff 732 may transfer execution control to the executable code of the receiver capability unit 726, invoke a downstream tool through the unified interface of the receiver capability unit 726, write entries to the persistent data and memory layer of the agentic automation system through a memory operation framework, or emit a further typed inter-agent message to a downstream modular agentic capability unit.
[0135] In operation, the sender capability unit 702 emits the typed inter-agent message 708 through the typed message interface 704 according to the sender schema 706, the universal intermediate representation 710 receives the typed inter-agent message 708 and applies the semantic type discovery component 712, the schema evolution component 714, the intelligent mediation component 716, and the secure serialization layer 718 to derive a schema-agnostic representation of the typed inter-agent message 708, the compatibility policy store 720 admits or denies the translation, the receiver-ready translated message 724 is constructed and conveyed to the typed message interface 730 of the receiver capability unit 726, the receiver capability unit 726 validates the receiver-ready translated message 724 against the receiver schema 728 and performs the receiver-side handoff 732, and the message translation log 722 retains a record of the translation for audit, observability, and reinforcement-learning feedback.
[0136] FIG. 8 illustrates a persistent organization memory architecture 800 of the agentic automation system. The persistent organization memory architecture 800 is configured to retain knowledge across sessions, modular agentic capability units, and tasks executed by the agentic automation system, to make the retained knowledge available to the modular agentic capability units during planning and execution, to update the retained knowledge based on outcomes of completed operations and user feedback, and to forget, compress, or anonymize entries that are no longer relevant.
[0137] The persistent organization memory architecture 800 is accessed by a first capability unit instance 802 and a second capability unit instance 804 through a memory operation framework 806. The first capability unit instance 802 and the second capability unit instance 804 each comprise an embodiment of a modular agentic capability unit of the agentic automation system. Although two capability unit instances are illustrated in FIG. 8, any number of modular agentic capability units may concurrently access the persistent organization memory architecture 800 through the memory operation framework 806 in cooperation with one or more declarative agent definitions.
[0138] The memory operation framework 806 is configured to expose read, write, delete, and share operations against a persistent data and memory layer 808. The read operation is configured to retrieve a memory entry, a collection of memory entries, or a query result derived from one or more memory stores within the persistent data and memory layer 808. The write operation is configured to insert a new memory entry, append to an existing memory entry, or replace an existing memory entry. The delete operation is configured to remove a memory entry or to mark a memory entry for asynchronous removal under a selective forgetting policy 822. The share operation is configured to extend or revoke access to a memory entry across modular agentic capability units, tenants, sessions, or users in accordance with the memory configuration declared by the declarative agent definition and policies enforced by the orchestration and execution control layer of the agentic automation system.
[0139] Memory entries retained in the persistent data and memory layer 808 are collectively referred to herein as contextual state. The contextual state encompasses the totality of memory entries persisted across the memory stores of the persistent data and memory layer 808, and the contextual state is accessible to the one or more modular agentic capability units across executions of an executable plan and across instances of the one or more modular agentic capability units.
[0140] The persistent data and memory layer 808 comprises a short-term memory store 810, a long-term memory store 812, a dynamic memory graph 814, an embeddings store 816, a natural language memory 818, and one or more structured stores 820 configured to retain structured lists, files, task records, and portfolio data, in which portfolio data refers to a collection of work artifacts produced or maintained by the agentic automation system on behalf of a tenant, grouped by project, by team, or by other organizational dimensions.
[0141] The short-term memory store 810 is configured to retain session-level context. The short-term memory store 810 may hold conversation history, in-flight executable-plan identifiers, partial inputs, pending approvals, intermediate outputs awaiting downstream consumption, and references to other memory entries within the persistent data and memory layer 808. The short-term memory store 810 may be implemented using an in-memory key-value store, a session database, or a cache-backed persistence service, and may apply a session-scoped retention policy that expires entries upon session termination or upon a configured time-to-live.
[0142] The long-term memory store 812 is configured to retain knowledge across sessions, modular agentic capability units, tasks, and users. The long-term memory store 812 may hold accumulated facts, learned preferences, organization-specific terminology, completed work artifacts, observed patterns, and references to prior typed inter-agent messages. The long-term memory store 812 may be implemented using a relational database, a document store, an object store, or any combination of the foregoing.
[0143] Memory entries written to the long-term memory store 812 persist beyond termination of a modular agentic capability unit instance, so that a subsequently instantiated instance of the same modular agentic capability unit may retrieve the memory entries from the long-term memory store 812 prior to commencing operations. Retrieval of the memory entries by the subsequently instantiated instance may be performed as part of instantiation of the subsequently instantiated instance by the agent planning and coordination layer, in which the memory configuration declared by the declarative agent definition identifies the memory stores from which the subsequently instantiated instance is to read upon instantiation.
[0144] The dynamic memory graph 814, also referred to as a knowledge graph, is configured to retain typed relationships among entities, events, actions, and memory entries. The dynamic memory graph 814 may comprise nodes representing entities and edges representing relationships annotated with type, confidence, provenance, and temporal validity, and may be implemented using a property graph database, a labeled graph database, or a triple store. The dynamic memory graph 814 may support graph queries, path queries, and subgraph extraction, and may be updated by a continuous learning component 824 as new memory entries are committed to the persistent data and memory layer 808.
[0145] The embeddings store 816 is configured to retain vector embeddings derived from memory entries within the persistent data and memory layer 808. The embeddings store 816 may hold embeddings computed for textual entries, image entries, audio entries, and multimodal entries, and may be implemented using a vector database, an approximate-nearest-neighbor index, or any combination of the foregoing. The embeddings store 816 may support similarity search, hybrid search combining vector similarity with metadata filtering, and clustering of related memory entries.
[0146] The natural language memory 818 is configured to retain descriptive notes, observations, instructions, and rationales expressed in natural language. The natural language memory 818 may hold summaries of prior tasks, instructions captured from the user interface layer of the agentic automation system, reflective notes emitted by the plan reflection and adaptation component of the agent planning and coordination layer, and rationales generated by modular agentic capability units during execution.
[0147] The structured stores 820 are configured to retain structured lists, files, task records, and the portfolio data. The structured lists may comprise enumerations, taxonomies, allow-lists, deny-lists, and reference catalogs. The files may comprise documents, presentations, spreadsheets, source code, archives, and other artifacts emitted by or consumed by modular agentic capability units. The task records may comprise descriptions of completed operations, outcomes, telemetry summaries, and references to the metrics and logs store of the orchestration and execution control layer.
[0148] The persistent organization memory architecture 800 is governed by the selective forgetting policy 822, the continuous learning component 824, a feedback collection 826, and a learning transfer component 828.
[0149] The selective forgetting policy 822 is configured to expire, compress, anonymize, or summarize entries within the persistent data and memory layer 808 according to relevance, sensitivity, retention requirements, and storage budgets. The selective forgetting policy 822 may apply time-decay functions that reduce the weight of older entries, aggregate stale entries into summaries while discarding underlying detail, anonymize fields identifying users or personal data after a configured retention period, and remove entries flagged by data-subject requests or by tenant policy. The selective forgetting policy 822 may further differentiate retention treatment among the short-term memory store 810, the long-term memory store 812, the dynamic memory graph 814, the embeddings store 816, the natural language memory 818, and the structured stores 820.
[0150] The continuous learning component 824 is configured to incorporate new information into the persistent data and memory layer 808 based on outcomes of completed operations and on input received from the feedback collection 826. The continuous learning component 824 may extract facts, preferences, relationships, and outcome signals from completed operations, update vector embeddings in the embeddings store 816, add nodes and edges to the dynamic memory graph 814, write summaries to the natural language memory 818, and revise structured records within the structured stores 820. The continuous learning component 824 may apply confidence weighting, conflict detection, and provenance tracking to maintain integrity of the persistent data and memory layer 808 as new information is incorporated.
[0151] The feedback collection 826 is configured to capture approvals, actions, corrections, and free-form feedback received through the approval / action / feedback interface of the user interface layer of the agentic automation system, and to forward the captured feedback to the continuous learning component 824 and the learning transfer component 828. The feedback collection 826 may further capture implicit feedback signals derived from observability telemetry, including completion rates, abandonment events, reuse of outputs, and downstream edits to outputs.
[0152] The learning transfer component 828 is configured to propagate learnings derived from one modular agentic capability unit to one or more other modular agentic capability units of the agentic automation system. The learning transfer component 828 may identify learnings that are applicable across modular agentic capability units based on persona compatibility, domain overlap, schema compatibility, and tenant policy, and may emit typed inter-agent messages carrying the propagated learnings to receiving modular agentic capability units. The learning transfer component 828 may further synchronize updated embeddings, updated graph fragments, and updated structured records across modular agentic capability units that share access to the persistent data and memory layer 808.
[0153] In operation, the first capability unit instance 802 and the second capability unit instance 804 interact with the persistent data and memory layer 808 through the memory operation framework 806, the short-term memory store 810 retains session-level context, the long-term memory store 812 retains durable knowledge across sessions, the dynamic memory graph 814 retains typed relationships, the embeddings store 816 retains vector embeddings, the natural language memory 818 retains descriptive content, and the structured stores 820 retain the structured lists, the files, the task records, and the portfolio data. The selective forgetting policy 822 expires, compresses, or anonymizes entries that are no longer relevant, the continuous learning component 824 incorporates new information from completed operations and from the feedback collection 826, and the learning transfer component 828 propagates learnings across modular agentic capability units of the agentic automation system.
[0154] FIG. 9 illustrates an end-to-end swim-lane method 900 for agentic automation across six cooperating layers of the agentic automation system, including a user interface layer 902, a planning and coordination layer 904, a capability registry layer 906, modular agentic capability units 908, an orchestration and execution control layer 910, and a persistent data and memory layer 912. The end-to-end swim-lane method 900 may be embodied in computer-readable program instructions that, when executed by one or more processors of a computing system, cause the computing system to perform the operations described below. Although the operations are described in a particular order for clarity, the operations may be performed in a different order, concurrently, or repeatedly, as governed by the executable plan generated by the planning and coordination layer 904.
[0155] At block 914, the user interface layer 902 receives a natural language outcome request from a user device. The natural language outcome request comprises a natural language expression of a goal to be achieved by the agentic automation system.
[0156] At block 916, the user interface layer 902 receives a declarative agent definition. The declarative agent definition comprises a persona specification, one or more capability unit references, a memory configuration, and tool permissions and execution constraints, and may be received together with the natural language outcome request received at block 914 or separately from the natural language outcome request.
[0157] At block 920, the planning and coordination layer 904 instantiates an agent based on the declarative agent definition received at block 916. Instantiating the agent comprises parsing and validating the declarative agent definition, querying the capability registry layer 906 for the modular agentic capability units 908 referenced by the declarative agent definition, and binding the persona specification, the memory configuration, and the tool permissions and execution constraints to the instantiated agent.
[0158] At block 922, the planning and coordination layer 904 selects a planning technique based on the persona specification carried by the declarative agent definition. The selected planning technique may include, by way of non-limiting example, single-shot planning, multi-step planning, hierarchical task decomposition, tree-of-thought planning, plan-and-solve planning, reflective replanning, or graph-of-thought planning.
[0159] At block 924, the planning and coordination layer 904 generates an executable plan as a directed acyclic graph. The directed acyclic graph comprises a plurality of operation nodes representing operations to be executed by the modular agentic capability units 908, in which directed edges between operation nodes represent data dependencies and control dependencies.
[0160] At block 926, the capability registry layer 906 retrieves, versions, and supplies the modular agentic capability units 908 referenced by the executable plan generated at block 924. Retrieving comprises resolving capability unit references against a metadata index and a versioning component of the capability registry layer 906, versioning comprises applying version constraints carried by the executable plan, and supplying comprises conveying selected capability versions through a supply pipeline for instantiation of the modular agentic capability units 908 within respective sandboxed execution environments.
[0161] At block 928, the modular agentic capability units 908 perform operations assigned by the executable plan. Each operation node of the directed acyclic graph is performed by a modular agentic capability unit bound to the operation node, in accordance with the persona specification, the memory configuration, and the tool permissions and execution constraints declared by the declarative agent definition.
[0162] At block 930, the orchestration and execution control layer 910 dispatches operations to a distributed worker pool. Dispatching comprises persisting each operation to a database-backed job queue that persists independently of in-memory state, retrieving operations from the database-backed job queue through a dispatcher, and routing the retrieved operations to worker nodes of the distributed worker pool according to scheduling policies maintained at the orchestration and execution control layer 910.
[0163] At block 932, the orchestration and execution control layer 910 executes the dispatched operations within sandboxed execution environments. Each sandboxed execution environment hosts an execution worker, a tool runtime, and a model runtime, and may be implemented through containerization technologies, virtualization technologies, micro-virtual-machines, language-level sandboxes, or process-level sandboxes, alone or in combination.
[0164] At block 934, the orchestration and execution control layer 910 enforces access controls over each dispatched operation. Enforcing access controls comprises evaluating an organization permission, a user permission, an agent permission, and a tool permission against the dispatched operation, and admitting, denying, downgrading, or escalating the dispatched operation based on the evaluation outcome.
[0165] At block 936, the orchestration and execution control layer 910 manages lifecycle and retries of dispatched operations. Managing lifecycle comprises tracking state transitions of each dispatched operation through queued, dispatched, running, paused, completed, failed, and abandoned states. Managing retries comprises applying retry policies including, by way of non-limiting example, fixed delay, exponential backoff with jitter, capped backoff, and circuit-breaker patterns, classifying failures as recoverable or non-recoverable, and emitting non-recoverable operations to a dead-letter queue of the database-backed job queue.
[0166] At block 938, the modular agentic capability units 908 exchange typed inter-agent messages with one another and with the orchestration and execution control layer 910. Each typed inter-agent message conforms to a schema declared by a sending modular agentic capability unit and is validated against a schema of a receiving modular agentic capability unit prior to deserialization.
[0167] At block 964, the orchestration and execution control layer 910 performs parallel branch execution by dispatching independent branches of the directed acyclic graph for concurrent execution across the distributed worker pool. Parallel branch execution may bound the degree of concurrency based on tenant policies and resource quotas maintained at the orchestration and execution control layer 910.
[0168] At block 940, the persistent data and memory layer 912 persists memory and knowledge derived from completed operations along a memory persistence path 956. Persisting comprises writing memory entries to one or more of a short-term memory store, a long-term memory store, a dynamic memory graph, an embeddings store, a natural language memory, and one or more structured stores configured to retain structured lists, files, task records, and portfolio data of the agentic automation system.
[0169] At block 942, the persistent data and memory layer 912 applies continuous learning to incorporate new information into the persistent data and memory layer 912 based on outcomes of completed operations. Applying continuous learning may comprise extracting facts, preferences, relationships, and outcome signals from completed operations, updating vector embeddings in the embeddings store, updating the dynamic memory graph, and revising structured records, with confidence weighting, conflict detection, and provenance tracking.
[0170] At block 944, the persistent data and memory layer 912 applies a selective forgetting policy to expire, compress, anonymize, or summarize entries within the persistent data and memory layer 912 according to relevance, sensitivity, retention requirements, and storage budgets.
[0171] At block 946, the persistent data and memory layer 912 applies learning transfer to propagate learnings derived from one of the modular agentic capability units 908 to one or more other modular agentic capability units 908. Applying learning transfer may comprise identifying applicable learnings based on persona compatibility, domain overlap, schema compatibility, and tenant policy, and emitting typed inter-agent messages carrying the propagated learnings to receiving modular agentic capability units.
[0172] At block 948, the persistent data and memory layer 912 stores updated context state derived from intermediate outputs of completed operations. The updated context state is made available to the planning and coordination layer 904 along a context feedback path 939 for use in revising a remaining portion of the executable plan.
[0173] At block 950, the planning and coordination layer 904 revises the remaining portion of the executable plan based on the intermediate outputs of completed operations observed through an intermediate output monitor of the planning and coordination layer 904. Revising may comprise adding operation nodes to the directed acyclic graph, removing operation nodes from the directed acyclic graph, replacing operation nodes within the directed acyclic graph, altering dependencies between operation nodes, reassigning operations to different modular agentic capability units, or changing the selected planning technique during execution.
[0174] At block 918, the user interface layer 902 receives a user approval, action, or feedback through an approval / action / feedback interface of the user interface layer 902. The user approval, action, or feedback may be received in response to a human-in-the-loop checkpoint emitted by the planning and coordination layer 904.
[0175] At block 952, the user interface layer 902 propagates the user approval, action, or feedback received at block 918 to the planning and coordination layer 904 as a human-in-the-loop update. The human-in-the-loop update may resume a paused executable plan, revise the remaining portion of the executable plan in cooperation with block 950, or annotate an output for downstream learning by the continuous learning component at block 942.
[0176] At block 954, the orchestration and execution control layer 910 hands off execution status and results from completed operations to the planning and coordination layer 904, to the persistent data and memory layer 912, and, where authorized, to the user interface layer 902. The handoff may be conveyed as typed inter-agent messages conforming to schemas declared by the receiving layers.
[0177] At block 960, the user interface layer 902 presents a final result of the executable plan along a result delivery path 962 to the user device that submitted the natural language outcome request at block 914. The final result may include final outputs, plan summaries, source citations, and confidence indicators, and may be rendered by a dynamic layout engine of the user interface layer 902.
[0178] In operation, the end-to-end swim-lane method 900 commences with the user interface layer 902 receiving the natural language outcome request at block 914 and the declarative agent definition at block 916, the planning and coordination layer 904 instantiating the agent at block 920, selecting the planning technique at block 922, and generating the executable plan as the directed acyclic graph at block 924, the capability registry layer 906 retrieving, versioning, and supplying the modular agentic capability units 908 at block 926, the modular agentic capability units 908 performing operations at block 928 and exchanging typed inter-agent messages at block 938, the orchestration and execution control layer 910 dispatching operations at block 930, executing operations within sandboxed execution environments at block 932, enforcing access controls at block 934, managing lifecycle and retries at block 936, and performing parallel branch execution at block 964, the persistent data and memory layer 912 persisting memory and knowledge at block 940 along the memory persistence path 956, applying continuous learning at block 942, applying selective forgetting at block 944, applying learning transfer at block 946, and storing updated context state at block 948 along the context feedback path 939, the planning and coordination layer 904 revising the remaining portion of the executable plan at block 950, the user interface layer 902 receiving the user approval, action, or feedback at block 918 and propagating the human-in-the-loop update at block 952, the orchestration and execution control layer 910 handing off execution status and results at block 954, and the user interface layer 902 presenting the final result along the result delivery path 962 at block 960.
[0179] FIG. 10 illustrates a document layout capability unit 1000 of the agentic automation system. The document layout capability unit 1000 comprises an embodiment of a modular agentic capability unit configured to ingest an input document 1002, to extract a layout representation of the input document 1002, to regenerate an output document conforming to a layout preservation policy 1022, to validate the regenerated output document, and to emit results and feedback to upstream and downstream layers of the agentic automation system.
[0180] The input document 1002 may comprise any document type accepted by the agentic automation system, including, by way of non-limiting example, portable document format files, word-processor documents, presentation files, spreadsheet files, scanned page images, rendered web pages, and electronic forms. The input document 1002 may be supplied by a user device through the user interface layer of the agentic automation system, retrieved from an enterprise data source through a unified interface of the document layout capability unit 1000, or read from the persistent data and memory layer of the agentic automation system.
[0181] The document layout capability unit 1000 comprises a document ingestion interface 1004, a layout extraction and representation pipeline 1006, a layout representation data structure 1020, the layout preservation policy 1022, an adaptive regeneration engine 1024, an output quality validation 1028, a planning and coordination layer handoff 1030, and a persistent data and memory layer feedback 1032.
[0182] The document ingestion interface 1004 is configured to receive the input document 1002, to authenticate a source of the input document 1002, to validate the input document 1002 against permitted document types and size limits declared by the tool permissions and execution constraints applicable to the document layout capability unit 1000, and to convey the input document 1002 to the layout extraction and representation pipeline 1006. The document ingestion interface 1004 may further classify the input document 1002 by document type, decompress and decrypt the input document 1002 where applicable, and emit ingestion telemetry to the orchestration and execution control layer of the agentic automation system.
[0183] The layout extraction and representation pipeline 1006 is configured to derive a structured representation of the layout of the input document 1002. The layout extraction and representation pipeline 1006 comprises a page image extraction 1008, a geometric analysis module 1010, a visual layout understanding module 1012, a text extraction module 1014, a multimodal fusion module 1016, and a semantic block classifier 1018.
[0184] The page image extraction 1008 is configured to render each page of the input document 1002 as one or more page images. The page image extraction1008 may invoke a document renderer through the unified interface of the document layout capability unit 1000, produce raster images at one or more resolutions, and emit per-page metadata identifying page dimensions, orientation, and rotation.
[0185] The geometric analysis module 1010 is configured to identify geometric primitives within the page images emitted by the page image extraction 1008. The geometric analysis module 1010 may detect lines, rectangles, columns, gutters, margins, baselines, and rectilinear regions, estimate a reading order, and emit a geometric representation describing the spatial structure of each page of the input document 1002.
[0186] The visual layout understanding module 1012 is configured to derive a higher-level visual structure of each page of the input document 1002. The visual layout understanding module 1012 may invoke one or more model providers through a model abstraction interface of the orchestration and execution control layer to classify regions as headers, body paragraphs, captions, figures, tables, footers, or sidebars, and may emit a layout graph relating the classified regions.
[0187] The text extraction module 1014 is configured to extract textual content from the input document 1002. The text extraction module 1014 may apply native text extraction where the input document 1002 contains an embedded text layer, apply optical character recognition to page images where an embedded text layer is absent, detect language and script, and emit token-level, line-level, and paragraph-level text together with bounding-box references into the geometric representation emitted by the geometric analysis module 1010.
[0188] The multimodal fusion module 1016 is configured to fuse the geometric representation emitted by the geometric analysis module 1010, the layout graph emitted by the visual layout understanding module 1012, and the textual content emitted by the text extraction module 1014 into a unified multimodal representation of the input document 1002. The multimodal fusion module 1016 may align textual content with visual regions, resolve overlapping classifications, and propagate confidence scores across modalities.
[0189] The semantic block classifier 1018 is configured to classify regions of the unified multimodal representation into semantic block types. The semantic block types may include, by way of non-limiting example, title blocks, section headings, body text, lists, captions, tables, charts, equations, code listings, and footnotes. The semantic block classifier 1018 may invoke a model provider through the model abstraction interface, apply rule-based post-processing, and emit classified semantic blocks together with confidence scores to the layout representation data structure 1020.
[0190] The layout representation data structure 1020 is configured to retain the unified multimodal representation emitted by the multimodal fusion module 1016 together with the semantic block classifications emitted by the semantic block classifier 1018. The layout representation data structure 1020 may be implemented as a hierarchical tree, a labeled graph, a typed feature structure, or any combination of the foregoing, and may be serialized as a typed inter-agent message for transmission to other modular agentic capability units of the agentic automation system.
[0191] The layout preservation policy 1022 is configured to declare preservation requirements applied by the adaptive regeneration engine 1024 when regenerating an output document from the layout representation data structure 1020. The layout preservation policy 1022 may declare which visual properties are to be preserved exactly, which visual properties may be approximated within configured tolerances, and which visual properties may be reflowed for a target output format. The layout preservation policy 1022 may be supplied by the declarative agent definition, retrieved from the persistent data and memory layer, or inferred from properties of the input document 1002.
[0192] The adaptive regeneration engine 1024 is configured to construct a regenerated output document 1026 from the layout representation data structure 1020 in conformance with the layout preservation policy 1022. The adaptive regeneration engine 1024 may select among output formats including, by way of non-limiting example, portable document format, word-processor formats, presentation formats, hypertext markup language, and structured data formats, may adapt the regenerated output document 1026 to a target viewport or print medium, and may invoke one or more model providers through the model abstraction interface to fill or summarize content where source content is incomplete.
[0193] The regenerated output document 1026 comprises a document constructed by the adaptive regeneration engine 1024 from the layout representation data structure 1020. The regenerated output document 1026 may comprise the input document 1002 with edits applied, a translated or summarized embodiment of the input document 1002, a document derived from data sourced through the unified interface of the document layout capability unit 1000, or any combination of the foregoing.
[0194] The output quality validation 1028 is configured to evaluate the regenerated output document 1026 against the layout preservation policy 1022 and against output schemas declared by a receiving modular agentic capability unit or by the user interface layer. The output quality validation 1028 may compute structural similarity scores against the layout representation data structure 1020, perform readability analysis on textual content, verify that semantic block types are preserved, and emit validation telemetry to the orchestration and execution control layer of the agentic automation system.
[0195] The planning and coordination layer handoff 1030 is configured to convey the regenerated output document 1026 and the layout representation data structure 1020 to the planning and coordination layer of the agentic automation system. The planning and coordination layer handoff 1030 may serialize the conveyed payload as a typed inter-agent message conforming to a schema declared by the planning and coordination layer, attach validation telemetry emitted by the output quality validation 1028, and attach a correlation identifier referencing an operation node within a directed acyclic graph of an executable plan.
[0196] The persistent data and memory layer feedback 1032 is configured to write the layout representation data structure 1020, the regenerated output document 1026, and the validation telemetry to the persistent data and memory layer of the agentic automation system. The persistent data and memory layer feedback 1032 may further write learned layout patterns, recurring template structures, and user-corrected layouts to the long-term memory store, the dynamic memory graph, and the embeddings store of the persistent data and memory layer, in a manner that may inform subsequent regenerations performed by the document layout capability unit 1000 and by other modular agentic capability units of the agentic automation system.
[0197] In operation, the document ingestion interface 1004 receives the input document 1002, the layout extraction and representation pipeline 1006 derives the layout representation data structure 1020 through the page image extraction 1008, the geometric analysis module 1010, the visual layout understanding module 1012, the text extraction module 1014, the multimodal fusion module 1016, and the semantic block classifier 1018, the adaptive regeneration engine 1024 constructs the regenerated output document 1026 in conformance with the layout preservation policy 1022, the output quality validation 1028 evaluates the regenerated output document 1026, the planning and coordination layer handoff 1030 conveys the regenerated output document 1026 and the layout representation data structure 1020 to the planning and coordination layer of the agentic automation system, and the persistent data and memory layer feedback 1032 writes the layout representation data structure 1020, the regenerated output document 1026, and the validation telemetry to the persistent data and memory layer of the agentic automation system.
[0198] FIG. 11 illustrates a neuro-symbolic reasoning capability unit 1100 of the agentic automation system. The neuro-symbolic reasoning capability unit 1100 comprises an embodiment of a modular agentic capability unit configured to ingest a natural language problem statement and a structured data input, to apply a neuro-symbolic reasoning pipeline integrating neural and symbolic computation, to evaluate a candidate solution against a rule set retrieved from a rules repository, to verify the candidate solution through a verification engine, and to emit a model output and an explanation and proof output to upstream and downstream layers of the agentic automation system.
[0199] A natural language problem statement 1102 and a structured data input 1104 are provided to a problem and data ingestion interface 1106 of the neuro-symbolic reasoning capability unit 1100. The natural language problem statement 1102 comprises a natural language expression of a reasoning task to be performed by the neuro-symbolic reasoning capability unit 1100. The structured data input 1104 comprises structured data relevant to the reasoning task, and may comprise, by way of non-limiting example, tabular data, time-series data, graph-structured data, key-value records, sensor readings, or any combination of the foregoing.
[0200] The problem and data ingestion interface 1106 is configured to receive the natural language problem statement 1102 and the structured data input 1104, to authenticate sources of the natural language problem statement 1102 and the structured data input 1104, to validate the inputs against the tool permissions and execution constraints applicable to the neuro-symbolic reasoning capability unit 1100, and to convey the natural language problem statement 1102 and the structured data input 1104 to a neuro-symbolic reasoning pipeline 1108. The problem and data ingestion interface 1106 may further classify the inputs by data type, normalize units of measurement, and emit ingestion telemetry to the orchestration and execution control layer of the agentic automation system.
[0201] The neuro-symbolic reasoning pipeline 1108 is configured to perform reasoning over the natural language problem statement 1102 and the structured data input 1104 through cooperation of a neural sub-component 1110 and a symbolic sub-component 1112.
[0202] The neural sub-component 1110 is configured to apply learned representations and inference to the natural language problem statement 1102 and the structured data input 1104. The neural sub-component 1110 may invoke one or more model providers through a model abstraction interface of the orchestration and execution control layer to perform natural language understanding, embedding generation, structured prediction, sequence-to-sequence translation, and pattern recognition over the inputs.
[0203] The symbolic sub-component 1112 is configured to apply rule-based and constraint-based reasoning to outputs of the neural sub-component 1110 and to the structured data input 1104. The symbolic sub-component 1112 may apply forward chaining, backward chaining, constraint satisfaction, satisfiability solving, theorem proving, and program synthesis, and may produce verifiable proof artifacts that justify each conclusion against an associated rule set.
[0204] A bidirectional controller 1114 is configured to coordinate cooperation between the neural sub-component 1110 and the symbolic sub-component 1112. The bidirectional controller 1114 may route partial results emitted by the neural sub-component 1110 to the symbolic sub-component 1112 for symbolic validation, route partial results emitted by the symbolic sub-component 1112 to the neural sub-component 1110 for neural refinement, and iterate between the neural sub-component 1110 and the symbolic sub-component 1112 until a configured termination criterion is satisfied. The bidirectional controller 1114 may further detect contradictions between neural outputs and symbolic outputs, escalate detected contradictions to the planning and coordination layer of the agentic automation system, and emit reflection events to the persistent data and memory layer of the agentic automation system.
[0205] A structured representation generator 1116 is configured to construct a structured representation of a candidate solution to the reasoning task expressed by the natural language problem statement 1102. The structured representation may comprise typed variables, equations, constraints, dependencies, and provenance annotations, and may be expressed in a structured format declared by the declarative agent definition that instantiated the neuro-symbolic reasoning capability unit 1100.
[0206] A rule evaluation and reasoning engine 1118 is configured to evaluate the structured representation produced by the structured representation generator 1116 against rules retrieved from a rules repository 1124, and to derive intermediate conclusions for further processing by a verification engine 1126. The rule evaluation and reasoning engine 1118 may apply rule prioritization, conflict resolution, default reasoning, and explanation generation as the rules are evaluated against the structured representation.
[0207] An integrated model and validation core 1120 comprises the structured representation generator 1116, the rule evaluation and reasoning engine 1118, a domain knowledge graph 1122, the rules repository 1124, and the verification engine 1126. The integrated model and validation core 1120 is configured to integrate neural outputs emitted by the neural sub-component 1110, symbolic outputs emitted by the symbolic sub-component 1112, and rule-based outputs emitted by the rule evaluation and reasoning engine 1118 into a coherent candidate solution, and to validate the coherent candidate solution through the verification engine 1126.
[0208] The domain knowledge graph 1122 is configured to retain typed relationships among entities, concepts, and rules relevant to the reasoning task. The domain knowledge graph 1122 may be retrieved from the persistent data and memory layer of the agentic automation system, supplied through the unified interface of the neuro-symbolic reasoning capability unit 1100, or constructed by the neural sub-component 1110 from the structured data input 1104. The domain knowledge graph 1122 may comprise nodes representing entities and edges representing relationships annotated with type, confidence, provenance, and temporal validity.
[0209] The rules repository 1124 is configured to retain rules applied by the rule evaluation and reasoning engine 1118 and constraints applied by the symbolic sub-component 1112. The rules repository 1124 may retain rules expressed in, by way of non-limiting example, first-order logic, description logic, propositional logic, production rules, decision tables, ontological axioms, or constraint programming formalisms, and may support versioning, scoping, and lifecycle management of rules.
[0210] The verification engine 1126 is configured to verify the coherent candidate solution emitted by the integrated model and validation core 1120 against the rules retrieved from the rules repository 1124 and against the domain knowledge graph 1122. The verification engine 1126 may apply constraint checking, type checking, unit-of-measurement checking, dimensional analysis, satisfiability checking, and counterexample generation, and may produce a proof artifact recording the verification steps applied to the coherent candidate solution.
[0211] The neuro-symbolic reasoning capability unit 1100 emits a model output 1128 and an explanation and proof output 1130. The model output 1128 comprises the verified coherent candidate solution emitted by the integrated model and validation core 1120. The explanation and proof output 1130 comprises a natural language explanation of the verified coherent candidate solution together with the proof artifact emitted by the verification engine 1126, and may be presented to a user through the user interface layer of the agentic automation system for review and approval.
[0212] A planning and coordination layer handoff 1132 is configured to convey the model output 1128 and the explanation and proof output 1130 to the planning and coordination layer of the agentic automation system. The planning and coordination layer handoff 1132 may serialize the conveyed payload as a typed inter-agent message conforming to a schema declared by the planning and coordination layer, attach verification telemetry emitted by the verification engine 1126, and attach a correlation identifier referencing an operation node within a directed acyclic graph of an executable plan.
[0213] A persistent data and memory layer feedback 1134 is configured to write the structured representation, the model output 1128, the explanation and proof output 1130, learned rule patterns, and verification telemetry to the persistent data and memory layer of the agentic automation system. The persistent data and memory layer feedback 1134 may further write contradictions detected by the bidirectional controller 1114 and counterexamples generated by the verification engine 1126 to the dynamic memory graph and the long-term memory store of the persistent data and memory layer, in a manner that may inform subsequent reasoning performed by the neuro-symbolic reasoning capability unit 1100 and by other modular agentic capability units of the agentic automation system.
[0214] In operation, the problem and data ingestion interface 1106 receives the natural language problem statement 1102 and the structured data input 1104, the neuro-symbolic reasoning pipeline 1108 applies the neural sub-component 1110 and the symbolic sub-component 1112 under coordination of the bidirectional controller 1114, the structured representation generator 1116 constructs the structured representation, the rule evaluation and reasoning engine 1118 evaluates the structured representation against rules retrieved from the rules repository 1124, the integrated model and validation core 1120 integrates outputs and produces the coherent candidate solution, the verification engine 1126 verifies the coherent candidate solution against the rules repository 1124 and the domain knowledge graph 1122 and produces the proof artifact, the model output 1128 and the explanation and proof output 1130 are emitted, the planning and coordination layer handoff 1132 conveys the model output 1128 and the explanation and proof output 1130 to the planning and coordination layer of the agentic automation system, and the persistent data and memory layer feedback 1134 writes the structured representation, the model output 1128, the explanation and proof output 1130, learned rule patterns, and the verification telemetry to the persistent data and memory layer of the agentic automation system.
[0215] FIG. 12 illustrates a computing and deployment environment 1200 of the agentic automation system. The computing and deployment environment 1200 is configured to deploy the agentic automation system across one or more cloud provider environments and on-premises deployment environments, to expose interfaces to user devices over a network, to route invocations to one or more model providers through a model abstraction interface, to provision infrastructure resources through an infrastructure-as-code interface, and to connect the agentic automation system to enterprise data sources and external tools.
[0216] One or more user devices 1202 are communicatively coupled to the computing and deployment environment 1200 through a network 1204. Each user device 1202 may comprise a desktop computer, a laptop computer, a tablet computer, a smartphone, a wearable device, a voice-controlled assistant, or any other client device configured to submit input to and render output from the agentic automation system. The network 1204 may comprise a wired network, a wireless network, a virtual private network, a software-defined wide area network, the public internet, or any combination of the foregoing, and may apply transport-layer security, mutual authentication, and traffic shaping to communications between the user devices 1202 and the computing and deployment environment 1200.
[0217] An application interface server 1206 is configured to terminate connections from the user devices 1202 over the network 1204 and to forward inbound traffic to an agentic automation system 1208. The application interface server 1206 may apply request validation, rate limiting, session management, identity verification, and protocol translation between client-facing protocols and platform-internal protocols. The application interface server 1206 may be implemented as one or more reverse-proxy servers, application gateways, application programming interface gateways, or content delivery edge nodes, alone or in combination.
[0218] The agentic automation system 1208 comprises a processing subsystem 1210, a memory subsystem 1212, a storage subsystem 1214, a network interface 1216, an orchestration service 1218, a planning service 1220, a registry service 1222, a persistent memory service 1224, and a model abstraction interface 1234. The agentic automation system 1208 is a runtime embodiment of the layered architecture described above, in which the orchestration service 1218 implements operations of the orchestration and execution control layer, the planning service 1220 implements operations of the agent planning and coordination layer, the registry service 1222 implements operations of the capability registry layer, the persistent memory service 1224 implements operations of the persistent data and memory layer, and modular agentic capability units of the agentic automation system 1208 execute on worker nodes deployed across one or more environments described below.
[0219] The processing subsystem 1210 of the agentic automation system 1208 comprises one or more processors configured to execute computer-readable program instructions. The processing subsystem 1210 may comprise one or more of central processing units, graphics processing units, tensor processing units, neural processing units, field-programmable gate arrays, and application-specific integrated circuits, and may include single-socket configurations, multi-socket configurations, and accelerator-attached configurations.
[0220] The memory subsystem 1212 comprises volatile memory configured to retain instructions and data during execution by the processing subsystem 1210. The memory subsystem 1212 may comprise dynamic random-access memory, static random-access memory, high-bandwidth memory, non-volatile dual in-line memory modules, or any combination of the foregoing, and may include cache hierarchies, memory-mapped device regions, and shared-memory regions accessible to accelerators of the processing subsystem 1210.
[0221] The storage subsystem 1214 comprises non-volatile storage configured to retain instructions and data across power cycles of the agentic automation system 1208. The storage subsystem 1214 may comprise solid-state drives, hard disk drives, network-attached storage, object storage, and key-value stores, alone or in combination, and may include storage tiers with differing latency, throughput, and durability characteristics. The storage subsystem 1214 may further retain non-transitory computer-readable program instructions that, when executed by the processing subsystem 1210, cause the agentic automation system 1208 to perform the operations described above.
[0222] The network interface 1216 is configured to couple the agentic automation system 1208 to the network 1204, to a first cloud provider environment 1226, to a second cloud provider environment 1228, to an on-prem deployment environment 1230, to enterprise data sources 1246, and to external tools 1248. The network interface 1216 may comprise wired network adapters, wireless network adapters, fiber-optic interfaces, and high-speed interconnects, and may apply encryption, authentication, packet filtering, and traffic shaping to traffic crossing the network interface 1216.
[0223] The orchestration service 1218 is configured to perform the operations described above with reference to the orchestration and execution control layer, including admission of operations through access controls, persistence of operations to a database-backed job queue, dispatch of operations to a distributed worker pool, lifecycle management, retry management, and observability. The planning service 1220 is configured to perform the operations described above with reference to the agent planning and coordination layer, including planning technique selection, task decomposition, plan generation as a directed acyclic graph, dependency analysis, parallel branch scheduling, intermediate output monitoring, plan reflection and adaptation, and checkpointing. The registry service 1222 is configured to perform the operations described above with reference to the capability registry layer, including storage, versioning, lifecycle state control, and metadata indexing of capabilities. The persistent memory service 1224 is configured to perform the operations described above with reference to the persistent data and memory layer, including short-term memory, long-term memory, dynamic memory graph, embeddings, natural language memory, and structured stores, together with selective forgetting, continuous learning, and learning transfer.
[0224] The model abstraction interface 1234 is configured to mediate invocations between the modular agentic capability units of the agentic automation system 1208 and one or more model providers. A first model provider 1236 and a second model provider 1238 are illustrated in FIG. 12, although any number of model providers may be coupled to the model abstraction interface 1234. The model providers may include hosted large language models, hosted vision models, hosted audio models, hosted multimodal models, on-premises model servers, and locally hosted small language models. The model abstraction interface 1234 may apply provider routing, failover from a primary model provider to a secondary model provider upon error, A / B routing across providers, and adaptive routing based on quality, latency, and computational cost telemetry.
[0225] The computing and deployment environment 1200 supports deployment of the agentic automation system 1208 across heterogeneous environments. The first cloud provider environment 1226 and the second cloud provider environment 1228 each comprise a public or private cloud environment configured to host one or more services and worker nodes of the agentic automation system 1208. The on-prem deployment environment 1230 comprises a private data center, an edge location, or a sovereign computing region configured to host one or more services and worker nodes of the agentic automation system 1208 within infrastructure operated by an organization. Each of the first cloud provider environment 1226, the second cloud provider environment 1228, and the on-prem deployment environment 1230 may host worker nodes 1240, 1242, and 1244, respectively. The worker nodes 1240, 1242, and 1244 together comprise the distributed worker pool of the agentic automation system 1208 and execute operations dispatched by the orchestration service1218 within sandboxed execution environments instantiated on the respective worker nodes.
[0226] An infrastructure-as-code interface 1232 is configured to provision and reproduce the first cloud provider environment 1226, the second cloud provider environment 1228, and the on-prem deployment environment 1230 according to declarative configurations. The infrastructure-as-code interface 1232 may accept declarative configurations expressed in, by way of non-limiting example, HashiCorp Configuration Language, Pulumi templates, Ansible playbooks, Helm charts, or Kubernetes manifests, may apply the declarative configurations through a continuous deployment pipeline, and may detect configuration drift between a declared state and an observed state of the provisioned resources.
[0227] The enterprise data sources 1246 are coupled to the agentic automation system 1208 through the network interface 1216. The enterprise data sources 1246 may include relational databases, data lakes, document repositories, knowledge bases, content management systems, customer relationship systems, ticketing systems, electronic mail systems, and messaging systems hosted within the on-prem deployment environment 1230 or within external environments accessible over the network 1204. The external tools 1248 are similarly coupled to the agentic automation system 1208 through the network interface 1216. The external tools 1248 may include third-party application programming interfaces, software-as-a-service applications, browsers, robotic process automation runners, and connectors to enterprise applications, and may be invoked through the unified interface of a modular agentic capability unit.
[0228] An execution status and results output 1250 is configured to convey completion notifications, intermediate outputs, and final outputs from the agentic automation system 1208 to the user devices 1202 through the application interface server 1206 and the network 1204. The execution status and results output 1250 may be conveyed as typed inter-agent messages serialized over the network 1204, and may support synchronous responses, asynchronous notifications, streamed updates, and downloadable artifacts.
[0229] In operation, a user device 1202 transmits a natural language outcome request and a declarative agent definition over the network 1204 to the application interface server 1206, the application interface server 1206 forwards the natural language outcome request and the declarative agent definition to the agentic automation system 1208, the planning service 1220 generates an executable plan as a directed acyclic graph, the registry service 1222 supplies modular agentic capability units for instantiation of the agent, the orchestration service 1218 dispatches operations to the worker nodes 1240, 1242, and 1244 distributed across the first cloud provider environment 1226, the second cloud provider environment 1228, and the on-prem deployment environment 1230, the model abstraction interface 1234 routes model invocations to the first model provider 1236 and the second model provider 1238, the persistent memory service 1224 persists memory and knowledge derived from completed operations, the infrastructure-as-code interface 1232 provisions and reproduces the deployment environments according to declarative configurations, and the execution status and results output 1250 conveys completion notifications, intermediate outputs, and final outputs to the user device 1202 through the application interface server 1206 and the network 1204.Hardware and Inference Logic Substrate of the Agentic Automation System
[0230] The agentic automation system described above with reference to FIGS. 1 through 12 is implemented as a software-and-hardware composition that operates upon concrete computing infrastructure and concrete artificial neural network inference logic. The six cooperating layers of the agentic automation system, comprising the user interface layer, the agent planning and coordination layer, the capability registry layer, the modular agentic capability units, the orchestration and execution control layer, and the persistent data and memory layer, are not abstractions performed by mental steps and are not implementable through pen-and-paper methods. The agentic automation system requires the computing hardware described below with reference to FIG. 12 and FIG. 23, and the agentic automation system requires the artificial neural network inference logic 1300 described below with reference to FIGS. 13 through 22, in order to perform the operations described above.
[0231] Each of the six cooperating layers depends upon the underlying computing hardware in a specific and necessary manner. The user interface layer captures multimodal input at human-perceptible rates, normalizes the multimodal input into machine-interpretable representations, and renders results at refresh rates supported by the network interface subsystem 2320, the user interface input device 2314, and the user interface output device 2322 of the computing system 2300. The agent planning and coordination layer generates an executable plan as a directed acyclic graph of operations through neural inference performed upon the inference logic 1300, in which the persona-based planning technique selector and the task decomposition engine invoke large language models of the first model provider 1236 and the second model provider 1238 through the model abstraction interface 1234. The capability registry layer retains capability artifacts, semantic versions, lifecycle states, and metadata indexes in the storage subsystem 2302 and across the persistent storage of the first cloud provider environment 1226, the second cloud provider environment 1228, and the on-prem deployment environment 1230, at a scale and refresh cadence that cannot be retained in human memory across an enterprise capability portfolio. The modular agentic capability units execute within sandboxed execution environments hosted by the distributed worker pool comprising the worker nodes 1240, 1242, and 1244, where the sandboxed execution environments are instantiated by hardware-enforced isolation primitives including virtualization extensions, memory protection units, and operating-system namespace isolation, none of which is realizable in software alone. The orchestration and execution control layer dispatches operations across the distributed worker pool through the database-backed job queue, the dispatcher, and the network interface 1216, persists in-flight operations independently of in-memory state to recover from coordinator failure, and observes execution through the metrics and logs store 640, none of which is performable without the computing hardware identified in FIG. 12 and FIG. 23. The persistent data and memory layer retains short-term memory, long-term memory, dynamic memory graph, embeddings, natural language memory, and structured stores, in which embedding computation, similarity search, and selective forgetting are performed by the deep learning processors 2324 and by the storage subsystem 2302 at throughputs and capacities not achievable through manual recordkeeping.
[0232] The agentic automation system further depends upon the artificial neural network inference logic 1300 of FIGS. 13 through 22 in a specific and necessary manner. The translation of a natural language outcome request into an executable plan depends upon the encoder-decoder architecture of FIG. 13 and the attention mechanisms of FIGS. 14 through 17 as embodied in the language models invoked through the model abstraction interface 1234. The semantic type discovery component, the schema evolution component, and the intelligent mediation component of the universal intermediate representation depend upon the Transformer encoder layer of FIG. 18 and the Transformer model of FIG. 19 to align heterogeneous schemas across modular agentic capability units. The multimodal input handling performed by the user interface layer and by the document layout capability unit depends upon the vision transformer of FIG. 20 and the processing flow of FIG. 21 to derive visual structure from page images and from other image inputs. The neuro-symbolic reasoning capability unit depends upon the neural sub-component invoking the Transformer architectures of FIGS. 18 through 22 to produce candidate representations that the symbolic sub-component subsequently verifies against rules and constraints. The example software code of FIG. 22 illustrates that the inference logic 1300 is realized as concrete computer-readable program instructions executed by the central processing unit 2318 and the deep learning processors 2324 of the computing system 2300, and is not realized in human cognition.
[0233] Together, the computing hardware of FIG. 12 and FIG. 23 and the inference logic 1300 of FIGS. 13 through 22 furnish the technical substrate upon which the agentic automation system operates. The agentic automation system thereby addresses concrete technical problems that arise within distributed software systems and that do not arise outside computer technology. These technical problems include coordination of concurrent software agents across heterogeneous compute environments without loss of in-flight work upon coordinator failure, semantic interoperability between independently authored software agents operating on evolving schemas, retention of organizational knowledge at scale across sessions, agents, and tenants in a manner that supports both fast semantic retrieval and deterministic forgetting, multi-tier access control enforced at organization, user, agent, and tool granularity over distributed dispatch, and vendor-agnostic invocation of language and vision models with provider failover and adaptive routing. Each of these technical problems is rooted in computer technology, and each of the technical solutions described herein is rooted in the cooperation of the six cooperating layers with the inference logic 1300 and the computing hardware described herein. The technical advantages thereby achieved by the agentic automation system, including reduction of redundant computation through checkpoint-based retry, super-linear throughput scaling through parallel branch execution across the distributed worker pool, stable organizational behavior across thousands of sessions through the persistent organization memory architecture, schema-validated interoperability across modular agentic capability units through the universal intermediate representation, and verifiable execution of multi-step plans through the orchestration and execution control layer, arise only when the agentic automation system operates upon the computing hardware and the inference logic described herein.WORKING EXAMPLE 1: SOFTWARE ENGINEERING PULL REQUEST EVALUATION AT SCALE
[0234] Working Example 1 illustrates operation of the agentic automation system in a scenario in which a software engineering organization runs continuous integration at a scale exceeding the capacity of single-machine workflows, requires recovery of in-flight operations across coordinator failures, and requires reuse of evaluation patterns across teams that share no common process. The agentic automation system operates as follows.
[0235] A software developer submits, through the user interface layer 100, a natural language outcome request to “evaluate pull request 4521 against the develop branch by concurrently executing static analysis and dispatching affected test suites across the distributed worker pool, correlate returned failure signatures against patterns retained from prior test executions across the organization, and emit one issue tracker record per recurring failure signature,” together with a declarative agent definition declaring a reviewer persona, capability unit references to code-retrieval, static-analysis, test-runner, log-parser, issue-creation, and summary-generation capability units, a memory configuration declaring access to the long-term memory store 812 and the dynamic memory graph 814 of the persistent data and memory layer 808, and tool permissions allowing invocation of source-code, continuous-integration, and issue-tracker connectors.
[0236] The agent reasoning engine and compiler 314 of FIG. 3 parses the declarative agent definition, queries the capability registry layer 510 of FIG. 5, retrieves the six selected modular agentic capability units, and instantiates an agent bound to the reviewer persona. The persona-based planning technique selector 404 of FIG. 4 selects multi-step planning with reflective replanning. The plan generator 408 constructs a directed acyclic graph 410 in which static analysis and test-suite identification execute as independent parallel branches and test execution fans out across multiple worker nodes.
[0237] The orchestration and execution control layer 600 of FIG. 6 admits each operation node through the access control component 604 against the organization permission 606, the user permission 608, the agent permission 610, and the tool permission 612, persists admitted operations to the database-backed job queue 614 independently of in-memory state, and dispatches the operations to worker nodes of the distributed worker pool 618 for execution within respective sandboxed execution environments 620. Results are exchanged as typed inter-agent messages 708 that the universal intermediate representation 710 of FIG. 7 mediates across heterogeneous capability unit schemas.
[0238] The intermediate output monitor 416 pattern-matches fifteen returned failure signatures against the dynamic memory graph 814 and identifies that eleven match a pattern previously recorded. The plan reflection and adaptation component 418 emits a revised remaining plan 426 consolidating the eleven matching signatures under a single recurring failure category and pre-populates a first investigation step retrieved from the long-term memory store 812. The human-in-the-loop pause controller 424 suspends execution and emits an approval prompt to the software developer through the approval / action / feedback interface 222 of FIG. 2. The software developer approves the consolidated record and edits the first investigation step, and execution resumes with the revised remaining plan 426.
[0239] Upon completion, the continuous learning component 824 incorporates the developer's edit as a confidence-weighted update to the failure-classification pattern, the learning transfer component 828 propagates the updated pattern to other static-analysis and issue-creation capability unit instances operating on behalf of other software engineering teams within the same organization, and the selective forgetting policy 822 compresses low-confidence remediation suggestions older than ninety days into summaries.
[0240] The technical improvements demonstrated in Working Example 1, including checkpointed parallel execution across the distributed worker pool 618, schema-mediated typed inter-agent messaging through the universal intermediate representation 710, and persistent pattern reuse across the organization through the persistent data and memory layer 808, are improvements to computer functionality and are not realizable through manual coordination at the scale, recovery guarantees, and cross-team pattern propagation provided by the agentic automation system.WORKING EXAMPLE 2: DATA ENGINEERING SCHEMA DRIFT WITH MACHINE-VERIFIABLE MIGRATION
[0241] Working Example 2 illustrates operation of the agentic automation system in a scenario in which a data engineering tenant ingests data from upstream sources that evolve schema versions independently of the tenant, requires machine-verifiable validation of migration candidates against analytical contracts, and requires that schema-drift patterns identified by one tenant accelerate prevention of analogous failures for peer tenants. The agentic automation system operates as follows.
[0242] A data engineer submits, through the user interface layer 100, a natural language outcome request to “correlate the failure event in the customer_events ingestion pipeline at 3:14 AM against schema-history telemetry retrieved in parallel across the upstream source catalog, generate backward-compatible migration candidates through neuro-symbolic reasoning, validate each candidate against analytical contracts retained in the rules repository, and render the top-ranked validated candidate through the user interface layer,” together with a declarative agent definition declaring an analyst persona, capability unit references to observability-retrieval, schema-diff, upstream-source-query, neuro-symbolic reasoning, and migration-presentation capability units, and tool permissions allowing invocation of internal connectors to a metrics and logs store, a data-catalog connector, and a pull-request connector for a data-platform repository.
[0243] The agent planning and coordination layer 400 generates a directed acyclic graph 410 comprising operation nodes for retrieval of the failure log, parallel retrieval of upstream schema histories, computation of schema diffs, generation of candidate migrations, validation of each candidate against analytical contracts, and rendering of the top-ranked candidate. At the schema-diff stage, the universal intermediate representation 710 of FIG. 7 applies the schema evolution component 714 to detect a sender-schema version mismatch and the intelligent mediation component 716 to translate the structured diff into the canonical form expected by the neuro-symbolic reasoning capability unit 1100 of FIG. 11.
[0244] The neuro-symbolic reasoning capability unit 1100 receives a natural language problem statement 1102 and a structured data input 1104. The neural sub-component 1110 invokes a hosted large language model through the model abstraction interface 1234 of FIG. 12 to generate three candidate migrations. The symbolic sub-component 1112 applies constraint-based reasoning against rules retained in the rules repository 1124. The bidirectional controller 1114 routes each candidate to the symbolic sub-component 1112 for validation, identifies that the first candidate violates an aggregation constraint, returns the violation to the neural sub-component 1110 for refinement, and produces a refined iteration. The verification engine 1126 emits an explanation and proof output 1130 recording, for each accepted candidate, the rules satisfied and the rules not violated.
[0245] The orchestration and execution control layer 600 admits each operation node through the access control component 604, persists admitted operations to the database-backed job queue 614 independently of in-memory state, dispatches the operations to worker nodes 1240, 1242, and 1244 of FIG. 12, and executes the neuro-symbolic reasoning capability unit 1100 within a respective sandboxed execution environment 620 configured with elevated memory quota to host the symbolic solver. The human-in-the-loop pause controller 424 suspends execution, renders the top-ranked validated migration with the proof artifact through the approval / action / feedback interface 222 to the data engineer, and resumes upon approval with a minor wording change to the migration description.
[0246] Upon completion, the continuous learning component 824 incorporates the rejected candidate's violation pattern into the rules repository 1124 with a confidence weight reflecting cumulative observations, the learning transfer component 828 propagates the violation pattern to neuro-symbolic reasoning capability unit instances operating across other data engineering tenants of the agentic automation system under their respective sharing policies, and the selective forgetting policy 822 anonymizes tenant-identifying fields prior to cross-tenant sharing.
[0247] The technical improvements demonstrated in Working Example 2, including schema-evolution-aware mediation across capability unit schemas through the schema evolution component 714, neuro-symbolic generation and validation producing a machine-checkable proof artifact through the verification engine 1126, and cross-tenant learning transfer with field-level anonymization through the learning transfer component 828, are improvements to computer functionality and are not realizable through manual coordination at the scale, verifiability, and cross-tenant propagation provided by the agentic automation system.Artificial Intelligence System Implementation
[0248] Some implementations of the technology disclosed relate to using a Transformer model to provide an AI system. In particular, the technology disclosed proposes a parallel input, parallel output (PIPO) AI system based on the Transformer architecture. The Transformer model relies on a self-attention mechanism to compute a series of context-informed vector-space representations of elements in the input sequence and the output sequence, which are then used to predict distributions over subsequent elements as the model predicts the output sequence element-by-element. Not only is this mechanism straightforward to parallelize, but as each input's representation is also directly informed by all other inputs' representations, this results in an effectively global receptive field across the whole input sequence. This stands in contrast to, e.g., convolutional architectures which typically only have a limited receptive field.
[0249] In one implementation, the disclosed AI system is a multilayer perceptron (MLP). In another implementation, the disclosed AI system is a feedforward neural network. In yet another implementation, the disclosed AI system is a fully connected neural network. In a further implementation, the disclosed AI system is a fully convolution neural network. In a yet further implementation, the disclosed AI system is a semantic segmentation neural network. In a yet another further implementation, the disclosed AI system is a generative adversarial network (GAN) (e.g., CycleGAN, StyleGAN, pixelRNN, text-2-image, DiscoGAN, IsGAN). In a yet another implementation, the disclosed AI system includes self-attention mechanisms like Transformer, Vision Transformer (ViT), Bidirectional Transformer (BERT), Detection Transformer (DETR), Deformable DETR, UP-DETR, DeiT, Swin, GPT, iGPT, GPT-2, GPT-3, various ChatGPT versions, various LLAMA versions, BERT, SpanBERT, ROBERTa, XLNet, ELECTRA, UniLM, BART, T5, ERNIE (THU), KnowBERT, DeiT-Ti, DeiT-S, DeiT-B, T2T-ViT-14, T2T-ViT-19, T2T-ViT-24, PVT-Small, PVT-Medium, PVT-Large, TNT-S, TNT-B, CPVT-S, CPVT-S-GAP, CPVT-B, Swin-T, Swin-S, Swin-B, Twins-SVT-S, Twins-SVT-B, Twins-SVT-L, Shuffle-T, Shuffle-S, Shuffle-B, XCiT-S12 / 16, CMT-S, CMT-B, VOLO-D1, VOLO-D2, VOLO-D3, VOLO-D4, MoCo v3, ACT, TSP, Max-DeepLab, VisTR, SETR, Hand-Transformer, HOT-Net, METRO, Image Transformer, Taming transformer, TransGAN, IPT, TTSR, STTN, Masked Transformer, CLIP, DALL-E, Cogview, UniT, ASH, TinyBert, FullyQT, ConvBert, FCOS, Faster R-CNN+FPN, DETR-DC5, TSP-FCOS, TSP-RCNN, ACT+MKDD (L=32), ACT+MKDD (L=16), SMCA, Efficient DETR, UP-DETR, UP-DETR, VITB / 16-FRCNN, VIT-B / 16-FRCNN, PVT-Small+RetinaNet, Swin-T+RetinaNet, Swin-T+ATSS, PVT-Small+DETR, TNT-S+DETR, YOLOS-Ti, YOLOS-S, and YOLOS-B.
[0250] In one implementation, the disclosed AI system is a convolution neural network (CNN) with a plurality of convolution layers. In another implementation, the disclosed AI system is a recurrent neural network (RNN) such as a long short-term memory network (LSTM), bi-directional LSTM (Bi-LSTM), or a gated recurrent unit (GRU). In yet another implementation, the disclosed AI system includes both a CNN and an RNN.
[0251] In yet other implementations, the disclosed AI system can use 1D convolutions, 2D convolutions, 3D convolutions, 4D convolutions, 5D convolutions, dilated or atrous convolutions, transpose convolutions, depthwise separable convolutions, pointwise convolutions, 1×1 convolutions, group convolutions, flattened convolutions, spatial and cross-channel convolutions, shuffled grouped convolutions, spatial separable convolutions, and deconvolutions. The disclosed AI system can use one or more loss functions such as logistic regression / log loss, multi-class cross-entropy / softmax loss, binary cross-entropy loss, mean-squared error loss, L1 loss, L2 loss, smooth L1 loss, and Huber loss. The disclosed AI system can use any parallelism, efficiency, and compression schemes such TFRecords, compressed encoding (e.g., PNG), sharding, parallel calls for map transformation, batching, prefetching, model parallelism, data parallelism, and synchronous / asynchronous stochastic gradient descent (SGD). The disclosed AI system can include upsampling layers, downsampling layers, recurrent connections, gates and gated memory units (like an LSTM or GRU), residual blocks, residual connections, highway connections, skip connections, peephole connections, activation functions (e.g., non-linear transformation functions like rectifying linear unit (ReLU), leaky ReLU, exponential liner unit (ELU), sigmoid and hyperbolic tangent (tan h)), batch normalization layers, regularization layers, dropout, pooling layers (e.g., max or average pooling), global average pooling layers, and attention mechanisms.
[0252] The disclosed AI system can be a linear regression model, a logistic regression model, an Elastic Net model, a support vector machine (SVM), a random forest (RF), a decision tree, and a boosted decision tree (e.g., XGBoost), or some other tree-based logic (e.g., metric trees, kd-trees, R-trees, universal B-trees, X-trees, ball trees, locality sensitive hashes, and inverted indexes). The disclosed AI system can be an ensemble of multiple models, in some implementations.
[0253] In some implementations, the disclosed AI system can be trained using backpropagation-based gradient update techniques. Example gradient descent techniques that can be used for training the disclosed AI system include stochastic gradient descent, batch gradient descent, and mini-batch gradient descent. Some examples of gradient descent optimization algorithms that can be used to train the disclosed AI system are Momentum, Nesterov accelerated gradient, Adagrad, Adadelta, RMSprop, Adam, AdaMax, Nadam, and AMSGrad.Transformer Logic
[0254] Machine learning is the use and development of computer systems that can learn and adapt without following explicit instructions, by using algorithms and statistical models to analyze and draw inferences from patterns in data. Some of the state-of-the-art models use Transformers, a more powerful and faster model than neural networks alone. Transformers originate from the field of natural language processing (NLP), but can be used in computer vision and many other fields. Neural networks process input in series and weight relationships by distance in the series. Transformers can process input in parallel and do not necessarily weigh by distance. For example, in natural language processing, neural networks process a sentence from beginning to end with the weights of words close to each other being higher than those further apart. This leaves the end of the sentence very disconnected from the beginning causing an effect called the vanishing gradient problem. Transformers look at each word in parallel and determine weights for the relationships to each of the other words in the sentence. These relationships are called hidden states because they are later condensed for use into one vector called the context vector. Transformers can be used in addition to neural networks. This architecture is described here.Encoder-Decoder Architecture
[0255] FIG. 13 is a schematic representation of an encoder-decoder architecture. This architecture is often used for NLP and has two main building blocks. The first building block is the encoder that encodes an input into a fixed-size vector. In the system we describe here, the encoder is based on a recurrent neural network (RNN). At each time step, t, a hidden state of time step, t−1, is combined with the input value at time step t to compute the hidden state at timestep t. The hidden state at the last time step, encoded in a context vector, contains relationships encoded at all previous time steps. For NLP, each step corresponds to a word. Then the context vector contains information about the grammar and the sentence structure. The context vector can be considered a low-dimensional representation of the entire input space. For NLP, the input space is a sentence, and a training set consists of many sentences.
[0256] The context vector is then passed to the second building block, the decoder. For translation, the decoder has been trained on a second language. Conditioned on the input context vector, the decoder generates an output sequence. At each time step, t, the decoder is fed the hidden state of time step, t−1, and the output generated at time step, t−1. The first hidden state in the decoder is the context vector, generated by the encoder. The context vector is used by the decoder to perform the translation.
[0257] The whole model is optimized end-to-end by using backpropagation, a method of training a neural network in which the initial system output is compared to the desired output and the system is adjusted until the difference is minimized. In backpropagation, the encoder is trained to extract the right information from the input sequence, the decoder is trained to capture the grammar and vocabulary of the output language. This results in a fluent model that uses context and generalizes well. When training an encoder-decoder model, the real output sequence is used to train the model to prevent mistakes from stacking. When testing the model, the previously predicted output value is used to predict the next one.
[0258] When performing a translation task using the encoder-decoder architecture, all information about the input sequence is forced into one vector, the context vector. Information connecting the beginning of the sentence with the end is lost, the vanishing gradient problem. Also, different parts of the input sequence are important for different parts of the output sequence, information that cannot be learned using only RNNs in an encoder-decoder architecture.Attention Mechanism
[0259] Attention mechanisms distinguish Transformers from other machine learning models. The attention mechanism provides a solution for the vanishing gradient problem. FIG. 14 shows an overview of an attention mechanism added onto an RNN encoder-decoder architecture. At every step, the decoder is given an attention score, e, for each encoder hidden state. In other words, the decoder is given weights for each relationship between words in a sentence. The decoder uses the attention score concatenated with the context vector during decoding. The output of the decoder at time step t is based on all encoder hidden states and the attention outputs. The attention output captures the relevant context for time step t from the original sentence. Thus, words at the end of a sentence may now have a strong relationship with words at the beginning of the sentence. In the sentence “The quick brown fox, upon arriving at the doghouse, jumped over the lazy dog,” fox and dog can be closely related despite being far apart in this complex sentence.
[0260] To weight encoder hidden states, a dot product between the decoder hidden state of the current time step, and all encoder hidden states, is calculated. This results in an attention score for every encoder hidden state. The attention scores are higher for those encoder hidden states that are similar to the decoder hidden state of the current time step. Higher values for the dot product indicate the vectors are pointing more closely in the same direction. The attention scores are converted to fractions that sum to one using the SoftMax function.
[0261] The SoftMax scores provide an attention distribution. The x-axis of the distribution is position in a sentence. The y-axis is attention weight. The scores show which encoder hidden states are most closely related. The SoftMax scores specify which encoder hidden states are the most relevant for the decoder hidden state of the current time step.
[0262] The elements of the attention distribution are used as weights to calculate a weighted sum over the different encoder hidden states. The outcome of the weighted sum is called the attention output. The attention output is used to predict the output, often in combination (concatenation) with the decoder hidden states. Thus, both information about the inputs, as well as the already generated outputs, can be used to predict the next outputs.
[0263] By making it possible to focus on specific parts of the input in every decoder step, the attention mechanism solves the vanishing gradient problem. By using attention, information flows more directly to the decoder. It does not pass through many hidden states. Interpreting the attention step can give insights into the data. Attention can be thought of as a soft alignment. The words in the input sequence with a high attention score align with the current target word. Attention describes long-range dependencies better than RNN alone. This enables analysis of longer, more complex sentences.
[0264] The attention mechanism can be generalized as: given a set of vector values and a vector query, attention is a technique to compute a weighted sum of the vector values, dependent on the vector query. The vector values are the encoder hidden states, and the vector query is the decoder hidden state at the current time step.
[0265] The weighted sum can be considered a selective summary of the information present in the vector values. The vector query determines on which of the vector values to focus. Thus, a fixed-size representation of the vector values can be created, in dependence upon the vector query.
[0266] The attention scores can be calculated by the dot product, or by weighing the different values (multiplicative attention).Embeddings
[0267] For most machine learning models, the input to the model needs to be numerical. The input to a translation model is a sentence, and words are not numerical. multiple methods exist for the conversion of words into numerical vectors. These numerical vectors are called the embeddings of the words. Embeddings can be used to convert any type of symbolic representation into a numerical one.
[0268] Embeddings can be created by using one-hot encoding. The one-hot vector representing the symbols has the same length as the total number of possible different symbols. Each position in the one-hot vector corresponds to a specific symbol. For example, when converting colors to a numerical vector, the length of the one-hot vector would be the total number of different colors present in the dataset. For each input, the location corresponding to the color of that value is one, whereas all the other locations are valued at zero. This works well for working with images. For NLP, this becomes problematic, because the number of words in a language is very large. This results in enormous models and the need for a lot of computational power. Furthermore, no specific information is captured with one-hot encoding. From the numerical representation, it is not clear that orange and red are more similar than orange and green. For this reason, other methods exist.
[0269] A second way of creating embeddings is by creating feature vectors. Every symbol has its specific vector representation, based on features. With colors, a vector of three elements could be used, where the elements represent the amount of yellow, red, and / or blue needed to create the color. Thus, all colors can be represented by only using a vector of three elements. Also, similar colors have similar representation vectors.
[0270] For NLP, embeddings based on context, as opposed to words, are small and can be trained. The reasoning behind this concept is that words with similar meanings occur in similar contexts. Different methods take the context of words into account. Some methods, like GloVe, base their context embedding on co-occurrence statistics from corpora (large texts) such as Wikipedia. Words with similar co-occurrence statistics have similar word embeddings. Other methods use neural networks to train the embeddings. For example, they train their embeddings to predict the word based on the context (Common Bag of Words), and / or to predict the context based on the word (Skip-Gram). Training these contextual embeddings is time intensive. For this reason, pre-trained libraries exist. Other deep learning methods can be used to create embeddings. For example, the latent space of a variational autoencoder (VAE) can be used as the embedding of the input. Another method is to use 1D convolutions to create embeddings. This causes a sparse, high-dimensional input space to be converted to a denser, low-dimensional feature space.Self-Attention: Queries (Q), Keys (K), Values (V)
[0271] Transformer models are based on the principle of self-attention. Self-attention allows each element of the input sequence to look at all other elements in the input sequence and search for clues that can help it to create a more meaningful encoding. It is a way to look at which other sequence elements are relevant for the current element. The Transformer can grab context from both before and after the currently processed element.
[0272] When performing self-attention, three vectors need to be created for each element of the encoder input: the query vector (Q), the key vector (K), and the value vector (V). These vectors are created by performing matrix multiplications between the input embedding vectors using three unique weight matrices.
[0273] After this, self-attention scores are calculated. When calculating self-attention scores for a given element, the dot products between the query vector of this element and the key vectors of all other input elements are calculated. To make the model mathematically more stable, these self-attention scores are divided by the root of the size of the vectors. This has the effect of reducing the importance of the scalar thus emphasizing the importance of the direction of the vector. Just as before, these scores are normalized with a SoftMax layer. This attention distribution is then used to calculate a weighted sum of the value vectors, resulting in a vector z for every input element. In the attention principle explained above, the vector to calculate attention scores and to perform the weighted sum was the same, in self-attention two different vectors are created and used. As the self-attention needs to be calculated for all elements (thus a query for every element), one formula can be created to calculate a Z matrix. The rows of this Z matrix are the z vectors for every sequence input element, giving the matrix a size length sequence dimension QKV.
[0274] Multi-headed attention is executed in the Transformer. FIG. 15 is a schematic representation of the calculation of self-attention showing one attention head. For every attention head, different weight matrices are trained to calculate Q, K, and V. Every attention head outputs a matrix Z. Different attention heads can capture different types of information. The different Z matrices of the different attention heads are concatenated. This matrix can become large when multiple attention heads are used. To reduce dimensionality, an extra weight matrix W is trained to condense the different attention heads into a matrix with the same size as one Z matrix. This way, the amount of data given to the next step does not enlarge every time self-attention is performed.
[0275] When performing self-attention, information about the order of the different elements within the sequence is lost. To address this problem, positional encodings are added to the embedding vectors. Every position has its unique positional encoding vector. These vectors follow a specific pattern, which the Transformer model can learn to recognize. This way, the model can consider distances between the different elements.
[0276] As discussed above, in the core of self-attention are three objects: queries (Q), keys (K), and values (V). Each of these objects has an inner semantic meaning of their purpose. One can think of these as analogous to databases. We have a user-defined query of what the user wants to know. Then we have the relations in the database, i.e., the values which are the weights. More advanced database management systems create some apt representation of its relations to retrieve values more efficiently from the relations. This can be achieved by using indexes, which represent information about what is stored in the database. In the context of attention, indexes can be thought of as keys. So instead of running the query against values directly, the query is first executed on the indexes to retrieve where the relevant values or weights are stored. Lastly, these weights are run against the original values to retrieve data that is most relevant to the initial query.
[0277] FIG. 16 depicts several attention heads in a Transformer block. We can see that the outputs of queries and keys dot products in different attention heads are differently colored. This depicts the capability of the multi-head attention to focus on different aspects of the input and aggregate the obtained information by multiplying the input with different attention weights.
[0278] Examples of attention calculation include scaled dot-product attention and additive attention. There are several reasons why scaled dot-product attention is used in the Transformers. Firstly, the scaled dot-product attention is relatively fast to compute, since its main parts are matrix operations that can be run on modern hardware accelerators. Secondly, it performs similarly well for smaller dimensions of the K matrix, dk, as the additive attention. For larger dk, the scaled dot-product attention performs a bit worse because dot products can cause the vanishing gradient problem. This is compensated via the scaling factor, which is defined as √{square root over (dk)}.
[0279] As discussed above, the attention function takes as input three objects: key, value, and query. In the context of Transformers, these objects are matrices of shapes (n, d), where n is the number of elements in the input sequence and dis the hidden representation of each element (also called the hidden vector). Attention is then computed as:Attention (Q,K,V)=SoftMax (QKTdk) Vwhere Q, K, V are computed as:X·WQ, X·WK, X·WV X is the input matrix and WQ, WK, WV are learned weights to project the input matrix into the representations. The dot products appearing in the attention function are exploited for their geometrical interpretation where higher values of their results mean that the inputs are more similar, i.e., pointing in the geometrical space in the same direction. Since the attention function now works with matrices, the dot product becomes matrix multiplication. The SoftMax function is used to normalize the attention weights into the value of 1 prior to being multiplied by the values matrix. The resulting matrix is used either as input into another layer of attention or becomes the output of the Transformer.Multi-Head AttentionTransformers become even more powerful when multi-head attention is used. Queries, keys, and values are computed the same way as above, though they are now projected into h different representations of smaller dimensions using a set of h learned weights. Each representation is passed into a different scaled dot-product attention block called a head. The head then computes its output using the same procedure as described above.
[0283] Formally, the multi-head attention is defined as:MultiHeadAttention (Q,K,V)=[head1,… ,headh]W0 where headi=Attention (QWiQ,KWiK,VWiV)
[0284] The outputs of all heads are concatenated together and projected again using the learned weights matrix Wo to match the dimensions expected by the next block of heads or the output of the Transformer. Using the multi-head attention instead of the simpler scaled dot-product attention enables Transformers to jointly attend to information from different representation subspaces at different positions.
[0285] As shown in FIG. 17, one can use multiple workers to compute the multi-head attention in parallel, as the respective heads compute their outputs independently of one another. Parallel processing is one of the advantages of Transformers over RNNs.
[0286] Assuming the naive matrix multiplication algorithm which has a complexity of:a·b·c
[0287] For matrices of shape (a, b) and (c, d), to obtain values Q, K, V, we need to compute the operations:X·WQ, X·WK, X·WV
[0288] The matrix X is of shape (n, d) where n is the number of patches and dis the hidden vector dimension. The weights WQ, WK, WV are all of shape (d, d). Omitting the constant factor 3, the resulting complexity is:n·d2
[0289] We can proceed to the estimation of the complexity of the attention function itself, i.e., ofSoftMax (QKTdk) V.
[0290] The matrices Q and K are both of shape (n, d). The transposition operation does not influence the asymptotic complexity of computing the dot product of matrices of shapes (n, d)·(d, n), therefore its complexity is:n2·d
[0291] Scaling by a constant factor of √{square root over (dk)}, where dk is the dimension of the keys vector, as well as applying the SoftMax function, both have the complexity of a·b for a matrix of shape (a, b), hence they do not influence the asymptotic complexity. Lastly the dot product SoftMax(QKTdk).V is between matrices of shapes (n, n) and (n, d) and so its complexity is:n2·d The final asymptotic complexity of scaled dot-product attention is obtained by summing the complexities of computing Q, K, V, and of the following attention function:n·d2+n2·d. The asymptotic complexity of multi-head attention is the same since the original input matrix X is projected into h matrices of shapes(n,dh),where h is the number of heads. From the point of view of asymptotic complexity, h is constant, therefore we would arrive at the same estimate of asymptotic complexity using a similar approach as for the scaled dot-product attention.Transformer models often have the encoder-decoder architecture, although this is not necessarily the case. The encoder is built out of different encoder layers which are all constructed in the same way. The positional encodings are added to the embedding vectors. Afterward, self-attention is performed.Encoder Block of TransformerFIG. 18 portrays one encoder layer of a Transformer network. Every self-attention layer is surrounded by a residual connection, summing up the output and input of the self-attention. This sum is normalized, and the normalized vectors are fed to a feed-forward layer. Every z vector is fed separately to this feed-forward layer. The feed-forward layer is wrapped in a residual connection and the outcome is normalized too. Often, numerous encoder layers are piled to form the encoder. The output of the encoder is a fixed-size vector for every element of the input sequence.Just like the encoder, the decoder is built from different decoder layers. In the decoder, a modified version of self-attention takes place. The query vector is only compared to the keys of previous output sequence elements. The elements further in the sequence are not known yet, as they still must be predicted. No information about these output elements may be used.Encoder-Decoder Blocks of Transformer
[0297] FIG. 19 shows a schematic overview of a Transformer model. Next to a self-attention layer, a layer of encoder-decoder attention is present in the decoder, in which the decoder can examine the last Z vectors of the encoder, providing fluent information transmission. The ultimate decoder layer is a feed-forward layer. All layers are packed in a residual connection. This allows the decoder to examine all previously predicted outputs and all encoded input vectors to predict the next output. Thus, information from the encoder is provided to the decoder, which could improve the predictive capacity. The output vectors of the last decoder layer need to be processed to form the output of the entire system. This is done by a combination of a feed-forward layer and a SoftMax function. The output corresponding to the highest probability is the predicted output value for a subject time step.
[0298] For some tasks other than translation, only an encoder is needed. This is true for both document classification and name entity recognition. In these cases, the encoded input vectors are the input of the feed-forward layer and the SoftMax layer. Transformer models have been extensively applied in different NLP fields, such as translation, document summarization, speech recognition, and named entity recognition. These models have applications in the field of biology as well for predicting protein structure and function and labeling DNA sequences.Vision Transformer
[0299] There are extensive applications of transformers in vision including popular recognition tasks (e.g., image classification, object detection, action recognition, and segmentation), generative modeling, multi-modal tasks (e.g., visual-question answering, visual reasoning, and visual grounding), video processing (e.g., activity recognition, video forecasting), low-level vision (e.g., image super-resolution, image enhancement, and colorization) and 3D analysis (e.g., point cloud classification and segmentation).
[0300] Transformers were originally developed for NLP and worked with sequences of words. In image classification, we often have a single input image in which the pixels are in a sequence. To reduce the computation required, Vision Transformers (ViTs) cut the input image into a set of fixed-sized patches of pixels. The patches are often 16×16 pixels. They are treated much like words in NLP Transformers. ViTs are depicted in FIG. 20 (2005, 2010) and FIG. 21 (2105, 2110, 2115, 2120). Unfortunately, important positional information is lost because image sets are position-invariant. This problem is solved by adding a learned positional encoding into the image patches.
[0301] The computations of the ViT architecture can be summarized as follows. The first layer of a ViT extracts a fixed number of patches from an input image (2105). The patches are then projected to linear embeddings. A special class token vector is added to the sequence of embedding vectors to include all representative information of all tokens through the multi-layer encoding procedure. The class vector is unique to each image. Vectors containing positional information are combined with the embeddings and the class token. The sequence of embedding vectors is passed into the Transformer blocks. The class token vector is extracted from the output of the last Transformer block and is passed into a multilayer perceptron (MLP) head whose output is the final classification. The perceptron takes the normalized input and places the output in categories. It classifies the images. This procedure directly translates into the Python Keras code shown in FIG. 22.
[0302] When the input image is split into patches, a fixed patch size is specified before instantiating a ViT. Given the quadratic complexity of attention, patch size has a large effect on the length of training and inference time. A single Transformer block comprises several layers. The first layer implements Layer Normalization, followed by the multi-head attention that is responsible for the performance of ViTs. In the depiction of a Transformer block 2105, we can see two arrows. These are residual skip connections. Including skip connection data can simplify the output and improve the results. The output of the multi-head attention is followed again by Layer Normalization. And finally, the output layer is an MLP (Multi-Layer Perceptron) with the GELU (Gaussian Error Linear Unit) activation function.
[0303] ViTs can be pretrained and fine-tuned. Pretraining is generally done on a large dataset. Fine-tuning is done on a domain specific dataset.
[0304] Domain-specific architectures, like convolutional neural networks (CNNs) or long short-term memory networks (LSTMs), have been derived from the usual architecture of MLPs and suffer from so-called inductive biases that predispose the networks towards a certain output. ViTs stepped in the opposite direction of CNNs and LSTMs and became more general architectures by eliminating inductive biases. A ViT can be seen as a generalization of MLPs because MLPs, after being trained, do not change their weights for different inputs. On the other hand, ViTs compute their attention weights at runtime based on the particular input.Computer System
[0305] FIG. 23 shows an example computer system 2300 that can be used to implement the technology disclosed. The computer system 2300 is a representation of the system, as described in FIG. 2. The computer system 2300 includes at least one central processing unit (CPU) 2318 that communicates with a number of peripheral devices via bus subsystem 2316. These peripheral devices can include a storage subsystem 2302 including, for example, memory devices and a file storage subsystem 2310, user interface input devices 2314, user interface output devices 2322, and a network interface subsystem 2320. The input and output devices allow user interaction with computer system 2300. Network interface subsystem 2320 provides an interface to outside networks, including an interface to corresponding interface devices in other computer systems.
[0306] In one implementation, a neural network 2312 is communicably linked to the storage subsystem 2302 and the user interface input devices 2314.
[0307] User interface input devices 2314 can include a keyboard; pointing devices such as a mouse, trackball, touchpad, or graphics tablet; a scanner; a touch screen incorporated into the display; audio input devices such as voice recognition systems and microphones; and other types of input devices. In general, use of the term “input device” is intended to include all possible types of devices and ways to input information into computer system 2300.
[0308] User interface output devices 2322 can include a display subsystem, a printer, a fax machine, or non-visual displays such as audio output devices. The display subsystem can include an LED display, a cathode ray tube (CRT), a flat-panel device such as a liquid crystal display (LCD), a projection device, or some other mechanism for creating a visible image. The display subsystem can also provide a non-visual display such as audio output devices. In general, use of the term “output device” is intended to include all possible types of devices and ways to output information from computer system 2300 to the user or to another machine or computer system.
[0309] Storage subsystem 2302 stores programming and data constructs that provide the functionality of some or all of the modules and methods described herein. These software modules are generally executed by deep learning processors 2324.
[0310] Deep learning processors 2324 can be graphics processing units (GPUs), field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), and / or coarse-grained reconfigurable architectures (CGRAs). Processors 2324 can be hosted by a deep learning cloud platform such as Google Cloud Platform™, Xilinx™, and Cirrascale™ Examples of processors 2324 include Google's Tensor Processing Unit (TPU)™, rackmount solutions like GX4 Rackmount Series™, GX6 Rackmount Series™, NVIDIA DGX-1™, Microsoft's Stratix V FPGA™, Graphcore's Intelligent Processor Unit (IPU)™, Qualcomm's Zeroth Platform™ with Snapdragon Processors™, NVIDIA's Volta™, NVIDIA's DRIVE PX™, NVIDIA's JETSON TX1 / TX2 MODULE™, Intel's Nirvana™, Movidius VPU™, Fujitsu DPI™, ARM's DynamicIQ™, IBM TrueNorth™, Lambda GPU Server with Testa V100s™, and others.
[0311] Memory subsystem 2304 used in the storage subsystem 2302 can include a number of memories including a main random-access memory (RAM) 2306 for storage of instructions and data during program execution and a read only memory (ROM) 2308 in which fixed instructions are stored. A file storage subsystem 2310 can provide persistent storage for program and data files, and can include a hard disk drive, a floppy disk drive along with associated removable media, a CD-ROM drive, an optical drive, or removable media cartridges. The modules implementing the functionality of certain implementations can be stored by file storage subsystem 2310 in the storage subsystem 2302, or in other machines accessible by the processor.
[0312] Bus subsystem 2316 provides a mechanism for letting the various components and subsystems of computer system 2300 communicate with each other as intended. Although bus subsystem 2316 is shown schematically as a single bus, alternative implementations of the bus subsystem can use multiple buses.
[0313] Computer system 2300 itself can be of varying types including a personal computer, a portable computer, a workstation, a computer terminal, a network computer, a television, a mainframe, a server farm, a widely distributed set of loosely networked computers, or any other data processing system or user device. Due to the ever-changing nature of computers and networks, the description of computer system 2300 depicted in FIG. 23 is intended only as a specific example for the purpose of illustrating the preferred implementations of the present technology disclosed. Many other configurations of computer system 2300 are possible having more or fewer components than the computer system depicted in FIG. 23.
[0314] In various implementations, a learning system is provided. In some implementations, a feature vector is provided to a learning system. Based on the input features, the learning system generates one or more outputs. In some implementations, the output of the learning system is a feature vector. In some implementations, the learning system comprises an SVM. In other implementations, the learning system comprises an artificial neural network. In some implementations, the learning system is pre-trained using training data. In some implementations training data is retrospective data. In some implementations, the retrospective data is stored in a data store. In some implementations, the learning system may be additionally trained through manual curation of previously generated outputs.
[0315] In some implementations, an object detection pipeline is a trained classifier. In some implementations, the trained classifier is a random decision forest. However, it will be appreciated that a variety of other classifiers are suitable for use according to the present disclosure, including linear classifiers, support vector machines (SVM), or neural networks such as recurrent neural networks (RNN).
[0316] Suitable artificial neural networks include but are not limited to a feedforward neural network, a radial basis function network, a self-organizing map, learning vector quantization, a recurrent neural network, a Hopfield network, a Boltzmann machine, an echo state network, long short term memory, a bi-directional recurrent neural network, a hierarchical recurrent neural network, a stochastic neural network, a modular neural network, an associative neural network, a deep neural network, a deep belief network, a convolutional neural networks, a convolutional deep belief network, a large memory storage and retrieval neural network, a deep Boltzmann machine, a deep stacking network, a tensor deep stacking network, a spike and slab restricted Boltzmann machine, a compound hierarchical-deep model, a deep coding network, a multilayer kernel machine, or a deep Q-network.
[0317] The present disclosure may be embodied as a system, a method, and / or a computer program product. The computer program product may include a computer readable storage medium (or media) having computer readable program instructions thereon for causing a processor to carry out aspects of the present disclosure.
[0318] The computer readable storage medium can be a tangible device that can retain and store instructions for use by an instruction execution device. The computer readable storage medium may be, for example, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. A non-exhaustive list of more specific examples of the computer readable storage medium includes the following: a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanically encoded device such as punch-cards or raised structures in a groove having instructions recorded thereon, and any suitable combination of the foregoing. A computer readable storage medium, as used herein, is not to be construed as being transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission media (e.g., light pulses passing through a fiber-optic cable), or electrical signals transmitted through a wire.
[0319] Computer readable program instructions described herein can be downloaded to respective computing / processing devices from a computer readable storage medium or to an external computer or external storage device via a network, for example, the Internet, a local area network, a wide area network and / or a wireless network. The network may comprise copper transmission cables, optical transmission fibers, wireless transmission, routers, firewalls, switches, gateway computers and / or edge servers. A network adapter card or network interface in each computing / processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium within the respective computing / processing device.
[0320] Computer system / server may be described in the general context of computer system-executable instructions, such as program modules, being executed by a computer system. Generally, program modules may include routines, programs, objects, components, logic, data structures, and so on that perform particular tasks or implement particular abstract data types. Computer system / server may be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer system storage media including memory storage devices.
[0321] As shown in FIG. 23, computer system / server in computing node is shown in the form of a general-purpose computing device. The components of computer system / server may include, but are not limited to, one or more processors or processing units, a system memory, and a bus that couples various system components including system memory to processor.
[0322] The bus represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, Enhanced ISA (EISA) bus, Video Electronics Standards Association (VESA) local bus, Peripheral Component Interconnect (PCI) bus, Peripheral Component Interconnect Express (PCIe), and Advanced Microcontroller Bus Architecture (AMBA).
[0323] Computer system / server typically includes a variety of computer system readable media. Such media may be any available media that is accessible by computer system / server, and it includes both volatile and non-volatile media, removable and non-removable media.
[0324] System memory can include computer system readable media in the form of volatile memory, such as random access memory (RAM) and / or cache memory. Algorithm Computer system / server may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, storage system can be provided for reading from and writing to a non-removable, non-volatile magnetic media (not shown and typically called a “hard drive”). Although not shown, a magnetic disk drive for reading from and writing to a removable, non-volatile magnetic disk (e.g., a “floppy disk”), and an optical disk drive for reading from or writing to a removable, non-volatile optical disk such as a CD-ROM, DVD-ROM or other optical media can be provided. In such instances, each can be connected to the bus by one or more data media interfaces. As will be further depicted and described below, memory may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the disclosure.
[0325] Program / utility, having a set (at least one) of program modules, may be stored in memory by way of example, and not limitation, as well as an operating system, one or more application programs, other program modules, and program data. Each of the operating system, one or more application programs, other program modules, and program data or some combination thereof, may include an implementation of a networking environment. Program modules generally carry out the functions and / or methodologies of embodiments as described herein.
[0326] Computer readable program instructions for carrying out operations of the present disclosure may be assembler instructions, instruction-set-architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state-setting data, or either source code or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C++ or the like, and conventional procedural programming languages, such as the “C” programming language or similar programming languages. The computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider). In some implementations, electronic circuitry including, for example, programmable logic circuitry, field-programmable gate arrays (FPGA), or programmable logic arrays (PLA) may execute the computer readable program instructions by utilizing state information of the computer readable program instructions to personalize the electronic circuitry, in order to perform aspects of the present disclosure.
[0327] The systems, devices, and methods disclosed herein are described in detail by way of examples and with reference to the figures. The examples discussed herein are examples only and are provided to assist in the explanation of the apparatuses, devices, systems, and methods described herein. None of the features or components shown in the drawings or discussed below should be taken as mandatory for any specific implementation of any of these devices, systems, or methods unless specifically designated as mandatory.
[0328] Also, for any methods described, regardless of whether the method is described in conjunction with a flow diagram, it should be understood that unless otherwise specified or required by context, any explicit or implicit ordering of steps performed in the execution of a method does not imply that those steps must be performed in the order presented but instead may be performed in a different order or in parallel.
[0329] The detailed description of various implementations will be better understood when read in conjunction with the appended drawings. To the extent that the figures illustrate diagrams of the functional blocks of the various implementations, the functional blocks are not necessarily indicative of the division between hardware circuitry. Thus, for example, one or more of the functional blocks (e.g., modules, processors, or memories) may be implemented in a single piece of hardware (e.g., a general-purpose signal processor or a block of random-access memory, hard disk, or the like) or multiple pieces of hardware. Similarly, the programs may be stand-alone programs, may be incorporated as subroutines in an operating system, may be functions in an installed software package, and the like. It should be understood that the various implementations are not limited to the arrangements and instrumentality shown in the drawings.
[0330] The processing engines and databases of the figures, designated as modules, can be implemented in hardware or software, and need not be divided up in precisely the same blocks as shown in the figures. Some of the modules can also be implemented on different processors, computers, or servers, or spread among a number of different processors, computers, or servers. In addition, it will be appreciated that some of the modules can be combined, operated in parallel or in a different sequence than that shown in the figures without affecting the functions achieved. The modules in the figures can also be thought of as flowchart steps in a method. A module also need not necessarily have all its code disposed contiguously in memory; some parts of the code can be separated from other parts of the code with code from other modules or other functions disposed in between.CLAUSES
[0331] The technology disclosed can be practiced as a system, method, or article of manufacture. One or more features of an implementation can be combined with the base implementation. Implementations that are not mutually exclusive are taught to be combinable. One or more features of an implementation can be combined with other implementations. This disclosure periodically reminds the user of these options. Omission from some implementations of recitations that repeat these options should not be taken as limiting the combinations taught in the preceding sections—these recitations are hereby incorporated forward by reference into each of the following implementations.
[0332] One or more implementations and clauses of the technology disclosed, or elements thereof can be implemented in the form of a computer product, including a non-transitory computer readable storage medium with computer usable program code for performing the method steps indicated. Furthermore, one or more implementations and clauses of the technology disclosed, or elements thereof can be implemented in the form of an apparatus including a memory and at least one processor that is coupled to the memory and operative to perform exemplary method steps. Yet further, in another aspect, one or more implementations and clauses of the technology disclosed or elements thereof can be implemented in the form of means for carrying out one or more of the method steps described herein; the means can include (i) hardware module(s), (ii) software module(s) executing on one or more hardware processors, or (iii) a combination of hardware and software modules; any of (i)-(iii) implement the specific techniques set forth herein, and the software modules are stored in a computer readable storage medium (or multiple such media).
[0333] The clauses described in this section can be combined as features. In the interest of conciseness, the combinations of features are not individually enumerated and are not repeated with each base set of features. The reader will understand how features identified in the clauses described in this section can readily be combined with sets of base features identified as implementations in other sections of this application. These clauses are not meant to be mutually exclusive, exhaustive, or restrictive; and the technology disclosed is not limited to these clauses but rather encompasses all possible combinations, modifications, and variations within the scope of the claimed technology and its equivalents.
[0334] Other implementations of the clauses described in this section can include a non-transitory computer readable storage medium storing instructions executable by a processor to perform any of the clauses described in this section. Yet another implementation of the clauses described in this section can include a system including memory and one or more processors operable to execute instructions stored in the memory, to perform any of the clauses described in this section.CLAUSES
[0335] 1. A computer-implemented system for agentic automation of multi-step tasks, the system comprising:
[0336] a user interface layer configured to receive, from a user, a natural language outcome request and a declarative agent definition;
[0337] an agent planning and coordination layer coupled to the user interface layer and configured to (i) instantiate, based on the declarative agent definition, an agent comprising one or more modular agentic capability units retrieved from a capability registry layer, and (ii) generate, from the natural language outcome request, an executable plan comprising a plurality of interdependent operations to be performed by the one or more modular agentic capability units;
[0338] the capability registry layer coupled to the agent planning and coordination layer and configured to store, version, and supply the one or more modular agentic capability units to the agent planning and coordination layer;
[0339] the one or more modular agentic capability units configured to perform respective operations of the executable plan and to exchange typed inter-agent messages with one another during the performing;
[0340] an orchestration and execution control layer coupled to the agent planning and coordination layer and the one or more modular agentic capability units, the orchestration and execution control layer configured to enforce one or more access controls applicable to the one or more modular agentic capability units, to dispatch the one or more modular agentic capability units to a distributed worker pool for execution of the executable plan, and to manage a lifecycle of the one or more modular agentic capability units; and a persistent data and memory layer coupled to the one or more modular agentic capability units and the orchestration and execution control layer, the persistent data and memory layer configured to persist memory and knowledge accessible to the one or more modular agentic capability units across executions of the executable plan and across instances of the one or more modular agentic capability units.
[0341] 2. The system of clause 1, wherein the user interface layer is further configured to receive the natural language outcome request in any of a plurality of input modalities comprising at least text, audio, image, and file.
[0342] 3. The system of clause 1, wherein the user interface layer comprises a dynamic layout engine configured to present a result corresponding to the natural language outcome request through one or more user interface components managed by the agent planning and coordination layer.
[0343] 4. The system of clause 1, wherein the executable plan is represented as a directed acyclic graph in which each node corresponds to one of the plurality of interdependent operations and each edge corresponds to a dependency between operations, and wherein the agent planning and coordination layer is further configured to coordinate parallel execution of nodes whose dependencies are satisfied.
[0344] 5. The system of clause 1, wherein the agent planning and coordination layer is further configured to monitor intermediate outputs generated by the one or more modular agentic capability units and to revise a remaining portion of the executable plan based on the intermediate outputs.
[0345] 6. The system of clause 1, wherein the declarative agent definition further specifies a persona assigned to the agent, the persona selected from a set of personas comprising at least a coordinator role, a worker role, and a co-worker role.
[0346] 7. The system of clause 6, wherein the agent planning and coordination layer is further configured to select a planning technique from a plurality of planning techniques based on the persona assigned to the agent.
[0347] 8. The system of clause 1, wherein the agent planning and coordination layer comprises a checkpointing component configured to preserve an execution state of the executable plan and to resume execution from a saved checkpoint in response to a fault.
[0348] 9. The system of clause 1, wherein the agent planning and coordination layer is further configured to pause execution of the executable plan pending a user approval, a user action, or a user feedback input received through the user interface layer.
[0349] 10. The system of clause 1, wherein the capability registry layer comprises a versioning component configured to store a plurality of versions of a given modular agentic capability unit and to supply a selected version of the given modular agentic capability unit to the agent planning and coordination layer.
[0350] 11. The system of clause 1, wherein the capability registry layer comprises a generator component configured to generate a new modular agentic capability unit based on a specification received through the user interface layer.
[0351] 12. The system of clause 1, wherein each of the one or more modular agentic capability units performs its respective operations within a respective sandboxed execution environment.
[0352] 13. The system of clause 1, wherein the one or more modular agentic capability units access a plurality of tools through a unified interface, the plurality of tools comprising at least one internal tool of the system and at least one external tool external to the system.
[0353] 14. The system of clause 1, wherein the orchestration and execution control layer is further configured to dispatch the operations of the executable plan to the distributed worker pool via a database-backed job queue that persists the operations independently of in-memory state of the system.
[0354] 15. The system of clause 1, wherein at least one of the one or more modular agentic capability units comprises a document layout capability unit configured to extract a layout representation from an input document and to regenerate an output document based on the layout representation.
[0355] 16. The system of clause 1, wherein at least one of the one or more modular agentic capability units comprises a neuro-symbolic capability unit comprising a neural sub-component, a symbolic sub-component, and a bidirectional controller coupling the neural sub-component to the symbolic sub-component.
[0356] 17 The system of clause 1, wherein the typed inter-agent messages are exchanged through a universal intermediate representation that mediates between a schema of a sender capability unit and a schema of a receiver capability unit.
[0357] 18. The system of clause 17, wherein the universal intermediate representation comprises a semantic type discovery component configured to infer a type associated with the typed inter-agent messages.
[0358] 19. The system of clause 17, wherein the universal intermediate representation comprises a schema evolution component configured to update a schema of the typed inter-agent messages based on a change in the schema of the sender capability unit or the schema of the receiver capability unit.
[0359] 20 The system of clause 17, wherein the universal intermediate representation comprises an intelligent mediation component configured to translate the typed inter-agent messages between the schema of the sender capability unit and the schema of the receiver capability unit.
[0360] 21. The system of clause 1, wherein the typed inter-agent messages are exchanged using a secure serialization format that preserves type information across the one or more modular agentic capability units.
[0361] 22 The system of clause 1, wherein the persistent data and memory layer comprises a short-term memory store and a long-term memory store.
[0362] 23. The system of clause 1, wherein the persistent data and memory layer is further configured to persist memory and knowledge in two or more formats selected from natural language, structured lists, knowledge graphs, and embeddings.
[0363] 24. The system of clause 1, wherein the persistent data and memory layer is further configured to persist memory and knowledge across two or more modalities selected from text, files, images, task records, and portfolio data.
[0364] 25. The system of clause 1, wherein the persistent data and memory layer comprises a knowledge graph that maintains semantic relationships between entities accessible to the one or more modular agentic capability units.
[0365] 26 The system of clause 22, wherein the long-term memory store applies a selective forgetting policy configured to expire, compress, anonymize, or summarize entries within the long-term memory store according to relevance, sensitivity, retention requirements, and storage budgets.
[0366] 27 The system of clause 1, further comprising a learning transfer component configured to apply a behavior learned by a first instance of the one or more modular agentic capability units to a second instance of the one or more modular agentic capability units.
[0367] 28. The system of clause 1, wherein the one or more access controls comprise role-based access controls enforced at a plurality of granularity levels comprising at least an organization level, a user level, an agent level, and a tool level.
[0368] 29. The system of clause 1, wherein the orchestration and execution control layer is further configured to provision computing resources for the one or more modular agentic capability units through an infrastructure-as-code interface that is independent of any particular cloud service provider.
[0369] 30. The system of clause 1, wherein the orchestration and execution control layer comprises a model abstraction interface configured to provide access to one or more language models without dependence on a particular language model provider.
[0370] 31. The system of clause 1, wherein the orchestration and execution control layer comprises an observability component configured to collect metrics and logs from operations performed by the one or more modular agentic capability units.
[0371] 32. The system of clause 1, further comprising a continuous learning component configured to incorporate new information derived from outcomes of completed operations and from user feedback into the persistent data and memory layer.
[0372] 33. A computer-implemented method for agentic automation of multi-step tasks, performed by a system comprising a user interface layer, an agent planning and coordination layer, a capability registry layer, an orchestration and execution control layer, and a persistent data and memory layer, the method comprising:
[0373] receiving, by the user interface layer, a natural language outcome request from a user and a declarative agent definition;
[0374] storing, versioning, and supplying, by the capability registry layer, one or more modular agentic capability units to the agent planning and coordination layer;
[0375] instantiating, by the agent planning and coordination layer, based on the declarative agent definition, an agent comprising the one or more modular agentic capability units retrieved from the capability registry layer;
[0376] generating, by the agent planning and coordination layer, from the natural language outcome request, an executable plan comprising a plurality of interdependent operations to be performed by the one or more modular agentic capability units;
[0377] performing, by the one or more modular agentic capability units, respective operations of the executable plan;
[0378] exchanging, by the one or more modular agentic capability units, typed inter-agent messages with one another during the performing;
[0379] enforcing, by the orchestration and execution control layer, one or more access controls applicable to the one or more modular agentic capability units;
[0380] dispatching, by the orchestration and execution control layer, the one or more modular agentic capability units to a distributed worker pool for execution of the executable plan;
[0381] managing, by the orchestration and execution control layer, a lifecycle of the one or more modular agentic capability units; and
[0382] persisting, by the persistent data and memory layer, memory and knowledge accessible to the one or more modular agentic capability units across executions of the executable plan and across instances of the one or more modular agentic capability units.
[0383] 34. A non-transitory computer-readable storage medium storing instructions that, when executed by one or more processors of a system comprising a user interface layer, an agent planning and coordination layer, a capability registry layer, an orchestration and execution control layer, and a persistent data and memory layer, cause the system to perform the method of 33.
[0384] 35. A computer-implemented system for agentic automation of multi-step tasks, the system comprising:
[0385] a user interface layer configured to receive, from a user, a natural language outcome request and a declarative agent definition, the declarative agent definition specifying a persona assigned to an agent, the persona selected from a set of personas comprising at least a coordinator role, a worker role, and a co-worker role;
[0386] an agent planning and coordination layer coupled to the user interface layer and configured to (i) instantiate, based on the declarative agent definition, the agent comprising one or more modular agentic capability units retrieved from a capability registry layer, (ii) select a planning technique from a plurality of planning techniques based on the persona, and (iii) generate, from the natural language outcome request, using the selected planning technique, an executable plan represented as a directed acyclic graph in which each node corresponds to an operation to be performed by the one or more modular agentic capability units and each edge corresponds to a dependency between operations, the directed acyclic graph defining at least one pair of operations executable in parallel;
[0387] the capability registry layer coupled to the agent planning and coordination layer and configured to store, version, and supply the one or more modular agentic capability units to the agent planning and coordination layer;
[0388] the one or more modular agentic capability units configured to perform respective operations of the executable plan and to exchange typed inter-agent messages with one another through a universal intermediate representation during the performing, the universal intermediate representation mediating between a schema of a sender capability unit and a schema of a receiver capability unit;
[0389] an orchestration and execution control layer coupled to the agent planning and coordination layer and the one or more modular agentic capability units, the orchestration and execution control layer configured to enforce one or more access controls applicable to the one or more modular agentic capability units, to dispatch the operations of the executable plan to a distributed worker pool, and to manage a lifecycle of the one or more modular agentic capability units; and
[0390] a persistent data and memory layer coupled to the one or more modular agentic capability units and the orchestration and execution control layer, the persistent data and memory layer comprising a short-term memory store and a long-term memory store, the persistent data and memory layer configured to persist memory and knowledge accessible to the one or more modular agentic capability units across executions of the executable plan and across instances of the one or more modular agentic capability units.
[0391] 36. A computer-implemented method for agentic automation of multi-step tasks, performed by a system comprising a user interface layer, an agent planning and coordination layer, a capability registry layer, an orchestration and execution control layer, and a persistent data and memory layer, the persistent data and memory layer comprising a short-term memory store and a long-term memory store, the method comprising:
[0392] receiving, by the user interface layer, a natural language outcome request from a user and a declarative agent definition, the declarative agent definition specifying a persona assigned to an agent, the persona selected from a set of personas comprising at least a coordinator role, a worker role, and a co-worker role;
[0393] storing, versioning, and supplying, by the capability registry layer, one or more modular agentic capability units to the agent planning and coordination layer;
[0394] instantiating, by the agent planning and coordination layer, based on the declarative agent definition, the agent comprising the one or more modular agentic capability units retrieved from the capability registry layer;
[0395] selecting, by the agent planning and coordination layer, a planning technique from a plurality of planning techniques based on the persona;
[0396] generating, by the agent planning and coordination layer, from the natural language outcome request, using the selected planning technique, an executable plan represented as a directed acyclic graph in which each node corresponds to an operation to be performed by the one or more modular agentic capability units and each edge corresponds to a dependency between operations, the directed acyclic graph defining at least one pair of operations executable in parallel;
[0397] performing, by the one or more modular agentic capability units, respective operations of the executable plan, and exchanging, by the one or more modular agentic capability units, typed inter-agent messages with one another through a universal intermediate representation during the performing, the universal intermediate representation mediating between a schema of a sender capability unit and a schema of a receiver capability unit;
[0398] enforcing, by the orchestration and execution control layer, one or more access controls applicable to the one or more modular agentic capability units, dispatching, by the orchestration and execution control layer, the operations of the executable plan to a distributed worker pool, and managing, by the orchestration and execution control layer, a lifecycle of the one or more modular agentic capability units; and
[0399] persisting, by the persistent data and memory layer, memory and knowledge accessible to the one or more modular agentic capability units across executions of the executable plan and across instances of the one or more modular agentic capability units.
[0400] 37. A non-transitory computer-readable storage medium storing instructions that, when executed by one or more processors of a system comprising a user interface layer, an agent planning and coordination layer, a capability registry layer, an orchestration and execution control layer, and a persistent data and memory layer, cause the system to perform the method of 36.
[0401] 38. A computer-implemented system for agentic automation of multi-step tasks, the system comprising:
[0402] a user interface layer configured to receive, from a user, a natural language outcome request in any of a plurality of input modalities comprising at least text, audio, image, and file, and to receive a declarative agent definition specifying a persona assigned to an agent, the persona selected from a set of personas comprising at least a coordinator role, a worker role, and a co-worker role;
[0403] an agent planning and coordination layer coupled to the user interface layer and configured to (i) instantiate, based on the declarative agent definition, the agent comprising one or more modular agentic capability units retrieved from a capability registry layer, (ii) select a planning technique from a plurality of planning techniques based on the persona, (iii) generate, from the natural language outcome request, an executable plan represented as a directed acyclic graph in which each node corresponds to an operation to be performed by the one or more modular agentic capability units and each edge corresponds to a dependency between operations, the directed acyclic graph defining at least one pair of operations executable in parallel, and (iv) monitor intermediate outputs generated by the one or more modular agentic capability units and revise a remaining portion of the executable plan based on the intermediate outputs; the capability registry layer coupled to the agent planning and coordination layer and configured to store, version, and supply the one or more modular agentic capability units to the agent planning and coordination layer, the capability registry layer comprising a versioning component configured to store a plurality of versions of a given modular agentic capability unit;
[0404] the one or more modular agentic capability units configured to perform respective operations of the executable plan within respective sandboxed execution environments and to exchange typed inter-agent messages with one another through a universal intermediate representation during the performing, the universal intermediate representation mediating between a schema of a sender capability unit and a schema of a receiver capability unit;
[0405] an orchestration and execution control layer coupled to the agent planning and coordination layer and the one or more modular agentic capability units, the orchestration and execution control layer configured to (i) enforce role-based access controls applicable to the one or more modular agentic capability units at a plurality of granularity levels comprising at least an organization level, a user level, an agent level, and a tool level, (ii) dispatch the operations of the executable plan to a distributed worker pool via a database-backed job queue that persists the operations independently of in-memory state of the system, (iii) provision computing resources for the one or more modular agentic capability units through an infrastructure-as-code interface that is independent of any particular cloud service provider, and (iv) manage a lifecycle of the one or more modular agentic capability units; and
[0406] a persistent data and memory layer coupled to the one or more modular agentic capability units and the orchestration and execution control layer, the persistent data and memory layer comprising a short-term memory store and a long-term memory store, the persistent data and memory layer configured to (i) persist memory and knowledge accessible to the one or more modular agentic capability units across executions of the executable plan and across instances of the one or more modular agentic capability units in two or more formats selected from natural language, structured lists, knowledge graphs, and embeddings, and (ii) apply a learning transfer mechanism that applies a behavior learned by a first instance of the one or more modular agentic capability units to a second instance of the one or more modular agentic capability units.
[0407] 39. A computer-implemented method for agentic automation of multi-step tasks, performed by a system comprising a user interface layer, an agent planning and coordination layer, a capability registry layer, an orchestration and execution control layer, and a persistent data and memory layer, the persistent data and memory layer comprising a short-term memory store and a long-term memory store, the method comprising:
[0408] receiving, by the user interface layer, a natural language outcome request from a user in any of a plurality of input modalities comprising at least text, audio, image, and file, and a declarative agent definition specifying a persona assigned to an agent, the persona selected from a set of personas comprising at least a coordinator role, a worker role, and a co-worker role;
[0409] storing, versioning, and supplying, by the capability registry layer, one or more modular agentic capability units to the agent planning and coordination layer, the capability registry layer storing a plurality of versions of a given modular agentic capability unit;
[0410] instantiating, by the agent planning and coordination layer, based on the declarative agent definition, the agent comprising the one or more modular agentic capability units retrieved from the capability registry layer;
[0411] selecting, by the agent planning and coordination layer, a planning technique from a plurality of planning techniques based on the persona;
[0412] generating, by the agent planning and coordination layer, from the natural language outcome request, an executable plan represented as a directed acyclic graph in which each node corresponds to an operation to be performed by the one or more modular agentic capability units and each edge corresponds to a dependency between operations, the directed acyclic graph defining at least one pair of operations executable in parallel; monitoring, by the agent planning and coordination layer, intermediate outputs generated by the one or more modular agentic capability units, and revising a remaining portion of the executable plan based on the intermediate outputs;
[0413] performing, by the one or more modular agentic capability units, respective operations of the executable plan within respective sandboxed execution environments, and exchanging, by the one or more modular agentic capability units, typed inter-agent messages with one another through a universal intermediate representation during the performing;
[0414] enforcing, by the orchestration and execution control layer, role-based access controls applicable to the one or more modular agentic capability units at a plurality of granularity levels comprising at least an organization level, a user level, an agent level, and a tool level;
[0415] dispatching, by the orchestration and execution control layer, the operations of the executable plan to a distributed worker pool via a database-backed job queue that persists the operations independently of in-memory state of the system;
[0416] provisioning, by the orchestration and execution control layer, computing resources for the one or more modular agentic capability units through an infrastructure-as-code interface that is independent of any particular cloud service provider;
[0417] managing, by the orchestration and execution control layer, a lifecycle of the one or more modular agentic capability units;
[0418] persisting, by the persistent data and memory layer, memory and knowledge accessible to the one or more modular agentic capability units across executions of the executable plan and across instances of the one or more modular agentic capability units in two or more formats selected from natural language, structured lists, knowledge graphs, and embeddings; and
[0419] applying, by the persistent data and memory layer, a learning transfer mechanism that applies a behavior learned by a first instance of the one or more modular agentic capability units to a second instance of the one or more modular agentic capability units.
[0420] 40. A non-transitory computer-readable storage medium storing instructions that, when executed by one or more processors of a system comprising a user interface layer, an agent planning and coordination layer, a capability registry layer, an orchestration and execution control layer, and a persistent data and memory layer, cause the system to perform the method of 39.
[0421] 41. The system of clause 1, wherein the persistent data and memory layer comprises a short-term memory store, a long-term memory store, a dynamic memory graph, an embeddings store, a natural language memory, and one or more structured stores configured to retain structured lists, files, task records, and portfolio data of the system.
[0422] 42. The system of clause 41, wherein the persistent data and memory layer exposes read, write, delete, and share operations to the one or more modular agentic capability units through a memory operation framework, the share operation governed by a memory configuration declared by the declarative agent definition and by policies enforced by the orchestration and execution control layer.
[0423] 43. The system of clause 41, wherein the persistent data and memory layer is further configured to apply a selective forgetting policy that differentially expires, compresses, anonymizes, or summarizes entries among the short-term memory store, the long-term memory store, the dynamic memory graph, the embeddings store, the natural language memory, and the one or more structured stores according to relevance, sensitivity, retention requirements, and storage budgets.
[0424] 44. The system of clause 32, wherein the continuous learning component applies confidence weighting, conflict detection, and provenance tracking when incorporating the new information into the persistent data and memory layer.
[0425] 45. The system of clause 27, wherein the learning transfer component is further configured to emit typed inter-agent messages carrying the learned behavior to the second instance of the one or more modular agentic capability units, and to anonymize tenant-identifying fields in the learned behavior prior to propagation across tenants of the system.
[0426] Numerous modifications and variations of the present disclosure are possible in light of the above teachings. It is therefore to be understood that the invention may be practiced otherwise than as specifically described herein.
[0427] The above-described hardware description is a non-limiting example of corresponding structure for performing the functionality described herein.
Claims
1. An agentic automation system, comprising: one or more processors and a memory storing instructions that, when executed by the one or more processors, cause the agentic automation system to provide:a user interface layer configured to receive, from a user, a natural language outcome request and a declarative agent definition;an agent planning and coordination layer coupled to the user interface layer and configured to (i) instantiate, based on the declarative agent definition, an agent comprising one or more modular agentic capability units retrieved from a capability registry layer, and (ii) generate, from the natural language outcome request, an executable plan comprising a plurality of interdependent operations to be performed by the one or more modular agentic capability units;the capability registry layer coupled to the agent planning and coordination layer and configured to store, version, and supply the one or more modular agentic capability units to the agent planning and coordination layer;the one or more modular agentic capability units configured to perform respective ones of the plurality of interdependent operations and to exchange typed inter-agent messages with one another during the performing;an orchestration and execution control layer coupled to the agent planning and coordination layer and the one or more modular agentic capability units, the orchestration and execution control layer configured to enforce one or more access controls applicable to the one or more modular agentic capability units, to dispatch the one or more modular agentic capability units to a distributed worker pool for execution of the executable plan, and to manage a lifecycle of the one or more modular agentic capability units; anda persistent data and memory layer coupled to the one or more modular agentic capability units and the orchestration and execution control layer, the persistent data and memory layer configured to persist contextual state accessible to the one or more modular agentic capability units across executions of the executable plan and across instances of the one or more modular agentic capability units.
2. The system of claim 1, wherein the user interface layer is further configured to receive the natural language outcome request in any of a plurality of input modalities comprising at least text, audio, image, and file.
3. The system of claim 1, wherein the executable plan is represented as a directed acyclic graph in which each node corresponds to one of the plurality of interdependent operations and each edge corresponds to a dependency between operations, and wherein the agent planning and coordination layer is further configured to coordinate parallel execution of nodes whose dependencies are satisfied.
4. The system of claim 1, wherein the declarative agent definition further specifies a persona assigned to the agent, the persona selected from a set of personas comprising at least a coordinator role, a worker role, and a co-worker role.
5. The system of claim 4, wherein the agent planning and coordination layer is further configured to monitor intermediate outputs generated by the one or more modular agentic capability units and to revise a remaining portion of the executable plan based on the intermediate outputs, and wherein the agent planning and coordination layer is further configured to select a planning technique from a plurality of planning techniques based on the persona.
6. The system of claim 1, wherein the one or more modular agentic capability units perform respective ones of the plurality of interdependent operations within respective sandboxed execution environments.
7. The system of claim 1, wherein the orchestration and execution control layer is further configured to dispatch the plurality of interdependent operations to the distributed worker pool via a database-backed job queue that persists the plurality of interdependent operations in a data store external to an in-memory state of the agentic automation system.
8. The system of claim 1, wherein the typed inter-agent messages are exchanged through a universal intermediate representation that mediates between a schema of a sender capability unit and a schema of a receiver capability unit.
9. The system of claim 8, wherein the universal intermediate representation comprises a schema evolution component configured to update an internal message schema maintained by the universal intermediate representation based on a change in the schema of the sender capability unit or the schema of the receiver capability unit.
10. The system of claim 1, wherein the capability registry layer comprises a versioning component configured to store a plurality of versions of a given modular agentic capability unit and to supply a selected version of the given modular agentic capability unit to the agent planning and coordination layer.
11. The system of claim 1, wherein at least one of the one or more modular agentic capability units comprises a document layout capability unit configured to extract a layout representation from an input document and to regenerate an output document based on the layout representation.
12. The system of claim 1, wherein at least one of the one or more modular agentic capability units comprises a neuro-symbolic reasoning unit comprising a neural sub-component, a symbolic sub-component, and a bidirectional controller coupling the neural sub-component to the symbolic sub-component.
13. The system of claim 1, wherein the persistent data and memory layer comprises a short-term memory store and a long-term memory store.
14. The system of claim 1, wherein the persistent data and memory layer is further configured to persist the contextual state in two or more formats selected from natural language, structured lists, knowledge graphs, and embeddings, and wherein the persistent data and memory layer comprises a knowledge graph that maintains semantic relationships between entities accessible to the one or more modular agentic capability units.
15. The system of claim 1, further comprising a learning transfer component configured to apply a behavior learned by a first instance of the one or more modular agentic capability units to a second instance of the one or more modular agentic capability units.
16. The system of claim 1, wherein the one or more access controls comprise role-based access controls enforced at a plurality of granularity levels comprising at least an organization level, a user level, an agent level, and a tool level.
17. The system of claim 1, wherein the contextual state persisted across instances of the one or more modular agentic capability units survives termination of an instance of a given modular agentic capability unit, and wherein the contextual state is retrievable by a subsequently instantiated instance of the same modular agentic capability unit.
18. The system of claim 17, wherein retrieval of the contextual state by the subsequently instantiated instance is performed as part of instantiation of the subsequently instantiated instance, prior to the subsequently instantiated instance commencing performance of any of the plurality of interdependent operations.
19. A computer-implemented method for agentic automation of multi-step tasks, performed by an agentic automation system comprising a user interface layer, an agent planning and coordination layer, a capability registry layer, an orchestration and execution control layer, and a persistent data and memory layer, the method comprising:receiving, by the user interface layer, a natural language outcome request from a user and a declarative agent definition;storing, versioning, and supplying, by the capability registry layer, one or more modular agentic capability units to the agent planning and coordination layer;instantiating, by the agent planning and coordination layer, based on the declarative agent definition, an agent comprising the one or more modular agentic capability units retrieved from the capability registry layer;generating, by the agent planning and coordination layer, from the natural language outcome request, an executable plan comprising a plurality of interdependent operations to be performed by the one or more modular agentic capability units;performing, by the one or more modular agentic capability units, respective ones of the plurality of interdependent operations;exchanging, by the one or more modular agentic capability units, typed inter-agent messages with one another during the performing;enforcing, by the orchestration and execution control layer, one or more access controls applicable to the one or more modular agentic capability units;dispatching, by the orchestration and execution control layer, the one or more modular agentic capability units to a distributed worker pool for execution of the executable plan;managing, by the orchestration and execution control layer, a lifecycle of the one or more modular agentic capability units; andpersisting, by the persistent data and memory layer, contextual state accessible to the one or more modular agentic capability units across executions of the executable plan and across instances of the one or more modular agentic capability units.
20. A non-transitory computer-readable storage medium storing instructions that, when executed by one or more processors of an agentic automation system, cause the agentic automation system to provide:a user interface layer configured to receive, from a user, a natural language outcome request and a declarative agent definition;an agent planning and coordination layer coupled to the user interface layer and configured to (i) instantiate, based on the declarative agent definition, an agent comprising one or more modular agentic capability units retrieved from a capability registry layer, and (ii) generate, from the natural language outcome request, an executable plan comprising a plurality of interdependent operations to be performed by the one or more modular agentic capability units;the capability registry layer coupled to the agent planning and coordination layer and configured to store, version, and supply the one or more modular agentic capability units to the agent planning and coordination layer;the one or more modular agentic capability units configured to perform respective ones of the plurality of interdependent operations and to exchange typed inter-agent messages with one another during the performing;an orchestration and execution control layer coupled to the agent planning and coordination layer and the one or more modular agentic capability units, the orchestration and execution control layer configured to enforce one or more access controls applicable to the one or more modular agentic capability units, to dispatch the one or more modular agentic capability units to a distributed worker pool for execution of the executable plan, and to manage a lifecycle of the one or more modular agentic capability units; anda persistent data and memory layer coupled to the one or more modular agentic capability units and the orchestration and execution control layer, the persistent data and memory layer configured to persist contextual state accessible to the one or more modular agentic capability units across executions of the executable plan and across instances of the one or more modular agentic capability units.
