Native inference, from app to library
MiRMiR 0.2.0 is a native local model runtime with a terminal dashboard, an
optional browser dashboard, a command-line interface, and an OpenAI-compatible
HTTP server. libmir is the embeddable Rust inference library underneath it.
Use these docs to operate MiRMiR or build your own native application on the same model discovery, loading, generation, K/V cache, Metal, and CUDA layers.
Choose a surface
| Surface | Use it when |
|---|---|
| TUI | You want an interactive terminal workflow with no browser. |
| Web dashboard | You want the same local runtime controls and telemetry in a browser. |
| CLI | You need scripts, machine-readable output, or repeatable benchmarks. |
| HTTP API | An existing application already understands OpenAI-style requests. |
libmir | A Rust application needs direct ownership of models and sessions. |
MiRMiR and
libmirare pre-1.0. These pages describe version 0.2.0 and call out current limitations rather than treating planned functionality as available.
The stack
your application
|
+-- HTTP / SSE --> mirmir server --+
+-- TUI / CLI --> private gRPC ----+--> libmir --> Metal / CUDA
+-- Rust API -----------------------+
MiRMiR owns the application, configuration, transport, dashboards, model
catalog, and telemetry. libmir owns checkpoint discovery, tokenization,
generation semantics, sessions, scheduling, cache policy, and backend adapters.