# Seer A small animated buddy that lives in the bottom-right corner of your Mac (macOS 26 Tahoe). Double-tap Right ⌥ to call it, ask a question, and it answers in a speech bubble. It can also operate your Mac for you — clicking, typing and opening apps — and you can teach it new tasks by showing it once. ![macOS 26](https://img.shields.io/badge/macOS-26%2B-blue) ![Swift 6](https://img.shields.io/badge/Swift-6-orange) ## Features - **Corner buddy** — a cartoon blob (or glossy robot) pinned to the bottom-right corner. Its face follows your cursor and shows moods: listening, talking, thinking, done - **Customizable** — choose avatar style, shape, color, eyes and a notification dot in **Settings → Appearance** - **Global hotkey** — double-tap Right ⌥ to call or dismiss Seer from any app (requires Accessibility permission). Esc sends it away - **Streaming replies** — tokens arrive in real time and are shown as plain text in the speech bubble - **Providers** — OpenRouter or Ollama for chat - **Computer use** — ask Seer to do something on your Mac and a decision model picks each click, keystroke, scroll and app to open. While it works the buddy glides to whatever it is clicking or typing, looks like it is thinking, and the screen edge glows; when done it faces you, nods and dissipates. Esc stops it - **Asks before risky actions** — an Allow/Deny card appears before anything hard to undo that you didn't ask for, and always before deleting, paying or similar. Denying ends the task - **Teach a task** — choose **Teach Seer a Task…** in the menu bar (or say "teach Seer to …"), then do the task once. Seer records your clicks and typing as plain-language steps (never passwords), saves them, and follows them when a goal matches. Manage them in Settings - **On-device decisions** — optionally run the decision model locally with Liquid AI's d1-2B or d1-3B (see below) - **Attachments** — attach a file, or drag-select a screenshot with the camera button - **Launch at Login** — via `SMAppService` - **Agent app** — lives in the menu bar only, no Dock icon ## Requirements - macOS 26 (Tahoe) or later - Xcode 16+ - `cmake` (`brew install cmake`) — the first build compiles llama.cpp into `Vendor/` (a few minutes, once) - Accessibility permission (prompted via the menu bar on first run) ## Building ```bash ./build.sh ``` The app is output to `dist/Seer.app`. To package a DMG: ```bash brew install create-dmg # one-time ./package-dmg.sh ``` Or open `Seer.xcodeproj` in Xcode and run normally. A build phase runs `scripts/build-llama.sh`, which clones and builds llama.cpp as static libraries in `Vendor/llama` (git-ignored) the first time. ## Local decision model Computer use can run its decision model on your Mac instead of OpenRouter. In **Settings → AI → Computer Use** pick **On this Mac**, choose a model and press **Download**. Liquid AI's [d1-2B](https://huggingface.co/LiquidAI/d1-2B-GGUF) (LFM3, Q4_K_M, 1.1 GB; smaller and reportedly more accurate, but re-reads the whole screen for every question) or [d1-3B](https://huggingface.co/LiquidAI/d1-3B-GGUF) (LFM2.5, 1.7 GB; caches the screen, so repeat questions are fast) is saved to `~/Library/Application Support/Seer/Models/` and run in-process through llama.cpp and Metal — no server, no API key. `Seer/Local/LocalDecisionEngine.swift` reads the model's own prompt template and turns the logits of the answer labels into probabilities, as llama.cpp's `/v1/systemone` does. It is subject to the [LFM Open License v1.0](https://huggingface.co/LiquidAI/d1-2B-GGUF/blob/main/LICENSE). ## Setup 1. Launch `Seer.app` — an icon appears in the menu bar 2. If prompted, grant Accessibility access via **Grant Accessibility Access…** in the menu bar menu (required for the hotkey and computer use) 3. Open **Settings** (⌘,) → **AI** and choose a provider: | Provider | What to fill in | |---|---| | OpenRouter | API key, model name | | Ollama | Base URL (default `http://localhost:11434`), model name | 4. Double-tap Right ⌥ to call Seer, type, and hit Return ### Computer use Turn on **Let Seer use the computer** in **Settings → AI → Computer Use**, then pick a decision model: - **OpenRouter** — uses the Decisions API (e.g. `respan/span-01-lite` or `typesafe/jev-1.13`) and needs an OpenRouter key - **On this Mac (d1-2B or d1-3B)** — see below ## Usage | Action | How | |---|---| | Call / dismiss Seer | Double-tap Right ⌥ | | Send message | Return | | Send Seer away, or stop a running task | Esc | | Attach screenshot | Camera button, then drag to select | | Attach file | + → Attach File | | Teach a task | Menu bar → Teach Seer a Task…, or "teach Seer to …" | | Settings | Menu bar → Settings… or ⌘, | | Quit | Menu bar → Quit Seer | ## Project Structure ``` Seer/ ├── App/ # @main + MenuBarExtra, AppDelegate (panel, hotkey, login item), logging ├── API/ # ModelProvider + SSE parser, OpenRouter/Ollama providers, DecisionClient ├── Panel/ # FloatingPanel (corner window), FloatingBarView (buddy + bubble), TeachPanel ├── Chat/ # ChatViewModel, ChatStore (sqlite history), ChatView, MessageBubble ├── ComputerUse/ # ComputerUseAgent loop, ScreenObserver (Accessibility), ActionExecutor, │ # ActionApproval, LessonRecorder + Lessons (taught tasks) ├── Local/ # LocalDecisionEngine (d1-2B / d1-3B via llama.cpp), LocalModelStore, bridging header ├── Settings/ # SettingsView (AI / Appearance / General), SettingsViewModel ├── HotKey/ # HotKeyManager (CGEventTap, double-tap Right ⌥) ├── Attach/ # ScreenshotCapture (ScreenCaptureKit), FileAttach └── Models/ # Message ``` ## Logs Use Console.app or `log stream` to see what Seer is doing: ```bash log stream --predicate 'subsystem == "com.seer.app"' --level debug ``` ## License MIT