ai-agent

TensorFold

LLM Inference Engine for Metal, CUDA and Vulkan.
2,549 stars+169★ this week558 forksZigUpdated 11/30/2026100% free · open source
What it does

TensorFold runs LLM inference directly on your GPU (Metal, CUDA, or Vulkan) from a single Zig binary, letting you serve models locally without a separate server.

When to use it
  • •You need ultra‑low latency LLM responses and want to avoid cloud API costs.
  • •Your app runs on macOS (Metal) or Linux with an NVIDIA or Vulkan‑compatible GPU and you can ship a native binary.
  • •You want to experiment with custom quantised GGML model files without writing your own inference engine.
Ready-to-paste prompt
tensorfold -m models/13B.ggmlv3.q5_1.bin -p "Generate a JSON schema for a user profile with name, email, and optional avatar URL." --stream
Heads up: TensorFold only works with a compatible GPU driver and the matching backend flag; on macOS you must use the Metal backend, on Linux you need the CUDA toolkit (for NVIDIA) or a Vulkan SDK installed, otherwise the binary will exit with "unsupported GPU" errors.
Saves to your device
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

✅ Light setup

Installs with a command or two; your AI agent can do it for you.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/tensorfold && curl -fsSL https://workflowstacks.com/api/skills/tensorfold/claude-skill -o ~/.claude/skills/tensorfold/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

What's inside — free to inspect

No purchase needed

Read the entire source before you build — unlike paid marketplaces that hide it behind a buy button.

17
top-level files
11
folders
105.9M
source size
Apache-2.0
license
Key files
AGENTS.md
README.md
File tree
.github/
app/
assets/
docs/
engines/
LICENSES/
lines/
packaging/
tools/
web/
zig/
.dockerignore
.gitattributes
.gitignore
.zig-version
AGENTS.md
build.zig
build.zig.zon
CHANGELOG.md
CONTRIBUTING.md
Dockerfile
LICENSE
NOTICE
README.md
Quick Actions
Details
Creator
ashhart
Language
Zig
Category
ai-agent
Published
6/19/2026

Are you the creator of this tool? and earn 85% of every sale.

Show it off in your README:

Featured on WorkflowStacks
[![Featured on WorkflowStacks](https://workflowstacks.com/api/badge/tensorfold.svg)](https://workflowstacks.com/skills/tensorfold?utm_source=github&utm_medium=badge)
🔥 Hot this week, in your inbox
Skills like this, every Monday.

The five fastest-growing open-source AI skills, ranked by GitHub star growth. One email a week, unsubscribe anytime.