needle-2-esp32
andrisgauracs

A 45M-parameter LLM: needle 2 running fully offline on an ESP32-S3, turning plain-English requests into guaranteed-valid JSON tool calls.
- The 256-token window is the real limit. The example schema costs 104 prompt tokens; adding a second tool takes it to 182. Two or three fit; past ~5 the upstream design uses a tool-retrieval head this port does not implement. Routing between two tools was verified to match the reference engine.
- Supported types: string (with enum), integer, number, boolean. Nested objects and arrays are rejected at compile time with a readable error, rather than silently going unenforced.










