The application relates to the technical field of agent execution tracking and verifiable playback, and discloses an agent execution process-oriented causal playback timeline generation method and
system. The
system receives original behavior data generated by an agent runtime, a
finite state machine runtime, a tool call wrapper, an agent general control interface, a scene editing module, a group behavior sequence generation module or an audit management module, converts the original behavior data into standard behavior events, establishes double indexes based on timestamps and collection side serial numbers, and constructs a causal
event tree according to parent event identifiers and associated event identifiers. The
system generates a playbackable timeline frame in combination with a
finite state machine state sequence, a role behavior sequence, a group behavior sequence, a behavior state snapshot and a scene
layout version, and generates an audit evidence
package based on event hash, previous event hash, snapshot hash, frame hash and scene
layout hash, so as to improve playback sequence determinacy and consistency checking capability in an asynchronous execution scene.