qmetrics.net

Cactus

Compact on-device agents, speech, and vision for Python

Cactus screenshot

Cactus is a Python package for running text, speech, and vision models locally on consumer hardware. It bundles tool calling, transcription, image understanding, and optional MLX generation on Apple silicon.

Overview

Cactus targets edge and consumer devices where models must stay small and run without a GPU or constant network access. A single install pulls engine binaries and model weights on first use; inference stays on the machine and does not depend on JAX for the core APIs.

Needle handles tool calls, structured extraction, and text embeddings with run() and complete() workflows. Whistle transcribes speech in seven languages with word timestamps and embeddings from 16 kHz WAV input, with an optional microphone extra. Mirage describes images and pulls structured fields from photos.

On supported Macs, an included cactus-mlx command runs compressed checkpoints with greedy generation and can expose a local OpenAI-compatible API; Python code can import mlx helpers for load, generate, and stream generation. Training extras support fine-tuning Needle or Whistle.

The project also publishes very small quantized foundation models for wearables, phones, Raspberry Pi class boards, and similar targets, with optional hybrid routing when on-device confidence is low.

Key features

  • Needle tool calling and extraction
  • Whistle multilingual transcription
  • Mirage image understanding
  • Local inference without JAX
  • MLX CQ checkpoints on Apple silicon
  • Optional fine-tuning extras
  • Sub-50 MB model footprints
  • Hybrid on-device and cloud routing

Use cases

  • On-device voice assistants
  • Wearable and ring form factors
  • Offline agent tool execution
  • Raspberry Pi CPU inference
  • Vision OCR and detection

Tags

Similar software

TensorFlow

End-to-end machine learning platform and tooling ecosystem

TensorFlow is a machine learning platform with Python and C++ APIs, optional GPU packages, and companion libraries for data, training, deployment, and visualization.

★ 201.8k⟳ todayApache-2.0

Transformers

Shared model definitions for multimodal ML workloads

Transformers is a Python library that defines pretrained text, vision, audio, and multimodal models once in PyTorch for shared inference and training across the ecosystem.

★ 169.4k⟳ todayApache-2.0

RAGFlow

Open-source RAG engine and agent context platform

RAGFlow ingests heterogeneous documents, builds retrievable knowledge, and supports agent workflows with citations. It can run on your own hardware with Docker or a from-source server stack.

★ 94.8k⟳ todayApache-2.0

Headroom

Local LLM context compression library and proxy

Headroom shrinks tool outputs, logs, JSON, and chat history before LLM calls to cut input tokens while preserving retrievable originals. It offers a Python library, proxy, MCP tools, and agent wrappers.

★ 81k⟳ yesterdayApache-2.0

Unsloth

Local desktop workspace to run and fine-tune AI models

Unsloth is a desktop application to chat with, fine-tune, and serve LLMs, diffusion, audio, and embedding models on your own hardware with optional agent integrations.

★ 80.4k⟳ todayApache-2.0

Models

TensorFlow reference models and modeling utilities collection

The TensorFlow Model Garden hosts implementations of models and modeling solutions for TensorFlow, installable via pip as tf-models-official.

★ 77.6k⟳ 11 days agoApache-2.0