frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Unix Isn't for Agents

https://pwhite.org/unix-is-not-for-agents
18•handfuloflight•5h ago

Comments

xyzsparetimexyz•2h ago
It's not X it's Y ass blog post
tensegrist•2h ago
…what about, you know, sockets?
dcchuck•1h ago
Yes exactly.

The problem is TUIs. Or at least the assumption you're only supposed to use a TUI. There are plaintext ways to invoke things but the advertised Claude/Codex experience is a TUI. You can't pipe the contents because it's not next - it's instructions to draw to the terminal.

<humor>TUIs are the new podcast! With everyone asking you to invoke tools via a TUI, there was nobody left to write actual tools.</humor>

TLDR - make sure you support plain text too ;)

jaen•2h ago
Might've fact-checked this article after letting Claude write it...

Erlang processes are in no way what's commonly called "persistent" - there's no way to persist them automatically (ie. freeze to disk and wake later). It's even preferred to either use external databases like Mnesia or manually implement persistence in the actor itself for robustness.

The only even slightly mainstream persistent environment is Smalltalk with its images.

For Linux there's also CRIU, but that has quite a few caveats.

If the definition of "persistent" is "processes run until they're done or they crash", well, pretty much everything fulfils that, so the distinction is meaningless.

> "You can send messages to a process from a terminal, from another process, from a web socket, from anywhere."

Also technically wrong. This only works if you have a cluster of erlang nodes already set up in full mesh mode. It's not auto-discoverable, scalable, P2P or anything remotely like that. If you want that, it's outside the Erlang stdlib. Websockets etc. need to be manually proxied. There's no standard protocol, security boundary or anything...

Ugh, actually I give up, there's too many mistakes to even go into.

Final opinion: slop.

AreShoesFeet000•1h ago
It sounds like people are being paid to push Erlang for agentic stuff. Cool story, but if I end up feeling like I need to “return to the 20th century” for abstractions, I’ll just use Lisp.
sergius•1h ago
Unix is a base layer that provides enough abstractions to build services. Perhaps there are better abstractions if one looks at Plan 9... but that never took off unfortunately.

What they want is a framework for persisting stuff... that is an application level service... go ahead and build one.

jauntywundrkind•1h ago
Agreed!

Clients and daemons end up relying of fairly heavyweight protocols to chat (dbus, various DB protocols, grpc), and it feels cumbersome, and means leaving the native paradigm of the shell anyways when we drift into these protocols.

Its not an agent problem specifically: this is a meta-crisis. There is an ongoing meta-thread about "the tyranny of the application", that it contains its process and is bad at sharing, that the data is the thing and multiple tools ought be able to coordinate around the data. This extends to CLI programs too! They too are really not good at making the state they hold (as both a Model of the data and as a ViewModel over their interfaces) available, extropic.

Plan9 is as close as we've gotten to addressing this. We could implement more 9p protocol or Filesystems in UserSpacE (FUSE) programs to make their state easily available.

Turso has an interesting agentfs, which is just a filesystem that happens to be on Turso, their sqlite compatible rust database. This is a bit generic of a filesystem, isn't very application specific. But it is intended for agent use, and it uses FUSE, so is definitely notable here. It would be neat to see this adapted to expose more interesting application specific payloads. Their intro post: The Missing Abstraction for AI Agents: The Agent Filesystem https://turso.tech/blog/agentfs https://turso.tech/blog/agentfs-fuse

(The sqlite compatible backing here would also allow for interesting SQL based processing of the state too, which could be a bonus; you now have dual interfaces, fs or DB, for the same data)

chrisshroba•1h ago
Processes by default get stdin and stdout. If you run a command interactively from your tty, the tty shows your stdout and collects stdin from you to pass to the process. But nothing about Unix prevents you from hooking something else up to stdin and stdout. As another commenter said, you could use sockets and have a completely generic input and output stream which an arbitrary tool could read and write to. Or you could spin up a websocket server that spawns the process and converts between websocket messages and stdin/stdout bytes. Or http requests and long polled responses. Or read input from a speech to text stream and push output into a text to speech stream.

I feel like OP’s main gripe is that persistent interactive sessions should be supported without a third party tool like tmux or screen or zellij, but one of the main strengths of Unix is that it provides platform building blocks which can be composed to create whatever experience you’re looking for.

hybrid_study•1h ago
This is kinda expected — OSes aren’t going to suddenly be rewritten for AI. What we’re really seeing is a hybrid model: hardware and kernel stay the same (primitives, isolation, scheduling), and on top of that you get an AI runtime / agent platform that handles task scheduling, shared state, and inter-agent coordination. Agents, tools, and workflows sit above that, orchestrating tasks. Deterministic programs remain because they’re cheaper, faster, and easier to verify; the AI layer just adds a structured way to coordinate and automate things without replacing the underlying OS. Basically, the kernel stays the substrate; the “agentic paradigm” lives above it.
yomismoaqui•1h ago
Reading the article reminded me of a thing that I've seen Codex do lately. Instead of writing new files using a write tool (or apply_patch) it just does this:

  cat > lib/example.txt <<'EOF'
  Line 1
  Line 2
  EOF
I don't know if Unix isn't for agents but surely they know how to use it.
jauntywundrkind•1h ago
Coincidentally, I noticed yesterday that Deciduous (a tool, skill-set, & program for LLMs to look at git history & build decision graphs) opened a draft to switch to Elixer, from rust. https://github.com/notactuallytreyanastasio/deciduous/pull/1...

OTP Supervision is listed as one of the primary reasons for this switch. I also noticed: 15,441 lines added / 109,254 lines removed !

