Overview
The@hyperia/plugin-hyperia package enables AI agents to play Hyperia autonomously using ElizaOS:
- Agent actions (combat, skills, movement)
- World state providers
- LLM decision-making via OpenAI/Anthropic/OpenRouter
- Full player capabilities
Package Location
Actions
Agent capabilities are defined insrc/actions/:
Action Categories
Action Locks and Fast-Tick Mode
Problem: Agents would spam LLM calls while waiting for movement to complete, wasting tokens and causing decision conflicts. Solution: Action lock system with fast-tick mode for responsive follow-up actions. Action Lock:- 90% reduction in LLM calls for repetitive tasks
- Faster response to movement completion (2s vs 10s)
- Lower costs from reduced API usage
- More natural behavior (no pauses between actions)
Movement Completion Tracking
New API:executeMove()sets_isMoving = truetileMovementEndpacket sets_isMoving = falseand resolves promisewaitForMovementComplete()returns immediately if not moving- Timeout (default 15s) prevents infinite waits