Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Astra for Law(openai.com ↗)
    77comments
  2. Hister: A private search engine for the pages you visit and the files you keep(github.com/asciimoo ↗)
    110comments
  3. Bend(bend-lang.com ↗)
    13comments
  4. Everybody's Lost Their Minds(netmeister.org ↗)
    49comments
  5. Fujitsu launches made-in-Japan next-generation CPU FUJITSU-MONAKA(global.fujitsu ↗)
    163comments
  6. Wax motor(wikipedia.org ↗)
    21comments
  7. CrowdSec Source Code Leak(crowdsec.net ↗)
    30comments
  8. Towards Self-Driving Codebases(detail.dev ↗)
    62comments
  9. Infinite-Parameter LLMs: Generating and Adapting Weights from Live Data(arxiv.org ↗)
    22comments
  10. Rate limits on GitLab.com are changing(about.gitlab.com ↗)
    96comments
  11. André Weil and the Hodge Conjecture(jiahao116.github.io ↗)
    4comments
  12. Why I didn’t sign the Fields medallists’ letter(gowers.wordpress.com ↗)
    219comments
  13. The American Religion of Self-Storage Facilities(newyorker.com ↗)
    258comments
  14. Running Ubuntu on the Lenovo IdeaPad Duet(vhaudiquet.fr ↗)
    13comments
  15. Zettascale (YC S24) Is Hiring ASIC/FPGA Engineers to Build Chips for ASI(zscc.ai ↗)
    discuss
  16. How GLM built its own inference infrastructure(z.ai ↗)
    248comments
  17. TSMC revealing details about next gen A14 node(mapyourshow.com ↗)
    19comments
  18. T. Rex Had a Body Temperature of 97 Degrees(nytimes.com ↗)
    59comments
  19. Canto: A speech model built for the real world(wisprflow.ai ↗)
    5comments
  20. Launch HN: Skillsync (YC W26) – AI chat sessions made portable across agents
    41comments
  21. One year of sponsored Servo development(servo.org ↗)
    133comments
  22. How do we prevent mathemathics from devolving into the Medieval Era of secrecy?(mathoverflow.net ↗)
    12comments
  23. CCC invites all model citizens to 40C3(ccc.de ↗)
    164comments
  24. Don't Make Job Referrals Public(melashri.net ↗)
    12comments
  25. Vibe Coding is the new Internet Dating?(joecmarshall.com ↗)
    83comments
  26. Grand MS-DOS Gaming General MIDI Showdown(johnnovak.net ↗)
    8comments
  27. Show HN: Share your AI Setup, Learn from others(mysetup.ai ↗)
    77comments
  28. The Return of Sail Power: Cargo Ships Are Turning Back to the Wind(gcaptain.com ↗)
    118comments
  29. LLM Classification Is Feature Engineering(minimallysufficient.com ↗)
    16comments
  30. Vinix – A modern operating system written in V(vinix-os.org ↗)
    55comments

Show HN: Aclif – Agent CLI framework: one grammar, canonical names across SaaS

27 pointsby 4h agoaclif.ai
16 comments
Simple discovery of the provider's default schemas is possible without any credentials (since they are built into the binary). If you want it to fetch customizations of your specific instance, give it credentials to your org.

The repo has more details. https://github.com/agent-cli-framework/aclif

4h agoHN ↗

We found after deploying many enterprise agents that letting the model choose tools at run time can cause problems. The agent holds the credential and sometimes chooses the wrong tool. Using the same tool every time prevents this.

3h agoHN ↗

Absolutely in love. I'll be testing this after the daily grind.

I've had nothing but success with converting daily work into "notes" that then translate into runnable, deterministic application CLIs to completely sidestep "what do I need to say to you to make you do the thing??"

I'm interested in how this spreads across enterprise flows, because the issue is always discovery and usability.

How deep do you usually go with CLI composition and layering? Do you tend to find a flat list of commands and sub command help works most? Have you experimented with connecting CLIs Linux-pipe-style as if it was a dynamic application in the OS?

3h agoHN ↗

The objectives are to reduce/eliminate as much inference variability as possible. A side benefit is that inference costs collapse as well.

