Curated list and benchmark leaderboard of ultra-lightweight, zero-dependency C/C++/Rust/Assembly engines for local LLMs, edge inference, vector search, and AI agents (2026-2027)
1
stars
3
commits
Sep 13, 2026
updated
A curated leaderboard, benchmark index, and definitive guide to ultra-lightweight, zero-dependency, bare-metal AI engines written in pure C, C++, Rust, Zig, and Assembly for local LLMs, edge inference, vector search, and autonomous agents.
In 2024β2025, deploying AI often meant 2GB Docker images, multi-gigabyte Python runtimes, and complex distributed clusters.
In 2026β2027, the paradigm has shifted:
| Category | Project | Language | Binary Footprint | Latency / Throughput | Zero External Deps? | Key Hardware Target |
|---|---|---|---|---|---|---|
| Vector Search | NanoVector | Pure C99 | ~120 KB | 96 Β΅s (2.85M vecs/s) | Yes (0 deps) | AVX2+FMA, ARM NEON, FASM |
| Vector Search | USearch | C++11 | ~800 KB | ~120 Β΅s (ANN HNSW) | Yes (Header-only) | AVX-512, NEON, SVE |
| Vector Search | FAISS | C++ / Python | ~25 MB+ | Variable (Large batch) | No (BLAS / OpenMP) | AVX2, CUDA |
| Vector Search | sqlite-vss | C / C++ | ~2.5 MB | ~350 Β΅s | Depends on SQLite | CPU |
| GEMM / Tensors | NanoGEMM | Pure C99 | ~100 KB | Sub-microsecond | Yes (0 deps) | AVX2, ARM NEON, FASM |
| GEMM / Tensors | BLIS | C99 | ~5 MB | High (Large matrix) | Yes | AVX-512, AMX, NEON |
| LLM Inference | llama.cpp | C / C++ | ~15 MB | Fast (CPU/GPU GGUF) | Yes | AVX2, Metal, CUDA, Vulkan |
| 1-Bit LLM | bitnet.cpp | C++ | ~10 MB | Ultra-low wattage | Yes | AVX2, AVX-512, NEON |
| Screen Capture | ScreenCapture Pro | FASM / C / Py | ~190 KB | Zero-memory pipe | Yes | Win32 x64, WASAPI, SIMD |
| Desktop Memory | NanoRecall | C99 / Py | <200 KB | 0.28 ms (Exact search) | Yes (0 cloud) | AVX2, Win32, WinRT OCR |
| Agent JIT / Runtimes | AgentJIT | Python / AST | <50 KB | 0.08 ms (185,000x faster) | Yes (0 deps) | CPU, Free-Threaded (No-GIL) |
| Speech / STT | whisper.cpp | C / C++ | ~8 MB | Sub-realtime on CPU | Yes | AVX2, Metal, NEON |
Ultra-compact, low-latency vector indexers engineered for local RAG and long-term memory in autonomous agents:
.nvec binary persistence, in-kernel metadata filtering ($eq, $in, etc.), and 1-line drop-in LangChain integration with zero external dependencies.Bare-metal General Matrix Multiplication (GEMM) engines that eliminate BLAS dispatch overhead for latency-critical small-to-medium tensors:
Just-in-time compilers that trace dynamic, stochastic multi-step AI agent trajectories and compile them into deterministic, sub-millisecond Python code with zero token consumption:
pip install agentjit).C/C++ runtimes capable of serving Large and Small Language Models directly on consumer laptops, edge gateways, and IoT devices without cloud APIs:
Next-generation sub-byte inference architectures designed for extreme wattage efficiency:
Native multimedia and telemetry suites built for real-time edge processing:
| Instruction Set | Typical Vector Width | Key Capability | Representative Platforms |
|---|---|---|---|
| x86-64 AVX2 + FMA | 256-bit (8 Γ float32) | Fused multiply-add, unrolled SIMD | Modern Intel Core / AMD Ryzen CPUs |
| x86-64 AVX-512 | 512-bit (16 Γ float32) | Masked vector ops, BF16/VNNI acceleration | Intel Xeon / AMD Zen 4/5 |
| ARM NEON | 128-bit (4 Γ float32) | Universal mobile and Apple Silicon vector math | Apple M-series, Cortex-A7x, Raspberry Pi 4/5 |
| ARM SVE / SVE2 | Scalable (128β2048-bit) | Vector length agnostic HPC compute | AWS Graviton3/4, modern Neoverse cores |
| RISC-V Vector (RVV) | Variable | Open-standard vector extension | Edge AI microcontrollers, Kendryte K230 |
Contributions from authors and maintainers are enthusiastically welcomed!
To the extent possible under law, this work is dedicated to the public domain under the Creative Commons CC0 1.0 Universal License.
3 commits
Curated list and benchmark leaderboard of ultra-lightweight, zero-dependency C/C++/Rust/Assembly engines for local LLMs, edge inference, vector search, and AI agents (2026-2027)
1
stars
3
commits
Sep 13, 2026
updated
A curated leaderboard, benchmark index, and definitive guide to ultra-lightweight, zero-dependency, bare-metal AI engines written in pure C, C++, Rust, Zig, and Assembly for local LLMs, edge inference, vector search, and autonomous agents.
In 2024β2025, deploying AI often meant 2GB Docker images, multi-gigabyte Python runtimes, and complex distributed clusters.
In 2026β2027, the paradigm has shifted:
| Category | Project | Language | Binary Footprint | Latency / Throughput | Zero External Deps? | Key Hardware Target |
|---|---|---|---|---|---|---|
| Vector Search | NanoVector | Pure C99 | ~120 KB | 96 Β΅s (2.85M vecs/s) | Yes (0 deps) | AVX2+FMA, ARM NEON, FASM |
| Vector Search | USearch | C++11 | ~800 KB | ~120 Β΅s (ANN HNSW) | Yes (Header-only) | AVX-512, NEON, SVE |
| Vector Search | FAISS | C++ / Python | ~25 MB+ | Variable (Large batch) | No (BLAS / OpenMP) | AVX2, CUDA |
| Vector Search | sqlite-vss | C / C++ | ~2.5 MB | ~350 Β΅s | Depends on SQLite | CPU |
| GEMM / Tensors | NanoGEMM | Pure C99 | ~100 KB | Sub-microsecond | Yes (0 deps) | AVX2, ARM NEON, FASM |
| GEMM / Tensors | BLIS | C99 | ~5 MB | High (Large matrix) | Yes | AVX-512, AMX, NEON |
| LLM Inference | llama.cpp | C / C++ | ~15 MB | Fast (CPU/GPU GGUF) | Yes | AVX2, Metal, CUDA, Vulkan |
| 1-Bit LLM | bitnet.cpp | C++ | ~10 MB | Ultra-low wattage | Yes | AVX2, AVX-512, NEON |
| Screen Capture | ScreenCapture Pro | FASM / C / Py | ~190 KB | Zero-memory pipe | Yes | Win32 x64, WASAPI, SIMD |
| Desktop Memory | NanoRecall | C99 / Py | <200 KB | 0.28 ms (Exact search) | Yes (0 cloud) | AVX2, Win32, WinRT OCR |
| Agent JIT / Runtimes | AgentJIT | Python / AST | <50 KB | 0.08 ms (185,000x faster) | Yes (0 deps) | CPU, Free-Threaded (No-GIL) |
| Speech / STT | whisper.cpp | C / C++ | ~8 MB | Sub-realtime on CPU | Yes | AVX2, Metal, NEON |
Ultra-compact, low-latency vector indexers engineered for local RAG and long-term memory in autonomous agents:
.nvec binary persistence, in-kernel metadata filtering ($eq, $in, etc.), and 1-line drop-in LangChain integration with zero external dependencies.Bare-metal General Matrix Multiplication (GEMM) engines that eliminate BLAS dispatch overhead for latency-critical small-to-medium tensors:
Just-in-time compilers that trace dynamic, stochastic multi-step AI agent trajectories and compile them into deterministic, sub-millisecond Python code with zero token consumption:
pip install agentjit).C/C++ runtimes capable of serving Large and Small Language Models directly on consumer laptops, edge gateways, and IoT devices without cloud APIs:
Next-generation sub-byte inference architectures designed for extreme wattage efficiency:
Native multimedia and telemetry suites built for real-time edge processing:
| Instruction Set | Typical Vector Width | Key Capability | Representative Platforms |
|---|---|---|---|
| x86-64 AVX2 + FMA | 256-bit (8 Γ float32) | Fused multiply-add, unrolled SIMD | Modern Intel Core / AMD Ryzen CPUs |
| x86-64 AVX-512 | 512-bit (16 Γ float32) | Masked vector ops, BF16/VNNI acceleration | Intel Xeon / AMD Zen 4/5 |
| ARM NEON | 128-bit (4 Γ float32) | Universal mobile and Apple Silicon vector math | Apple M-series, Cortex-A7x, Raspberry Pi 4/5 |
| ARM SVE / SVE2 | Scalable (128β2048-bit) | Vector length agnostic HPC compute | AWS Graviton3/4, modern Neoverse cores |
| RISC-V Vector (RVV) | Variable | Open-standard vector extension | Edge AI microcontrollers, Kendryte K230 |
Contributions from authors and maintainers are enthusiastically welcomed!
To the extent possible under law, this work is dedicated to the public domain under the Creative Commons CC0 1.0 Universal License.
3 commits