PXI · UI code mode · Sequence

Search once, then run scripts

PXI asks the browser what it can do once, then writes a JavaScript program against that answer and asks the browser to run it.

Search once, then run scripts Sequence diagram: PXI calls search_browser_actions once and receives all 54 typed operations, then calls execute_browser_action with a script and receives a result. search_browser_actions ALL 54 OPERATIONS, WITH TYPES execute_browser_action({ script }) RESULT AGENT PXI writes the script BROWSER Phoenix UI runs it in the browser LEGEND Tool call Answer Result
←/→ step · Space play/pause · R replay · Home/End jump

Two tools replace dozens of one-purpose tools. search_browser_actions returns the whole catalog with types, so PXI never has to search twice. execute_browser_action runs a script that can chain several UI actions in one go; the next diagram steps through one.