A computer-implemented method, comprising: communicatively coupling an application programming interface, API, to an agent embedded in a video game, the video game including a plurality of in-game objects that are native to the video game, and the agent being executed as an in-game object of the video game, wherein the in-game object comprises a native object to the video game; executing a test script by a processor, the test script when executed causing the processor to control the agent via the API to induce gameplay and interrogate, during the gameplay, one or more target objects selected from the plurality of in-game objects native to the video game, wherein the test script includes a simple query expression specifying one or more properties of a target object, wherein the test script when executed causes the agent, during the gameplay, to generate a trigger directed to a target object, wherein the test script when executed causes the agent to capture data during gameplay indicating a behavior of one or more other in-game objects in response to the trigger during gameplay, wherein the API is configured to parse the simple query expression to determine the target object based on the specified one or more properties and cause the agent to interrogate the target object, wherein at least a subset of the plurality of in-game objects have multiple instances in the video game, and wherein the API is configured to identify any instance of the target object in the video game based on the specified properties and cause the agent to interrogate one or more of the identified instances; receiving, by the processor, during the gameplay, video game data indicating a behavior of the one or more target objects; and evaluating, by the processor, performance of the video game based on the received video game data. communicatively coupling an application programming interface, API, to an agent embedded in a video game, the video game including a plurality of in-game objects that are native to the video game, and the agent being executed as an in-game object of the video game, wherein the in-game object comprises a native object to the video game; agent embedded in a video game, the video game including a plurality of in-game objects that are native to the video game, and the agent being executed as an in-game object of the video game, wherein the in-game object comprises a native object to the video game; executing a test script by a processor, the test script when executed causing the processor to control the agent via the API to induce gameplay and interrogate, during the gameplay, one or more target objects selected from the plurality of in-game objects native to the video game, wherein the test script includes a simple query expression specifying one or more properties of a target object, wherein the test script when executed causes the agent, during the gameplay, to generate a trigger directed to a target object, wherein the test script when executed causes the agent to capture data during gameplay indicating a behavior of one or more other in-game objects in response to the trigger during gameplay, wherein the API is configured to parse the simple query expression to determine the target object based on the specified one or more properties and cause the agent to interrogate the target object, wherein at least a subset of the plurality of in-game objects have multiple instances in the video game, and wherein the API is configured to identify any instance of the target object in the video game based on the specified properties and cause the agent to interrogate one or more of the identified instances; processor to control the agent via the API to induce gameplay and interrogate, during the gameplay, one or more target objects selected from the plurality of in-game objects native to the video game, wherein the test script includes a simple query expression specifying one or more properties of a target object, wherein the test script when executed causes the agent, during the gameplay, to generate a trigger directed to a target object, wherein the test script when executed causes the agent to capture data during gameplay indicating a behavior of one or more other in-game objects in response to the trigger during gameplay, wherein the API is configured to parse the simple query expression to determine the target object based on the specified one or more properties and cause the agent to interrogate the target object, wherein at least a subset of the plurality of in-game objects have multiple instances in the video game, and wherein the API is configured to identify any instance of the target object in the video game based on the specified properties and cause the agent to interrogate one or more of the identified instances; receiving, by the processor, during the gameplay, video game data indicating a behavior of the one or more target objects; and evaluating, by the processor, performance of the video game based on the received video game data.