# 👁️ llm-eyes **Give any blind LLM eyes — on any machine — in one shot.** Most local models can't see. Text-only models like **DeepSeek V4 Flash**, dense Qwen, Llama, and friends have no vision at all. `llm-eyes` bolts a tiny vision-language model (VLM) onto your machine as a local *"eyes"* service, so any model — or any agent — can caption an image, watch a webcam, or read a video, and feed that description straight into the blind model. It runs the **same way** on: - 🍎 **Apple Silicon Mac** (MLX) - 🪟🐧 **Windows / Linux + NVIDIA GPU** (llama.cpp) - ⚡ **NVIDIA DGX Spark (GB10)** (llama.cpp CUDA) One script detects your machine, downloads the right tiny model, and starts an OpenAI-compatible vision endpoint on `localhost:8081`. Default model: **Qwen3.5-0.8B** — about **1 GB**, runs in **~2–3 GB RAM**. Swap to Moondream, SmolVLM, or Qwen2.5-VL-3B with one flag. --- ## Why A 0.8B vision model is small enough to sit *next to* your real model on the same box, yet good enough to say what's in frame. Pipe its caption into your text-only model's prompt and that model can suddenly **"see."** That's the whole idea: **eyes as a service for models that don't have them.** ``` ┌─────────────┐ image/frame ┌───────────────┐ "a blue sneaker ┌────────────────┐ │ camera / │ ───────────────► │ llm-eyes │ ─── on a table" ───► │ your blind │ │ video / │ │ (tiny VLM) │ (text) │ model (DS4…) │ │ screenshot │ │ :8081 │ │ now "sees" │ └─────────────┘ └───────────────┘ └────────────────┘ ``` --- ## Quick start ```bash git clone https://github.com/tonyd2wild/llm-eyes && cd llm-eyes ./setup.sh ``` `setup.sh` detects your OS + GPU, sets up the right backend, downloads the model **and its vision projector**, and starts the eyes server at `http://localhost:8081/v1`. Then give something eyes: ```bash python3 bridge/see.py --image shoe.jpg # → "A blue adidas x Bape sneaker with a lightning-bolt logo on a light wood floor." python3 bridge/webcam_loop.py # live rolling captions from your webcam python3 bridge/see.py --video clip.mp4 # caption a video, frame by frame ``` --- ## Let your agent set it up (the one-shot) The point of this repo is that you don't have to. Point your coding agent (Claude Code, Codex, Cursor, etc.) at it and say: > **"Read AGENT.md and give this machine vision."** It reads [`AGENT.md`](AGENT.md), inspects the hardware, runs the right backend, verifies a caption comes back, and hands your model a `see()` function. No manual steps. --- ## Platforms & backends | Machine | Backend | Model | |---|---|---| | Apple Silicon Mac | MLX (`mlx_vlm.server`) | `Qwen3.5-0.8B-MLX-8bit` | | Windows / Linux / NVIDIA | llama.cpp (`llama-server`) | `Qwen3.5-0.8B-GGUF` + `mmproj-F16` | | NVIDIA DGX Spark (GB10) | llama.cpp CUDA | `Qwen3.5-0.8B-GGUF` + `mmproj-F16` | > **Note:** on the llama.cpp path, vision **requires the `--mmproj` (vision projector) file** — the backend script passes it automatically. Without it, llama.cpp silently runs text-only. Ollama does **not** support Qwen3.5 vision yet, which is why the PC path uses llama.cpp. See [MODELS.md](MODELS.md) for the model tiers and how to swap. --- ## Wire it into your blind model - [DeepSeek V4 Flash](examples/deepseek_v4_flash.md) - [openclaw / Hermes agents](examples/openclaw.md) > **Big model already filling your box?** (e.g. DS4 Flash @ 1M ctx eating ~120 GB) — you can > run the ~2 GB eyes model **on another machine** and point at it, or free a couple GB by > trimming the big model's **KV pool** (not its weights). See [FAQ.md](FAQ.md). The pattern everywhere is the same: ```python from bridge.see import see caption = see("frame.jpg") # tiny VLM describes the image answer = your_text_model(f"The user is looking at: {caption}\n\n{user_question}") ``` --- ## Credits Standing on the shoulders of: - [**Qwen**](https://github.com/QwenLM) — the Qwen3.5 vision-language model - [**Unsloth**](https://huggingface.co/unsloth/Qwen3.5-0.8B-GGUF) — the GGUF quants **and the mmproj vision projector** - [**ggml-org / llama.cpp**](https://github.com/ggml-org/llama.cpp) — the cross-platform inference runtime - [**ml-explore / MLX**](https://github.com/ml-explore/mlx) + [**mlx-vlm**](https://github.com/Blaizzy/mlx-vlm) — the Apple Silicon path - [**ngxson / smolvlm-realtime-webcam**](https://github.com/ngxson/smolvlm-realtime-webcam) — the realtime-webcam pattern this borrows Full list in [CREDITS.md](CREDITS.md). --- MIT © 2Wild. Built by Kai. Part of the same family as our DGX-Spark model recipes.