This project looks really fun, and it’s bumping up to the top of my reading list. :D
If that can be connected to opencode, codex and other providers, I'd swap immediately!
I've been a harness builder this year: Juggler (https://github.com/juggler-ai/juggler) and as a veteran native C++ guy, I'm also a stickler for the "no bloat" approach. I made it a Go binary and used webviews instead of electron, with no node etc.
However, Juggler's download size has grown this year from about 40MB to 70MB, just because of the massive amount of stuff that you need to put in there to cover all the features people want.
Using Juggler as an example, any fully-featured agent is going to end up containing a list of junk like this:
- all the 3rd party libraries for provider APIs like anthropic, codex, etc, some of which contain massive amounts of generated code
- file format parsers and display classes for loads of random file types, including handling all kinds of images for multi-modal agents
- a sqlite engine just to be able to import sessions from other code agents
- a whole WebRTC stack: ICE, DTLS, SCTP and mDNS for remote connection handling
- all the official MCP SDK junk
- google's genai also drags in gRPC and protobuf with it
- Juggler's i18n alone adds about 0.5MB per language, and I've added 8 languages so far
So sure, you can write an basic agent in 5MB, but it's going to be pretty bare-bones!
So in juggler's case, it's actually one binary with all the assets it needs baked inside. Nothing to go wrong, get deleted or moved around, etc.
(Yes, I'm sure there are probably packagers for node that can hide it all in a binary too, but it all still feels like a big bag of mess to me)
Useful at least as a reminder to the industry that you don't need to drag a whole Chromium browser along just to wrap a text API
Harness is just a fancy name for an LLM text editor.
Now an emulated nostalgic TUI on a system running on top of a GPU using Vulkan, Metal, DirectX to draw a terminal emulator pretending to be a 1980's computer, most likely not.
It's only in higher level operations that frequent redrawing becomes a problem.
Maybe rendering is easier than diffing in some cases?
Have you got to the second paragraph?
"Unlike conventional ImGui applications, rendering is passive and will not consume resources while idle."