Running production agents on sandboxed CLIs: lessons from iterating on agent-facing interfaces

nguyenfamjj · reddit · 2026-09-05

A developer building production-grade agent workflows shares how the team moved execution to CLIs running inside sandboxes, remapping their API gateway into an agent-friendly command-line interface. They argue MCP remains useful for bounded environments, but sandbox + CLI offers broader capability and better product-surface efficiency.

Iteration lessons that made the CLI agent-friendly:

The author invites discussion on when to use MCP vs. a sandboxed CLI.

Original post →

More from coding & agent

coding & agent channel →