s1: a voice-first macOS agent

Matthew EucaristoOct 25 stars on GitHubWeek 40 final: #153

Voice-first macOS agent — drive your whole Mac by voice: sees the screen via Accessibility, acts via clicks/typing, verifies every step. Fast local System 1 + pluggable System 2 LLM. Beta.

Matthew-Eucaristo/s1Readme
s1

Say what you want done. s1 does it on your Mac and shows every step it took.

  
  
  
  
  

Website · Install · Models · CLI · Security

s1 is a voice-first agent for macOS. Double-tap ⇧ anywhere, say
*“open Notes and write the shopping list”*, and watch it happen. It reads the
screen through the Accessibility tree, acts like you would, checks its work,
and keeps the evidence.

Most commands never need a model: a built-in grammar handles the everyday
(opening apps, typing, shortcuts, media keys) instantly. On top of it sit two
models, both optional and both yours to pick:

- **Judge (System 1):** a small, fast decision model that picks the right control
  when the grammar isn't sure, and checks the goal really happened.
- **Reasoner (System 2):** an LLM that takes over when something is new.

Everything dangerous waits for you.

> **Public beta (v0.x).** It works and it's tested, and it's still sharpening.
> Read [SECURITY.md](SECURITY.md) before letting it drive a machine you care about.

## Highlights

- **Talk from anywhere.** ⇧⇧ or ⌃⌥Space
  wakes the listener; talk over s1 to interrupt it. A Liquid Glass pill under
  the notch shows what it hears and what it's doing.
- **A full keyboard and mouse, by voice, instantly.** The built-in grammar
  (English and Indonesian) opens apps, types, presses any key or chord
  (`press f5`, `press tab 3 times`, `tekan 1 2 3`), clicks, double/right-clicks,
  drags (`drag report.pdf to Trash`), hovers, scrolls (`scroll down a lot`,
  `scroll to top`), picks from dropdowns (`pilih Large dari Size`), edits text
  (`hapus kata ayam`), copies and pastes, and drives tabs, windows and media
  keys. Zero model calls, zero latency; the Reasoner is only for thinking.
- **Knows the Mac.** Built-in Mac skills open every System Settings pane by
  name (*“buka pengaturan Wi-Fi”*, *“open battery settings”*), the standard
  folders (*“open Downloads”*), and the system actions (Mission Control, show
  desktop, Spotlight, emoji picker, Force Quit, screenshot an area, screen
  recording, brightness, keyboard language). *“What time is it?”* and
  *“baterai berapa?”* are answered on the spot. The Reasoner knows the same
  list and hands these to System 1.
- **One model per job, any provider.** Connect TypeSafe, OpenCode Go, OpenAI,
  OpenRouter, Groq, Gemini, xAI, DeepSeek, Liquid AI, Cloudflare, Ollama,
  LM Studio or any OpenAI-compatible server, then pick a Judge (System 1) and
  a Reasoner (System 2). No account required to start.
- **Looks when it can.** If your Judge reads images it sees the screen; if
  not, your Reasoner does; if neither can, s1 uses the accessibility tree.
- **Every step is evidence.** Each run keeps its steps, who decided them, why,
  and screenshots. Browse them in the app's history or `~/.s1/artifacts`.
- **Careful by design.** A safety gate runs before every action. Passwords,
  purchases and anything irreversible stop and ask. The Judge never gets past the gate.
