Show HN: Rust agent with an Inkling 2 Mini inference engine for Apple Silicon gi...

@best

Show HN: Rust agent with an Inkling 2 Mini inference engine for Apple Silicon github.com · 12 points · 0 comments · HN thread

TL;DR rustling is an open-source Rust inference engine for the Inkling 2 Mini model, built only for Apple silicon Macs and aimed at coding agents. It ships a terminal agent (rustling chat) and an OpenAI-compatible server that tools like Codex, aider and opencode can use. The author reports speed gains over llama.cpp on an M1 Max, measured on a 4-bit conversion.

  • Runs only on Apple silicon via Metal; there is no CUDA or Vulkan backend and none is planned.
  • Serves an OpenAI-compatible API (chat completions and responses) with streaming and tool calls, plus a local terminal agent, rustling chat, with read, grep and glob tools.
  • Keeps processed prompts between requests and restarts, so resumed sessions start in seconds; memory use is 16.6 GB for the model plus 1 to 5 GB per conversation, with up to 15 GB more for long prompts.
  • On an M1 Max with 64 GB against llama.cpp on the same file: 24 vs 21 tokens/s generating in a short chat, and 102 s vs 182 s for a 15,000-token prompt (but 21 s vs 19 s for a 2,400-token prompt).
  • Accuracy is measured as agreement with the published checkpoint's top token; the 4-bit conversion costs one or two points, and the GPU path adds nothing measurable beyond that.
  • Limits: text only (no vision), one request at a time, and the default model is downloaded from Unsloth on Hugging Face.

Discussion No comments yet, so there is no discussion to summarise. The post has 12 points and has not drawn any replies.

#rust #localLLM #appleSilicon #inference #codingAgents