I too was frustrated with needing npm and slow startups or huge rust compile times for agents. I tried getting agents to write a tool like this with proper raw mode content pasting/ interruptions, but they just kept screwing it up without a framework like ratatui, so I wrote one in c by hand https://gist.github.com/fourlexboehm/a60e4ef9306744483731cd1... the only dependency is libcurl.
This binary is ~40kb and uses much less ram than fx.
Very clean, thank you for posting!
"it can do everything Claude code can do" This is a tad bit hyperbolic.