Top 6 Zig LLM Projects
-
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
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
-
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
-
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
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 | zigformer | 51 |
| 2 | MLX.zig | 33 |
| 3 | retro-agent | 11 |
| 4 | playpanda | 10 |
| 5 | talu | 9 |
| 6 | hf-hub-zig | 2 |