Use the ZapX AI Agent to manage your Factorio server by chatting with it. Describe what you want, such as “Create a new world with the rich-resources preset, but keep the old one” or “Why does the server shut down after I upload my mods?” The agent reads the console, logs, and files, finds the cause, and prepares the right changes. It always asks for your approval before changing anything on your server.
This guide explains what the agent can do on your Factorio server, how approvals work, and what its limitations are.
- ZapX Pass: The ZapX AI Agent is included with every ZapX Pass tier, starting with Plus.
- AI allowance: Each tier includes a monthly AI allowance. You can see how much you’ve used in the chat, next to the input field. Once it’s used up, your allowance is renewed automatically on the renewal date.
- Shared server: If someone has shared their server with you, the owner can also give you access to the agent. It will then use their ZapX Pass.
Open your Factorio server in the web interface and click ZapX AI Agent in the sidebar. The chat already knows which server you’re using, so you don’t need to explain anything. Just describe what you need in your own words.
The agent distinguishes between reading and making changes:
- Reading (viewing the console, logs, files, settings, and backups) happens immediately, without asking you first.
- Making changes (setting startup parameters, renaming files, sending commands, or restarting the server) is only prepared by the agent. You’ll see a card that shows exactly what will happen. The changes are only applied after you click Confirm. Click Reject to discard the proposal.
The agent groups several related steps—for example, stopping the server, renaming world.zip, and starting the server again—on a single card. The steps then run one after another.
At the bottom of the chat, you’ll find the Automatically apply file changes toggle. When it’s enabled, the agent edits files in this chat without showing you a card, but you can undo each change using Undo. You’ll still need to approve settings changes, deletions, commands, restarts, and updates yourself.
If your server won’t start, shuts down after starting, or doesn’t appear in the server list, tell the agent what’s happening. It reads the console and logs, checks CPU and RAM usage over time, and can run a server diagnosis that checks the status, logs, configuration, and processes in about 20 seconds. If the server shuts down after you upload mods, it’s usually because a mod isn’t compatible with your server version. The agent looks for the related error message in the console. Learn more about common causes: Factorio: Common Issues.
The agent can start, stop, or restart your server after you approve the action. You can also ask it to create schedules, such as a daily restart in your time zone or a schedule that regularly sends /shout with your text to the console. This lets your server, for example, remind players about your Discord every hour. Learn more: Factorio: Automated Server Messages.
Every time your server starts, it rewrites server-settings.json in the config folder based on the startup parameters in the Configuration tab. That’s why the agent changes the startup parameters instead of editing the file. The server will restart once while the changes are applied. For example, the agent can set:
- Server name, server description, and server password
- The player limit, from
1to250 - The autosave interval in minutes and the number of autosaves
- Who can use console commands in-game; the default is
admins-only
Factorio requires a factorio.com account to list your server publicly. Enter your username and token in the Configuration tab. Without them, your players can connect directly using the IP address and port. Learn more: Factorio: Server Configuration.
Your server always starts the save file world.zip in the saves folder. The map preset, such as rich-resources or death-world, and Space Age only take effect when your server creates a new world. If you want to start over, the agent sets the two startup parameters, stops the server, and renames the old world.zip—for example, to world-old.zip. The next time the server starts, it creates a new world with your settings, while keeping the old one. To use your own save file, the agent places it in the saves folder as world.zip. You can also download and upload save files in the Savegames tab. See Factorio: Manage Savegames.
Admins are listed as factorio.com usernames in server-adminlist.json in the config folder, for example ["YourName", "PlayerName"]. The agent adds names using a card. Your server loads the list at startup, so it stops the server first and starts it again afterward. If you want to restrict access to a specific group, the agent enables the Enable whitelist startup parameter. Only then will whitelist entries in server-whitelist.json remain in place after a restart. Learn more: Factorio: Become an Admin.
After you approve them, the agent sends commands such as /promote YourName, /whitelist add PlayerName, or /shout Restarting in 5 minutes to your server’s console. The card then shows the output from the next five seconds. Make sure to include the slash at the beginning: Factorio treats text without / as a regular chat message.
According to the Factorio Wiki, every Lua command, such as /c, permanently disables achievements for that save file. So consider carefully whether you really need to use these commands.
Mods are stored as .zip files in the mods folder. Which ones are active is listed in mods/mod-list.json. Upload mods in the Files tab or give the agent a direct download link. It stops the server first, because changes to mods made while the server is running will be lost. If you’ve uploaded a save file with mods from your PC, you can ask the agent to enable Sync mods with save. Your server will then activate the exact mods used to save world.zip before every startup. Mods aren’t downloaded as part of this process; they must already be in the mods folder. Learn more: Factorio: Install Mods/DLCs.
If an update is available for your server, the agent queues it up for approval on a card. Afterward, check that your mods are compatible with the new version.
The agent can search, read, and edit files; download files from a direct link; view archives without extracting them; extract .zip and .tar files (up to 500 MB); and create .zip files from folders. It can show your SFTP credentials without the password, reset your SFTP password, and fix file permissions when files are read-only.
The agent can create and restore backups, delete old ones, or prepare one for download. A backup always includes the entire server, including save files in the saves folder. It’s a good idea to create a fresh backup before creating a new world or making major mod changes.
If your server has its own IP address (add-on) and it is on a blocklist, for example with some routers from US providers, the agent swaps it for a clean IP via a card. The ports stay the same, and the server is offline for about a minute. This is possible at most once every 30 days and only for the owner of the server. Without its own IP, your server shares the host’s address, so the agent has nothing to swap. You can book your own IP as an add-on.
- It can’t change the map preset or Space Age for an existing world. Factorio saves both when the world is created, so you’ll need a new world.
- Your server resets the automatic pause when no players are online, the AFK kick, and account verification at every startup. The agent can’t change these values permanently either.
- It never shows SFTP passwords in the chat, and you don’t need to send it one.
- It can download
.rarand.7zarchives, but it can’t extract them. - It can’t open additional ports.
- “Make YourName an admin.”
- “Enable the whitelist and add PlayerName.”
- “Create a new world with the death-world preset and keep the old world.zip.”
- “I uploaded a save file with mods. Activate the matching mods.”
- “Set the autosave interval to 5 minutes.”
- “Send our Discord link using /shout every hour.”
If you contact us through support chat, Zappy can help with the same tools once your ticket is linked to the server. You can read logs, run diagnostics, restart the server, and fix file permissions there without a ZapX Pass. You’ll need a ZapX Pass to make changes to files, settings, commands, and backups.
You now know what the ZapX AI Agent can do on your Factorio server and how to approve each change yourself. For an overview of all the sections in the panel, see Factorio: Dashboard Overview. If you have any other questions, our support team is here to help every day! 🙂
