‹ BackHN Continuity

Thread

Cf: The Agentic CLI for the Cloudflare API

171 points · 88 comments · macleos

  1. slowin · · focus · HN ↗
    I don't understand why this is written in Typescript. This is a great example of how agents can write code (I'm sure they wrote `cf`), yet having fundamental computer science knowledge is still critical. Do not force your users to manage the dependencies of your cli. Do write your cli in a compiled language. Understand the reason for those decisions and tell your agents to use the correct architecture.
    1. perching_aix · · focus · HN ↗
      "Claude, rewrite this in amd64 and arm64 assembly. Optimize it to the max, and make no mistakes. Oh yeah, formally verify it while there, may as well."
      1. cruffle_duffle · · focus · HN ↗
        You laugh now but in 5 years when these LLM’s operate at thousands or tens of thousands of tokens per second on dedicated hardware in your phone… “might as well” won’t even be a joke.
        1. perching_aix · · focus · HN ↗
          Oh, I'm not entirely sure I was joking. This is already well possible at this point, it's just goofy sounding.
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.