Configuration
Add AI providers and models, set token quotas and own API keys, and choose where AI Helper appears and what it may propose.
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:
| Field | What it does |
|---|---|
| Provider | OpenAI, Anthropic, Google Gemini, OpenRouter, xAI, Z.AI, Moonshot AI, Groq, 9Router or OpenAI compatible |
| Name shown to users | The name in the model picker, for example "Claude" or "Free models" |
| API key | Stored encrypted with AES-256-GCM and never sent to the browser again. Leave it empty when editing to keep the saved key. |
| Base URL | Only for 9Router and OpenAI compatible, or to use a proxy. Leave it empty for the official endpoint. |
| Models offered to users | Click Load models from the provider, then pick the models users may choose. You can also type a model ID. |
| Default model | The model that is selected first for this provider |
| Enabled | Users can pick its models |
| Default provider | Preselected 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
| Setting | Default | What it does |
|---|---|---|
| Allowed Eggs | Empty | See above. |
| Largest screenshot (MB) | 5 | Bigger images are refused. Images are resized to at most 2048 px and stored encrypted. |
| Keep conversations for (days) | 30 | Older conversations and their images are deleted. 0 keeps them forever. |
| Floating chat button | On | Shows a chat button on every page of a server, so users can ask without leaving the console or files. |
| Crash banner | On | When the console reports a crash, a banner offers to analyse the cause with AI. |
| Screenshots in chat | On | Users 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.
| Setting | Default | What it does |
|---|---|---|
| Tokens per user | 200000 | Tokens (input + output) each user may use per period. 0 means unlimited. |
| Quota resets | Every day | Every day, every week or every month. |
| Messages per minute | 8 | A user can send at most this many messages per minute, with any key. |
| Own API keys | On | Users can add their own key under Account → AI Helper. Replies with their key skip the quota. |
| Providers for own keys | Empty | The 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
| Setting | Default | What it does |
|---|---|---|
| Automatic tool rounds per message | 3 | How many times the AI may read logs and files on its own before it must answer. At most 3. |
| Longest reply (tokens) | 8192 | The output limit sent to the model for each step. |
| Largest file the AI may read (KB) | 512 | Larger files can still be searched; logs are always read from the end. |
| Log lines sent to the AI | 180 | The 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:
| Setting | Default | What it does |
|---|---|---|
| File edits | On | File changes shown as a diff. A .bak copy is made before a change is applied. |
| Console commands | On | Commands for the server console. Dangerous, chained and looping commands are always blocked. |
| Power actions | On | Starting, stopping or restarting the server. |
| Backups | On | Creating a backup before risky changes. |
| Startup variables and Docker image | On | A new value for editable startup variables, or another Docker image of the Egg. |
| Extra blocked commands | Empty | One 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 to | Permission needed |
|---|---|
| List folders | file.read |
| Read files and logs | file.read-content (logs also need websocket.connect) |
| Propose a file edit | file.update and file.read-content, or file.create for new files |
| Propose a console command | control.console |
| Propose start, stop or restart | control.start, control.stop or control.restart |
| Propose a backup | backup.create |
| Read or change startup variables | startup.read or startup.update |
| Switch the Docker image | startup.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 changeAPP_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.