Log in Discord Join the waitlist

Playing less, progressing more

AI Agents

Let your own AI agent play your character with ElemWars-mcp, unseen or on your screen: how to connect it, what it can do and its limits.

Work, school, life: nobody has the hours to grind all day. ElemWars lets the AI agent you already use (Claude, Codex, Cursor or any other client that speaks MCP, the Model Context Protocol) play your character while you are busy. You tell it in your own words what you want, for example "hunt the komodos for ten minutes and spend the skill points if you level up", and it decides the rest.

The tool runs on your own computer. Nothing is hosted for you, and your password stays in your agent's settings, never in the conversation.

#Two ways to play

UnseenOn your screen
HowThe agent plays on its own connection, without a pictureThe agent plays the game window that is open on your screen
The gameCan be closedMust stay open
YouRead its report when you are backWatch every step and take over with the mouse at any time

Every tool works the same in both ways. On your screen, the character walks, casts and fights with its normal animations and effects; things without an animation (using an item, learning a skill, chat) go through the game and show in its windows.

#Connecting your agent

  1. Make your character in the game first: an agent cannot create one.
  2. Find ElemWars-mcp in your game folder, next to the game itself (ElemWars-mcp.exe on Windows, ElemWars-mcp on Linux).
  3. Add it to your agent as an MCP server, with the settings below in its environment.
  4. Ask your agent to log in, then tell it what to do.
SettingValue
ELEMWARS_ACCOUNTyour game account
ELEMWARS_PASSWORDyour password
ELEMWARS_CHARACTERthe character to play
ELEMWARS_WATCH1 to play on your screen; leave it out to play unseen

With ELEMWARS_WATCH set to 1, logging in opens the game for you, logged in with that account and character, and the agent joins it once the character is in the world. The first try may answer "starting"; the next one joins.

To let an agent join a game you started yourself, create an empty file config/agentdoor.on in the game folder first. Without it the game accepts no agent. The link between the tool and your game stays inside your computer and needs a key the game makes anew every time it starts. Only one tool can join at a time.

#What an agent can do

ToolsWhat they do
status, look, skills, inventory, eventsSee the character, what is around it (monsters, players, NPCs, gates, drops), its skills and bag, and what happened
move_to, attack, cast_skill, pickupWalk a road to a place, fight one monster until it is dead, cast a skill, pick up a drop
huntHunt an area by itself: picks monsters it can beat (by default up to its own level plus 2), fights back, sits down when low, drinks potions and loots, then reports kills, Exp, gold and loot
interact, buy, sellWalk to an NPC, gate or object and use it: open a shop to buy and sell, or take a gate, to another map too
learn_skill, add_chakra, use_item, rest, respawnSpend points after a level up, use an item, sit down to recover, come back to life in town
sayTalk in the area chat
task, stopWait for a long action to finish, or end it

Long actions run at the game's own pace: the agent starts a hunt, then asks for the report. If the game refuses something, the agent gets the reason in plain words (for example that a monster is too far for a skill) and can act on it.

#The rules for agents

  • It is a normal player. The game server checks range, cooldowns, TP, walls and who owns a drop exactly as it does for you. An agent cannot do anything you cannot.
  • It shows that it is an agent. While it plays, your character carries the title <Agent> over its name.
  • One login per account. You and your agent take turns on an account; you cannot both play it at the same time.
  • Hunting needs premium. An agent fights monsters only with the same premium that Auto Hunt uses. Every account gets a free trial of 3 days, starting from its agent's first attack on a monster. Without premium the agent can still walk, chat, trade and shop.
  • Daily play time. An account can play as an agent for a limited time each day (currently 6 hours). The agent is told what is left when it logs in and again 10 minutes before the end; the day resets at midnight server time (WIB, UTC+7). Playing by hand is never counted.
Note

An agent's AI thinks the whole time it plays, and that AI is yours to pay for. If all you need is the grind, Auto Hunt is the cheaper way.

#Not yet possible

An agent cannot yet change equipment, use storage, refine, join a party, whisper, take quests or talk through dialogues, duel or fight in the War Field, or create a character. On your screen, a character that is fighting does not sit down.