- **Great defaults, all of it yours.** Works the moment it opens, and every
  default is a setting. Models, vision and voices are also a CLI command and a
  line in `~/.s1/config.json`. See [Configure and extend](#configure-and-extend).
- **Native and light.** Swift 6, SwiftUI, App Intents, no private APIs.
  Idle uses 0% CPU and no microphone.

## Install

```bash
brew tap Matthew-Eucaristo/tap
brew trust Matthew-Eucaristo/tap     # once, on Homebrew ≥ 4.4
brew install --cask s1               # the app, with the `s1` CLI on your PATH
```

Or download `S1-*-app.zip` from [Releases](https://github.com/Matthew-Eucaristo/s1/releases/latest)
and drag S1 to Applications.

First launch: “Apple could not verify S1…”

The beta is developer-signed but not yet notarized. Allow it once, any of:

- System Settings → Privacy & Security → **Open Anyway**
- `xattr -d com.apple.quarantine /Applications/S1.app`
- `brew install --cask s1 --no-quarantine`

Notarization is planned for 1.0.

Uninstall

```bash
s1 serve --uninstall                 # only if you installed the launchd listener
brew uninstall --cask s1 --zap       # app + ~/.s1 + Library traces
```

## Get started

1. **Open s1.** Setup walks you through permissions; only **Accessibility** is
   required.
2. **Try it.** Double-tap ⇧ and say *“open Notes”*, or type in the window.
3. **Optionally, give it a brain.** Settings → Models → **Add Provider**. The
   recommended pair is **TypeSafe** (Jev, the Judge) and **OpenCode Go**
   (DeepSeek, the Reasoner); Ollama keeps everything on your Mac.

## How it works

```
 you ─▶ voice / text ─▶ built-in grammar ─▶ Judge (System 1) ─▶ safety gate ─▶ act ─▶ verify ─▶ log
                        no model, instant   picks + checks           ▲
                                                  │ unsure           │
                                                  └─▶ Reasoner (System 2) ─┘

 screen ─▶ the Judge if it reads images, else the Reasoner, else nobody (accessibility tree only)
```

- **The built-in grammar** parses the request into intents and runs the ones it
  knows, deterministically. No model, no network.
- **The Judge (System 1)** is a fast decision model that answers typed questions
  about the screen; it never writes plans. It steps in where it adds something:
  when the grammar isn't sure which control you mean, it chooses from the top
  candidates (or says none fits); when nothing matches your words ("click the
  first step") it narrows the screen down, first which part, then which
  control; and after typing or clicking it checks the goal really happened. If
  it reads images, it looks at the screen for those questions only. Exact steps
  (open an app, press a key) stay instant and unjudged. No Judge set: the grammar
  runs alone.
- **The Reasoner (System 2)** gets the step when the grammar doesn't know it or
  confidence is low: the goal, the run so far, the accessibility tree and, if it
  can read images, a screenshot. It plans: new tasks come back as plain steps
  ("open Mail", "click Send", "type …") that System 1 runs fast, with the Judge
  picking targets. It can also answer questions directly.
- **The gate** classifies every action (`read`, `reversible`, `irreversible`),
  blocks credentials and payments outright, and stops on secure text fields.
  If you move the focus while a task waits, it asks instead of typing in the new place.

In the app, each step carries a tag: **S1** for the fast path (grammar, checked
by the Judge when one is set), **S2** for the Reasoner.

## Models

s1 has two ideas: **providers** and **roles**. A provider is one account or
server with one API key (kept in your login Keychain). A role is a job, and
each job takes one model:

| Role | Job | Unset means |
|---|---|---|
| `judge` | **Judge (System 1):** a fast decision model that picks the right control when the grammar isn't sure and checks the goal is done (System One API) | grammar only |
| `reasoner` | **Reasoner (System 2):** an LLM that plans what the grammar can't and answers questions | no escalation |
| `transcribe` | Cloud speech-to-text for each finished voice turn | on-device Apple speech |
| `speak` | A cloud voice for replies | Apple voices |

**Seeing the screen** is a capability of the models you pick, not another
role. If the Judge reads images (d1 paid tier, Clef) it gets a screenshot with each
step; otherwise the Reasoner gets one with every step it takes over (Gemini,
GPT-5, Claude, Llama 4 Scout, Qwen3-VL…); if neither can, s1 works from the
accessibility tree alone. One switch, "Let models see the screen", turns it
off. Settings marks every model that sees.

**Searching the web** also follows the Reasoner you pick: a model that searches
by itself (Groq Compound, OpenAI `-search` models, OpenRouter `:online`,
Perplexity Sonar) just does; OpenAI models use OpenAI's `web_search` tool and
any OpenRouter model uses OpenRouter's (both billed per search); other
providers have no web access, and the Reasoner says when an answer may be out
of date. Each search shows as a step. "Search the web when needed" (config
`webSearch`, `S1_WEB=off`) turns it off.

Connecting a provider fills an empty Judge or Reasoner with its recommended
model. Voices never switch on by themselves: audio leaves your Mac only when
you choose a cloud model for it.

| Provider | Good for | |
|---|---|---|
| TypeSafe | Jev, the recommended Judge | key |
| OpenCode Go | DeepSeek V4.1 Flash, the recommended Reasoner | key |
| OpenAI | GPT-5 (sees), transcription, voices | key |
| OpenRouter | Every major model behind one key, Claude included | key |
| Groq | Llama 4 Scout (sees), Whisper, Orpheus voices | key |
| Google Gemini · xAI · DeepSeek | Reasoners (System 2) | key |
| Liquid AI · Cloudflare Workers AI | Judges (System 1) that see the screen | key |
| Ollama · LM Studio | Open models on your Mac | local |
| Custom server | vLLM, MLX, Speaches, your own shim | optional key |

In the app it's Settings → Models. From the terminal:

```bash
s1 connect opencode                          # prompts for the key, checks it, fills the Reasoner
s1 connect ollama
s1 use judge ollama/clef-flash               # provider/model; the model id may contain slashes
s1 use reasoner openrouter/anthropic/claude-sonnet-4.5
s1 use speak off                             # back to Apple voices
s1 models                                    # what each provider offers, live
s1 providers                                 # what's connected, checked live
```

Both write the same `~/.s1/config.json`:

```json
{
  "providers": [{ "id": "typesafe" }, { "id": "opencode" }],
  "models": {
    "judge": "typesafe/jev-latest",
    "reasoner": "opencode/deepseek-v4.1-flash"
  },
  "vision": true
}
```

For one-off runs and CI: `S1_REASONER=groq/openai/gpt-oss-120b`,
`S1_GROQ_KEY=…`, `S1_JUDGE=off`, `S1_VISION=off`.

## Voice

Speech runs on-device with Apple's SpeechAnalyzer. **Automatic** listens in
English and your Mac's language at once; 14 languages are supported, with
English and Indonesian verified end to end. Commands the grammar can't parse go
to the Reasoner, which reads any language.

- **Interrupt:** talk over s1 while it works or speaks and it stops, then
  listens for what's next (echo-cancelled, so its own voice doesn't trip it).
- **Custom words:** add names it misspells; it already learns your installed
  apps, skill names and remembered names.
- **Every app's menu, by voice:** s1 reads the app in front's menu bar, so
  *“new chat”*, *“shuffle on”*, *“show sidebar”* run the app's own command.
  `s1 menus` lists them.
- **Browser tabs:** *“go to tab 3”*, *“the last tab”*, *“switch to the TikTok tab”*,
  *“next tab”*: instant, no model. s1 reads the web page itself too, so *“click Usage”*
  works on page links and buttons.
- **Edit by voice:** *“hapus kata ayam”*, *“replace cat with dog”* edit the focused
  text in place (last whole-word match; Undo works).
- **Dictate anywhere:** hold ⌃⌥D, speak, release;
  the text lands where you were typing.
- **Hands-free dictation:** say *“start dictating”* (*“mulai dikte”*) and everything
  you say is typed where the caret is, no keys, until *“stop dictating”*, “stop”,
  ⇧⇧ or Esc. Password fields are never typed into.
  One-off: *“nice, all good, please type it here”* types “nice, all good”.

## Everything else

| | |
|---|---|
| ⇧⇧ · ⌃⌥Space | Talk to s1 from anywhere |
| ⌥Space | Launcher: apps, files, snippets, calculator, unit and currency conversion, window layouts |
| ⌃⌥D · *“start dictating”* | Dictate into any app (hold the key, or hands-free by voice) |
| *“remember that my editor is Zed”* | Memory in `~/.s1/memory.md`, never passwords or keys |
| *“what's my editor?”* · *“open my editor”* | Answered and resolved from memory instantly, no model |
| *“save that as a skill called morning setup”* | Replay a sequence by name, every step through the gate |
| Siri & Shortcuts | “Ask s1 to …”, “Wake s1” |

## Configure and extend

s1 ships with the defaults we'd pick for you,
Preview of s1: a voice-first macOS agent
See all
  1. Cloudflare just released Clef, an open-weight decision model that uses the exact same API as Jev, so we ran 200 real comments from our channel through both and had Claude Opus 5.5 referee the results. Jev was faster and cheaper, but Clef came within 3 points on accuracy and…

  2. #jev #clef #ai Jev just got some serious open-source competition. Meet Clef, a new model that beats Jev on the benchmarks. It's built on Qwen-3.8 27B, and there's a faster Flash version based on Qwen-3.5-9B for when speed matters most. Best of all, it understands images, which…

    CoderOneYouTube19.6K views
  3. Thirty-eight point eight milliseconds — a median, not a best case. Cloudflare published it for Clef-flash, one of two open-source decision models it announced on October 1, 2026. In the same latency table, Jev from Typesafe AI sits at 524.1 ms. Roughly thirteen times. A…

  4. Cloudflare just entered the decision model war. Clef and Clef-flash are open-source AI models that answer typed questions in milliseconds — no text generation at all. We break down the benchmarks vs TypeSafe's Jev, the API, the RL fine-tuning platform, and the pricing catch…

The Monday email

  • The week's best AI builds and who made them
  • New model releases and what people built with them
  • No spam. One click to leave.

Sign in once and you're on the list.