With the ZapX AI Agent, you can manage your s&box server via chat. Just describe what you want, for example, “Set the server to the facepunch.flatgrass map” or “Why is the wrong game starting?” The agent reads the console, logs, and files to find the cause and prepare the necessary changes. It always asks you first before changing anything on your server.
This guide explains what the agent can do on your s&box server, how confirmation works, and what its limitations are.
- ZapX Pass: The ZapX AI Agent is included with every tier of the ZapX Pass, starting with Plus.
- AI allowance: Each tier comes with 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, access resumes automatically on the renewal date.
- Shared server: If someone has shared their server with you, the owner can also grant you access to the agent. It will then use their ZapX Pass.
Open your s&box server in the web interface and click ZapX AI Agent in the sidebar. The chat already knows which server you’re using, so there’s no need to explain. Just describe what you need in your own words.
The agent distinguishes between reading and making changes:
- Read (viewing the console, logs, files, and backups): The agent does this right away without asking.
- Change (setting startup parameters, writing a file, restarting the server, or restoring a backup): The agent only prepares the change. You’ll get a card showing exactly what will happen. The change is carried out only after you click Confirm. Click Decline to discard the suggestion.
For several related steps, such as creating a backup and then changing the game, the agent presents them together on one card. They’re then carried out one after another.
You’ll find the Apply file changes automatically switch at the bottom of the chat. When it’s on, the agent writes files in this chat without showing a card, but you can undo any change with Undo. You’ll still need to confirm settings changes, deletions, and updates yourself.
If the wrong game starts, your server doesn’t appear in the server list, or it’s lagging, just tell the agent what’s happening. It reads the console, where you can see which game and map your server is loading, as well as the log files in the logs folder. It checks CPU and RAM usage over time and can run a Server diagnosis to check the status, logs, configuration, and processes in around 20 seconds. s&box uses comparatively large amounts of memory. If a game from the library is unstable, the agent can set up a test with facepunch.sandbox using a card so you can compare. Find out more about common causes in s&box: Common Issues.
The agent can start, stop, or restart your server, with confirmation each time. If you want, it can also set up schedules, such as a daily restart at 5 a.m. in your time zone. Keep in mind that your server gets a new Steam ID every time it starts. Afterward, players can find it by its name in the server list, not through a saved connection.
The server name, Game Package, and Map Package are startup parameters in the Configuration tab. The agent changes these values using a card, and a running server will restart once as a result. For a package from the library on sbox.game, it enters the identifier in the organisation.name format, all lowercase, such as facepunch.sandbox or facepunch.flatgrass. The package must be public.
- Your server downloads a new game or map when it starts. The first startup with a new package will take a little longer.
- If Map Package is left blank, the game loads its own default map. Some games include their map and ignore this setting.
- There’s no separate setting for the number of players; each game determines this itself.
Since players connect through the Steam network, they find your server by its name. Choose a unique server name. Learn more in s&box: Server Configuration.
s&box is updated very frequently. If the game and server versions don’t match, players may be unable to join. Update your game through Steam first. If an update is available for your server, the agent will queue it using a card.
The agent can search, read, and edit files, download files from a direct link, extract archives (.zip, .tar, up to 500 MB), and create .zip files from folders. Downloaded games and maps are stored in the download folder, and game data is stored in the data folder. It can show you your SFTP login details without the password, reset your SFTP password, and repair file permissions.
The agent can create and restore backups, delete old ones, or prepare one for download. A backup always includes the entire server, including your game data in the data folder.
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.
- The agent can’t send console commands for s&box; the console in the panel is read-only. To change the game or map, you’ll need to update the startup parameters and then restart the server.
- There’s no option to validate game files, either in the dashboard or through the agent. If files are corrupted, reinstalling the game can help, but this deletes all data. Ask the agent to create a backup first. It will present both actions as cards.
- The agent can download
.rarand.7zarchives, but can’t extract them. - The agent can’t open additional ports.
- The agent never displays SFTP passwords in chat, and you don’t need to send it one.
- “The wrong game starts on my server. Find out why.”
- “Set the Game Package to facepunch.sandbox and the map to facepunch.flatgrass.”
- “Name my server Zappy’s Sandbox so we can find it in the list.”
- “Leave Map Package blank so the game loads its default map.”
- “Create a backup and then restart the server.”
- “Restart the server every day at 5 a.m.”
If you ask for help in support chat, Zappy can use the same tools once your ticket is linked to the server. You can read logs, run a diagnosis, restart the server, or repair file permissions there without a ZapX Pass. You’ll need a ZapX Pass to make changes to files, startup parameters, and backups.
You now know what the ZapX AI Agent can do on your s&box server and how to approve each change yourself. Find out how your players can find your server in s&box: Connect to the Server. For an overview of all sections in the panel, see s&box: Dashboard Overview. If you have any other questions, our support team is here to help every day! 🙂
