Technology

PayPal Shows Why Interactive CLIs Break Agents

PayPal demoed a broken interactive CLI at AI Engineer to show why agents fail silently on prompts and why teams need machine-readable side channels.

StartupHub.ai Staff

By StartupHub.ai Staff, reviewed by Daniel Singer, Editor

2 min read

PayPal's Mark Lummus and Navinkumar Patil demoed the intentionally broken Bris Barista 9000 at AI Engineer to show how interactive CLIs fail silently in agent harnesses that shell out to Bash, requiring only local execution and no remote exploit.

PayPal Shows Why Interactive CLIs Break Agents - AI Engineer
PayPal Shows Why Interactive CLIs Break Agents, AI Engineer

The agent sees a redraw loop instead of the arrow-key prompt a human would see, so the harness loses UI state with no error and no retry signal.

Lummus said flags work for simple single-pass flows but multiply and break when the next question depends on live API data, while Patil walked from tmux capture-pane scraping to IPC side channels and context injection as the fix.

For platform teams, that means treating the CLI like accessibility work and shipping a machine-readable channel alongside the human interface, with structured JSON, read-state and send-input verbs, and guard rails in the flow.

The same shift is spreading, as seen with Kiro CLI which lets developers invoke AI agents directly from the terminal for writing, reviewing and automating code.

You don't need thinking models to brute force it if the tool is deterministic, Patil noted, so budgeting for Haiku or Sonnet plus a side channel saves tokens but leaves you maintaining two interfaces and watching latency gaming like the demo's zero-second leaderboard wins.

If your CLI still expects a human to press an arrow key, your agent already missed the question.

Sources

TopicsPayPalAI EngineerMark LummusNavinkumar PatilBris Barista 9000Kiro CLItmuxIPC

StartupHub.ai StaffDaniel SingerWritten by StartupHub.ai Staff, Editorial teamReviewed by Daniel Singer, EditorAbout

StartupHub.ai Staff, Editorial team

The staff writers of StartupHub.ai, ranging from investment analysts to avid AI tool users, early adopters and critical enthusiasts. Backgrounds span engineering, business and the arts. We hold every piece to rigorous standards of research and review.

Daniel Singer, Editor

Daniel Singer is an AI expert who has been writing about, covering and building AI technology since 2018.

More from Daniel Singer

Get the free daily brief every morning

Every morning the day's AI news, new AI startups and new funding rounds. Free and takes a few minutes to read, unsubscribe at any time.

Join 64,000 other subscribers.

Test your Agent Readiness now

Paste your website. How well ChatGPT, Claude and the other agents can read and use a site, in about a minute.

The videos behind the news, one flip at a time

The feed mixes the videos from our articles with startup demos and you flip through them like TV channels for free with no signup.