Open Source
Explore the latest AI open-source projects from GitHub and HuggingFace.
Explore the latest AI open-source projects from GitHub and HuggingFace.
uzu is a Rust inference engine from Mirai Tech Inc. (trymirai) for running AI models inside an application on the user's own hardware. The README pitches it as in-app AI with no inference costs and data kept on the device, and lists a simple high-level API, unified model configurations that make new models easier to add, traceable computations checked against the source-of-truth implementation, and use of unified memory on Apple devices. It is a native Rust crate with bindings for Swift (through uniffi-rs), Python (pyo3) and TypeScript (napi-rs); the quick start pins uzu 0.6.15 on PyPI, @trymirai/uzu 0.6.15 on npm and a Swift package for iOS, macOS and Mac Catalyst. Supported backends are Metal and CPU. The quick start downloads a model by identifier (the example uses a Qwen3.5 0.8B build from Alibaba) and opens a chat session in a few calls; further examples cover streaming replies, sharing one loaded model between sessions, JSON-schema constrained output through Grammar, tool calls, and chatting with a cloud model such as gpt-5 by supplying an OpenAI API key. Models use uzu's own format, which can be exported with the separate lalamo tool. The repository also ships a CLI for browsing, downloading and chatting with models, a benchmark runner, and an OpenAI-compatible HTTP server that offers chat completions with streaming plus a model list, listening on 127.0.0.1:8000 by default, along with a decision-model mode that follows TypeSafe's System One API and answers choice, yes/no and score questions about a text. The workspace Cargo.toml lists most crates, including the uzu engine itself, the bindings and the CLI, under crates/legacy beneath a "to be rewritten" comment. The code is MIT licensed.