Top 11 Zig LLM Projects
-
mlx-serve
Native LLM inference server for Apple Silicon. OpenAI + Anthropic API compatible. No Python. Zig backend, Swift frontend macOS app with chat, music, voice, video generation.
Project mention: vllm-mlx on Apple Silicon: Continuous Batching Works, but Unified Memory Sets the Real Limit | dev.to | 2026-10-09Instead, we reviewed the installation instructions and CLI options, then assessed throughput and configuration trade-offs using the Apple Silicon benchmark cases for vllm-mlx continuous batching, mlx-serve performance, and mlxcel scheduling. We did not execute an installation or CLI contract test in the sandbox. We used the throughput values below as benchmark reference points, not as measurements from this Linux host or a validated production capacity envelope.
-
AppSignal
Monitoring that respects your time & budget. APM, error tracking, and dashboards for modern web apps. Ten-minute setup, transparent flat pricing, and support from engineers who actually use the product.
-
Project mention: llama2.zig: Inference Llama 2 in one file of pure Zig | news.ycombinator.com | 2025-12-06
-
Project mention: Show HN: ZigFormer – An LLM implemented in pure Zig | news.ycombinator.com | 2025-11-27
Hi everyone,
I've made an early version of ZigFormer, a small LLM implemented in Zig with no dependencies on external ML frameworks like PyTorch or JAX. ZigFormer is modelled after a textbook LLM (like GPT-2 from OpenAI) and can be used as a Zig library as well as a standalone application to train a model and chat with it.
This was mainly an educational project. I'm sharing it here in case others find it interesting or useful.
Link to the project: https://github.com/CogitatorTech/zigformer
-
-
Project mention: For Structured Data, Retrieval Accuracy Isn't a Model Problem | dev.to | 2026-08-13
This is why csvql's benchmarking has always focused on two things: does the query return the exact same result set DuckDB does, and how many tokens does an agent spend getting that result.
-
Project mention: Show HN: Zsort, a fast import organizer for Zig | news.ycombinator.com | 2026-08-11
-
retro-agent
A lightweight AI agent for legacy hardware. Written in Zig, runs on Windows XP SP3 x86 with 64 MB RAM. Connects to Ollama for LLM-powered system diagnostics and management via function calling.
Project mention: I built an AI agent in Zig that runs on Windows XP with 64 MB RAM | news.ycombinator.com | 2026-03-11legacy Windows systems or working with Zig's cross-compilation story.
https://github.com/benmaster82/retro-agent
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
playpanda
Fetch any URL to clean, LLM-ready markdown. 3-tier engine: HTTP → Lightpanda → CloakBrowser.
Project mention: Your AI agent can't fetch behind logins. I built a <400kb fix in Zig. | dev.to | 2026-03-28git clone https://github.com/ancs21/playpanda.git cd playpanda zig build -Doptimize=.ReleaseFast cp zig-out/bin/playpanda ~/.local/bin/
-
talu
Talu is a single-binary, local-first LLM runtime with a Zig core and multi-language bindings — CLI, Python API, HTTP server, plugin-extensible Web UI, structured output, quantization, embeddings, and unified local/remote model routing.
Project mention: Show HN: Talu, single-binary, local-first LLM runtime | news.ycombinator.com | 2026-02-12 -
hf-hub-zig
Zig library and CLI for interacting with the HuggingFace Hub API, with a focus on GGUF model discovery, searching, viewing, and downloading.
Repository: hf-hub-zig
-
emetgate
A deterministic verification kernel between LLM agents and your source tree. The model proposes, the kernel verifies.
Project mention: Show HN: Emetgate – a verification gate between an LLM and your source tree | news.ycombinator.com | 2026-09-20
Zig LLM discussion
Zig LLM related posts
Index
What are some of the best open-source LLM projects in Zig? This list will help you:
| # | Project | Stars |
|---|---|---|
| 1 | mlx-serve | 1,826 |
| 2 | llama2.zig | 223 |
| 3 | zigformer | 52 |
| 4 | MLX.zig | 35 |
| 5 | csvql | 30 |
| 6 | zsort | 25 |
| 7 | retro-agent | 21 |
| 8 | playpanda | 11 |
| 9 | talu | 11 |
| 10 | hf-hub-zig | 2 |
| 11 | emetgate | 0 |