Remix.run Logo
▲ OleksandrC an hour ago

If you're looking for an agent implementation that is light on resources, but prefer to work in a terminal, consider also hax (https://usehax.dev/). Less than 2 MB fully static Linux binary, few MBs of RAM use in runtime. Works great with local models also (auto-detects config from running llama-server), besides the usual cloud providers.

▲vunderba an hour ago | parent | next [-]

If you’re the creator of this harness, you should disclose that. I have nothing against self-promotion, it’s just considered good practice.

Some feedback but it might be worth calling out how your harness differs from other relatively light-weight ones like Pi. I assume its got a much smaller memory footprint given yours is C versus Pi's. There are so many agentic harnesses out there that a comparison table might be a nice thing to have on the landind page.

Note: Just to be clear, I'm not accusing you of trying to hide it, given that the GitHub account for Hax is basically identical to your HN account.

▲OleksandrC 19 minutes ago | parent [-]

I am the author of hax, yes.

If you are familiar with pi, then some of the key features listed on the GitHub page (and website) already illustrate substantial differences: hax is much smaller in footprint (I wouldn't even call pi "light-weight", really - heavy js runtime with a lot of dependencies), hax preserves native terminal scrollback (pi uses alt-screen fullscreen, or clears in some cases in differential mode), hax uses normal XDG dirs (pi uses ~/.pi), hax is extended out-of-process (pi suggests in-process plugins).

There are other differences in presentation, and in features (for example, hax has background bash invocation out-of-the-box). Not practical to list all of them.

▲vunderba 11 minutes ago | parent [-]

Thanks I'll have to set aside some time later to try it out. It's kind of a sliding scale, but pi is definitely lighter-weight when compared to harnesses like Opencode and the all-batteries included "Oh-My-Pi".

And of course, “lightweight” does have a lot of interpretations where harnesses are concerned (memory footprint, binary size, performance, system prompt, etc).

▲eleventen 33 minutes ago | parent | prev [-]

I don't understand the value proposition. It “works great for local models” (they all do) so you’ve got more RAM than you possibly need for any TUI you might want to run. Are people really fretting over a few MB of memory rather than evaluating these tools on their ergonomics and features?

Why would anyone aside from a C hobbiest want to use this? And what does terminal native even mean?

▲OleksandrC 15 minutes ago | parent [-]

Typical coding agents of today consume hundreds of MBs of RAM. Once you add GUI into the mix, that could easily slip into GBs. You might feel the difference, when you're trying to fit a capable local model into small amount of local RAM.

Even on 64 GB RAM machines you could easily get memory pressure on the system when trying to work with a chonky local model. Consider also resource-constrained cases like small VPS servers or SBC computers (like Raspberry Pi).

Ergonomics and features are included too here. The point is that these can coexist with small resource footprint.