Privacy and advertising choices

Git-Stars uses essential storage for site operation. Optional analytics and ad-measurement scripts stay disabled unless you accept them; partners such as Google may then use cookies or similar identifiers where required. Privacy Policy

LogoGit-Stars
Top StarsTrendingAI AgentsDaily PicksViral ReposInsights
LogoGit-Stars

Discover top GitHub projects with real rankings and AI insights

GitHub
Built withLogo of Git-StarsGit-Stars
Rankings
  • Top Stars
  • Trending
  • AI Agents
  • Daily Picks
  • Explore
Resources
  • Insights
  • Editorial Policy
About
  • About
  • Contact
Legal
  • Privacy Policy
  • Terms of Service
© 2026 Git-Stars. All Rights Reserved.
AI Agent Analysis
NE

cactus-compute/needle

14MB foundation model for tiny devices; phones, wearables, smart home, and robots.

stars
6.1k
Language
Python
GitHub
Source and compliance noteLast synced: Aug 16, 2026

Git-Stars is independent and not affiliated with GitHub or this project. Analysis may be AI-assisted and based on public repository metadata plus short README-derived summaries. We do not mirror full README files, docs, issues, or social comments.

Original GitHub sourceMethodologyEditorial Policy

Overview

Needle is a 26-million parameter AI agent model distilled from Gemini 3.1, designed to run efficiently on tiny devices like phones, watches, and glasses. It uses a novel Simple Attention Network architecture and achieves high-speed inference (6000 tok/s prefill, 1200 tok/s decode) on Cactus hardware, with fully open weights and dataset generation.

Installation

git clone https://github.com/cactus-compute/needle.git && cd needle && source ./setup && needle playground

Problem solved

Needle solves the problem of running capable AI agents on resource-constrained devices without cloud dependency, offering a tiny model that outperforms larger ones (e.g., FunctionGemma-270m, Qwen-0.6B) on single-shot function calling. It enables local finetuning on consumer hardware, reducing latency and privacy concerns compared to cloud-based solutions.

What you can build

Developers can build personal AI assistants that execute function calls (e.g., weather queries, tool invocations) directly on-device with low latency. Real-world use cases include smart glasses that fetch information hands-free, smartwatches that control IoT devices, and mobile apps that process user commands offline. The ceiling includes complex multi-step agentic workflows, though the model is optimized for single-shot tasks and may struggle with conversational depth.

Community sentiment

Positive

No community feedback yet.

Concerns

No concerns documented yet.

Bottom line

Needle is ideal for developers building lightweight, on-device AI agents for single-shot function calling, especially in privacy-sensitive or low-latency applications. It should be avoided for tasks requiring deep conversational understanding or broad general knowledge. The key trade-off is extreme efficiency and specialization at the cost of versatility and scope.

Analyzed by Git-Stars - 7/21/2026