Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Definitely not Windows (Win 11 parody) (definitelynotwindows.com)
    23comments
  2. Pirating the Pirates (mubi.com)
    48comments
  3. So long Google, and thanks for all the nudes (lecaro.me)
    3comments
  4. Claude Sonnet 5.5 (anthropic.com)
    94comments
  5. Hijacking the PS5's RTMP Stream (yashgarg.dev)
    10comments
  6. Show HN: HN.watch – Videos of all Hacker News posts (hn.watch)
    14comments
  7. Parley: Federated, decentralised chat that speaks plain IRC (mills.io)
    122comments
  8. The Teen Portraits That Captivated Sofia Coppola (newyorker.com)
    1comments
  9. When did Google get so weird? (sancho.bearblog.dev)
    932comments
  10. Launch HN: Vespper (YC F24) – SOTA Docx MCP (vespper.com)
    2comments
  11. Who Wrote Elizabeth I's Most Scathing Letters? (smithsonianmag.com)
    —discuss
  12. What Heraldry and Mon Can Teach Us About Building Visual-Identity Generators (benovermyer.com)
    14comments
  13. OpenAI still doesn't seem to have a handle on all of its rogue AI activity (techcrunch.com)
    36comments
  14. MongoDB CEO resigns to join Meta (reuters.com)
    169comments
  15. Cf: The Agentic CLI for the Cloudflare API (cloudflare.com)
    12comments
  16. I made a visual workspace for AI Automations (biom.dev)
    2comments
  17. 37,500 border drawings: a map of the world as people remember it (habibicode.org)
    31comments
  18. Kids turned low-traffic NPR Spotify comments into a secret group chat (thisamericanlife.org)
    89comments
  19. Coding Is Not Solved (alexewerlof.com)
    339comments
  20. The problem is not AI code, but not knowing about system architecture or intent (ssp.sh)
    187comments
  21. What Would a Serious AI Product Look Like? (glyph.im)
    22comments
  22. Solving a corn puzzle with CP-SAT (thill.me)
    4comments
  23. Show HN: PaperMono, e-ink fridge magnet shopping list with mobile web page (github.com/seamusc)
    45comments
  24. Footguns with Postgres “at time zone 'UTC'” (bookofrevenue.com)
    81comments
  25. Show HN: Destroy Any Website with Stickman (spritefusion.com)
    5comments
  26. Owed a billion dollars in Nvidia stock (colo.to)
    426comments
  27. Show HN: Free alternative to graphics design giants (scissor.studio)
    30comments
  28. Ember-1 (fireworks.ai)
    242comments
  29. Nissan's third generation e-POWER powertrain (nissan-global.com)
    327comments
  30. Thinking fast and slow in AI: The role of metacognition (2021) (arxiv.org)
    70comments

Cf: The Agentic CLI for the Cloudflare API

35 pointsby 3h agoblog.cloudflare.com
12 comments
1h agoHN ↗

Kudos to cloudflare on this, it looks like a great CLI, I especially like the `cf cli search`.

Related, Matt Pocock's skill for having agents generate an interactive bash script for things only humans can do (or should do), presented in the context of devops like activities

https://github.com/mattpocock/skills/blob/main/skills/produc...

I have found that having the agents write scripts to use tools like this is better (less tokens, more reliability, fewer side quests) than giving it to them directly with markdown they may or may not follow on any given day.

The other benefit to this is that you can put scripts on either side of the agent and remove all credentials from their process, removing whole classes of issues you don't want to have to tell your boss about. CLIs like this are great for read-only debug sessions, but if you are going to make modifications to your cloud infra, keep doing IaC.

1h agoHN ↗

I think the shape of clouds and services is going to change given current clouds are uxed for humans. Cloudflare is making the right bet. Specially the free agent report account. That's like a wonderful idea for building agent share.

58m agoHN ↗

This is a lot to like here as someone who pretty much exclusively uses the Cloudflare API via agents. Hoping (since it's built on top of Forge), some kind of native terraform support is also in the works.

Great when you're a solo dev deploying a worker, but would be incredible for production deployments if this could also just natively output terraform code.

56m agoHN ↗

I don't know what it is about wrangler that made me dislike it so much but I welcome this change since it's meant to replace wrangler.

39m agoHN ↗

re: wrangler, my biggest gripe was inconsistency between dev and prod

24m agoHN ↗

I think I may be confusing my annoyance with pages vs workers and agents that kept deploying to pages due to outdated training data.

Wrangler still didn't feel great to use.

47m agoHN ↗

This is cool, but I've never had an issue with agents working on Cloudflare by just making REST calls. With the rest docs, it knows pretty much everything about what kind of operations it can do. Is the CLI a subset of that or does in encompass everything?

38m agoHN ↗

The actual title is

Introducing cf: the agentic CLI for the entire Cloudflare API

emphasis my own to highlight the key word missing in the HN title

41m agoHN ↗

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.

13m agoHN ↗

Are you really suggesting that the choice to use Typescript wasn't a deliberate one?

IMO -- it makes total sense within the existing Cloudflare tooling ecosystem.

4m agoHN ↗

Whether it was deliberate or not, I do not think it's a good choice. When agents can write in any language, there's no reason to pick the wrong tool for the job. At this point Javascript/Typescript belongs only in the browser. It's the suboptimal choice for every other environment. Especially for a command line tool. Even if the back-end is written in Typescript (also not the best choice imho), the clients need not be in the same language.