REPL

Terminal
rat py

Full IPython. Syntax highlighting, tab completion, ? help, %magic. The namespace is shared — everything you do is visible to connected clients.

Other languages

Terminal
rat r
Terminal
rat sh
Terminal
rat pi

Inspect

Terminal
rat look py

Variable overview — names, types, sizes.

Terminal
rat look py --at df

Deep inspection of a single variable — type, shape, head, column dtypes.

History

Terminal
rat tail py
Terminal
rat tail py -n 20

Recent activity — what was executed, by whom, when.

Control

Terminal
rat cancel py

Interrupt execution (Ctrl-C equivalent).

Terminal
rat reset py

Clear namespace, keep process alive.

Terminal
rat restart py

Kill the kernel subprocess and start fresh.

Kernel picker

Terminal
rat pick

Interactive picker — arrow keys, Enter to connect. Also appears on Ctrl-D from any REPL.