Minecraft wiki entry for Agent, associated text: In a Bedrock Edition world not connected to a WebSocket server, it is unused and thus has no AI, but can still store items given to it by the player in its inventory. It can also teleport between dimensions with the player. It can be spawned with its spawn egg, obtainable with /give @s spawn_egg 1 56 .