The invention discloses an agent application-oriented resource sharing method, and relates to the field of
cloud computing. The scheme comprises offline and online two-stage
processing: in the offline stage, constructing an agent dependency conflict graph, dividing a core and other agent sets and grouping, and determining candidate execution nodes through a convergence hash
algorithm; in the online stage, a global scheduler selects a target node according to grouping information and node real-time loads, a local scheduler schedules a calculation sandbox to execute
local logic, a communication sandbox calls a large
language model, and a capacity sandbox is dynamically expanded and shrunk based on a preset strategy. The
system correspondingly comprises an offline
processing module, a global scheduler, a local scheduler and two types of sandboxes. Through calculation and communication decoupling, off-line grouping, double-layer scheduling and security isolation mechanisms, the problems of
low resource utilization rate, high operation cost, insufficient concurrent
bearing capacity and the like in the prior art are solved, and the resource
reuse rate, the
system stability and the
throughput capacity are remarkably improved.