Skip to content
  1. Desktop
  2. Assistants and local AI

Assistants and local AI

Download local models from the signed catalog at ai.enzim.dev in Settings or from the Assistant model selector. Models stay installed and run on your computer. Voice Typing can use streaming English recognition or a local speech model such as Whisper base.

Text, speech and app requests

Text generation, speech recognition and app tool calls are separated into independent per-user services on private Unix sockets. A failed local request returns an error and is never resent to a cloud provider.

Text, Writing Tools and Assistant inference

Assistant or Writing ToolsSends a chat turn or selected text to the per-user gateway over a private Unix socket.
AI GatewayRoutes to the provider you selected (default: local). If local fails, it returns an error and never falls back to the cloud.
Inference ServiceRuns downloaded local text models through llama.cpp, with a two-thread default, reduced CPU priority and automatic unloading when idle.
Cloud providerOpenAI-compatible HTTPS endpoint you added yourself. Credentials stay in mode-0600 files.

Voice Typing and streaming speech

Dictation (Super + H)Hold to dictate or tap for hands-free capture. Asks microphone consent once and reads PipeWire audio.
Streaming speech or WhisperUses the local streaming English service in memory, or falls back via AI Gateway to Whisper base (whisper.cpp), Parakeet TDT or Moonshine.
Focused fieldCommits text through enzui_text_commit_v1 without displacing Fcitx5, or copies to the clipboard if no field is focused.

When the assistant wants to use an app

Agent HarnessRuns the conversation and sandboxed workspace tools, then asks to add an event in Calendar.
MCP CenterChecks saved permissions for this agent. Nothing is allowed yet, so it pauses and asks you.
YouAllow onceSessionAlwaysNever
AppRuns the approved action and reports back. Sending mail or acting outside the machine opens a draft for you.

Local models on demand

Download models from Settings or the Assistant model selector. They stay on your computer for later use. Writing Tools works on selected text in focused Wayland fields, and app calls go through MCP Center.

  • Settings
  • Calendar
  • Mail
  • Files
  • Music
  • Reader

How an Assistant app request works

Through enzui-mcp-center, an assistant sees four tools: list apps, list one app's functions, inspect one function and call it. Step through a request to see where consent is required.

Check Sunday’s calendar and add a lunch meeting at 13:00.

Assistant looks for Calendar among the apps available to it.

enzui_apps()

Calendar (io.github.enzui.Calendar)

App permissions and saved decisions

Every app function declares what kind of effect it has. MCP Center shows that risk level in plain words and lets you decide how long your answer lasts.

  1. Reads informationList your calendars
  2. Reads private informationSearch your mail
  3. Makes changesAdd an event or change a setting
  4. Can delete or overwrite dataDelete or overwrite files
  5. Acts outside this computerSend an email
Allow once
This single call and its exact arguments.
Allow this session
Until the assistant session ends.
Always allow
Remembered until you forget it in Settings.
Deny
Refused this time.
Never allow
Refused now and on every future attempt.

Local inference limits

enzimos-inference runs bundled llama.cpp, whisper.cpp and sherpa-onnx workers at nice 15 with at most two CPU threads, a default 1,900 MiB memory budget (cgroup MemoryMax=2688M, no swap) and automatic idle unloading. GPU backends are selected automatically only when a calibration receipt matches your exact hardware and model.

Use Settings to download catalog models or add your own GGUF and Whisper files. Manage installed models with enzimos-inference-models.