Agent

In Education Edition and worlds connected to a WebSocket server, the agent is a mob that helps players learn coding, by getting players to code the actions on it. The agent can be programmed to execute several tasks, like planting and harvesting, mining, chopping trees, and building.

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.

Usage
In Education Edition, the agent is used in conjunction with Code Connection for Minecraft / Code Builder, and is programmable by a.

In Education and Bedrock Editions, the agent can be used in conjunction with WebSocket servers.

The agent carries its own 27-item inventory, which can be manipulated by commands that the player programs it to use, or edited directly by a GUI that the player can access in-game, in any dimension.

The visual interface allows the player to drag and drop commands, structural constructs and other components into a sequence, and associate the sequence with a custom-named slash command, which can be executed in the traditional way, from the console.

The agent can push pressure plates, but cannot interact with buttons, levers or other right-click mechanisms like doors and gates.

Agent commands


refers to

refers to

Trivia

 * The agent is seen in the official image of.
 * The agent is the only mob exclusive to . also contains resources for the mob, however, the mob is unusable, and invisible in game. By installing Code Connection, it is possible to use in  on Windows.
 * On the free 10th-anniversary map that @BlockworksYT released, there is a puzzle in the "Library" area that involves controlling the Agent with glazed terracotta. On the Bedrock version of the map, the agent is added in as a new mob, while on Java, it is an armor stand with remodeled infested chiseled stone bricks on its head.
 * The agent spawn egg can be obtained with . However, when spawned via the spawn egg it is completely invisible.
 * The agent can summon in  by press "C"

Gallery
Agent Agent エージェント Agent Agente Агент 智能体