Cherry Pi harness in Lua and Go: script terminal panes, run tests, drive Rex from one script
sull · x · 2026-11-05
redstarsystems highlights Cherry Pi, a terminal-agent tool built mainly in Lua and Go that pairs with the Rex desktop.
Key points:
- Most of Cherry Pi's harness is Lua (managing project layers, jobs, policy checks, receipts), while the Go desktop renders the pane tree and handles keyboard/pointer events—both packed into one executable.
- Lua scripts via picache do can manipulate the live desktop: open a test pane beside your code, wait for the process to exit, surface failures, and even open a window in Superlogical Rex and read its screen back.
- An official tests.lua example runs the project's Python tests in a side pane; the same Lua process can drive both Cherry Pi and a connected Rex session.
A concrete engineering pattern for wiring agent harnesses, TUIs, and scriptable workflows together.
More from coding & agent
- Claude spontaneously finds a serious OpenBLAS bug while just explaining code to a user — Aizkmusic · 2026-11-05
- Next-gen task management: agents should book human attention via MCP — lxfater · 2026-11-05
- GraphRAG in real projects: 3 practical patterns from Daan Di Scala's webinar — Al_Grigor · 2026-11-05
- Orderain ships an MCP server that lets Claude run your ecommerce store on autopilot — Slight_Guest3459 · 2026-11-05
- OpenAI 'Presence' page surfaces, pushing trusted AI agents into customer channels — juberti · 2026-11-05
- RL teaches agents to use their own notes; training survives 23M tokens of memory edits — simran_s_arora · 2026-11-05