Generating dynamic generative artificial intelligence (AI) agents from secured documents
The agent creation system generates secure and flexible AI agents within a cloud architecture, addressing the limitations of existing generative AI models by ensuring responses are based on authorized files, improving accuracy and security while allowing easy sharing and real-time modification.
Patent Information
- Application Number
- US19/216695
- Authority / Receiving Office
- US · United States
- Patent Type
- Applications(United States)
- Current Assignee / Owner
- Filing Date
- 2025-05-22
- Publication Date
- 2026-11-26
AI Technical Summary
Existing generative AI models struggle with providing accurate responses outside their training scope and face security challenges when accessing detailed contextual information, often requiring manual data source configuration and compromising security permissions.
An agent creation system generates lightweight, grounded, and secure AI agents within a cloud architecture, allowing minimal user interaction and maintaining document security by ensuring responses are based on authorized files, with features like real-time modification and sharing capabilities.
The system provides secure, accurate, and flexible AI agents that maintain document security and can be easily shared, addressing inefficiencies and inaccuracies of existing systems by ensuring responses are based on authorized files and maintaining high security levels.
Smart Images

Figure US20260377761A1-D00000_ABST
Abstract
Description
BACKGROUND
[0001] In recent years, significant advancements have been made in both hardware and software domains, particularly in the field of generative artificial intelligence (AI) models. Current systems often utilize pre-trained generative AI models to provide answers across a broad range of topics. While these models are generally effective in delivering general information, they can suffer from shortcomings when addressing specific queries outside their training scope. For instance, these models commonly struggle to provide accurate responses without access to detailed contextual information. Additionally, security concerns can impede access to necessary documents, further highlighting the limitations of existing generative AI models. These and other issues underscore the various challenges faced by current systems and generative AI models.BRIEF DESCRIPTION OF THE DRAWINGS
[0002] The following detailed description provides specific implementations accompanied by drawings. Additionally, each of the figures listed below corresponds to one or more implementations discussed in this disclosure.
[0003] FIG. 1 illustrates an example overview of utilizing an agent creation system to create and modify a generative AI agent based on an AI agent file.
[0004] FIG. 2 illustrates an example computing environment in which the agent creation system is implemented.
[0005] FIGS. 3A-3C illustrate example graphical user interfaces for creating an AI agent based on a set of selected documents.
[0006] FIGS. 4A-4C illustrate example graphical user interfaces for modifying an AI agent.
[0007] FIGS. 5A-5B illustrate example graphical user interfaces for implementing a real-time AI agent.
[0008] FIG. 6 illustrates an example overview of implementing an AI agent from an agent file and utilizing the AI agent to answer user queries about secured documents associated with a user.
[0009] FIGS. 7A-7B illustrate example graphical user interface diagrams for storing an AI agent file and implementing an AI agent.
[0010] FIG. 8 illustrates an example series of acts of computer-implemented methods for generating one or more generative artificial intelligence (AI) agents from one or more secured documents.
[0011] FIG. 9 illustrates example components included within a computer system utilized to implement the agent creation system.DETAILED DESCRIPTION
[0012] This disclosure describes an agent creation system that facilitates the creation, development, and deployment of lightweight, grounded, and secure AI agents. These generative AI agents provide accurate and authoritative generative responses to user queries based on secure documents. For instance, the agent creation system can create AI agents with minimal user interaction as well as allows for easy customization of an AI agent’s identity, behavior, and data sources. Notably, the agent creation system can generate AI agents that utilize selected data sources within protected environments. Due to the compact size of AI agents, which are maintained as AI agent files, the agent creation system enables AI agents to be easily shared. Importantly, the agent creation system incorporates safeguards to ensure that generative responses are based solely on documents that users are authorized to access, even when shared.
[0013] Implementations of the present disclosure provide benefits and solve problems of conventional systems by providing systems, computer-readable media, and computer-implemented methods that utilize the agent creation system to generate and implement portable and secure AI agents, which utilize generative artificial intelligence (AI) models to provide user query responses based on authorized selected files within a secure environment. Additionally, the agent creation system enables an AI agent to be shared with other users who have access to one or more of the selected files within the secured environment.
[0014] By way of context, some existing systems provide agents in connection with generative AI models. However, these existing systems largely require users to manually define and / or provide data sources for the agent, which often includes removing security permission protections on the data sources. In addition, many existing systems require users to manually configure most or all of the agent’s operating parameters and fields, which can lead to inefficient and inaccurate operation of the agent. Furthermore, many existing systems tend to create large and bulky agents that are fixed in their location, their training, or both.
[0015] In contrast, the agent creation system generates lightweight, grounded, and secure AI agents. In various cases, the agent creation system operates in a cloud architecture that maintains secure documents. For example, the agent creation system is implemented within a tenant of a cloud computing system, where the tenant hosts sets of files, documents, and / or resources accessible by users of the tenant with proper access rights. With minimal user input, the agent creation system can create an AI agent within the tenant that generates answers to user queries based on selected documents within the tenant, without requiring the security of the documents to be disarmed or relaxed.
[0016] To illustrate, in various implementations, the agent creation system receives a selection of files from a user within the tenant. Additionally, the agent creation system detects the selection of an AI agent builder element designed to initiate the creation of a generative AI agent. In response, the agent creation system can generate an AI agent file that includes an agent manifest with definitions (e.g., contextual information of the agent and reference information of the selected files). Furthermore, the agent creation system can provide the AI agent (e.g., the current version of the generative AI agent) to answer user queries based on the selected files, while the requesting user has access rights to the selected files.
[0017] In various implementations, the agent creation system provides an agent creation interface for modifying the AI agent file, which, in turn, causes the AI agent to be updated. For example, the agent creation system includes interactive elements within the agent creation interface that are used to modify the AI agent file. Upon detecting modifications to the AI agent file, the agent creation system can implement an updated version of the AI agent using the agent creation interface or a stand-alone interface.
[0018] As described in this disclosure, the agent creation system delivers several significant technical benefits in terms of improved computing security, accuracy, and flexibility compared to existing systems that provide generative model agents. Moreover, the agent creation system provides several practical applications that address problems related to efficiently providing secure and reliable generative AI agents.
[0019] To elaborate, in various implementations, the agent creation system provides improved security by creating and implementing AI agents in connection with secure environments where protected files are maintained. Unlike existing systems that require external actors to gain permission to access data sources or for file protections to be removed or relaxed, the agent creation system operates within or in connection with a secured cloud infrastructure, such as within a tenant of a cloud computing system. For example, an AI agent answers user queries based on selected secured files without compromising the security of the selected files.
[0020] Furthermore, the agent creation system maintains high levels of security based on the requesting user. For instance, if a first user submits a first user query to the AI agent, the agent creation system determines file access to a first set of secured files from the selected files for generating a response to the first user query. If a second user submits a second user query to the AI agent, the agent creation system again determines file access to a second set of secured files from the selected files for generating a response to the second user query. Indeed, the agent creation system provides improved security by ensuring that the AI agent generates responses solely from selected secured files to which the requesting user has authorized access. If a requesting user does not have access rights to any of the AI agent’s files, the agent creation system does not provide any answer or provides an indication that the requesting user does not have sufficient rights to answer their query based on the files indicated in the agent file.
[0021] Furthermore, in various instances, the agent creation system can maintain security while being used collaboratively in a multi-user setting. For example, the agent creation system first generates an answer based on the requesting user, as mentioned above. Before sharing the answer with a group, the agent creation system verifies that others in the group have access to the documents used to generate the answer or obtains an explicit confirmation from the requesting user before posing the answer to the shared group. In this way, the agent creation system secures against providing an answer to groups that includes unauthorized or sensitive information that should not be provided to one or more members of the group.
[0022] By providing high levels of security with AI agents, the agent creation system can flexibly share the AI agent with multiple users. For example, the agent creation system creates AI agents that are lightweight, portable, and can be flexibly shared as easily as sharing files. In many instances, AI agents are maintained as AI agent files.
[0023] Additionally, by using AI agent files, the agent creation system can easily implement and modify AI agents. For example, while the agent creation system can create an AI agent with as little as a single user interaction (e.g., a single click or a selection of files and a menu option click), the agent creation system provides a user interface for modifying the AI agent. In some instances, the user interface includes a live version of the AI agent that updates in real time when any modification inputs are made to the agent. Indeed, using AI agent files allows a computing system to efficiently and flexibly provide AI agents to users while maintaining high levels of security.
[0024] As illustrated in the preceding discussion, this disclosure uses a variety of terms to describe the features and advantages of one or more described implementations. For instance, this disclosure describes the agent creation system within the context of a cloud computing system. As an example, the term “cloud computing system” refers to a network of interconnected computing devices that provide various services and applications to computing devices (e.g., server devices and client devices) inside or outside the cloud computing system. An example of a cloud computing system is described below in connection with FIG. 2.
[0025] As used in this document, the term “tenant” refers to a logically isolated unit representing an entity, organization, or customer. Tenants often have their own set of resources, such as virtual machines, storage, and databases, ensuring resource isolation from other tenants within a cloud computing system. Tenants also have separate identities and access management systems to control access to resources and services within the tenant. In a multitenant architecture, multiple tenants can share the same physical infrastructure while maintaining logical isolation, allowing for efficient resource utilization and scalability. Additionally, each tenant can have its own configuration settings, policies, and customizations to meet the specific needs of the organization or customer. In some instances, a tenant represents a cloud segment.
[0026] In various implementations, the terms “resource access request” and “cloud resource access request” refer to a request submitted within a cloud computing environment to create and configure a resource according to specified parameters and requirements. In some instances, a resource access request determines whether a user or user identifier has access rights to a document, file, folder, directory, and / or cloud resource. In some instances, access to content and cloud resources is based on a cloud management policy.
[0027] In one or more implementations, the term “cloud resource” refers to a wide range of components that can be utilized in a cloud computing environment. Examples of cloud resources include cloud storage devices (e.g., blob storage and cloud storage), cloud applications (e.g., office applications, workspaces, and data management platforms), and cloud services. Additionally, cloud resources can include virtual machines, managed databases, and networking components. Other examples are container and orchestration services (e.g., Kubernetes services and engines), artificial intelligence (AI) and machine learning services, identity and access management services, and monitoring and logging tools.
[0028] In addition, the term “cloud management policy” refers to a set of rules that specify operating conditions within a cloud computing environment for virtual machines (VMs) and other cloud resources. Rules and / or operating conditions in cloud management policies can include specific security, regional, tenant, user, and operational parameters. For example, security parameters can specify security measures such as encryption, firewall settings, and access controls; regional parameters can specify conditions that restrict or allow resource deployment in specific geographic regions; tenant or subscription parameters can specify guidelines to manage resources across different tenants, ensuring isolation and compliance with tenant-specific requirements; user parameters can specify user access control, permissions, and roles within the cloud environment; and operational parameters can specify rules related to resource configurations, such as VM sizes, types, and tags. In various implementations, a cloud management policy is stored in a data structure, such as a JSON or XML file, and can include actions for compliance enforcement, auditing, and remediation.
[0029] In some implementations, the terms “AI agent” and “generative AI agent” refer to an entity, often represented as a software construct, designed to perform tasks using artificial intelligence models and techniques. AI agents can include generative AI models or serve as an interface with one or more generative AI models. For example, an AI agent provides an interface between users and an AI model, where the AI agent determines which data sources to provide to a generative AI model to answer a user query. In some instances, an AI agent interacts with additional tools and / or cloud resources. AI agents can be implemented in various forms, such as chatbots, virtual assistants, and recommendation systems.
[0030] An AI agent can be maintained as an AI agent file. In this document, the term “AI agent file” refers to a data structure that defines the operating parameters of an AI agent. For example, an AI agent file includes configuration settings, interface element definitions, agent identifying information, model instructions, data source information, and / or additional agent configuration details. In some instances, the AI agent includes an agent manifest with definitions that specify contextual information of the AI agent and reference information for accessing and / or referencing the selected files (e.g., an agent name, an agent description, prompt instructions, file identifiers of the selected files, and file locations of the selected files). In some implementations, an AI agent file is stored as a lightweight JSON file or another structured text document. Indeed, an AI agent file is a small file (e.g., often under 100KB) that does not include model weights or details. Additional details regarding AI agent files are provided below.
[0031] As an example, a “generative artificial intelligence (AI) model” is an artificial intelligence system that utilizes deep learning and a large number of parameters (e.g., in the billions or trillions), which are trained and / or fine-tuned on one or more extensive datasets to produce coherent, contextually relevant, and fluently topic-specific outputs (e.g., text and / or images). In many instances, a generative model refers to an advanced computational system that uses natural language processing, machine learning, and / or image processing to generate coherent and contextually relevant human-like responses.
[0032] Generative AI models (both large and small) have applications in natural language understanding, content generation, text summarization, dialogue systems, language translation, creative writing assistance, image generation, audio generation, and more. A single generative AI model often performs a wide range of tasks by receiving different inputs, such as prompts (e.g., input instructions, rules, example inputs, example outputs, and / or tasks), data, and / or access to data. In response, the generative AI model generates various output formats, ranging from comprehensive generative summaries and visual digests of several types to direct answer generative documents.
[0033] Moreover, generative AI models are primarily based on transformer architectures for understanding, generating, and manipulating human language. Generative AI models can also utilize other types of architectures, such as recurrent neural networks (RNNs), long short-term memory (LSTM) models, convolutional neural networks (CNNs), or other architectures. Examples of generative AI models include generative pre-trained transformer (GPT) models like GPT-3.5, GPT-4, and GPT-4o; bidirectional encoder representations from transformers (BERT) models; text-to-text transfer transformer models like T5; conditional transformer language (CTRL) models; and Turing-NLG. Other types of generative AI models include sequence-to-sequence models (Seq2Seq), vanilla RNNs, and LSTM networks. In some instances, a generative AI model includes a large generative AI model (LGM), a small generative AI model (SGM), a large language model (LLM), a small language model (SLM), and a small action model (SAM), which serve as text-based versions of generative AI models that receive text prompts and / or generate text outputs. In various implementations, a generative AI model is a multimodal generative model that receives multiple input formats (e.g., text, images, video, and data structures) and / or generates multiple output formats.
[0034] As an example, the terms “prompt,”“model prompt,” or “generative AI model prompt” refer to a request made to a generative AI model to create a generative output based on plain language guidance. In some instances, the suggestion item system provides additional information along with a prompt. A prompt can include important contextual information and / or general framing information to ensure that the generative AI model understands the correct context, syntax, and grounding information of the data it is processing. Examples of prompts, such as user query generation prompts and content classification prompts, are provided below.
[0035] Additionally, the following implementations focus on tenants (e.g., cloud segments); similar principles, approaches, and methods apply to other divisions of a cloud computing system or conventional systems. For example, a content management system may enforce and monitor cloud management policies at the cloud computing system level (e.g., applied to an air-gapped or sovereign-gapped cloud computing system).
[0036] Implementation examples and details of the agent creation system are discussed in connection with the accompanying figures, which are described next. To begin, FIG. 1 illustrates an example overview of utilizing an agent creation system to create and modify a generative AI agent based on an AI agent file according to some implementations. While FIG. 1 provides a high-level overview of the invention, additional details are provided in subsequent figures.
[0037] FIG. 1 illustrates a series of acts 100 performed by or following directions from the agent creation system. As shown, the series of acts 100 briefly illustrates an example of how the agent creation system works within a cloud computing system or environment to create and provide an AI agent to a user, as well as allow the user to modify the AI agent.
[0038] To illustrate, the series of acts 100 includes act 101 of identifying selected files within a tenant of a cloud computing system. For instance, the agent creation system associated with the tenant of a cloud computing system detects a set of selected files within the tenant. In some instances, the selected files are selected by user input. In some instances, files may be selected by default, such as all the files in a directory being automatically selected. As indicated above, the selected files may be secured by access control lists and / or cloud management policies. Additional details about the identification of selected files in a tenant image are provided in connection with FIGS. 3A-3B below.
[0039] Act 102 includes receiving an AI agent creation request to generate an AI agent that answers user queries with generative responses based on the selected files. For example, with a set of files on the tenant selected, the agent creation system detects the selection of an AI agent creation request. In some instances, the selection request originates from a selected toolbar or menu element. In some implementations, the selection request comes from a context menu. Additional details about detecting AI agent creation requests are provided in connection with FIGS. 3A-3B below.
[0040] Act 103 includes generate an agent creation interface for modifying agent parameters of the AI agent, which is represented as an agent file. In various implementations, the agent creation system provides an agent creation interface that includes a set of agent parameters and interactive elements for modifying the parameters. In various implementations, the agent creation system determines initial values for one or more of the agent parameters based on the content of the selected files. Furthermore, the agent creation system may save the agent parameters within an AI agent file. Additional details about generating and providing an agent creation interface are provided below in connection with FIGS. 4A-4C.
[0041] Act 104 includes generating and providing an AI agent by implementing the agent file within an AI agent pipeline. For instance, the agent creation system utilizes an application host that creates the AI agent from the agent file. When a user provides a query via the AI agent, the agent creation system sends the user query to a generative AI model via an AI agent pipeline. In some instances, the AI agent pipeline assists the host application in providing authorized selected files to the generative AI model with a prompt that includes the user query. The AI agent may receive a generative response to the user query and provide the user query response to the requesting user. Additional details about implementing the agent file, utilizing the AI agent pipeline, and providing user queries are provided in connection with FIGS. 5A-5B, 6, and 7B.
[0042] Act 105 includes updating the agent file in response to receiving modifications to the agent parameters and providing an updated version of the AI agent. For instance, in connection with creating the AI agent or after the AI agent has been created for a period of time, the agent creation system may receive user input modifying one or more agent parameters (e.g., via the agent creation interface). In response, the agent creation system updates the agent file and provides the updated agent file to the host application and the AI agent pipeline. Upon processing the updated agent file, the agent creation system implements the updated AI agent. A user can then use the updated agent to answer user queries based on the selected files. Additional details regarding updating an AI agent are provided below in connection with FIGS. 5A-5B.
[0043] With a general overview in place, additional details are provided regarding the components, features, and elements of the agent creation system. To illustrate, FIG. 2 shows an example computing environment in which the agent creation system is implemented according to some implementations. In particular, FIG. 2 illustrates an example of a computing environment 200 with various computing devices, including a cloud computing system 202 associated with the agent creation system 210. While FIG. 2 shows example arrangements and configurations of the computing environment 200, the cloud computing system 202, the agent creation system 210, and associated components, other arrangements and configurations are possible.
[0044] As shown, the computing environment 200 includes a cloud computing system 202 associated with the agent creation system 210, a generative AI model 240, and a client device 250 with a client application 252, all connected via a network 260. Many of these components may be implemented on one or more computing devices, such as one or more server devices, while some components may be implemented on personal devices. Further details regarding computing devices are provided below in connection with FIG. 9, along with additional details regarding networks, such as the network 260.
[0045] Before describing the components of the cloud computing system 202, including the agent creation system 210, other components of the computing environment 200 are discussed first to provide better context for the agent creation system 210. As shown, the computing environment 200 includes the generative AI model 240, which corresponds to one or more generative models tuned to efficiently perform various operations. The generative AI model 240 can include small generative AI models (SGMs) and / or large generative models (LGMs). For instance, a small generative AI model is fine-tuned to perform particular tasks, while a large generative AI model performs a broader range of tasks. In various cases, parameter-efficient fine-tuning methods, such as low-rank adaptation (LoRA), are used for a model to learn improved relevancy. In some implementations, one of the small or large generative AI models is a text-based generative AI model or a large text-only generative AI model that inputs and outputs text data (e.g., no images or audio), which runs more efficiently and returns results more quickly than multimodal models.
[0046] As shown, the computing environment 200 includes the client device 250. In various implementations, the client device 250 is associated with a user (e.g., a user client device) who requests a search query and / or a refined query. In various instances, the client device 250 includes a client application 252, such as a web browser, mobile application, or another form of software application for accessing and / or interacting with the cloud computing system 202, a content management system, and / or the agent creation system 210. For example, the client device 250 interacts with the agent creation system 210 to create and utilize an AI agent, including getting answers to user queries based on a set of selected files.
[0047] Additionally, in some instances, the client application 252 is a cloud management application, such as a document cloud synchronization application that integrates with cloud storage of documents within a tenant of a cloud computing system. In some implementations, the client application 252 is a web browser that provides access to secured files stored on a tenant (or other secure storage platform), such as the tenant files 606 shown within the tenant 604 on the cloud computing system 202.
[0048] Returning to the cloud computing system 202, as shown, the cloud computing system 202 includes tenants 204. In various implementations, the tenants 204 correspond to entities, organizations, or groups within the cloud computing system 202. In various implementations, each tenant has a logical separation from the other tenants. Additionally, each tenant can include a content management system 206 that maintains content items 208 (e.g., secured files, directories, data sources, and / or cloud resources). In various implementations, the content management system 206 facilitates the management and access of the content items 208 within the corresponding tenant by users (e.g., user identities) of the tenant.
[0049] As shown, the content management system also includes the agent creation system 210. In various implementations, the agent creation system 210 is an AI host application for creating and implementing AI agent files to create AI agents. In this document, the terms “AI host application” and “host application” refer to the agent creation system 210.
[0050] In some implementations, the agent creation system 210 includes various components and elements implemented in hardware and / or software. For example, the agent creation system 210 includes an AI agent setup manager 212 for creating AI agent files 222 that indicate agent parameters and corresponding selected files (e.g., content items). In some implementations, the AI agent files 222 include agent manifests 224 defining the operation of AI agents upon the AI agent files being implemented and referencing the selected files. In various instances, an agent manifest includes an agent name, an agent description, default or system prompt instructions, file identifiers of the selected files, and / or cloud locations of the selected files.
[0051] The agent creation system 210 also includes a user interface manager 214, which facilitates the provision of AI agent creation request elements and an agent creation interface for modifying an AI agent, as described below. The user interface manager 214 can also facilitate the interaction with an implemented AI agent. Likewise, the agent modification manager 216 can facilitate making modifications to the AI agent files 222 (e.g., via an agent creation interface), such as changing the data source files (e.g., the selected files), revising the agent appearance, or modifying agent parameters.
[0052] As shown, the agent creation system 210 includes an agent implementation manager 218, which aids in implementing the AI agent files 222 into AI agents. In various implementations, the agent implementation manager 218 acts as a host application. In various implementations, the agent implementation manager 218 works with tenant services 230 to implement an AI agent, including calling cloud services or cloud resources from the tenant services 230.
[0053] In various implementations, the agent implementation manager 218 provides APIs that enable interoperability and extensibility via inter-system communications. In some implementations, the agent implementation manager 218 works with AI agent pipeline components 232 to implement an AI agent. While the AI agent pipeline components 232 are shown outside of the tenants 204, in some instances, one or more of the AI agent pipeline components 232 may be located within a tenant. Implementing AI agents is discussed further below in connection with FIG. 6.
[0054] In various implementations, the AI agent pipeline components 232 include an orchestration layer that intelligently decides which tools and / or skills to invoke for performing the user actions. In addition to a multi-modal output, the AI agent pipeline components 232 could trigger a workflow in an external system, such as sending an email or setting a reminder. Furthermore, in one or more implementations, the AI agent pipeline components 232 facilitate the use of retrieval-augmented generation (RAG) for grounding. For example, the AI agent pipeline components 232 use the authorized files indicated in the agent file to generate and provide RAG data to the generative AI model 240 to generate user query responses.
[0055] Furthermore, the agent creation system 210 includes a storage manager 220 for maintaining agent-related data, such as the AI agent files 222 with agent manifests 224, and / or other data used by the agent creation system 210 with respect to creating, modifying, and implementing AI agents.
[0056] Turning to the next set of figures, FIGS. 3A-3C, 4A-4C, and 5A-5B include graphical user interfaces corresponding to creating, modifying, and implementing an AI agent. These figures are provided in the context of a client device implementing a client application, which is displayed on a graphical interface of the client device (existing systems shown on the screen of a client device). For example, the client application is a web browser that securely accesses access-controlled files on a cloud computing system associated with a tenant, which includes the agent creation system 210. In some implementations, the client application could be a native application associated with the agent creation system 210 running locally on the client device. In particular, FIGS. 3A-3C, 4A-4C, and 5A-5B show a client application interface 300.
[0057] To illustrate, FIGS. 3A-3C show example graphical user interfaces for creating an AI agent based on a set of selected documents according to some implementations. In particular, FIG. 3A shows the client application interface 300 displaying a directory of secured files 310. While a cloud directory is shown, the client application interface 300 may also represent a native directory on the client device that includes one or more similar features provided by the agent creation system 210.
[0058] While viewing the directory, the user may select one or more files. As shown, the client application interface 300 shows a subset of the secured files 310 as selected files 312. A user may use a cursor, selection elements, or another tool to select the selected files 312. In some instances, a user may also select a folder, directory, and / or cloud resource.
[0059] Upon selecting the selected files 312, the user may request that an AI agent be created based on those files. The agent creation system 210 can enable the user to request an AI agent using multiple methods. For example, as shown in FIG. 3A, within the toolbar 320 (e.g., toolbar element) of the client application interface 300, the agent creation system 210 provides an AI agent builder element 322 (e.g., AI agent creation option). A user can select the AI agent builder element 322 with a cursor 324, touchscreen input, or another selection tool. For instance, when the agent creation system 210 is selected from the toolbar 320, the agent creation system 210 can create an AI agent with a single click.
[0060] In particular, upon detecting the selection of the AI agent builder element 322, the agent creation system 210 initiates the process of creating an AI agent based on the selected files 312. In some instances, if the agent creation system 210 detects a selection of the AI agent builder element 322 in a given directory without any selected files, the agent creation system 210 can automatically include all of the files and / or directories in the given directory as the selected files 312.
[0061] FIG. 3B provides an example of the agent creation system 210 detecting a selection of the AI agent builder element within a context menu 330. For example, with the selected files 312 highlighted or selected, the client device detects a context menu selection (e.g., right-click) and provides the context menu 330. Within the context menu 330, the agent creation system 210 includes the AI agent builder element 332 as a context menu element. Furthermore, the agent creation system 210 can identify when the AI agent builder element 332 is selected with a user input tool 334 (e.g., a mouse cursor). Again, the agent creation system 210 can initiate the process of creating an AI agent based on the selected files 312 in response to the detected selection of the AI agent builder element 332.
[0062] FIG. 3C shows the client application interface 300 updating in response to detecting a selection of the AI agent builder element. As shown, the client application interface 300 updates to show a new agent interface 350 that includes identity information 352 about the agent and one or more of the selected files 312. In addition, the new agent interface 350 includes an option to implement the AI agent (e.g., open agent 354) or an option to modify the agent (e.g., edit 356).
[0063] While the agent creation system 210 provides the new agent interface 350 on the frontend, the agent creation system 210 begins creating the AI agent on the backend. For example, upon detecting the selection of the AI agent builder element 332 with a set of selected files 312, the agent creation system 210 creates an agent file that defines the AI agent.
[0064] In various implementations, the agent creation system 210 begins with a template agent file with default agent parameters. Based on analyzing the selected files 312, the agent creation system 210 modifies and / or overwrites one or more of the agent parameters to match the context of the selected files 312. For example, the agent creation system 210 determines an agent name and / or logo based on the selected files 312. The agent creation system 210 can change other agent parameters, as described next.
[0065] In various implementations, the agent creation system 210 generates the agent file and / or the AI agent with minimal user interactions. Indeed, the agent creation system 210 can generate an AI agent with one or more interactions. For example, the agent creation system 210 generates an AI agent based on a file selection action and an AI agent creation request. In some instances, when files are selected by default, the agent creation system 210 generates an AI agent with a single user action (e.g., with a single toolbar click or context menu click).
[0066] As mentioned, the agent creation system 210 can generate an agent file. In various implementations, the agent file is a JSON or structured file, with various fields and corresponding element values. In various implementations, the agent file represents the complete packaged data structure, while the contents of the agent file are represented by an agent manifest. Accordingly, in some instances, the term agent file includes both the file itself and the contents of the agent manifest.
[0067] To elaborate, in some instances, an agent file (e.g., agent manifest) includes a schema version and configuration settings. The configuration settings can include conversation starters, generative model definitions, and a graphic (e.g., a text version of an icon).
[0068] In some implementations, the conversation starters (e.g., zero-query messages or ZQMs) include a welcome message and a list of conversation starters, such as one or more text prompts that are presented to a user when the AI agent is first loaded. For example, a conversation starter may include “Summarize any key highlights” and “Create an FAQ based on the selected data source.” While the conversation starters may start as generic questions, the agent creation system 210 can further customize them based on content within the selected files, as described further below. Similarly, the welcome message may have a default generic message but be dynamically customized based on the selected files. Additionally, a user may provide input to modify these messages.
[0069] In various implementations, the generative model definitions include fields such as agent name, agent description, generative model instructions, and generative model capabilities. In some instances, the generative model instructions provide a prompt that will be provided to the generative AI model along with the user query. In some instances, the generative model instructions serve as a system prompt that provides context to the generative AI model and gives direction for processing the user query based on the selected files 312 (or a subset of the selected files).
[0070] In one or more implementations, the generative model capabilities include resource names, identifiers, and lists of one or more selected files. In some instances, for selected files, the agent file includes a file link, a resource name, a site identifier, a web identifier, a list identifier, a unique identifier, and / or a type (e.g., file, folder, or resource). The agent file can include additional and / or different reference information.
[0071] As mentioned above, FIGS. 4A-4C provide additional details about the agent creation interface. In particular, FIGS. 4A-4C illustrate example graphical user interfaces for modifying aspects and parameters of the AI agent. The agent creation interface supports viewing and modifying agent parameters. The agent creation interface can be populated with values from a corresponding agent file, and changes to fields within the agent creation interface can be reflected in the agent file.
[0072] To begin, FIG. 4A includes the client application interface 300 displaying an agent creation interface 410. Specifically, the agent creation interface 410 shows identity settings 420 (e.g., an agent identity section) that include fields and elements corresponding to the user interface elements 422 of the agent. For instance, the user interface elements 422 correspond to contextual information for the AI agent, such as the name, graphic (e.g., icon), and description of the AI agent.
[0073] In some instances, the user interface elements 422 may be initially populated with default values. In some instances, the user interface elements 422 are populated based on the context and content of the selected files. For example, the agent creation system 210 analyzes the selected files to determine a prevalent topic or theme, which is used to create an agent name, select or generate an agent graphic, and / or provide an agent description. The agent creation system 210 also enables an agent creator to manually populate any of the user interface elements 422.
[0074] FIG. 4B shows the agent creation interface 410 on the client application interface 300 displaying source settings 430 (e.g., a source section). For example, while an agent creator can select one or more (or all) files in a directory to initially create the AI agent, the agent creation system 210 enables the agent creator to add secure files, directories, and / or cloud resources from across the tenant. In some instances, the agent creator can add one or more files from outside the tenant.
[0075] As shown, the source settings 430 include the selected files 312 introduced above and additional source elements 432 (e.g., a file selection menu). In various implementations, the source settings 430 allow an agent creator to add data sources and / or files, modify existing selected sources, or remove sources. In some implementations, the agent creation system 210 allows an agent creator to select any source included in the tenant to which the agent creator has an account, even if the agent creator does not have access permissions to the file or document (e.g., the file will only be used to answer a user query if a requesting user has permissible access rights). In one or more implementations, the agent creator can select all files, documents, and / or services within a tenant.
[0076] FIG. 4C shows the client application interface 300 displaying behavior settings 440 (e.g., an agent behavior section) within the agent creation interface 410. As part of modifying the AI agent, the agent creation system 210 enables an agent creator to modify the behavior of the AI agent. For example, the agent creation system 210 enables an agent creator to customize how the AI agent engages with both users and generative AI models.
[0077] As shown, the behavior settings 440 include customized model messaging 442, sample starter model prompts 444, and model instructions 446. In various implementations, the customized model messaging 442 provides a message that helps users engage with the AI agent, understand the purpose of the agent, and / or understand how the AI agent works. In some instances, the agent creation system 210 automatically populates the customized model messaging 442 with a message that is determined based on the context, scope, and / or content of the selected files 312.
[0078] In various implementations, the sample starter model prompts 444 serve as zero-query messages (ZQMs) that provide a set of starter questions, user queries, and / or prompts that users can ask the AI agent. The starter questions can include user queries that correspond to the purpose and directives of the AI agent. In some instances, the agent creation system 210 generates a set of starter questions based on the types of files selected (e.g., documents, charts, reports, spreadsheets, webpages) and / or the scope of the selected files. As with other elements in the agent creation interface 410, the agent creation system 210 can populate input fields with default values, generated content, and / or user-provided input.
[0079] In one or more implementations, the model instructions 446 are provided to a generative AI model either in combination with a user query, separately, as a system prompt, or in combination with other system prompt information. The model instructions 446 can direct the generative AI model on how to process the user query and whether to use any specific instructions when considering the selected files (or a subset of selected files that are also provided). In some implementations, the model instructions 446 are hidden from requesting users. As with other elements in the agent creation interface 410, the agent creation system 210 can populate the model instructions 446 with default instructions, generated content, and / or user-provided input.
[0080] While an agent creator can utilize the agent creation interface 410 to make initial modifications to the AI agent, in various instances, the agent creation system 210 enables the agent creator to modify the AI agent in the future using the agent creation interface 410. Furthermore, with each modification to one or more input fields within the agent creation interface 410, the agent creation system 210 performs corresponding updates to the agent file of the AI agent. Using the latest agent file, the agent creation system 210 can implement the most current version of the AI agent for a requesting user.
[0081] As mentioned above, FIGS. 5A-5B provide additional details about implementing the agent file, utilizing an AI agent pipeline, providing user queries, and updating an AI agent. For instance, FIGS. 5A-5B illustrate example graphical user interfaces for implementing a live, real-time AI agent according to some implementations. In particular, FIG. 5A corresponds to providing a live AI agent within the agent creation interface of a client application, while FIG. 5B corresponds to providing an updated version of the AI agent within the agent creation interface.
[0082] As shown, FIG. 5A adds a live test agent 500 within the agent creation interface 410 introduced above. The live test agent 500 may be a first or current model version, represented by an AI agent title 502. The AI agent includes user interface elements (e.g., a title, icon graphic, and / or branding), user directions 504 that include customized model messaging (e.g., welcome message) and sample starter model prompts, and a user query input field 506. In this way, the agent creator can act as a requesting user to test the AI agent while adjusting the agent parameters.
[0083] In various implementations, the agent creation system 210 creates the initial version of the AI agent (e.g., created in a single click) and an agent file upon selecting the agent creation request element, as described above. Then, when the agent creation interface 410 is provided, the agent creation system 210 can implement the agent file and include the initial version of the model therein for live testing. Furthermore, as the agent creator can make changes to the agent parameters, the agent creation system 210 can automatically update the AI agent.
[0084] To illustrate, FIG. 5B shows the agent creation interface 410 with an updated live test version of the AI agent 510. As shown, the updated agent includes an updated AI agent title 512 and updated user directions 514. In various implementations, the updated AI agent is based on an updated agent file, which is generated by detecting updated inputs in the agent creation interface 410.
[0085] Indeed, as the agent creator makes changes to input fields of the agent creation interface 410, the agent creation system 210 reflects the changes in the updated live test version of the AI agent 510 without requiring the agent creator to code or possess programming knowledge. Because the agent file is small and implementing the AI agent is lightweight, the agent creation system 210 can quickly, efficiently, and easily create the AI agent and provide it in various user interfaces. Furthermore, the agent creator can act as a requesting user and ask search queries of the live AI agent based on the selected documents, receiving responses in real time.
[0086] FIG. 6 provides additional details regarding implementing an AI agent using an AI agent file that includes agent parameters and references to selected secured files. In particular, FIG. 6 illustrates an example overview of implementing an AI agent from an agent file and utilizing the AI agent to answer user queries about secured documents associated with a user, according to some implementations. As shown, FIG. 6 includes a flowchart 600 of interactions between various elements, some of which have been previously introduced. In particular, the flowchart 600 includes a sequence of actions (e.g., circled numbers) corresponding to a sequence of operations performed by or with the agent creation system 210.
[0087] To begin, FIG. 6 includes an agent file 602. The agent file 602 may represent a newly created file or a modified file. The agent file 602 may be stored among the other files of a tenant within a cloud computing system. In various implementations, the agent file 602 is a JSON file or another type of structured text file.
[0088] In addition, the agent file 602 resides on a tenant 604 of a cloud computing system 202. In addition, the tenant 604 can include the agent creation system 210 and tenant files 606, which can include secured files accessible to user identities associated with the tenant 604 (e.g., only authorized users and / or user identities can access the secured files) and / or files stored in cloud storage associated with the tenant 604. In some instances, the agent creation system 210 described in this document operates with one or more non-secure or less secure files residing on a tenant, a cloud computing system, manually provided (e.g., uploaded files), or located outside the cloud computing system.
[0089] As illustrated, the flowchart 600 includes a first set of acts (shown as “1a” and “1b”) for loading the agent file 602. For example, the agent creation system 210 (e.g., an AI host application) loads the agent file 602 to generate an AI agent (shown as “1a”). In addition to providing directions and / or instructions for implementing an AI agent, the agent file 602 includes data source references for selected files 614 within the tenant files 606 of the tenant 604 (shown as “1b”).
[0090] The second act (shown as “2”) includes the agent creation system 210 providing the AI agent 610 to the client device 250. In some instances, the agent creation system 210 and / or a portion of the agent creation system 210 is located in the client device 250, which has access rights to the agent file 602. Providing the AI agent 610 to the client device 250 can include displaying and / or implementing the AI agent 610 via the client application 252. For example, the AI agent 610 is shown with an AI agent interface as a chatbot. The client application 252 may present the AI agent 610 as defined by the agent file 602. An example of this is shown in FIG. 7B below.
[0091] In response to providing the AI agent 610 to a user via the client device 250, the client device 250 detects user input interacting with the AI agent 610. In some instances, upon detecting user input providing a user query612, the client device 250 provides the user query 612 to the agent creation system 210 (e.g., the AI host application), shown as a third act (e.g., “3”). The client device 250 can also provide a user identifier of the requesting user to the agent creation system 210.
[0092] The fourth act (e.g., “4”) includes the agent creation system 210 providing the user query 612, a user identifier, and / or instructions from the agent file 602 to the AI agent pipeline components 232. In some instances, the agent creation system 210 provides the user query 612 indicated in the agent file 602 to the AI agent pipeline components 232. The AI agent pipeline components 232 may perform one or more steps to process the request from the agent creation system 210. In various implementations, the AI agent pipeline components 232 perform actions under the direction of the agent creation system 210.
[0093] In some implementations, the AI agent pipeline components 232 (and / or the agent creation system 210) perform a scope search 616 on the selected files 614 (shown as act five (“5”)). A scope search 616 can include determining which of the selected files 614 indicated in the agent file 602 are accessible to the requesting user. For example, the agent creation system 210 compares the user identifier of the requesting user against an access control list for the selected files 614 to identify which of the selected files the user identifier is authorized to access. Authorized files are then included in a set to be provided to the generative AI model 240 in the next step.
[0094] In some implementations, the scope search 616 includes searching the selected files 614 for relevancy to the selected files 614. For example, the agent creation system 210 identifies a subset (e.g., less than all) of files from the selected files 614 that correspond to the selected files 614. The agent creation system 210 can determine the subset using text matching, cosine similarity on vector embeddings generated by encoding models, semantic similarity, and / or additional correlation techniques. The subset of files with a scope that corresponds to the selected files 614 can be provided to the generative AI model 240 in the next step.
[0095] In various instances, using the scope search 616 reduces the number of data sources provided to the generative AI model 240 to below a token limit (e.g., a token character limit). In some instances, the amount of content in the subset of files is less than the token limit, allowing all files in the subset to be provided. In some instances, the agent creation system 210 reduces the number of files in the subset by selecting files with the highest correlation strength scores to the user query 612 until the token limit (or another predefined value) is met. In some instances, all files (or at least references to all of the files) in the selected files 614 can be sent to the generative AI model 240.
[0096] In act six (“6”), the AI agent pipeline components 232 (and / or the agent creation system 210) provide prompts associated with the selected files 614 to the generative AI model 240. The prompts can include the user query 612 and directions particular to the AI agent 610. In various implementations, the prompts include the user query 612, supplemental prompts included in a corresponding AI agent, and / or system prompts. The prompts can include or reference the selected files 614. In some instances, providing the selected files 614 includes providing the selected files authorized for the user identifier of the requesting user and / or a subset of the selected files 614 determined based on their scope and / or correlation to the search query.
[0097] As mentioned above, the AI agent pipeline components 232 can include an orchestration layer for implementing an agent file. In some instances, the orchestration layer includes guardrails and mitigations against generative AI model-specific attack vectors (e.g., unauthorized file injection, malicious prompt modifications, and sensitive topics). Additionally, the orchestration layer can follow custom governance policies and / or provide audit logs to ensure compliance. These and other aspects can ensure a high level of security for implementing the AI agents.
[0098] Following the prompts, directions, and / or provided selected files (e.g., all, a portion, or a subset of the selected files), the generative AI model 240 generates a user query response 618. In this way, the user query response 618 is determined by the generative AI model 240 but grounded in the secured, selected files. Additionally, the user query response can be further grounded based on secured files to which the requesting user has access, resulting in secure and accurate responses.
[0099] Act seven (“7”) includes providing the user query response 618 to the client device 250 for delivery to the requesting user. For example, the generative AI model 240 directly or indirectly provides the user query response 618 to the agent creation system 210. In response, the agent creation system 210 provides the user query response 618 to the client application 252 of the client device 250 via the AI agent 610. For example, the agent creation system 210 updates the chatbot representing the AI agent 610 to include the user query response 618.
[0100] FIGS. 7A-7B provide an example of a stored AI agent file and a client device implementing an agent file. In particular, FIGS. 7A-7B illustrate example graphical user interface diagrams for storing an AI agent file and implementing an AI agent according to some implementations.
[0101] As shown, the client application interface 300 includes secured files 710 within a cloud directory, as described above. In various implementations, the AI agent file 712 is stored among the secured files 710. Because AI agent files are made up of structured text, they are each small in data size, portable, and shareable. Indeed, the small and streamlined nature of the AI agent file 712 allows it to be shared and implemented across various applications and systems. However, due to the security measures taken by the agent creation system 210, requesting users will only receive answers based on authorized files from within the selected files.
[0102] The live agent 720 can be implemented by the agent creation system 210 upon detecting that the AI agent file 712 has been selected. To demonstrate, the client application interface 300 includes an instance of the live agent 720 within a sidebar interface.
[0103] In some instances, the AI agent is implemented in a standalone interface. To illustrate, FIG. 7B shows the AI agent 730 in a dedicated user interface. The AI agent 730 can represent the most current version of the AI agent. In various instances, the agent creation system 210 implements the AI agent in other interfaces or applications, such as within a messaging application or email client.
[0104] Turning now to FIG. 8, this figure illustrates an example series of acts of a computer-implemented method for generating one or more generative artificial intelligence (AI) agents from one or more secured documents according to some implementations. While FIG. 8 illustrates acts according to one or more implementations, alternative implementations may omit, add to, reorder, and / or modify any of the acts shown.
[0105] The acts in FIG. 8 can be performed as part of a method (e.g., a computer-implemented method). Alternatively, a computer-readable medium can include instructions that, when executed by a processing system with a processor, cause a computing device to perform the acts in FIG. 8. In some implementations, a system (e.g., a processing system comprising a processor) can perform the acts in FIG. 8. For example, the system includes a processing system and a computer memory including instructions that, when executed by the processing system, cause the system to perform various actions or steps.
[0106] As shown, the series of acts 800 includes act 810 of identifying selected files of a user assigned and / or belonging to a tenant of a cloud computing system. For instance, in example implementations, act 810 involves identifying selected files within a tenant of a cloud computing system, the selected files being accessible by a user identifier assigned to or belonging to the tenant. In various implementations, act 810 includes identifying selected files within a tenant of a cloud computing system. In various implementations, the selected files include detecting user input to select the selected files across the tenant. In some implementations, the generative AI agent, when implemented by the host application implementing the AI agent file, accesses one or more of the selected files from the selected files to which the user identifier has access rights. In various implementations, the AI agent file, the host application, and the selected files are located within the tenant of the cloud computing system.
[0107] As further shown, the series of acts 800 includes act 820 of detecting a selection to create an AI agent that generates user query responses based on user queries and the selected files. For instance, in example implementations, act 820 involves detecting a selection of an AI agent builder element designed to initiate the creation of a generative AI agent that is implemented by a host application within an AI pipeline, the generative AI agent generating user query responses based on user queries and the selected files. In various implementations, the AI agent builder element is a toolbar element within a directory interface of the cloud computing system. In various implementations, the AI agent builder element is a context menu element within a directory interface of the cloud computing system.
[0108] As further shown, the series of acts 800 includes act 830 of generating an AI agent file that includes an agent manifest with AI agent contextual information and the selected files. For instance, in example implementations, act 830 involves generating an AI agent file that includes an agent manifest including contextual information of the generative AI agent and reference information of the selected files. In one or more implementations, act 830 includes sharing the AI agent file with a user having a second user identifier associated with the tenant in the cloud computing system. In some implementations, when implemented, the generative AI agent generates the user query responses based on one or more files in the selected files for which the second user identifier has access rights. In some implementations, the AI agent file includes agent appearance information, zero-query messages (ZQMs), and graphic data displayed within the generative AI agent. In various implementations, the definitions in the agent manifest include an agent name, an agent description, prompt instructions, file identifiers of the selected files, and file locations of the selected files.
[0109] As shown further, the series of acts 800 includes act 840 of generating an agent interface for modifying the AI agent. For instance, in example implementations, act 840 involves generating an agent creation interface that enables modification of the AI agent file. In some implementations, act 840 includes utilizing the agent creation interface to facilitate modifications to the appearance and general functionality of an AI agent created from the AI agent file. In various implementations, the agent creation interface includes a model function field. In one or more implementations, the instructions in the model function field are provided within a system prompt to a generative AI model when the generative AI agent is implemented to generate the user query responses.
[0110] In various implementations, the agent creation interface includes an agent identity section for modifying the appearance of the generative AI agent, a source section for adding files and directories within the tenant to the AI agent file, and an agent behavior section for modifying the operating behaviors of an agent model implemented from the AI agent file. In some instances, the source section includes appearance input fields for modifying the appearance of an AI model generated from the AI agent file. In one or more implementations, default values for the appearance input fields are generated based on a context determined from the selected files. In some instances, act 840 includes generating a set of zero-query messages for the AI model based on the selected files. In some instances, the set of zero-query messages is provided as default suggested prompts to a user submitting a user query. In some instances, the agent behavior section includes behavior input fields for modifying the behavior of the generative AI agent when generated from the AI agent file, and default values for the behavior input fields are generated based on the scope of the selected files and a file type of the selected files.
[0111] As shown further, the series of acts 800 includes act 850 of providing a generative AI agent that implements the current version of the generative AI agent. For instance, in example implementations, act 850 involves displaying, within the agent creation interface, the generative AI agent that implements the current version of the generative AI agent. In various implementations, act 850 includes providing an active AI agent that implements a current version of the generative AI agent based on generating the AI agent file with respect to the selected files (and also based on the user identifier being authorized to access the selected files). In one or more implementations, act 850 includes displaying, within an agent creation interface, the generative AI agent to generate a user query response for a user query provided within the agent creation interface. In various implementations, act 850 includes detecting modified content within the AI agent file, and in response to detecting the modified content within the AI agent file, updating the generative AI agent within the agent creation interface in real time to reflect the modified content.
[0112] As shown further, the series of acts 800 includes act 860 of updating the generative AI agent based on detecting modifications in the AI agent file. For instance, in example implementations, act 860 involves updating the AI agent file to include the content modifications based on detecting content modifications in the agent creation interface. In some implementations, act 860 includes updating, in response to detecting the content modifications to content within the AI agent file, the generative AI agent based on the content modifications to cause the generative AI agent to implement an updated version of the generative AI agent within the agent creation interface. In some implementations, act 860 includes generating, based on detecting modifications to the AI agent file from input within the agent creation interface, an updated AI agent that implements an updated version of the generative AI agent within the agent creation interface.
[0113] The series of acts 800 can include various additional acts. For instance, in some implementations, the series of acts 800 includes determining content within the selected files. In some instances, the appearance elements of the generative AI agent are automatically generated based on the content within the selected files. In some implementations, the series of acts 800 includes determining the scope of the selected files and the file type of the selected files. In some implementations, the prompt instructions of the generative AI agent are automatically generated based on the scope of the selected files and the file type of the selected files.
[0114] In some implementations, implementing the generative AI agent includes retrieving or accessing data from one or more selected files referenced in the agent manifest of the AI agent file; providing the one or more selected files, a generative AI model prompt, and a user query to a generative AI model to generate; and receiving a user query response from the generative AI model. In some implementations, the selected files are selected based on automatically selecting all files in a current cloud computing system directory without manual selection of the selected files by user input. In various implementations, detecting the selection of the AI agent builder element includes a single selection of the AI agent builder element. In one or more implementations, the AI agent file is generated based on the selected files in response to detecting the single selection of the AI agent builder element. In some implementations, providing the generative AI agent occurs automatically based on the AI agent file being generated and the single selection of the AI agent builder element.
[0115] FIG. 9 illustrates certain components that may be included within a computer system 900. The computer system 900 may be used to implement the various computing devices, components, and systems described herein (e.g., by performing computer-implemented instructions). As used herein, a “computing device” refers to electronic components that perform a set of operations based on a set of programmed instructions. Computing devices include groups of electronic components, client devices, server devices, etc.
[0116] In various implementations, the computer system 900 represents one or more of the client devices, server devices, or other computing devices described above. For example, the computer system 900 may refer to various types of network devices capable of accessing data on a network, a cloud computing system, or another system. For instance, a client device may refer to a mobile device such as a mobile telephone, a smartphone, a personal digital assistant (PDA), a tablet, a laptop, or a wearable computing device (e.g., a headset or smartwatch). A client device may also refer to a non-mobile device such as a desktop computer, a server node (e.g., from another cloud computing system), or another non-portable device.
[0117] The computer system 900 includes a processing system including a processor 901. The processor 901 may be a general-purpose single- or multi-chip microprocessor (e.g., an Advanced Reduced Instruction Set Computer (RISC) Machine (ARM)), a special-purpose microprocessor (e.g., a digital signal processor (DSP)), a microcontroller, a programmable gate array, etc. The processor 901 may be referred to as a central processing unit (CPU) and may cause computer-implemented instructions to be performed. Although the processor 901 shown is just a single processor in the computer system 900 of FIG. 9, in an alternative configuration, a combination of processors (e.g., an ARM and DSP) could be used.
[0118] The computer system 900 also includes memory 903 in electronic communication with the processor 901. The memory 903 may be any electronic component capable of storing electronic information. For example, the memory 903 may be embodied as random-access memory (RAM), read-only memory (ROM), magnetic disk storage media, optical storage media, flash memory devices in RAM, on-board memory included with the processor, erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, and so forth, including combinations thereof.
[0119] The instructions 905 and the data 907 may be stored in the memory 903. The instructions 905 may be executable by the processor 901 to implement some or all of the functionality disclosed herein. Executing the instructions 905 may involve the use of the data 907 that is stored in the memory 903. Any of the various examples of modules and components described herein may be implemented, partially or wholly, as instructions 905 stored in memory 903 and executed by the processor 901. Any of the various examples of data described herein may be among the data 907 that is stored in memory 903 and used during the execution of the instructions 905 by the processor 901.
[0120] A computer system 900 may also include one or more communication interface(s) 909 for communicating with other electronic devices. The one or more communication interface(s) 909 may be based on wired communication technology, wireless communication technology, or both. Some examples of the one or more communication interface(s) 909 include a Universal Serial Bus (USB), an Ethernet adapter, a wireless adapter that operates according to an Institute of Electrical and Electronics Engineers (IEEE) 902.11 wireless communication protocol, a Bluetooth® wireless communication adapter, and an infrared (IR) communication port.
[0121] A computer system 900 may also include one or more input device(s) 911 and one or more output device(s) 913. Some examples of the one or more input device(s) 911 include a keyboard, mouse, microphone, remote control device, button, joystick, trackball, touchpad, and light pen. Some examples of the one or more output device(s) 913 include a speaker and a printer. A specific type of output device that is typically included in a computer system 900 is a display device 915. The display device 915 used with implementations disclosed herein may utilize any suitable image projection technology, such as liquid crystal display (LCD), light-emitting diode (LED), gas plasma, electroluminescence, or the like. A display controller 917 may also be provided, for converting data 907 stored in the memory 903 into text, graphics, and / or moving images (as appropriate) shown on the display device 915.
[0122] The various components of the computer system 900 may be coupled together by one or more buses, which may include a power bus, a control signal bus, a status signal bus, a data bus, etc. For clarity, the various buses are illustrated in FIG. 9 as a bus system 919.
[0123] This disclosure describes a subjective data application system in the framework of a network. In this disclosure, a “network” refers to one or more data links that enable electronic data transport between computer systems, modules, and other electronic devices. A network may include public networks such as the Internet as well as private networks. When information is transferred or provided over a network or another communication connection (either hardwired, wireless, or both), the computer correctly views the connection as a transmission medium. Transmission media can include a network and / or data links that carry required program code in the form of computer-executable instructions or data structures, which can be accessed by a general-purpose or special-purpose computer. Combinations of the above are also included within the scope of computer-readable media.
[0124] In addition, the network described herein may represent a network or a combination of networks (such as the Internet, a corporate intranet, a virtual private network (VPN), a local area network (LAN), a wireless local area network (WLAN), a cellular network, a wide area network (WAN), a metropolitan area network (MAN), or a combination of two or more such networks) over which one or more computing devices may access the various systems described in this disclosure. Indeed, the networks described herein may include one or multiple networks that use one or more communication platforms or technologies for transmitting data. For example, a network may include the Internet or other data link that enables transporting electronic data between respective client devices and components (e.g., server devices and / or virtual machines thereon) of the cloud computing system.
[0125] Further, upon reaching various computer system components, program code means in the form of computer-executable instructions or data structures can be transferred automatically from transmission media to non-transitory computer-readable storage media (devices), or vice versa. For example, computer-executable instructions or data structures received over a network or data link can be buffered in random-access memory (RAM) within a network interface module (NIC), and then it is eventually transferred to computer system RAM and / or to less volatile computer storage media (devices) at a computer system. Thus, it should be understood that computer-readable storage media (devices) can be included in computer system components that also (or even primarily) utilize transmission media.
[0126] Computer-executable instructions include instructions and data that, when executed by a processor, cause a general-purpose computer, special-purpose computer, or special-purpose processing device to perform a certain function or group of functions. In some implementations, computer-executable and / or computer-implemented instructions are executed by a general-purpose computer to turn the general-purpose computer into a special-purpose computer implementing elements of the disclosure. The computer-executable instructions may include, for example, binaries, intermediate format instructions such as assembly language, or even source code. Although the subject matter has been described in language specific to structural features and / or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the features or acts described above. Rather, the described features and acts are disclosed as example forms of implementing the claims.
[0127] Those skilled in the art will appreciate that the disclosure may be practiced in network computing environments with many types of computer system configurations, including, personal computers, desktop computers, laptop computers, message processors, hand-held devices, multi-processor systems, microprocessor-based or programmable consumer electronics, network PCs, minicomputers, mainframe computers, mobile telephones, PDAs, tablets, pagers, routers, switches, and the like. The disclosure may also be practiced in distributed system environments where local and remote computer systems, which are linked (either by hardwired data links, wireless data links, or a combination of hardwired and wireless data links) through a network, both perform tasks. In a distributed system environment, program modules may be located in both local and remote memory storage devices.
[0128] The techniques described herein may be implemented in hardware, software, firmware, or any combination thereof unless specifically described as being implemented in a specific manner. Any features described as modules, components, or the like may also be implemented together in an integrated logic device or separately as discrete but interoperable logic devices. If implemented in software, the techniques may be realized at least in part by a non-transitory processor-readable storage medium, including instructions that, when executed by at least one processor, perform one or more of the methods described herein (including computer-implemented methods). The instructions may be organized into routines, programs, objects, components, data structures, etc., which may perform particular tasks and / or implement particular data types, and which may be combined or distributed as desired in various implementations.
[0129] Computer-readable media can be any available media that can be accessed by a general-purpose or special-purpose computer system. Computer-readable media that store computer-executable instructions are non-transitory computer-readable storage media (devices). Computer-readable media that carry computer-executable instructions are transmission media. Thus, by way of example, implementations of the disclosure can include at least two distinctly different kinds of computer-readable media: non-transitory computer-readable storage media (devices) and transmission media.
[0130] As used herein, computer-readable storage media (devices) may include RAM, ROM, EEPROM, CD-ROM, solid-state drives (SSDs) (e.g., based on RAM), Flash memory, phase-change memory (PCM), other types of memory, other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store desired program code means in the form of computer-executable instructions or data structures and which can be accessed by a general-purpose or special-purpose computer.
[0131] The steps and / or actions of the methods described herein may be interchanged with one another without departing from the scope of the claims. In other words, unless a specific order of steps or actions is required for the proper operation of the method that is being described, the order and / or use of specific steps and / or actions may be modified without departing from the scope of the claims.
[0132] The term “determining” encompasses a wide variety of actions and, therefore, “determining” can include calculating, computing, processing, deriving, investigating, looking up (e.g., looking up in a table, a data repository, or another data structure), ascertaining, and the like. Also, “determining” can include receiving (e.g., receiving information), accessing (e.g., accessing data in a memory), and the like. Also, “determining” can include resolving, selecting, choosing, establishing, and the like.
[0133] The terms “comprising,”“including,” and “having” are intended to be inclusive and mean that there may be additional elements other than the listed elements. Additionally, it should be understood that references to “one implementation” or “implementations” of the present disclosure are not intended to be interpreted as excluding the existence of additional implementations that also incorporate the recited features. For example, any element or feature described concerning an implementation herein may be combinable with any element or feature of any other implementation described herein, where compatible.
[0134] The present disclosure may be embodied in other specific forms without departing from its spirit or characteristics. The described implementations are to be considered illustrative and not restrictive. The scope of the disclosure is indicated by the appended claims rather than by the foregoing description. Changes that come within the meaning and range of equivalency of the claims are to be embraced within their scope.
Claims
1. A computer-implemented method for generating one or more generative artificial intelligence (AI) agents from one or more secured documents, comprising:identifying selected files within a tenant of a cloud computing system, the selected files being accessible by a user identifier assigned to the tenant;detecting a selection of an AI agent builder element designed to initiate creation of a generative AI agent that is implemented by a host application within an AI pipeline, the generative AI agent generating user query responses based on user queries and the selected files;generating an AI agent file that includes an agent manifest including contextual information of the generative AI agent and reference information of the selected files;generating an agent creation interface that enables modification of the AI agent file;displaying, within the agent creation interface, the generative AI agent that implements a current version of the generative AI agent; andbased on detecting content modifications in the agent creation interface, updating the AI agent file to include the content modifications.
2. The computer-implemented method of claim 1, further comprising, in response to detecting the content modifications to content within the AI agent file, updating the generative AI agent based on the content modifications to cause the generative AI agent to implement an updated version of the generative AI agent within the agent creation interface.
3. The computer-implemented method of claim 1, further comprises sharing the AI agent file with a user having a second user identifier associated with the tenant in the cloud computing system, wherein, when implemented, the generative AI agent generates the user query responses based on one or more files in the selected files for which the second user identifier has access rights.
4. The computer-implemented method of claim 1, further comprising utilizing the agent creation interface to facilitate modifications to an appearance and functionality of an AI agent created from the AI agent file.
5. The computer-implemented method of claim 1, wherein:identifying the selected files includes detecting user input to select the selected files across the tenant; andthe generative AI agent, when implemented by the host application implementing the AI agent file, accesses one or more of the selected files from the selected files to which the user identifier has access rights.
6. The computer-implemented method of claim 1, wherein implementing the generative AI agent includes:accessing data from one or more selected files referenced in the agent manifest of the AI agent file;providing the one or more selected files, a generative AI model prompt, and a user query to a generative AI model to generate; andreceiving a user query response from the generative AI model.
7. The computer-implemented method of claim 1, wherein the AI agent builder element is a toolbar element within a directory interface of the cloud computing system.
8. The computer-implemented method of claim 1, wherein the AI agent builder element is a context menu element within a directory interface of the cloud computing system.
9. The computer-implemented method of claim 1, wherein:the AI agent file includes agent appearance information, zero-query messages, and graphic data displayed within the generative AI agent; andthe agent manifest includes an agent name, an agent description, prompt instructions, file identifiers of the selected files, and file locations of the selected files.
10. The computer-implemented method of claim 1, wherein the agent creation interface includes:an agent identity section for modifying an appearance of the generative AI agent;a source section for adding files and directories within the tenant to the AI agent file; andan agent behavior section for modifying operating behaviors of an agent model implemented from the AI agent file.
11. The computer-implemented method of claim 10, wherein the source section includes appearance input fields for modifying the appearance of an AI model generated from the AI agent file; and wherein default values for the appearance input fields are generated based on a context determined from the selected files.
12. The computer-implemented method of claim 11, further comprising generating a set of zero-query messages for the AI model based on the selected files, wherein the set of zero-query messages is provided as default suggested prompts to a user submitting a user query.
13. The computer-implemented method of claim 10, wherein:the agent behavior section includes behavior input fields for modifying behavior of the generative AI agent when generated from the AI agent file; anddefault values for the behavior input fields are generated based on a scope of the selected files and a file type of the selected files.
14. The computer-implemented method of claim 1, wherein:the agent creation interface includes a model function field; andinstructions in the model function field are provided within a system prompt to a generative AI model when the generative AI agent is implemented to generate the user query responses.
15. A system comprising:a processing system; anda computer memory comprising instructions that, when executed by the processing system, cause the system to perform operations of:identifying selected files within a tenant of a cloud computing system;detecting a selection of an AI agent builder element designed to initiate creation of a generative AI agent that is implemented by a host application within an AI pipeline, the generative AI agent generating user query responses based on user queries and the selected files;generating an AI agent file that includes an agent manifest including contextual information of the generative AI agent and reference information of the selected files; andbased on generating the AI agent file, providing an active AI agent that implements a current version of the generative AI agent with respect to the selected files.
16. The system of claim 15, wherein:the selected files are selected based on automatically selecting all files in a current cloud computing system directory without manual selection of the selected files by user input;detecting the selection of the AI agent builder element includes a single selection of the AI agent builder element;the AI agent file is generated based on the selected files in response to detecting the single selection of the AI agent builder element; andproviding the generative AI agent occurs automatically based on the AI agent file being generated and the single selection of the AI agent builder element.
17. The system of claim 16, further comprising:determining content within the selected files, wherein appearance elements of the generative AI agent are automatically generated based on the content within the selected files; anddetermining a scope of the selected files and a file type of the selected files, wherein prompt instructions of the generative AI agent are automatically generated based on the scope of the selected files and the file type of the selected files.
18. The system of claim 15, further comprising additional instructions that, when executed by the processing system, cause the system to perform an operation of:displaying, within an agent creation interface, the generative AI agent to generate a user query response for a user query provided within the agent creation interface;detecting modified content within the AI agent file; andin response to detecting the modified content within the AI agent file, updating the generative AI agent within the agent creation interface in real time to reflect the modified content.
19. A computer-implemented method for generating one or more generative artificial intelligence (AI) agents from one or more secured documents, comprising:identifying selected files within a tenant of a cloud computing system, the selected files being accessible by a user identifier assigned to the tenant;detecting a selection of an AI agent builder element designed to initiate creation of a generative AI agent that is implemented by a host application within an AI pipeline, the generative AI agent generating user query responses based on user queries and the selected files;generating an AI agent file that includes an agent manifest including contextual information of the generative AI agent and reference information of the selected files;displaying, within an agent creation interface, an active AI agent that implements a current version of the generative AI agent with respect to the selected files; andbased on detecting modifications to the AI agent file from input within the agent creation interface, generating an updated AI agent that implements an updated version of the generative AI agent within the agent creation interface.
20. The computer-implemented method of claim 19, wherein the AI agent file, the host application, and the selected files are located within the tenant of the cloud computing system.
