Agent Actions Reference
This page documents all 24 actions available to ElizaOS agents in Hyperscape. Actions are the executable commands that agents use to interact with the game world.Actions are defined in
packages/plugin-hyperscape/src/actions/.Action Categories
Movement
6 actions for navigation
Combat
3 actions for fighting
Skills
4 actions for gathering/crafting
Inventory
3 actions for item management
Social
1 action for communication
Banking
3 actions for storage
Goals
2 actions for planning
Questing
2 actions for quests
Movement Actions
moveTo
Move to specific coordinates.
followEntity
Follow another player or NPC.
stopMovement
Stop all movement.
explore
Explore the surrounding area.
approachEntity
Move closer to an entity for interaction.
navigateTo
Navigate to a named location.
Combat Actions
attackEntity
Attack a target entity.
changeCombatStyle
Change combat style for XP distribution.
flee
Escape from combat.
Skill Actions
chopTree
Chop a tree for logs. Automatically walks to tree if within 40m approach range.
lumberjacks_first_lesson from Forester Wilma (grants Bronze Hatchet + Tinderbox immediately)
mineRock
Mine a rock for ore. Automatically walks to rock if within 40m approach range.
torvins_tools from Torvin (grants Bronze Pickaxe + Hammer immediately)
catchFish
Catch fish at a fishing spot. Automatically walks to spot if within 40m approach range.
fresh_catch from Fisherman Pete (grants Small Fishing Net immediately)
lightFire
Light logs to create a fire.
cookFood
Cook raw food on a fire.
Inventory Actions
equipItem
Equip an item from inventory.
useItem
Use a consumable item.
dropItem
Drop an item on the ground.
Social Actions
chatMessage
Send a chat message.
Banking Actions
bankDeposit
Deposit specific items into bank. Automatically walks to nearest bank if not already there.
- Finds nearest bank entity or station
- Walks to bank if distance > 5 units (awaits movement completion)
- Opens bank session (
bankOpenpacket) - Deposits specified item (
bankDepositpacket) - Closes bank session (
bankClosepacket)
bankWithdraw
Withdraw items from bank. Automatically walks to nearest bank if not already there.
- Finds nearest bank entity or station
- Walks to bank if distance > 5 units (awaits movement completion)
- Opens bank session (
bankOpenpacket) - Withdraws specified item (
bankWithdrawpacket) - Closes bank session (
bankClosepacket)
bankDepositAll
Deposit all non-essential items at the bank. Keeps essential tools (axe, pickaxe, tinderbox, fishing net). Automatically walks to nearest bank and awaits movement completion.
- Finds nearest bank entity or station from nearby entities or world map
- Walks to bank if distance > 5 units (awaits movement completion)
- Opens bank session (
bankOpenpacket) - Deposits ALL items (
bankDepositAllpacket) - Withdraws back essential tools one by one (
bankWithdrawpackets) - Closes bank session (
bankClosepacket)
- Bronze/Iron/Steel/Mithril Hatchet
- Bronze/Iron/Steel/Mithril Pickaxe
- Tinderbox
- Small Fishing Net
- Agents automatically bank when inventory reaches 25/28 slots
- Banking goal has high priority (triggers before gathering goals)
- After banking, agent restores previous goal (e.g., woodcutting)
- Movement is awaited (no early return) to ensure agent reaches bank
bankAction packet was broken. The new protocol uses proper packet sequence:
This action replaced the old
LOOT_STARTER_CHEST action as part of the quest-driven progression system (commit 593cd56b, Feb 26 2026).- Action locks prevent LLM ticks while movement is in progress (commit 60a03f49)
- Fast-tick mode (2s) for quick follow-up after movement/goal changes
- Short-circuit LLM for obvious decisions (repeat resource, banking, set goal)
- Banking goal type with auto-restore of previous goal after deposit
- Await movement completion instead of returning early (ensures agent reaches bank)
Questing Actions
acceptQuest
Accept a quest from an NPC. Quest items are granted immediately on accept.
lumberjacks_first_lesson→ Bronze Hatchet + Tinderbox (from Forester Wilma)fresh_catch→ Small Fishing Net (from Fisherman Pete)torvins_tools→ Bronze Pickaxe + Hammer (from Torvin)
Quest-based tool acquisition replaced the old starter chest system (commit 593cd56b). Agents now get tools by talking to NPCs and accepting quests.
completeQuest
Complete a quest and claim rewards.
Goal Actions
setGoal
Set a new goal for the agent.
- “Reach level 10 Woodcutting”
- “Collect 100 logs”
- “Kill 50 goblins”
- “Earn 10,000 coins”
questing- Accept quests to get toolsbanking- Deposit items when inventory full
idle
Wait without taking action.
Action Execution
Actions are executed through the HyperscapeService:Action Selection
The LLM selects actions based on:- Providers - Current game state context
- Evaluators - Assessment of opportunities
- Goals - Current objectives
- Available Actions - Context-aware action list