Live data from Hacker News

You need to rewrite your CLI for AI agents

justin.poehnelt.com

1–10 of 74 posts

Re: You need to rewrite your CLI for AI agents

#2
Title is a little clickbait, but not really! :)

---

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

#6
> 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 actual humans with real lives and a sense of taste in communication

Re: You need to rewrite your CLI for AI agents

#7
post #4

Are 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.

Doesn't powershell have structured input and output?

Re: You need to rewrite your CLI for AI agents

#8
post #6

> 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…

blogslop
Post reply on HN