nullClaw – “…this is the ai-brain for robocop, kill-bot swarms, that killer dog thing from black-mirror, etc…”



Transcript
Click to reveal
5:025 minutes, 2 secondsNow, let's swing completely to the other end of the spectrum. Meet Nulclaw, a 678 kilobyte AI agent framework written
5:105 minutes, 10 secondsentirely in raw Zigg. While most agent frameworks today rely on Python,
5:155 minutes, 15 secondsTypeScript, Go or Rust, and pull in virtual machines, interpreters, garbage collectors, and runtime environments,
5:225 minutes, 22 secondsnullclaw does something radical. It eliminates the runtime layer completely.
5:265 minutes, 26 secondsNo Python, no JVM, no go runtime, no managed overhead. It compiles directly to machine code with zero dependencies
5:335 minutes, 33 secondsbeyond LIIBC. The result, a compiled binary size of 678 kilobytes, about 1 megabyte of RAM usage, boot time under 2
5:425 minutes, 42 secondsmilliseconds. Let that sink in. Most typical agent frameworks require more than 1 GBTE of RAM. Some Python-based implementations sit above 100 megabytes.
5:515 minutes, 51 secondsEven Go and Rust agents usually land in the 5 to 10 megabyte RAM range. Nullclaw runs on around 1 megabyte. Startup times
5:595 minutes, 59 secondstell the same story on normalized 0.8 GHz edge hardware. Some frameworks take over 500 seconds. Others take more than 30 seconds. Go might get under a second.
6:096 minutes, 9 secondsRust might get under 10 milliseconds.
6:116 minutes, 11 secondsNullclaw clocks in under 8 milliseconds with cold boots under 2 milliseconds in some scenarios. That's microcontroller territory. And that's exactly the point.
6:206 minutes, 20 secondsNulclaw is built for situations where you don't have a powerful computer sitting in a data center. It's made for tiny, low power devices, the kind that
6:296 minutes, 29 secondscost $5. We're talking about things like a Raspberry Pi, an Arduino, or an STM32 board. Instead of needing a full PC or
6:376 minutes, 37 secondscloud server, you can run a complete AI agent directly on small hardware that can also connect to realworld sensors
6:446 minutes, 44 secondsand devices. Under the hood, it's designed in a very flexible way. Think of it like a plug-and-play system. The parts that talk to AI models, the parts
6:526 minutes, 52 secondsthat handle messaging apps, the parts that use tools, and the parts that store memory are all separated into interchangeable blocks. So if you want
7:007 minutesto switch from OpenAI to DeepSeek or from Discord to Telegram, you don't have to rewrite the whole thing. You just change the configuration and it swaps
7:087 minutes, 8 secondsthe component while the core engine stays the same. Right now, it already supports more than 22 AI providers,
7:157 minutes, 15 secondsincluding OpenAI, Anthropic, Olama,
7:187 minutes, 18 secondsDeepseek, Gro, and others. On the communication side, it works with 13 platforms out of the box. Telegram,
7:257 minutes, 25 secondsDiscord, Slack, WhatsApp, iMessage, IRC,
7:297 minutes, 29 secondsand more. It also comes with over 18 built-in tools that let the agent actually do things, not just chat. Even though it's incredibly small, it can
7:387 minutes, 38 secondsstill manage more advanced setups where one agent coordinates smaller sub aents. It also supports something called MCP,
7:447 minutes, 44 secondsthe model context protocol, which helps standardize how models interact with tools and memory. Because it's written in Zigg, memory is handled manually
7:527 minutes, 52 secondsinstead of automatically by a background system. That sounds risky since automatic memory systems are usually there to prevent crashes. But here it's
8:008 minutesdone carefully and deliberately to keep everything extremely lightweight. To stay within about 1 megabyte of RAM while still remembering useful
8:088 minutes, 8 secondsinformation, nullclaw uses a smart mix of vector style memory search and simple keyword search. That way it can retrieve
8:158 minutes, 15 secondsrelevant information without needing a large external database running beside it. Security is built directly into the foundation. API keys are encrypted by
8:238 minutes, 23 secondsdefault using ChaCha 20 poly305 which is a fast and modern encryption method that works well even on small
8:308 minutes, 30 secondsprocessors. When the agent runs tools or executes code, it's isolated inside protective layers like Landlock, Fire
8:388 minutes, 38 secondsJail, and Docker. So even if something goes wrong, it's contained and can't mess with the rest of the system. The project itself is about 45,000 lines of
8:478 minutes, 47 secondsZig code and includes 2,738 tests to make sure everything behaves correctly and safely. It's released
8:548 minutes, 54 secondsunder the MIT license, which means companies and developers can use it freely in commercial products.

Visited 1 times, 1 visit(s) today