You need to rewrite your CLI for AI agents
justin.poehnelt.com
You need to rewrite your CLI for AI agents
1–10 of 74 posts
Re: You need to rewrite your CLI for AI agents
#2---
Human DX optimizes for discoverability and forgiveness. Agent DX optimizes for predictability and defense-in-depth. These are different enough that retrofitting a human-first CLI for agents is a losing bet.
Re: You need to rewrite your CLI for AI agents
#3Google Workspace CLI - https://news.ycombinator.com/item?id=47255881 - March 2026 (136 comments)
Re: You need to rewrite your CLI for AI agents
#4Maybe asking agent to write/execute code that wraps CLI is a better solution.
Re: You need to rewrite your CLI for AI agents
#5Re: You need to rewrite your CLI for AI agents
#6What was the not-so-real question? Or the surreal question?
I know it's becoming tiresome complaining of slop in HN. But folks! Put a bit of care in your writing! It is starting to look as if people had one more agent skill "write blogpost", with predictable results, as we are not a Python interpreter putting up with meh-to-disgusting code but actual humans with real lives and a sense of taste in communication
Re: You need to rewrite your CLI for AI agents
#7Are we reinventing RPC again? Calling CLI program with JSON sounds like RPC call. The schema feels likes something LSP can provided for such function. Maybe asking agent to write/execute code that wraps CLI is a better solution.
Re: You need to rewrite your CLI for AI agents
#8> The real question: what does it actually look like to build for this? What was the not-so-real question? Or the surreal question? I know it's becoming tiresome complaining of slop in HN. But folks! Put a bit of care in your writing! It is starting to look as if people had one more agent skill "write blogpost", with predictable results, as we are not a Python interpreter putting up with meh-to-disgusting code but ac…
Re: You need to rewrite your CLI for AI agents
#9Re: You need to rewrite your CLI for AI agents
#10I don't think this is true?