frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Clai – AI for the command line (stdin → LLM → stdout)

https://github.com/maxrodrigo/clai
1•maxrodrigo•1h ago
Since ChatGPT launched I've been trying to integrate LLMs into my workflows; emails, commits PRSs, or even long chat threads. My instinct was to code a small automation platform, but I found myself limited once again by its own constraints. Went back to zero, twice, and went back to the tools I've been using for years: UNIX pipelines. I started using llm and later mods (now deprecated) and they're great tools, but I wanted something leaner and that would compose better with other tools.

Clai does one thing: takes stdin, sends it to a model of your choice and prints the result. No REPL, no state. When it's done it just exits.

  git diff | clai commit
  cat article.txt | clai summarize | glow
  pbpaste | clai tldr
  curl -s example.com/article.html | clai -e "Extract the three main concepts"

It ships with a set of named prompts but you can override, add or extend as needed, they're just files with frontmatter. There's also strategies (chain-of-draft, chain-of-thought, tree-of-thought, and self-refine) to change the reasoning depending on your needs.

Works with major providers and I'll keep adding more. It can also be pointed to a local model so nothing leaves your machine.

Install with:

  brew install maxrodrigo/tap/clai
This is v0.3.0 and it's a few weeks old. It's early and rough around the edges. I'd appreciate feedback on what's missing and if you find it useful. Contributions welcome.

A peek into the physics of squeaky sneakers

https://physicstoday.aip.org/quick-study/a-peek-into-the-physics-of-squeaky-sneakers
1•akshatjiwan•31s ago•0 comments

So how does lightning locating work?

https://www.counting-stuff.com/so-how-does-lightning-locating-work/
1•speckx•54s ago•0 comments

Claude Code Free Access

https://www.bestmillionstartups.com/best/how-to-use-claude-code-for-free-2026
1•brevn•1m ago•0 comments

ChatGPT Dreaming: Reverse-engineering how its new memory system works

https://husain-zaidi.com/chatgpt-dreaming/
1•husainhz7•1m ago•1 comments

ArXiv

1•fred123123•3m ago•0 comments

Anti-Zionism gains protection by UK law

https://twitter.com/Tracking_Power/status/2084576698092163259
2•newspaper1•4m ago•0 comments

A Mass Shooter's Harrowing History with ChatGPT

https://www.motherjones.com/media/2026/08/openai-chatgpt-fsu-mass-shooting-chat-logs/
1•cdrnsf•4m ago•0 comments

Zillow Lays Off 500

https://www.zillow.com/news/how-were-organizing-for-the-path-ahead/
1•banku_brougham•4m ago•1 comments

AI is finding bugs faster than humans can fix them

https://www.zdnet.com/article/ai-is-finding-bugs-faster-than-humans-can-fix-them-how-enterprise-s...
1•CrankyBear•4m ago•0 comments

Tool to check Index funds for Immigration exposure

https://inkstickmedia.com/are-your-investments-fueling-for-profit-immigrant-detention/
1•verifier•5m ago•0 comments

The Backrooms, and Parallels to Our "Almost-Things"

https://shannadige.com/blog/backrooms-latent-space/
2•shannadige•6m ago•0 comments

US used 'virtually all' long-range precision missiles during Iran war

https://www.militarytimes.com/industry/techwatch/2026/08/04/us-used-virtually-all-long-range-prec...
2•Jimmc414•6m ago•0 comments

A unified API for AI model routing

https://developers.googleblog.com/a-unified-api-for-ai-model-routing/
2•xnx•6m ago•0 comments

AI coding agents pass tests. Can they write idiomatic Laravel?

https://laravel.com/blog/idiomatic-laravel-ai-coding-agents
2•pushpak1300•6m ago•0 comments

Tests for a PDF

https://blog.lvmbdv.dev/posts/tests-for-a-pdf/
3•majorchord•7m ago•0 comments

Mistral's Shieldstral: 3B open-weights model for multimodal moderation

https://mistral.ai/news/shieldstral/
3•riadsila•7m ago•0 comments

A game made only with sine waves [video]

https://www.youtube.com/watch?v=Qr3VsZYQy4s
2•linkdd•7m ago•0 comments

Show HN: Blender for AI Agents

https://www.mixar.app
3•namanbhargava18•8m ago•1 comments

The Math Behind "Water-Efficient AI Data Centres" Is Laughably Wrong [video]

https://www.youtube.com/watch?v=8bbe-Ev-Yns
1•mrkeen•10m ago•0 comments

The Truth About Babylon Berlin

https://art-for-a-change.com/blog/2018/04/the-truth-about-babylon-berlin.html
1•lbrito•10m ago•0 comments

Show HN: I Repurposed Unit Tests to Show How Much Coding Agents "Improvise"

https://github.com/RudderCode/Rudder
1•vivekyyy•10m ago•0 comments

Workers Drilling in Romania Broke into a Cave Sealed for 5.5M Years

https://travelandtannins.com/workers-drilling-in-romania-broke-into-a-cave-sealed-for-5-5-million...
1•yk•11m ago•0 comments

RWX raises $12M as the eng bottleneck moves from writing code to validating it

https://www.rwx.com/blog/series-a
1•dan_manges•12m ago•0 comments

Minnow – open-source AI development Workspace

https://github.com/HenriGrimm/Minnow
2•Dukkus•12m ago•1 comments

Building HomeScope with Floot and Perfai Security

https://github.com/wahidmmadiha/Building-HomeScope-with-Floot-and-Perfai-Security-/blob/main/READ...
2•madihamwahid•13m ago•0 comments

Webb telescope finds signs of ancient disaster for Neptune's moons

https://www.reuters.com/science/webb-telescope-finds-signs-ancient-disaster-neptunes-moons-2026-0...
5•Teever•14m ago•0 comments

Overclocking SM T225N's PowerVR Rogue GE8320 [video]

https://www.youtube.com/watch?v=ytFDyP2Oc_g
2•kirito1337•14m ago•0 comments

How the Amish Let Technology in Without Letting It Take Over

https://thereader.mitpress.mit.edu/how-the-amish-let-technology-in-without-letting-it-take-over/
2•cainxinth•15m ago•0 comments

List of languages by first written account

https://en.wikipedia.org/wiki/List_of_languages_by_first_written_account
2•wawayanda•15m ago•0 comments

AI useful, but warning bells grow amid illusion of overheated investment

https://www.digitaltoday.co.kr/en/view/89064/ai-useful-but-warning-bells-grow-amid-illusion-of-ov...
2•mapping365•15m ago•0 comments