GameplayEducation

/agent

Commands the programmable Agent robot in Minecraft Education: move, turn, place and collect blocks, attack, detect, and more. Normally driven through Code Builder (MakeCode/Python), but each action is also a chat command. Education Edition only.

Syntax

Parameters

action
literal
move, turn, attack, destroy, collect, place, detect, etc.
directionoptional
literal
forward, back, left, right, up, down (for move/place).

Examples

  • Move the agent one block forward.

  • Have the agent collect nearby dirt.

Permission level

/agent requires All players.