/Patent Tracker
MicrosoftPatent applicationAI & softwareInterest 6/10

Microsoft patents AI tool to help update old computer code

Patent drawing
Patent drawing from the official filing.

Microsoft describes a method that uses a large language model to create a structured map of a software program's components and how they connect. This map is turned into a searchable index, allowing the AI to answer questions about the code to assist in updating it.

Why it mattersIt could make it easier for developers to upgrade legacy software by giving AI tools a better understanding of complex code structures.

In the filing’s own words

Methods, apparatuses, and products for leveraging a large language model (‘LLM’) for modernizing a codebase, including: generating, using a codebase as input, a hierarchical representation of the codebase, wherein the hierarchical representation of the codebase includes one or more summarizations of functional units within the codebase and information describing relationships between the functional units within the codebase; and generating a searchable index that includes vector representations for nodes in the hierarchical representation of the codebase, wherein the LLM generates a response to a query based on content contained in the searchable index.

What exactly they claim (claim 1)

1. A method of leveraging a large language model (‘LLM’) for modernizing a codebase, comprising: generating, using a codebase as input, a hierarchical representation of the codebase, wherein the hierarchical representation of the codebase includes one or more summarizations of functional units within the codebase and information describing relationships between the functional units within the codebase; and generating a searchable index that includes vector representations for nodes in the hierarchical representation of the codebase, wherein the LLM generates a response to a query based on content contained in the searchable index.

Facts

Company
Microsoft (Microsoft Technology Licensing, LLC)
Official title
LEVERAGING A LARGE LANGUAGE MODEL FOR MODERNIZING A CODEBASE
Publication number
US20260299940A1
Application number
19094656
Filed
Mar 28, 2025
Published
Oct 1, 2026
Inventors
8
Claims
20

Classified under

G06F 8/75 Physics & computingG06F 8/73 Physics & computing

More from Microsoft in AI & software

Summaries are simplified from the filing’s own abstract and first claim. A patent filing is not a product announcement.
Patent data and drawings: U.S. Patent and Trademark Office (USPTO). Nebula is not affiliated with or endorsed by the USPTO.