Multi-agentic hardware code reviewer
AssigneeMicrosoft Technology Licensing, LLC
InventorPadma Priya Sankar
Life of this patent
Estimating the term…
Abstract
A computing system receives computer-readable hardware code. A pull request is received that indicates the purpose of the hardware code or updates made to the hardware code. An artificial intelligence (AI) planner agent is invoked that is configured to interact with a plurality of AI review agents that are each trained to: parse the hardware code; analyze the hardware code with respect to the pull request and an attribute; and generate updates to the hardware code in accordance with criteria for meeting the attribute.
Claims20
A method of analyzing computer-readable hardware code, the method comprising:
- receiving computer-readable hardware code, that, when compiled, generates computer executable instructions that when executed by a computing system, perform operations to be performed by the computing system, the computer-readable hardware code conforming to a programming language;
- receiving a pull request indicating a purpose of changes to the hardware code or updates made to the hardware code;
- invoking an artificial intelligence (AI) planner agent configured to interact with a plurality of AI review agents that are each trained to:
- parse the hardware code;
- analyze the hardware code with respect to the pull request and an attribute;
- and
- generate updates to the hardware code in accordance with criteria for meeting the attribute;
- dynamically generating a plan for analyzing the hardware code;
- based on the plan, accessing prompts for input to the AI review agents, wherein the prompts are usable to cause the AI review agents to analyze content of the hardware code and generate the updates to the hardware code in accordance with the criteria for meeting the attribute;
- inputting the prompts to the AI review agents;
- receiving, by the AI planner agent, the AI-generated updates from the AI review agents;
- rendering the AI-generated updates on an interface for presentation to a user;
- receiving, via the interface, inputs from the user;
- and
- based on the inputs from the user, generating and inputting, by the AI planner agent, additional prompts to the AI review agents.
A computing system, comprising:
- a processor;
- and
- a computer-readable storage medium having computer-executable instructions stored thereupon which, when executed by the processor, cause the computing system to perform operations comprising:
- receiving computer-readable hardware code, that, when compiled, generates computer executable instructions that when executed by a computer, perform operations to be performed by the computer, the computer-readable hardware code conforming to a programming language;
- receiving a pull request indicating a purpose of changes to the hardware code or updates made to the hardware code;
- invoking an artificial intelligence (AI) planner agent configured to interact with a plurality of AI review agents that are each trained to:
- parse the hardware code;
- analyze the hardware code with respect to the pull request and an attribute;
- and
- generate updates to the hardware code in accordance with criteria for meeting the attribute;
- dynamically generating a plan for analyzing the hardware code;
- based on the plan, accessing prompts for input to the AI review agents, wherein the prompts are usable to cause the AI review agents to analyze content of the hardware code and generate updates to the hardware code in accordance with the criteria for meeting the attribute;
- inputting the prompts to the AI review agents;
- receiving, by the AI planner agent, the AI-generated updates from the AI review agents;
- and
- using the AI-generated updates to generate recommendations for improving the hardware code.
A computer-readable storage medium having computer-executable instructions stored thereupon which, when executed by a processor of a computing system, cause the computing system to perform operations comprising:
- receiving computer-readable hardware code, that, when compiled, generates computer executable instructions that when executed by a computer, perform operations to be performed by the computer, the computer-readable hardware code conforming to a programming language;
- receiving a pull request indicating a purpose of changes to the hardware code or updates made to the hardware code;
- invoking an artificial intelligence (AI) planner agent configured to interact with a plurality of AI review agents that are each trained to:
- parse the hardware code;
- analyze the hardware code with respect to the pull request and an attribute;
- and
- generate updates to the hardware code in accordance with criteria for meeting the attribute;
- dynamically generating a plan for analyzing the hardware code;
- based on the plan, accessing prompts for input to the AI review agents, wherein the prompts are usable to cause the AI review agents to analyze content of the hardware code and generate updates to the hardware code in accordance with the criteria for meeting the attribute;
- inputting the prompts to the AI review agents;
- receiving, by the AI planner agent, the AI-generated updates from the AI review agents;
- rendering the AI-generated updates on an interface for presentation to a user;
- receiving, via the interface, inputs from the user;
- and
- based on the inputs from the user, generating and inputting, by the AI planner agent, additional prompts to the AI review agents.
Dependencies are inferred from the claim text.