AI prompt window
Ask an AI assistant to inspect your model, make edits or work with the simulation from the AI prompt window in the viewer. The window runs your own installed Claude Code or Codex command-line tool through CONNECT, with your own sign-in. The assistant works on the viewer tab that currently controls CONNECT.
What you need
Section titled “What you need”- Claude Code or Codex installed and signed in on the PC that runs CONNECT. The window offers each tool that is found and signed in. CONNECT searches PATH; set
AiPrompt:ClaudePathorAiPrompt:CodexPathif a tool is installed elsewhere. - realvirtual CONNECT running on that PC. See CONNECT overview.
- The prompt window enabled in CONNECT: in the CONNECT tray, open Details > MCP server and switch on Allow AI window (runs your AI CLI with full rights) (Allow prompt window in older versions). The viewer shows this path while the window is off.
- AI control on in the viewer, with the AI Bridge connected, for questions about the scene. See AI Assistant (Bridge).

Quick start
Section titled “Quick start”- Open the window with AI control in the viewer, or type a question in the search box and choose Ask AI agent. The first time, confirm the dialog with Got it.
- Choose Claude Code or Codex in the backend selector at the top.
- Check the scene-access line below the conversation. If it says Scene access off, click Enable scene access. Questions about the scene need it; general questions work without it.
- Type a prompt and press Enter (Shift+Enter inserts a new line). Try: “What is loaded in the viewer? Describe the top-level parts before making any changes.”
While the assistant works, its answer streams into the window and the actions it runs appear beneath it. You can keep typing; see Send while the assistant works. If you send a prompt while scene access is off, the window keeps the prompt and offers Enable and send, Send without scene access or Edit prompt.
Your current selection in the viewer is attached to the prompt as a chip. Remove the chip to leave the selection out of the next prompt. To add images or files, see Attach images and files.
Attach images and files
Section titled “Attach images and files”Give the assistant a screenshot, a PLC program or a drawing together with your prompt.
- Paste an image with Ctrl+V while the prompt field has focus. Screenshots from the clipboard work.
- Drag and drop files onto the window. A dashed frame shows where to drop them.
- The paper clip next to the prompt field opens the file picker. Hover it for a reminder of what happens to the files.
Each file appears as a tile above the prompt field: a thumbnail for images, the name and size for other files. Click an image tile to enlarge it. Click the x on a tile to remove it before you send. After you send, the tiles stay on the message in the conversation.
| Type | Files |
|---|---|
| Images | PNG, JPG, JPEG, WebP, GIF |
| Text | ST, SCL, IEC, CSV, TXT, JSON, MD, XML, YAML, YML, LOG |
| Other files | PDF, GLB, GLTF, STEP, STP, IGES, IGS, STL, JT, USD, USDZ, ZIP |
Limits per message: 8 files, 25 MB per file, 100 MB in total. Images larger than 2048 pixels on the long edge are scaled down before they are sent; very large images (above 100 megapixels) are refused. Small text files (up to 64 KB each) go along as text inside the prompt, so the assistant sees them directly. Every other file is made available to the assistant as a local file it can open. Unknown or executable file types are refused. Each refused file gets its own message under the prompt field, and the other files are still attached.
Where attached files go
Section titled “Where attached files go”Everything stays on your computer. The browser sends the files to CONNECT on the same machine, and CONNECT hands them to the Claude Code or Codex command-line tool that runs locally. No realvirtual cloud is involved. As with the prompt text, only what the assistant actually reads is sent on to its model by that tool, through your own sign-in.
CONNECT keeps the files in a temporary folder on the CONNECT PC, outside your project, so that follow-up questions in the same conversation can still refer to them. It removes them when you start a new session, switch to another conversation or backend, or close CONNECT, and after 24 hours at the latest.
Live status
Section titled “Live status”While the assistant works, the line below the prompt field shows what it is doing:
- Three pulsing dots, then the phase: Thinking…, Using followed by the tool name and its first argument, Writing…, or Stopping….
- The elapsed time of the run as minutes and seconds.
- Stop answer next to it (Stop while the assistant only finishes up in the background).
You do not need to keep the window open. While a run is busy, the AI entry on the activity bar shows a pulsing dot. When the browser tab is in the background, its title starts with a dot (the character ●), so you can spot it in the tab strip. The dot disappears when the run ends or you return to the tab. If your system is set to reduce motion, the dots do not animate and show the same information.
Send while the assistant works
Section titled “Send while the assistant works”The prompt field stays active during a run. Type another message and press Enter.
With Claude Code, the message goes straight into the running answer. The assistant reads it at its next step, for example after the tool it is currently running, and adjusts without you stopping and restarting. A chip on your message shows Sent and changes to Delivered when the assistant has taken it up. If the message could not be delivered, the chip shows Not delivered or Failed. A message that was not taken up before the run ended moves to the queue. Send now on a failed message tries again.
With Codex, a run cannot take input while it works. Your message waits in a list above the prompt field and is sent on its own, as one follow-up run, when the current run ends cleanly. While a message waits you can use:
- Edit message to change its text.
- Remove from queue to drop it.
- Send now on a paused or failed message.
A queued message is marked Queued — paused when it cannot go out on its own: you clicked Stop answer, you started a new session or switched the conversation, or the run ended without a session to continue. It is marked Failed when the run failed or CONNECT refused the follow-up. The reason is shown under the message. Claude Code messages that were not yet read when you stop a run are handled the same way.
Sessions
Section titled “Sessions”- Recent sessions lists earlier conversations. Choose one to continue it; earlier messages are not shown again.
- The + button starts a new session. Switching the backend also starts a new session.
- Show AI clicks animates the buttons the assistant presses. Turn it off for fast mode, without waiting before each action.
- The settings button opens the AI settings, including AI may control SolidCraft (see below).
What the assistant can use
Section titled “What the assistant can use”Each run sees only the tools that realvirtual provides:
- realvirtual-CONNECT: the
web_*tools of the active viewer tab. - SolidCraft: only when AI may control SolidCraft is on, the Live Link is connected and
solidcraft-cliis found.
MCP servers, plugins and apps from your own Claude Code or Codex configuration are not loaded in this window, and for Codex your own model settings do not apply. Use your normal terminal session if you need those.
Permissions
Section titled “Permissions”The window does not ask for approval per tool call. The tool runs with full rights on the CONNECT PC, which is why a person must switch on Allow AI window in the CONNECT tray first. Existing CONNECT write restrictions and the AI control switch of the viewer still apply.
- Only one prompt runs at a time. Extra messages during a run are follow-ups, not new prompts.
- Click Stop answer to interrupt a run. A call that is already running may still finish; stopping does not undo changes.
- A run ends after 30 minutes at the latest.
- Use the editor’s undo for individual changes. There is no undo for a whole prompt.
Prompts and tool results go to the AI service of the selected tool (Anthropic for Claude Code, OpenAI for Codex) through your own sign-in. This includes the content of attached files and images that the assistant reads. The window, CONNECT and the attached files all stay on your computer; there is no realvirtual cloud.
Troubleshooting
Section titled “Troubleshooting”The window is not offered, or a backend is missing. Check that Allow AI window is on in the CONNECT tray, that claude --version or codex --version works in a terminal on the CONNECT PC, and that the tool is signed in. A tool that is too old is reported as not supported.
“This viewer origin is not allowed”. Pair the viewer in CONNECT and review the AI settings. The button in the window opens them.
Scene access: another tab is in control. One viewer tab controls CONNECT at a time. Use that tab or close it. See Document ownership.
An attachment is refused. The message under the prompt field names the file and the reason: unsupported type, more than 8 files, larger than 25 MB, more than 100 MB in total, or an image that cannot be read. Remove or convert the file and attach it again. If the message says CONNECT does not know this tab, reload the page or start a new session.
“Another AI prompt is already running”. Wait for the current run or click Stop answer.
See also
Section titled “See also”- Build a Twin with AI — example tasks, the connection check and the workflow with an external assistant
- AI Clients (MCP) — CONNECT tools and write-access settings