Sofuu: The general purpose Runtime for AI
For when you need to run local vector memory without separate background daemons.
Execute local artificial intelligence models and vector memory inside a single process for JavaScript and TypeScript developers building offline apps.
What it does
Standalone binary compiler
Packages TypeScript or JavaScript agent code into a single executable binary under 10 MB.
“Turn any TypeScript/JavaScript agent into a single, self-contained native executable. Bundles QuickJS bytecode and optional .qtsq vector brains behind a 32-byte SOFUU_BIN_V1 trailer with automated Mach-O codesigning.”
Encrypted local vector memory
Stores vector embeddings on-device with encryption enabled by default.
“Local vector memory encrypted by default, with an explicit plaintext mode. The first encrypted flush uses a 64 MiB Argon2 derivation; subsequent derivations can use the cache.”
Native Model Context Protocol
Provides built-in client and server communication without extra Python virtual environments.
“Built-in Model Context Protocol client and server across stdio, SSE, and direct in-process transports.”
Deterministic security policy engine
Restricts filesystem, network, tool, and shell interactions using deterministic evaluation rules.
“Deterministic R7 Security: One policy evaluator governing tools, shell, filesystem, network, and MCP when configured.”
Declarative Kaze language DSL
Allows developers to write domain-specific agent routines in dedicated files.
“Write domain-specific routines in Kaze (.kaze) and compile supported code.”
What Sofuu doesn't do
- It doesn't support model training or fine-tuning.
- It doesn't provide multi-GPU distributed serving.
- It doesn't support full Node.js ecosystem features like N-API native addons, worker threads, or WebSocket clients.
- It doesn't support Windows CI binary builds today.
Questions people ask
5 answers, each tied to a line on sofuu.xyz.
What is Sofuu?
Sofuu is a lightweight native runtime for AI applications, tools, and agents under 10 MB written in Rust, QuickJS, and libuv.
Source: sofuu.xyzHow big is the Sofuu binary?
The single self-contained binary is under 10 MB, measuring 5.39 MiB on macOS arm64.
Source: sofuu.xyzDoes Sofuu require Python or separate background daemons?
No, Sofuu operates as a single process with zero background daemons and requires no Python installation.
Source: sofuu.xyzHow fast is Sofuu's cold start?
Sofuu achieves a 22.5 ms median cold start time on macOS arm64.
Source: sofuu.xyzIs local vector memory encrypted in Sofuu?
Yes, local vector memory is encrypted by default with an explicit plaintext mode available.
Source: sofuu.xyzTablif reads sofuu.xyz and writes this page; every line comes from the product's own pages. The founder can correct or hide any line. Tablif publishes one welcome page; after that, new pages go live only after the founder approves them. The Tablif Town game below never changes what is written here.
Sofuu is #115 in Tablif Town
0 residents · 0 campaigns sent. Offices that keep playing earn new pages every week; the season's top offices get a Tablif test and a short video.