uzu is a Rust inference engine with bindings to run chat, tools, vision, and structured output in apps, plus optional CLI and HTTP server modes.
Overview
uzu is a high-performance inference engine for running AI models on device. It targets applications that want local inference with a simple high-level API, unified model configuration, and computations that can be traced against a reference implementation.
The core ships as a native Rust crate with bindings for Rust, Python, Swift, TypeScript, and Kotlin. Backends include Metal on Apple silicon, Vulkan on Linux and Windows, CPU, and Android arm64 with Vulkan. Model download and inference setup are largely automatic. Capabilities include chat sessions, cloud-model chat, shared instances, grammar-based JSON output, tool calls, and vision examples.
You can embed inference directly in mobile or desktop code, or run packaged examples through a cargo-tools workflow. A CLI mode offers an interactive terminal UI to browse, download, and chat with models, including image attachments when the model supports vision.
An optional OpenAI-compatible HTTP server loads a model at startup, listens on localhost by default, and exposes chat completions, model listing, and related endpoints; decision models can expose a separate structured decision API. The engine uses a dedicated model format exportable with the lalamo tool.
Key features
- Rust core with multi-language SDK bindings
- Metal, Vulkan, and CPU inference backends
- Automatic model download and configuration
- Chat, tools, vision, and JSON schema outputs
- OpenAI-compatible local HTTP server mode
- Interactive CLI for model browsing and chat
- Traceable runs against reference implementations
- Custom uzu model format via lalamo export
Use cases
- On-device AI inside mobile or desktop apps
- Local chat without per-token cloud fees
- Drop-in OpenAI-style API on localhost
- Structured JSON answers with grammar constraints
- Image understanding with vision-capable models