13 · AI assistant
13 · Assist

AI assistantOff in the current version

Ask about server status in the AI panel of the Terminal view. The app gathers information from the server, and the AI on the Central gateway reads it and answers.

This chapter covers features that are switched off in the current version. They do not appear in the app; the text is kept for when they return.

What you need before you startOff in the current version

The AI panel answers only while connected to the Central gateway. The app has no screen for entering an AI provider or API key.

  • GATEWAY

    Central gateway connection

    All AI requests go through the Central gateway. First finish device pairing and connection in Settings › Gateway. (chapter 14)

    • If the G/W badge in the panel is green, it is connected.
    • If you press Send while not connected, only the error OpenClaw unavailable: … is shown.
    • Refresh gateway status next to the badge re-reads the status.
  • MODEL

    The gateway provides the model

    The model and authentication are configured on the gateway side. You do not enter a key.

    • In the panel, choose between GPT-5.5 and GPT-5.5 Pro.
    • Mode: OpenClaw (GPT-5.5) in the empty panel is the current selection.
    • The app picks the analysis agent or the live-query agent according to the flow of the question.
  • TARGET

    Targets are connected sessions

    The servers the AI looks at are the sessions you have connected in Terminal.

    • The default target is the tab you are viewing.
    • If you are viewing a session group, all connected servers in the group are the default target.
    • With two or more connected sessions, you can choose the target session yourself.
    • With no connected session, the question is handled as a general question, with no server query.

Opening the AI panelOff in the current version

In the Terminal view, press AI on the Workspace toolbar to open and close the panel. It is open on first run.

  1. AI button

    Opens and closes the panel. The last state is kept for the next run.

  2. AI panel

    The default position is to the right of the terminal. Drag AI in the title bar to move it elsewhere.

  3. G/W badge

    The Central gateway connection status. The figure shows the disconnected state (gray).

  4. Guidance text

    Shown when there is no chat. The bottom line is the current model.

  5. Input field

    Type a question and press Send.

Toolbar at the top of the panelOff in the current version

Handles chat history, target session, model and connection status. The figure is a screen made with sample values to show the connected state.

  1. Chat history

    Opens the list of saved chats. The button shows the current chat title or New.

  2. New chat

    Clears the chat and the server information gathered earlier, and starts over.

  3. Target session

    Appears when two or more sessions are connected. With Active tab, the tab you are viewing is the target.

  4. Model

    GPT-5.5 or GPT-5.5 Pro. The choice is kept for the next run.

  5. G/W

    A green check means the gateway is connected; gray means not connected. Hover to see a status description.

  6. Refresh gateway status

    Re-reads the connection status.

  7. Command execution log

    Shows the number of commands run in this chat. Press it to open the Command execution log dialog.

  8. In a session group

    Position 3 shows All / 1. All (default) targets every server in the group; 1 targets only the selected server.

Entering a questionOff in the current version

Type a question in the input field at the bottom and send it. How server information is gathered and the number of follow-up investigation rounds are set here.

  1. Chat

    You is your question and AI is the answer. Code blocks in an answer have a Copy button.

  2. Input field

    Enter sends and Shift+Enter starts a new line. You cannot type while an answer is arriving.

  3. Attachment

    Attaches a file. You can also drag and drop a file onto the chat area or paste a copied image.

  4. Auto / Deep

    Auto gathers server information with inspection commands preset by the app. With Deep, the AI plans the inspection commands.

  5. R2

    The number of follow-up investigation rounds. Each press adds 1, and 0 follows 10. Default 2.

  6. Send / Stop

    Sends. While in progress it changes to Stop; pressing it stops with Stopped by user.

Flow after pressing SendOff in the current version

The wording of the question determines whether the app runs commands on the server. The commands that were run are not shown in the chat.

Diagnostic questionNot a diagnostic questionWhen finishedIf information is missingAsks again
The app classifies the question

A question is diagnostic if it contains the Korean words for “check”, “status” or “inspect”, or words such as disk and log. It is not if it contains the Korean for “explain” or “summarize”.

Server information is gathered automatically

Inspection commands run on the connected target sessions. This step has no per-command confirmation dialog. The progress bar shows 서버 정보 수집 중... (Collecting server information...).

The gathered information and the question are sent to the AI

The AI answers using only the information it received. The progress bar changes to 분석 중... (Analyzing...).

The answer appears in the chat
Next question in the same chat

