Opening the REPL Console
Press ⌘` or click the ✕ / Terminal icon in the console toolbar. The console slides up from the bottom of the chat window.What it shows
When the RLM engine is active and processing a query, each iteration of its reasoning loop appears in the console:| Stream | Prefix | Colour | Meaning |
|---|---|---|---|
stdout | | Normal | Code output printed to stdout |
stderr | ✗ | Red | Errors and stack traces |
system | ● | Blue (mira) | Engine status messages (start, stop, etc.) |
stdin | → | Blue | Code passed to the interpreter |
How the RLM engine uses the console
When RLM is the active engine, it autonomously writes Python code, executes it, reads the output, and decides whether to refine its approach — all within a single query. Every execution step is logged to the console so you can follow the engine’s reasoning in real time.The NAE engine does not execute code. The REPL Console will be empty when NAE is the active
engine.
Console toolbar
| Button | Action |
|---|---|
| Copy all | Copies the full console log (with timestamps and prefixes) to the clipboard |
| Clear (🗑) | Clears all log lines — does not affect the running Python session |
| ✕ | Closes the console panel (shortcut: ⌘`) |
Session state
The Python interpreter state persists for the lifetime of the chat session — variables and imports from one iteration are available in subsequent iterations within the same session. Starting a new chat session resets the Python state. The engine will execute this automatically and print the result to the console.Security
- Python code runs in a subprocess on your machine — it has access to your filesystem and network.
- Code is executed locally — nothing is sent to any AI provider.
- The maximum number of iterations per query is controlled by the
maxIterationssetting on the active skill or the global RLM default.
Edit this page — Open a pull
request