needle

Installation
SKILL.md

Needle — on-device tool calling

Needle is a foundation model built for tiny devices: a single 121M-parameter "Simple Attention Network" quantised to 2-bit, shipped as one ~35 MB weights file (needle3.cact) plus an engine library under 1 MB. It runs offline on a CPU — roughly 100 MB of RAM, hundreds of tokens per second on a laptop — with no API key, no GPU and no network. It does three things:

  1. Tool calls — given your function schemas and a plain-English request, it picks the right function and fills every argument from what was said. Ask for two things and you get two calls in order; ask for something no tool covers and you get an empty list, not a guess.
  2. Structured extraction — declare a shape, hand over messy text, get typed fields back; the decode grammar guarantees the output parses.
  3. Text embeddings — a vector for a sentence (Needle 3 only).

Everything below was verified live against cactus-needle 3.0.2 (Python API, CLI, and the standalone engine on macOS arm64, with source-level checks of the Windows/Linux paths).

Installs
1
First Seen
Oct 24, 2026