Hacker News new | ask | show | jobs
by tclancy 113 days ago
Interesting post from the main contributor about this (at least I assume it’s what he’s referencing) https://justin.poehnelt.com/posts/rewrite-your-cli-for-ai-ag...
5 comments

Thanks! Looks like he submitted it here, judging by the username:

You need to rewrite your CLI for AI agents - https://news.ycombinator.com/item?id=47252459.

I think that's pretty cool so I put the post in the SCP (https://news.ycombinator.com/item?id=26998308).

TIL Second Chance Pool, great idea
This is really interesting: "Humans hate writing nested JSON in the terminal. Agents prefer it." Are others seeing the same thing? I've just moved away from json-default because agents were always using jq to convert it to what I could have been producing anyway.
In my experience agents struggle with escape sequence nesting as much as humans do. IMHO that is one well-paved road to RCE via code injection.
Looks like I am hitting some Cloudflare Block when accessing this URL
Probably because he built his site for agents not humans
lol but it’s definitely happening. Some services are solely for llm consumption and human is not a welcomed customer.
Really interesting. I was thinking about something similar regarding the shape of code. I have no qualms recommending my agents take static analysis to the extreme, though it would cumbersome for most people.
No, we won’t be in fact doing that. Machine parsable, readable for other tools - yes.