<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.sasgaming.net/index.php?action=history&amp;feed=atom&amp;title=Minecraft%3AAgent</id>
	<title>Minecraft:Agent - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.sasgaming.net/index.php?action=history&amp;feed=atom&amp;title=Minecraft%3AAgent"/>
	<link rel="alternate" type="text/html" href="https://wiki.sasgaming.net/index.php?title=Minecraft:Agent&amp;action=history"/>
	<updated>2026-04-09T06:16:16Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki.sasgaming.net/index.php?title=Minecraft:Agent&amp;diff=47295&amp;oldid=prev</id>
		<title>imported&gt;Realshow19: /* In other media */</title>
		<link rel="alternate" type="text/html" href="https://wiki.sasgaming.net/index.php?title=Minecraft:Agent&amp;diff=47295&amp;oldid=prev"/>
		<updated>2026-04-02T02:11:49Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;In other media&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Exclusive|Bedrock|Education}}{{Infobox entity&lt;br /&gt;
| image = Agent.png&lt;br /&gt;
| addedVersion = v0.16.0 alpha build 1&lt;br /&gt;
| addedDate = August 29, 2016&lt;br /&gt;
| imagesize = 100px&lt;br /&gt;
| invimage = Agent Spawn Egg&lt;br /&gt;
| health = ∞&lt;br /&gt;
| behavior = Passive&lt;br /&gt;
| damage = {{hp|5}}&lt;br /&gt;
| size = Height: 0.93 blocks&amp;lt;br&amp;gt;Width: 0.6 blocks&lt;br /&gt;
| spawn = See [[#Usage|Usage]]&lt;br /&gt;
}}&lt;br /&gt;
An &amp;#039;&amp;#039;&amp;#039;agent&amp;#039;&amp;#039;&amp;#039; is a mob that helps [[Minecraft:player]]s learn coding, by getting a player to code the actions on one. Agents can be programmed to execute several tasks, like planting and harvesting, mining, chopping trees, and building. It is only available in {{el|ee}} and {{BE}} worlds connected to a WebSocket server.  &lt;br /&gt;
&lt;br /&gt;
== Spawning ==&lt;br /&gt;
&lt;br /&gt;
In a &amp;#039;&amp;#039;Bedrock Edition&amp;#039;&amp;#039; world not connected to a WebSocket server, agents are [[Minecraft:Bedrock Edition unused features|unused]] and thus have no AI unless spawned by putting the command {{cmd|execute as @p run agent create}} into an [[Minecraft:NPC]], but can still store items given to them by a player in its inventory. Agents can also teleport between dimensions with the player. &lt;br /&gt;
&lt;br /&gt;
Agents can be spawned with its spawn egg, obtainable with {{cmd|give @s spawn_egg 1 56}}. However, they do not spawn when spawned with the spawn egg.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
In &amp;#039;&amp;#039;Minecraft Education&amp;#039;&amp;#039;, agents are used in conjunction with [[Minecraft:Code Connection]], and are programmable by a {{w|visual programming language}}.&lt;br /&gt;
&lt;br /&gt;
In the &amp;#039;&amp;#039;Education&amp;#039;&amp;#039; and &amp;#039;&amp;#039;Bedrock Editions&amp;#039;&amp;#039;, agents can be used in conjunction with WebSocket servers. &lt;br /&gt;
&lt;br /&gt;
Agents carry their own 27-slot [[Minecraft:inventory]], which can be manipulated by [[Minecraft:commands]] that the [[Minecraft:player]] programs one to use, or edited directly by a GUI that the player can access in-game, in any dimension.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
[[File:Agent Flying.png|thumb|An agent in a [[dripstone cave]]]]&lt;br /&gt;
Agents are completely invulnerable to all forms of [[Minecraft:damage]], although they are targeted by [[Minecraft:zoglin]]s and [[Minecraft:warden]]s. Agents pass through blocks, vehicles, and [[Minecraft:projectile]]s, thus making them unable to ride a [[Minecraft:minecart]] or [[Minecraft:boat]]. Agents cannot be [[Minecraft:Lead|leashed]].&lt;br /&gt;
&lt;br /&gt;
Agents can push pressure plates and {{control|use}} [[Minecraft:door]]s, [[Minecraft:button]]s, [[Minecraft:lever]]s, and [[Minecraft:fence gate]]s. They can {{control|destroy}} some blocks that are indestructible in [[Minecraft:Survival]] mode, such as [[Minecraft:bedrock]] and [[Minecraft:command block]], except for [[Minecraft:allow and deny]] blocks.&lt;br /&gt;
&lt;br /&gt;
=== Agent commands ===&lt;br /&gt;
{{main|Commands/agent}}&lt;br /&gt;
* &amp;lt;code&amp;gt;attack &amp;amp;lt;direction&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;destroy &amp;amp;lt;direction&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;drop &amp;amp;lt;int:slotNum&amp;amp;gt; &amp;amp;lt;int:quantity&amp;amp;gt; &amp;amp;lt;direction&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;drop all &amp;amp;lt;direction&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;move &amp;amp;lt;direction&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;turn &amp;amp;lt;turnDirection&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;inspect &amp;amp;lt;direction&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;inspect data &amp;amp;lt;direction&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;detect &amp;amp;lt;direction&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;detectredstone &amp;amp;lt;direction&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;transfer &amp;amp;lt;int:srcSlotNum&amp;amp;gt; &amp;amp;lt;int:quantity&amp;amp;gt; &amp;amp;lt;int:dstSlotNum&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;create agent&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;remove agent&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;teleport to player&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;teleport to location facing direction&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;collect &amp;amp;lt;string:item&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;till &amp;amp;lt;direction&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;place &amp;amp;lt;int:slotNum&amp;amp;gt; &amp;amp;lt;direction&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;place on move&amp;amp;lt;int:slotNum&amp;amp;gt; &amp;amp;lt;true/false&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;get item count &amp;amp;lt;int:slotNum&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;get item space &amp;amp;lt;int:slotNum&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;get item detail &amp;amp;lt;int:slotNum&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;amp;lt;direction&amp;amp;gt;&amp;lt;/code&amp;gt; refers to &amp;lt;code&amp;gt;forward|back|left|right|up|down&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;amp;lt;turnDirection&amp;amp;gt;&amp;lt;/code&amp;gt; refers to &amp;lt;code&amp;gt;left|right&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Sounds ==&lt;br /&gt;
{{SoundTable&lt;br /&gt;
| type = bedrock&lt;br /&gt;
| {{SoundLine&lt;br /&gt;
| sound =Anvil land.ogg&lt;br /&gt;
|source=neutral&lt;br /&gt;
| description = When an agent is spawned&lt;br /&gt;
| id = mob.agent.spawn&lt;br /&gt;
|translationkey=subtitles.block.generic.place&lt;br /&gt;
|subtitle=Block placed&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Data values ==&lt;br /&gt;
=== ID ===&lt;br /&gt;
{{ID table&lt;br /&gt;
|edition=bedrock&lt;br /&gt;
|shownumericids=y&lt;br /&gt;
|generatetranslationkeys=y&lt;br /&gt;
|displayname=Agent&lt;br /&gt;
|spritetype=entity&lt;br /&gt;
|nameid=agent&lt;br /&gt;
|id=56&lt;br /&gt;
|foot=1}}&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
=== &amp;#039;&amp;#039;Bedrock Edition&amp;#039;&amp;#039; ===&lt;br /&gt;
{{HistoryTable|{{HistoryLine|pocket alpha}}|{{HistoryLine||v0.16.0|dev=build 1|[[File:Agent.png|32px]] Added agents.}}|{{HistoryLine|||dev=build 2|Removed agents.}}|{{HistoryLine|pocket}}|{{HistoryLine||1.0.0|dev=alpha 0.17.0.1|Agents have been re-added, hidden in a(n) &amp;lt;code&amp;gt;.apk&amp;lt;/code&amp;gt; file.}}|{{HistoryLine|bedrock}}|{{HistoryLine||1.8.0|dev=beta 1.8.0.8|Added agent [[Minecraft:spawn egg]] texture file.}}|{{HistoryLine||1.9.0|dev=beta 1.9.0.0|Agents can now be spawned by putting the command &amp;lt;code&amp;gt;execute @p ~ ~ ~ agent create&amp;lt;/code&amp;gt; into an NPC. }}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== &amp;#039;&amp;#039;Minecraft Education&amp;#039;&amp;#039; ===&lt;br /&gt;
{{HistoryTable|{{HistoryLine|education}}|{{HistoryLine||1.0.1|[[File:Agent.png|32px]] Added learn to code mascot.}}|{{HistoryLine||1.0.2|The entity ID has been changed from &amp;lt;code&amp;gt;learn_to_code_mascot&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;agent&amp;lt;/code&amp;gt;.}}|{{HistoryLine||1.4.0|The default name tag color for agents has been changed to blue.}}|{{HistoryLine||1.7|Agents can now be removed through {{cmd|remove}}.&lt;br /&gt;
|[[Minecraft:Player]]s now can show their agent&amp;#039;s coordinates on the [[Minecraft:HUD]].&lt;br /&gt;
|{{cmd|summon agent}} now creates or teleports the executor&amp;#039;s agent to the executor.&lt;br /&gt;
|Added spawn eggs for agents.}}|{{HistoryLine||1.20.12|dev=1.20.10.0|Agents now have no range restrictions, it can move and build far away from the player.&lt;br /&gt;
|Agents now have an animation for unsuccessful actions.&lt;br /&gt;
|Agents now choose which item to detect or interact with in a “line of sight” in the direction the code specified, up to 1 block away.}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Issues ==&lt;br /&gt;
{{issue list|projects=mcpe}}&lt;br /&gt;
&lt;br /&gt;
== Trivia ==&lt;br /&gt;
*In [[Minecraft:10 Years of Minecraft]], there is a puzzle in the &amp;quot;Library&amp;quot; area that involves controlling an agent with [[Minecraft:glazed terracotta]]. On the {{BE}} version of the map, the agent is added in as a new mob, while on {{JE}}, it is an [[Minecraft:armor stand]] with remodeled [[Minecraft:infested chiseled stone bricks]] on its head.&lt;br /&gt;
*The agent addition in &amp;#039;&amp;#039;Pocket Edition&amp;#039;&amp;#039; was likely accidental due to &amp;#039;&amp;#039;Pocket Edition&amp;#039;&amp;#039; sharing the same codebase as &amp;#039;&amp;#039;Minecraft Education&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
== Gallery ==&lt;br /&gt;
=== Textures ===&lt;br /&gt;
&amp;lt;gallery class=&amp;quot;pixel-image&amp;quot;&amp;gt;&lt;br /&gt;
Agent (texture).png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Screenshots ===&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:Agent - 1.png|An agent.&lt;br /&gt;
File:Some passive mobs.png|An agent with other passive mobs.&lt;br /&gt;
File:Education Edition mobs.png|An agent alongside a [[Minecraft:NPC]] and [[Minecraft:camera]] in a tutorial world.&lt;br /&gt;
File:Time agent1.png|Red-eyed version of Agent in [[Minecraft:hour of code]] 2021&lt;br /&gt;
File:Time agent2.png|Yellow-eyed version of Agent in [[Minecraft:hour of code]] 2021&lt;br /&gt;
File:Time agent0.png|Green-eyed version of Agent in [[Minecraft:hour of code]] 2021&lt;br /&gt;
File:Time agent3.png|Blue-eyed version of Agent in [[Minecraft:hour of code]] 2021&lt;br /&gt;
File:Time agent4.png|Pink-eyed version of Agent in [[Minecraft:hour of code]] 2021&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== In other media ===&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:Code Builder Update.png|An agent in an official render.&lt;br /&gt;
File:Code Builder Update agent cutout.png|Ditto but cut-out&lt;br /&gt;
File:Efe, Noor, and Agent.png|An agent with [[Minecraft:Efe]] and [[Minecraft:Noor]]&lt;br /&gt;
File:Learn to Code Update.png|An agent in promotional artwork for the [[Minecraft:Learn to Code Update|&amp;#039;&amp;#039;Learn to Code Update&amp;#039;&amp;#039;]].&lt;br /&gt;
File:GOAT Update.jpg|An agent in promotional artwork for the [[Minecraft:GOAT Update|&amp;#039;&amp;#039;GOAT Update&amp;#039;&amp;#039;]].&lt;br /&gt;
File:Mobile, Multiplayer &amp;amp; More.png|An agent in promotional artwork for [[Minecraft:Mobile, Multiplayer &amp;amp; More|&amp;#039;&amp;#039;Mobile, Multiplayer &amp;amp; More&amp;#039;&amp;#039;]].&lt;br /&gt;
File:Redstone IRL.jpg|An agent building [[Minecraft:redstone]] contraptions with children.&lt;br /&gt;
File:Agent&amp;#039;s laptop.jpg|An agent touching a laptop showing the loading screen of [[Minecraft:Minecraft Education|&amp;#039;&amp;#039;Minecraft Education&amp;#039;&amp;#039;]].&lt;br /&gt;
File:Agent&amp;#039;s helix.jpeg&lt;br /&gt;
File:Education Poster.png|An agent in promotional artwork.&lt;br /&gt;
File:InspirationIsland screenshot 0.jpg|Half a statue of an agent in the &amp;#039;&amp;#039;Mirror&amp;#039;&amp;#039; section of [[Minecraft:Inspiration Island|&amp;#039;&amp;#039;Inspiration Island&amp;#039;&amp;#039;]]. The player is required to build the other half.&lt;br /&gt;
File:Nitwit Ravager Agent.jpeg|An agent with a [[Minecraft:nitwit]] picking [[Minecraft:apples]] with a [[Minecraft:ravager]].  &lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
*{{Citation|url=https://education.minecraft.net/en-us/lessons/build-with-the-agent|title=Build with the agent|author=[https://education.minecraft.net/user/minecraft-strandstrand-kommune-no Tor E. Enne]|website=Minecraft Education|date=February 24, 2022}}&lt;br /&gt;
&lt;br /&gt;
== Navigation ==&lt;br /&gt;
{{Navbox entities|mobs}}&lt;br /&gt;
{{Navbox Education|exclusive}}{{featured}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Passive mobs]]&lt;br /&gt;
[[Category:Flying mobs]]&lt;br /&gt;
[[Category:Minecraft Education mobs]]&lt;br /&gt;
&lt;br /&gt;
[[Minecraft:de:Agent]]&lt;br /&gt;
[[Minecraft:es:Agente]]&lt;br /&gt;
[[Minecraft:fr:Agent]]&lt;br /&gt;
[[Minecraft:ja:エージェント]]&lt;br /&gt;
[[Minecraft:ko:에이전트]]&lt;br /&gt;
[[Minecraft:pl:Agent]]&lt;br /&gt;
[[Minecraft:pt:Agente]]&lt;br /&gt;
[[Minecraft:ru:Агент]]&lt;br /&gt;
[[Minecraft:th:เอเจนต์]]&lt;br /&gt;
[[Minecraft:zh:智能体]]&lt;/div&gt;</summary>
		<author><name>imported&gt;Realshow19</name></author>
	</entry>
</feed>