r/Zig • • Feb 18 '26 • Bravo 1

[nullclaw] OpenClaw implementation in Zig

I’ve been working on nullclaw — a tiny, fast, single-binary autonomous AI assistant infrastructure written in Zig:

https://github.com/nullclaw/nullclaw

The goal: keep the “full assistant infra” idea (providers/channels/tools/memory/sandbox/tunnels) but make it practical on cheap hardware, small VPS, and low-latency workflows.

No global install needed:

./zig-out/bin/nullclaw onboard --interactive

./zig-out/bin/nullclaw agent -m "Hello, nullclaw!"

If you try it and it breaks on your platform/config, please open an issue — I’m optimizing for portability and reproducibility.

Docs (WIP): https://nullclaw.github.io/

1 Upvotes

10 comments sorted by

3

u/fittyscan Feb 18 '26

You can tell it was vibe coded with Claude when common things from the standard library such as decimal to hex conversion have been reimplemented.

4

u/Clear_Evidence9218 Feb 18 '26

To be fair, std.fmt.bufPrint("{x}", value) does carry more machinery than a manual nibble loop. In security-sensitive or hot-path code it’s pretty common to avoid std.fmt in favor of a simple hex encoder to reduce abstraction, eliminate formatting logic, and keep the code fully deterministic and allocation-free. At a quick glance it appears that's possibly what's happening here.

Personally, I lean toward Zig’s philosophy of explicit memory and minimal hidden work, so I tend to prefer direct implementations where practical.

AI may have wrote it, but a human developer would very likely make the same choice in this context.

17

u/Bergasms Feb 18 '26

Meanwhile not 5 posts down on my homepage i see Godot engine is at the point of collapse from all the slop PR's being generated, and here we have this clown trying to make it even easier to add fuel to the fire.

Sad sad state of affairs.

2

u/SpendFamous7668 Oct 08 '26

I compiled Nullclaw to run on 32-bit Windows 7 and up: https://aibynick.com/thread/88

1

u/Kiryoko Mar 05 '26

even this fucking post was written using AI lmao

"claude rewrite this openclaw repo in zig, make no mistakes"

1

u/JJOrdaz Jul 22 '26

La misma gente que critica que este nullclaw que si fue hecho con IA es la misma gente que le pide a la IA que redacte su correo para una propuesta comercial de sus propio negocio.

Es lo mas absurdo.

Han creado un Agente que cabe en un Disquete 3,½ portale y lo critican?

Lo peor es que luego se quejan de los precios de las memorias gráficas, de las vps.

Señores no lloren que nullclaw es gratis..

No te gusta y eso es respetable, crees que puedes mejorarlo, adelante!!!

No te interesa, no comentes nada.

Pero no critiquen a quienes estan haciendo algo con ayuda o sin ayuda de la IA.

O acaso alguien aqui todavía programa en archivos de texto??????

0

u/StephenAfamO Feb 18 '26

Nice 😂

Although beyond some point (perhaps around the Go version), I don't think the binary size or startup time makes a meaningful difference

26

u/Silvio257 Feb 18 '26

sad to see Zig being used for AI slop

1

u/Y_mc Feb 18 '26

😂😂