The gathered information is reused. If the target session changes or you press New chat, gathering starts over from the beginning.

The app investigates further

If the AI says it needs more, the app runs additional commands up to the R number and asks again (추가 조사 중..., meaning “Investigating further...”). If nothing new is learned, it ends early.

The AI queries directly when needed

If a command the AI requests here is a change command, an approval dialog appears; if a sudo password is needed, an input dialog appears. (the next two pages)

Command safety levelsOff in the current version

Commands the AI requests are sorted into three levels before they run. The automatic collection commands on the previous page are preset by the app and do not go through this check.

LevelHandlingCommands covered
BlockedNot run. A Blocked: … error is shown in the chat.dd mkfs fdisk parted shutdown reboot halt poweroff init shred passwd chpasswd su, interactive sudo (sudo -i, sudo -s)
Needs confirmationIn the Command confirmation dialog, you must press Execute for it to run.rm rmdir mv cp chmod chown kill pkill mount umount, adding or deleting users and groups, changing firewall rules, systemctl start|stop|restart|enable|disable, service, crontab -e|-r, wget, installing or removing packages, docker rm|stop|kill, mkdir, touch, sed -i, | tee, and > >> writing to a file
Auto-runRuns without confirmation.Every command not covered above. If sudo is prefixed, the level is judged by the rest of the command without sudo.
Excluded during investigationIf a command the AI proposes during investigation is a change command, the app does not run it and asks again for a read-only alternative.Installing or removing packages, starting or stopping services, changing permissions or ownership, deleting, moving or copying files, storage changes, reboot, changing firewall rules, reading authorized_keys in the home folder and /etc/sudoers

Approval dialog and sudo passwordOff in the current version

If a command the AI requests is in the needs-confirmation level or needs a sudo password, the dialogs below appear. The server, command and description in the figure are examples.

Information sent and redactionOff in the current version

The full contents of the terminal screen are not sent. What is sent is the items below.

Information sentDestinationNotes
The question text and the earlier chatCentral gatewayEarlier answers are shortened, and only recent messages are sent along.
AttachmentsCentral gatewayA text file's full content is appended to the question; images are sent as they are.
Instance name and connection address of target serversCentral gatewayWith group All, every connected server in the group.
Output of commands run on the serverCentral gatewayResults of automatic collection and follow-up investigation. Sent without redaction.
Request for the command description shown in the approval dialogCentral gatewayThe command text is sent.
Command plan requests for Deep mode and follow-up investigationOpenAI-compatible APIIncludes the question, server names and some of the collected facts. (chapter 17)
The whole chat, diagnostic records and the PC nameCentral audit serverSaved automatically whenever the chat changes.
Commands the AI ran, the first 2,000 characters of output, target serverCentral audit serverSent for each command. No redaction. (chapter 17)

Chat historyOff in the current version

Chats are saved automatically and reloaded from Chat history. They are stored on the central audit server, not on the PC.

ItemBehavior
Auto-saveSaved 1.5 seconds after the chat changes. The title is the first 30 characters of the first question.
Storage locationCentral audit server. The list is fetched by PC name (host name).
Chat history ①Shows the title, target server address and date of saved chats. Click one to load that chat.
Delete chat ②Trash icon. Deletes from the server immediately, without confirmation.
When the server is unreachableThe list shows No saved chats. A chat to be saved is kept temporarily on the PC and sent along when the next save succeeds.
Switching tabs and groupsEach tab and group keeps its own chat. This link is lost when the app exits.

Limits and restrictionsOff in the current version

Limits you often run into in use, and the scope in which features work when they are on.

ItemDetails
Follow-up investigation rounds R0–10, default 2. At 0, no follow-up investigation is done.
Checking commands that were runNot shown in the chat. See them in the progress bar and the Command execution log dialog. This dialog shows up to the latest 500 entries and has no search, clear or export.
Running the same command againThe same command is not run again within 5 minutes; the earlier output is reused.
Questions that only ask for the session countA question such as “How many servers are connected?” is answered directly by the app without going through the AI.
Access-Gated SSH sessions (through a Jump server, chapter 6)The AI does not run commands directly. The app filters the query commands the AI proposes and runs them over the existing SSH session.
API key for Deep modeReads the environment variable OPENAI_API_KEY or a saved OpenAI key. There is no place to enter it in the app.
Answer languageThe app instructs the AI to answer in Korean.
Target session disconnectedIf the chosen target session is disconnected, the target returns to Active tab.