#6565th of 117 in Model serving
uzu
Rust on-device inference engine with Python, Swift and TypeScript bindings
- Stars
- 3.4k
- License
- MIT
- Last commit
- Nov 2026
- Last release
- Nov 2026
- Language
- Rust
1,538 on 26 Apr 20263,382 on 22 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
uzu is a Rust library that runs language models inside an application process, with bindings for Python, Swift (iOS, macOS, Mac Catalyst) and TypeScript. It downloads models by identifier and runs chat sessions with streaming, tool calls and structured output, using unified memory on Apple devices. A chat can also target a cloud model such as gpt-5 through an OpenAI API key.
Who it is for: Developers embedding local LLM inference in iOS, macOS or Rust apps
Strengths
- Same chat API across Rust, Python, Swift and TypeScript
- Embeds in the app process, so no separate server to run
- Examples cover streaming, tool calls and structured output
- MIT licensed; uses Apple unified memory
Weaknesses
- Each loaded model can use significant RAM; README advises one session at a time
- Example model IDs use Mirai-format quantization; other formats are unclear
- No HTTP server or OpenAI-compatible endpoint described in the README
- Swift package targets only Apple platforms
What it needs
- Needs OpenAI API key (optional, for cloud models)
- Models: Qwen3.5 (Mirai 4-bit), gpt-5 (cloud via OpenAI)
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe.
Known problems
Reported, then fixed by a linked change
- OpenAI server: a `developer` message is rejected because the engine uses that role for the tool declarations ↗ (opens in a new tab)0 reactions · closed 3 Nov 2026Fixed by Fix developer role ↗ (opens in a new tab)
- Grammar silently ignored for Qwen 3.5/3.6 when reasoning is disabled: end-of-thinking trigger never matches the prompt ↗ (opens in a new tab)0 reactions · closed 23 Oct 2026Fixed by Remove leading whitespace from "end of thinking" tag ↗ (opens in a new tab)
- Server prefix cache reports 0 cached tokens on identical sequential requests (0.6.2) ↗ (opens in a new tab)0 reactions · closed 13 Oct 2026Fixed by Add checking for omitted reasoning ↗ (opens in a new tab)
- Server: an assistant tool-call message echoed with `content: ""` resets the session (tool loops re-prefill every turn) ↗ (opens in a new tab)0 reactions · closed 13 Oct 2026Fixed by Add checking for empty content ↗ (opens in a new tab)
- OpenAI server rejects consecutive assistant messages from OpenCode compaction ↗ (opens in a new tab)0 reactions · closed 16 Sept 2026Fixed by Allow multiple assistant messages ↗ (opens in a new tab)
Titles are the reporters' own words, taken from the project's GitHub issues and ranked by reactions. We have not tried to reproduce any of them.
Also in Model serving
See all 117| Rank | Project | Score |
|---|---|---|
| #63 | project-mayaRuns very large MoE LLMs locally by streaming experts between GPU, RAM and SSD | 69 out of 100 |
| #64 | ds4Native C inference engine for a few large open models on Mac, CUDA and ROCm | 68 out of 100 |
| #66 | tensorfoldZig inference server for Apple Silicon and NVIDIA GPUs, no Python needed | 68 out of 100 |
| #67 | ramalamaCLI that runs and serves AI models in rootless Podman or Docker containers | 67 out of 100 |
| #68 | openlakeRust storage engine with S3 API and KV cache offload for vLLM | 67 out of 100 |