It is used internally for what we call 'compiled workflow agents' where no inference is necessary. An agent composer determines the exact command at design time. That is part of a discovery loop that can introspect the service to construct the command.

More here. https://www.promptone.ai/resources/downloads/

2h agoHN ↗

The command structure is provider/topic/command. Taken literally from the oclif framework, with the provider simply being a topic namespace. Haven't needed to pipe anything since in our deployments, the agent makes a call to the gateway via a command API so a pipe wouldn't be possible between commands

2h agoHN ↗

"The agent holds the credential"

Huh? It shouldn't. Am I misunderstanding, or is this referencing poor practices?

"Using the same tool every time prevents this"

What does this mean? I looked at the project, im not sure what this means.

2h agoHN ↗

In many cases, the agent does hold the credential. When you authorize OpenClaw to read your gMail, OpenClaw has the credential. This is absolutely a poor practice, but common, nevertheless.

As for using the 'same tool', what I meant was that you the agent doesn't have to pick the tool at all. There is just one: the aclif CLI. Not separate tools for Salesforce, Docusign, Workday, etc that the agent needs to learn (and possibly mess up). Just the one aclif tool. Same grammar for all external services. Less agent inference the better.

Finally, alif CLIs support individual auth so a request can use SSO identities and fetch a token from a secrets value. The CLI holds the secret. If you deploy the CLI on a host or gateway, the agent never sees it.

1h agoHN ↗

Some really broad assumptions here, and youre being unclear.

"When you authorize OpenClaw to read your gMail, OpenClaw has the credential."

I can only assume you are implying that the execution environment accessible by the model via the harness here, had access to the credential. This is not even broadly true, as there are many single click solutions for deploying gateways that will allow operators to tls inspect and replace secrets in flight, outside of the agent execution environment.

Sure, not doing that is poor practice- but your phrasing is unfair.

"the agent doesn't have to pick the tool at all. There is just one: the aclif CLI"

Okay, so- if thats the only tool, then why are we even talking about credentials? Why are we talking about openclaw? The whole conversation regarding creds being in bad places is predicated on agents having native control over a sandbox- generally through shell. If your use case lets you bake whatever resource access is needed into a single tool- then many other security layers bubble up in value, being that you no longer need to authn/z arbitrary networked calls.

Also, yea sure- there is "one tool", all you've done is abstracted the tools into arguments.

"Less agent inference the better."

Show me the data, then. Show me how this performs better than the alternatives. This sounds like all you've done here is reinvent progressive disclosure?

"The CLI holds the secret. If you deploy the CLI on a host or gateway, the agent never sees it."

Okay, so- brokering, again. How are you solving authz then?

1h agoHN ↗

My response was simplified because your question was basic. OpenClaw was one example that fit the pattern, not a claim that every deployment holds the credential in the sandbox. Injection proxies exist and I should have said so. As for showing the data for advantages, I'll refer you to Anthropic and Cloudflare's Code Mode

https://www.anthropic.com/engineering/code-execution-with-mc... https://blog.cloudflare.com/code-mode-mcp/

We have our own, but will defer to 3rd party evidence.

Reinventing progressive disclosure is definitely part of this, but that's only one element of the approach. To be clear, this is all based on what we use internally, deployed in a particular way within our platform. Will leave it up to others to determine how useful it may be for them.

As for authz, that's what the rest of our system does and is beyond the scope of the aclif effort.

3h agoHN ↗

I have to build a cli for every provider? Seems like a lot of effort.

3h agoHN ↗

Tell your providers to stop building workspaces with conflicting identifiers and namespaces.

2h agoHN ↗

I thought I made it clear right up front. 'Why agents need their own CLI'

What's not clear about that?

2h agoHN ↗

Here's a good set of questions for any write up:

Who are we talking about? What's their role? (What agent? What is the job to be done?)

What is the status quo? What's the problem with the status quo? What else has been tried? What's the consequence of not solving the problem? What more important problem do you need to work on that you're blocked because of this problem? What's the ideal solution? What's the current offer? Why would someone say no to any given solution? How have you addressed those problems?

2h agoHN ↗

How does this differ from the printing press?