Skip to content

Configuration

Add AI providers and models, set token quotas and own API keys, and choose where AI Helper appears and what it may propose.

Step 2 of 26 min readUpdated
On this page9 sections

Everything is configured on one page: open Admin → AI Helper. The sidebar has three pages under Manage (Overview, Providers and Usage) and four groups of settings (General, Quota, Agent and Safety). Each group has its own Save settings button, and changes apply right away.

The settings button on the AI Helper card in Admin → Extensions stays empty on purpose.

Providers

AI Helper needs at least one provider before users can chat. Click Add provider and fill in:

FieldWhat it does
ProviderOpenAI, Anthropic, Google Gemini, OpenRouter, xAI, Z.AI, Moonshot AI, Groq, 9Router or OpenAI compatible
Name shown to usersThe name in the model picker, for example "Claude" or "Free models"
API keyStored encrypted with AES-256-GCM and never sent to the browser again. Leave it empty when editing to keep the saved key.
Base URLOnly for 9Router and OpenAI compatible, or to use a proxy. Leave it empty for the official endpoint.
Models offered to usersClick Load models from the provider, then pick the models users may choose. You can also type a model ID.
Default modelThe model that is selected first for this provider
EnabledUsers can pick its models
Default providerPreselected for users who have not chosen a model yet

Press Test connection to send a short request with the key and the default model before you save. Every enabled provider and its models can be used at the same time, and users pick one per message.

See Providers and API keys for where to get keys and which models work best.

Allowed Eggs

Choose which Eggs get AI Helper. Leave it empty to allow every Egg. Servers on other Eggs don't get the AI Helper page, the floating chat button or the crash banner, and the AI Helper endpoints refuse their requests.

AI Helper works with any game. It recognizes Minecraft, FiveM, Node.js, Python and SteamCMD servers and adds what it knows about them to every conversation.

General

SettingDefaultWhat it does
Allowed EggsEmptySee above.
Largest screenshot (MB)5Bigger images are refused. Images are resized to at most 2048 px and stored encrypted.
Keep conversations for (days)30Older conversations and their images are deleted. 0 keeps them forever.
Floating chat buttonOnShows a chat button on every page of a server, so users can ask without leaving the console or files.
Crash bannerOnWhen the console reports a crash, a banner offers to analyse the cause with AI.
Screenshots in chatOnUsers can paste or upload screenshots for models that can see images.

Quota

The quota applies to the panel's own providers. Replies with a user's own API key are never counted.

SettingDefaultWhat it does
Tokens per user200000Tokens (input + output) each user may use per period. 0 means unlimited.
Quota resetsEvery dayEvery day, every week or every month.
Messages per minute8A user can send at most this many messages per minute, with any key.
Own API keysOnUsers can add their own key under Account → AI Helper. Replies with their key skip the quota.
Providers for own keysEmptyThe providers users may add keys for. Leave it empty to allow every provider that accepts personal keys.

To give one user a different amount, open Admin → Users, choose the user and set AI Helper token quota. Leave it empty to use the default, or set 0 for unlimited.

Usage in the sidebar lists the tokens every user spent with the panel's providers and with their own keys in the current period, with a button to reset a user.

Agent

SettingDefaultWhat it does
Automatic tool rounds per message3How many times the AI may read logs and files on its own before it must answer. At most 3.
Longest reply (tokens)8192The output limit sent to the model for each step.
Largest file the AI may read (KB)512Larger files can still be searched; logs are always read from the end.
Log lines sent to the AI180The smart log reader sends only this many of the last lines (150 to 200), plus the critical lines it finds.

Safety

AI Helper never changes anything on its own. Every change is a proposal that waits for the user, and the user's permissions are checked again when they apply it. These switches decide which kinds of proposals the AI may make:

SettingDefaultWhat it does
File editsOnFile changes shown as a diff. A .bak copy is made before a change is applied.
Console commandsOnCommands for the server console. Dangerous, chained and looping commands are always blocked.
Power actionsOnStarting, stopping or restarting the server.
BackupsOnCreating a backup before risky changes.
Startup variables and Docker imageOnA new value for editable startup variables, or another Docker image of the Egg.
Extra blocked commandsEmptyOne per line. Plain text blocks commands that contain it; /pattern/ is a regular expression.

Permissions

AI Helper adds one subuser permission, AI Helper → Use. Server owners and administrators always have it. Each thing the AI does also needs the matching Panel permission of the person chatting:

The AI wants toPermission needed
List foldersfile.read
Read files and logsfile.read-content (logs also need websocket.connect)
Propose a file editfile.update and file.read-content, or file.create for new files
Propose a console commandcontrol.console
Propose start, stop or restartcontrol.start, control.stop or control.restart
Propose a backupbackup.create
Read or change startup variablesstartup.read or startup.update
Switch the Docker imagestartup.docker-image

A subuser without a permission doesn't get that tool at all, and the AI is told it can't use it.

Scheduled task and background replies

Replies run in a background process (php artisan ai-helper:run) that the Panel starts for every message, so long answers never time out in the browser. The task ai-helper:prune runs every 15 minutes through the Panel's scheduler and removes finished run data, old conversations and unused images, so the Panel's cron entry must be active.

How data is stored

  • API keys, conversation titles, messages, proposals and images are encrypted with a key derived from the Panel's APP_KEY. If you change APP_KEY, saved API keys can't be read anymore and must be entered again.
  • Images are stored in storage/app/private/ai-helper/attachments, outside the server files.
  • Passwords, tokens and keys found in files, logs and startup variables are replaced with [secret, N chars] before anything is sent to a provider.