An interactive TerminalA program that shows text and accepts typed text.Full definition → can ask a question that an agent never recognizes. PayPal's workshop describes a mismatch: people see a menu and use arrow keys, while some agent setups receive screen redraws and lose the current question. The failure is silent, with no error to point to.
One approach the presenters offer, a structured side channel, gives the agent another way to interact with the same ProgramA set of instructions stored so that a computer can run it.Full definition →. It exposes the current state and accepted inputs as machine-readable data, allowing the agent to read a question and submit an answer. The presenters argue this matters when the next question depends on a previous answer or an API response, so the entire interaction cannot be decided beforehand with command flags.
Key takeaways · AI-distilled
PayPal engineers show that an agent can miss an interactive terminal prompt without any error: where a human sees a question and arrow-key options, the agent sees a redraw loop and loses the interface state.
They argue adding more command flags only works when inputs are independent and the path is known in advance; it breaks down when later questions depend on earlier answers or live API responses.
Three alternatives are presented: tmux sessions to send keys and capture terminal state, IPC side channels that expose structured JSON instead of screen scraping, and Context and context windowContext is the information available for a generation; the context window is the capacity available to hold it.Full definition →InjectionA flaw where untrusted input is pasted into a command so that the input changes the command's meaning.Full definition → that makes options and constraints explicit to the agent.
Terms in this piece · Glossary
Terminal — A program that shows text and accepts typed text.
Program — A set of instructions stored so that a computer can run it.
Context and context window — Context is the information available for a generation; the context window is the capacity available to hold it.
Injection — A flaw where untrusted input is pasted into a command so that the input changes the command's meaning.