There's definitely a bunch of agent related thing out there they have various daemons they kick off. I feel like often this is over some kind of fancy protocol, where there is still a somewhat thick CLI client. I wanted to play around with making a very thin CLI (and with a prefork model in rust) and wrote a little sample repo for myself to explore the idea: it just passes the stdin/stdout/stderr directly to the daemon, for it process with. https://tangled.org/jauntywk.bsky.social/pfd

bryanlarsen•58m ago
> For AI agents, we're all running tmux. Or screen. Or nohup with tail -f.

None of the above for me. I'm using either mosh or emacs --daemon.

Wikipedia in read-only mode following mass admin account compromise

https://www.wikimediastatus.net
431•greyface-•2h ago•131 comments

GPT-5.4 Thinking System Card

https://openai.com/index/gpt-5-4-thinking-system-card/
69•mudkipdev•31m ago•20 comments

Show HN: Jido 2.0, Elixir Agent Framework

https://jido.run/blog/jido-2-0-is-here
137•mikehostetler•2h ago•36 comments

Good software knows when to stop

https://ogirardot.writizzy.com/p/good-software-knows-when-to-stop
189•ssaboum•4h ago•109 comments

A GitHub Issue Title Compromised 4k Developer Machines

https://grith.ai/blog/clinejection-when-your-ai-tool-installs-another
97•edf13•2h ago•14 comments

Datasets for Reconstructing Visual Perception from Brain Data

https://github.com/seelikat/neuro-visual-reconstruction-dataset-index
19•katsee•2h ago•1 comments

Optimizing Recommendation Systems with JDK's Vector API

https://netflixtechblog.com/optimizing-recommendation-systems-with-jdks-vector-api-30d2830401ec
17•mariuz•2d ago•0 comments

Show HN: PageAgent, A GUI agent that lives inside your web app

https://alibaba.github.io/page-agent/
28•simon_luv_pho•1h ago•5 comments

The Government Uses Targeted Advertising to Track Your Location

https://www.eff.org/deeplinks/2026/03/targeted-advertising-gives-your-location-government-just-as...
77•hn_acker•1h ago•20 comments

Nvidia PersonaPlex 7B on Apple Silicon: Full-Duplex Speech-to-Speech in Swift

https://blog.ivan.digital/nvidia-personaplex-7b-on-apple-silicon-full-duplex-speech-to-speech-in-...
313•ipotapov•10h ago•100 comments

The Brand Age

https://paulgraham.com/brandage.html
8•bigwheels•55m ago•1 comments

Launch HN: Vela (YC W26) – AI for complex scheduling

7•Gobhanu•55m ago•9 comments

GPT-5.4 Thinking and GPT-5.4 Pro

https://twitter.com/i/status/2029620619743219811
36•denysvitali•27m ago•2 comments

Fast-Servers

https://geocar.sdf1.org/fast-servers.html
64•tosh•4h ago•24 comments

Google Workspace CLI

https://github.com/googleworkspace/cli
839•gonzalovargas•18h ago•268 comments

Greg Kroah-Hartman Stretches Support Periods for Key Linux LTS Kernels

https://fossforce.com/2026/03/greg-kroah-hartman-stretches-support-periods-for-key-linux-lts-kern...
27•brideoflinux•3d ago•8 comments

Google Safe Browsing missed 84% of confirmed phishing sites

https://www.norn-labs.com/blog/huginn-report-feb-2026
197•jdup7•3h ago•58 comments

World-first gigabit laser link between aircraft and geostationary satellite

https://www.esa.int/Applications/Connectivity_and_Secure_Communications/World-first_gigabit-per-s...
118•giuliomagnifico•4d ago•46 comments

Relicensing with AI-Assisted Rewrite

https://tuananh.net/2026/03/05/relicensing-with-ai-assisted-rewrite/
325•tuananh•13h ago•327 comments

GPT 5.4 Thinking and Pro

https://twitter.com/OpenAI/status/2029620619743219811
23•twtw99•23m ago•2 comments

Intelligence is a commodity. Context is the real AI Moat

https://adlrocha.substack.com/p/adlrocha-intelligence-is-a-commodity
95•adlrocha•4d ago•58 comments

Poor Man's Polaroid

https://boxart.lt/blog/poor_mans_polaroid
152•ZacnyLos•10h ago•48 comments

The Man Who Broke into Jail

https://www.newyorker.com/magazine/2026/03/09/alexander-friedmann-profile-prison-reform
48•fortran77•1d ago•29 comments

Building a new Flash

https://bill.newgrounds.com/news/post/1607118
670•TechPlasma•22h ago•224 comments

AMD will bring its “Ryzen AI” processors to standard desktop PCs for first time

https://arstechnica.com/gadgets/2026/03/amd-ryzen-ai-400-cpus-will-bring-upgraded-graphics-to-soc...
189•Bender•3d ago•166 comments

Smalltalk's Browser: Unbeatable, yet Not Enough

https://blog.lorenzano.eu/smalltalks-browser-unbeatable-yet-not-enough/
115•mpweiher•10h ago•56 comments

Judge orders government to begin refunding more than $130B in tariffs

https://www.wsj.com/politics/policy/judge-orders-government-to-begin-refunding-more-than-130-bill...
667•JumpCrisscross•4h ago•495 comments

Jails for NetBSD – Kernel Enforced Isolation and Native Resource Control

https://netbsd-jails.petermann-digital.de/
85•vermaden•11h ago•22 comments

Arabic document from 17th-cent. rubbish heap confirms semi-legendary Nubian king

https://phys.org/news/2026-02-arabic-document-17th-century-rubbish.html
118•wglb•2d ago•36 comments

The IRIX 6.5.7M (sgi) source code

https://github.com/calmsacibis995/irix-657m-src
45•reconnecting•3h ago•20 comments