BuildTube Preview About
Back to the feed

Needle: Run a tiny 8 to 29 MB AI model on a phone or microcontroller

Added · Updated

Needle is a small foundation model built specifically for devices too limited for a normal chatbot model — phones, wearables, smart-home hubs, robots and microcontrollers — packaged as a single binary as small as 8 to 29 megabytes.

It gives up general conversation ability in exchange for being very good at three narrow, useful jobs: picking the right function to call from a list your app provides and filling in its arguments correctly, pulling structured fields out of messy text (like a booking or an invoice), and turning a sentence into a searchable vector. The creator reports it beats models ten times its size on mobile tool-calling tasks.

What it does

The architecture (a "Laddered Simple Attention Network") swaps standard components for ones chosen to work well when heavily compressed: a specialized MLP layer, attention with a causal convolution added, and an "engram" memory that most of the model's parameters live in, which the creator says lets a 121-million-parameter model do the work of a 50-million-parameter one. A byte-level grammar compiled from your own function or data definitions constrains every token the model outputs, so tool calls and extracted fields are guaranteed to parse rather than occasionally coming back malformed, and every answer carries a calibrated confidence score.

You could use it to…

  • Run reliable tool-calling AI on a phone, no internet needed
  • Pull structured fields out of messy text, on-device
  • Turn a sentence into a searchable vector locally

Can I use this?

8-29MB, runs on tiny devices

You'll need A device to run the binary on, or the browser demo · Setup needed

Worth knowing Benchmark comparisons against larger models are the creator's own reported numbers rather than an independent test, and the model deliberately does not do open-ended chat, only the three tasks it was built for. Licensed under Apache License 2.0.

Why it's here

Not trending this week

Last seen on the GitHub trending list on 25 September 2026. It stays on BuildTube so you can still find it.

  • 2 people have starred it on GitHub.

Numbers checked on 8 November 2026; not refreshed since.

Behind it

View model page

BuildTube has not run or verified this project. Everything above is written from what the creator published.

Made this?

Quick questions

What is Needle?
The architecture (a "Laddered Simple Attention Network") swaps standard components for ones chosen to work well when heavily compressed: a specialized MLP layer, attention with a causal convolution added, and an "engram" memory that most of the model's parameters live in, which the creator says lets a 121-million-parameter model do the work of a 50-million-parameter one.
What can I use Needle for?
Run reliable tool-calling AI on a phone, no internet needed; Pull structured fields out of messy text, on-device; Turn a sentence into a searchable vector locally
Can I run Needle on my computer?
It runs on your own hardware with a model runtime.
What do I need to use Needle?
The model weights (on Hugging Face) and a compatible runtime for your target platform, or just a browser to try the interactive demo at cactuscompute.com/needle first.
What license does Needle use?
Licensed under Apache License 2.0.

More from this week

Explore by topic

Post this

A ready-made picture of this card for X, LinkedIn or a group chat. Link to this page alongside it.

Share image for NeedleDownload share image

For makers

Made this? Show it’s on BuildTube — add the badge to your README or embed the card on your site.

Featured on BuildTube

README badge (Markdown)

[![Featured on BuildTube](https://buildtube.app/badge/gh-cactus-compute-needle.svg)](https://buildtube.app/p/gh-cactus-compute-needle/)

Embed card (HTML)

<iframe src="https://buildtube.app/embed/gh-cactus-compute-needle/" width="560" height="240" style="border:0;max-width:100%" loading="lazy" title="Needle on BuildTube"></iframe>

Back to the feed