frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Principles for agent-native CLIs

https://twitter.com/trevin/status/2051316002730991795
27•blumpy22•2h ago

Comments

wolttam•1h ago
Getting agents used to using `--force` to bypass prompts seems like a bad idea. `--force` is for when the action failed (or would fail) for some reason and you want it to definitely happen this time.

I think `--yes` or `--yes-do-the-dangerous-thing` is leagues better.

ihsw•51m ago
`--non-interactive` has precedent too.
tekacs•48m ago
It also in the case of an LLM can bias it towards using that sort of flag more commonly, which is less than ideal when it then uses a more ordinary Unix command that uses that to mean something dangerous.
sandermvanvliet•41m ago
Is it me or are all these articles about using AI effectively and building for AI just, you know, things that we should have been doing all along?

It feels like most of the “rules” are “don’t be an ass to your consumer”.

bensyverson•29m ago
Partially, but I think if you design for agents, their needs are different enough from a human's that you end up making different choices.

I found myself nodding along to the linked tweet/article. Recently I did many rounds of iterative user-centered design with an agent to improve the CLI interface in Jobs [0], a task manager for LLMs. The resulting CLI follows most of these principles.

One great idea from the tweet that I will be adding: a `feedback` subcommand, for the agent to capture feedback while they work.

[0]: https://github.com/bensyverson/jobs

debarshri•19m ago
I think every CLI is agent native when invoked from claude or any coding agents.

I was really suprised today. We at adaptive [1], is an access management platform to access psql, mysql, vms, k8s etc. When you use `adaptive connect <db-name>` it would connect create just-in-time tunnel and connect the user to the database. You cannot do traditional psql operation etc. That design is by choice.

Today I was trying to invoke it via claude, and, god damn, it found a way to connect. It create a pseudo shell in python, pass the queries and treat our cli like a tool. This would have been humanly not possible. Partly because, you would like about risks, good practice/bad practice, would be scared to execute and write code like that, and it just did it and acheived the goal.

[1] https://adaptive.live

tfrancisl•17m ago
I dont want "agent-native CLIs" to proliferate because I'd rather we design CLIs for human use and programmatic (automation) use first. Agents are good at vomiting json between tool calls, I am not, and never will be.

Too many tools stray so wildly from UNIX principles. If we design for agents first we will likely see more and more of this.

ChrisArchitect•12m ago
Non-x link: https://trevinsays.com/p/10-principles-for-agent-native-clis

The Burning Man MOOP Map

https://www.not-ship.com/burning-man-moop/
446•speckx•6h ago•206 comments

Dirtyfrag: Universal Linux LPE

https://www.openwall.com/lists/oss-security/2026/05/07/8
49•flipped•59m ago•19 comments

Agents need control flow, not more prompts

https://bsuh.bearblog.dev/agents-need-control-flow/
167•bsuh•3h ago•83 comments

Natural Language Autoencoders: Turning Claude's Thoughts into Text

https://www.anthropic.com/research/natural-language-autoencoders
83•instagraham•2h ago•17 comments

AlphaEvolve: Gemini-powered coding agent scaling impact across fields

https://deepmind.google/blog/alphaevolve-impact/
202•berlianta•5h ago•77 comments

DeepSeek 4 Flash local inference engine for Metal

https://github.com/antirez/ds4
170•tamnd•4h ago•54 comments

Colored Shadow Penumbra

https://chosker.github.io/blog/colored-shadow-penumbra
14•ibobev•1h ago•1 comments

Chrome removes claim of On-device Al not sending data to Google Servers

https://old.reddit.com/r/chrome/comments/1t5qayz/chrome_removes_claim_of_ondevice_al_not_sending/
297•newsoftheday•4h ago•110 comments

Child marriages plunged when girls stayed in school in Nigeria

https://www.nature.com/articles/d41586-026-00720-8
283•surprisetalk•6h ago•199 comments

I want to live like Costco people

https://tastecooking.com/i-want-to-live-like-costco-people/
110•speckx•5h ago•255 comments

Principles for agent-native CLIs

https://twitter.com/trevin/status/2051316002730991795
27•blumpy22•2h ago•8 comments

PySimpleGUI 6

https://github.com/PySimpleGUI/PySimpleGUI
66•geophph•2d ago•24 comments

AI Slop Is Killing Online Communities

https://rmoff.net/2026/05/06/ai-slop-is-killing-online-communities/
139•thm•1h ago•119 comments

The Self-Cancelling Subscription

https://predr.ag/blog/the-self-cancelling-subscription/
116•surprisetalk•6h ago•53 comments

OpenBSD Stories: The closest thing to cute kittens (OpenBSD/zaurus)

http://miod.online.fr/software/openbsd/stories/zaurus1.html
47•zdw•1d ago•6 comments

RaTeX: KaTeX-compatible LaTeX rendering engine in pure Rust

https://ratex.lites.dev/
135•atilimcetin•3d ago•80 comments

SQLite Is a Library of Congress Recommended Storage Format

https://sqlite.org/locrsf.html
576•whatisabcdefgh•22h ago•177 comments

Motherboard sales 'collapse' amid unprecedented shortages fueled by AI

https://www.tomshardware.com/pc-components/motherboards/motherboard-sales-collapse-by-more-than-2...
184•speckx•4h ago•210 comments

MPEG-2 Transport Stream Packaging for Media over QUIC Transport

https://www.ietf.org/archive/id/draft-gregoire-moq-msfts-00.html
46•mondainx•5h ago•12 comments

Show HN: Stage CLI – An easier way of reading your AI generated changes locally

https://github.com/ReviewStage/stage-cli
23•cpan22•4h ago•20 comments

OurCar: What I learned making an app for my family

https://mendelgreenberg.com/posts/ourcar/
79•chabad360•1d ago•56 comments

Brazil's Pix Payment System Faces Pressure from Visa and Mastercard

https://www.elciudadano.com/en/brazils-pix-payment-system-faces-pressure-from-visa-and-mastercard...
69•wslh•2h ago•43 comments

GovernGPT (YC W24) Is Hiring Engineers to Build Thinking Systems in Montreal

https://www.ycombinator.com/companies/governgpt/jobs/hRyltS0-backend-engineer-thinking-systems
1•owalerys•8h ago

Show HN: TRUST – Coding Rust like it's 1989

https://github.com/wojtczyk/trust
88•wojtczyk•14h ago•57 comments

Printing Blogs

https://fi-le.net/print/
25•fi-le•1d ago•6 comments

Boris Cherny: TI-83 Plus Basic Programming Tutorial (2004)

https://www.ticalc.org/programming/columns/83plus-bas/cherny/
163•suoken•2d ago•73 comments

ProgramBench: Can language models rebuild programs from scratch?

https://arxiv.org/abs/2605.03546
126•jonbaer•16h ago•69 comments

ZAYA1-8B matches DeepSeek-R1 on math with less than 1B active parameters

https://firethering.com/zaya1-8b-open-source-math-coding-model/
69•steveharing1•11h ago•49 comments

Indian matchbox labels as a visual archive

https://www.itsnicethat.com/features/the-view-from-mumbai-matchbook-graphic-design-130426
141•sahar_builds•3d ago•32 comments

Permacomputing Principles

https://permacomputing.net/principles/
238•andsoitis•18h ago•173 comments