A floating AI secretary for Windows. Fully local, completely free, zero data ever leaves your machine.
No subscriptions. No cloud required. No telemetry. Free forever.
ThukiWin is a lightweight Windows overlay powered by AI β fully local via Ollama, or connect to OpenAI/Anthropic for advanced computer control. Built for quick, uninterrupted asks without ever leaving what you're doing.
Fork of Thuki (macOS) β ported to Windows with native Win32 APIs.
Double-tap Ctrl to summon ThukiWin from anywhere. Ask a question, get an answer, and dismiss. Use /screen or the screenshot button to capture your screen and attach it as context. Type /do followed by a task to let the AI take over your desktop and complete it autonomously.
ThukiWin floats above every app. Highlight text anywhere, double-tap Ctrl, and ThukiWin opens with your selection pre-filled as a quote, ready to ask about. When you switch windows, ThukiWin shrinks to a slim minibar so you never lose track of the AI.
Most AI tools require accounts, API keys, or subscriptions that bill you per token. ThukiWin is different:
- 100% free local AI: run models locally via Ollama, no per-query cost, ever
- Cloud API support: optionally connect to OpenAI (GPT-4o) or Anthropic (Claude) for advanced computer control with native tool calling
- Zero trust by design: no analytics, no telemetry β cloud API keys are stored locally only
- Your data is yours: conversations are stored in a local SQLite database on your machine and nowhere else
- Works everywhere on Windows: double-tap Ctrl and ThukiWin appears on your desktop, inside a browser, inside a terminal, and in fullscreen apps
- Always available: double-tap Ctrl to summon the overlay from any app, including fullscreen apps
- Context-aware quotes: highlight any text, then double-tap Ctrl to open ThukiWin with the selected text pre-filled as a quote
- Computer control (agent mode): type
/door ask naturally (e.g. "open notepad") to let the AI autonomously control your desktop β click, type, launch apps, and more - Cloud API computer control: connect OpenAI or Anthropic for reliable tool-calling computer use β the model returns structured actions instead of text parsing
- Smart intent detection: Turkish and English phrases like "ekrandaki ne gΓΆrΓΌyorsun" or "open notepad" automatically trigger vision analysis or agent mode
- Settings panel: switch between Ollama/OpenAI/Anthropic providers, configure API keys, model selection, and gateway β all from the UI
- Learning confirmation: first 3 agent actions require your approval, then auto-execute; dangerous actions always need confirmation
- Minibar mode: overlay shrinks to a thin always-on-top strip when you switch windows, so you never lose track of the AI
- Throwaway conversations: fast, lightweight interactions without the overhead of a full chat app
- Conversation history: persist and revisit past conversations across sessions
- Fully local LLM: powered by Ollama; no API keys, no accounts, no cost per query
- Image input: paste or drag images and screenshots directly into the chat
- Screen capture: type
/screento instantly capture your entire screen and attach it to your question as context - Slash commands: built-in prompt shortcuts for common tasks:
/do,/screen,/think,/translate,/rewrite,/tldr,/refine,/bullets,/todos. Highlight text anywhere, summon ThukiWin, type a command, and hit Enter - Extended reasoning: type
/thinkto have the model reason through a problem step by step before answering - Read Aloud (TTS): click the speaker button on any message to have it read aloud using Microsoft Edge TTS voices (Windows-only; not available in the macOS version of Thuki)
- Desktop notifications: get notified when the AI finishes a response while you're in another window
- Multi-monitor support: screenshots and overlay positioning work across all monitors
- Interactive region capture: drag to select a specific area of your screen instead of capturing everything
- Privacy-first: zero-trust architecture, all data stays on your device
| Requirement | Minimum | Notes |
|---|---|---|
| OS | Windows 10 64-bit (1809+) | Windows 11 recommended |
| RAM | 8 GB | 16 GB+ recommended for larger models |
| GPU | Not required | CPU inference works; GPU speeds up larger models |
| Disk | 2 GB (app) + model size | Models are typically 2-8 GB each |
| Ollama | Latest | Must be running at http://127.0.0.1:11434 |
| Vision model | For local agent mode | Pull a vision-capable model (e.g. llama3.2-vision) to use /do |
| API key | For cloud agent mode | OpenAI or Anthropic API key needed for tool-calling computer control |
- Bun v1.3+
- Rust stable toolchain
- Microsoft Visual Studio Build Tools 2022 (C++ build tools with MSVC v143 + Windows 10/11 SDK)
- Ollama (for runtime AI inference)
Default model: ThukiWin ships with
gemini-3-flash-previewby default. You can change the model at runtime via theTHUKI_SUPPORTED_AI_MODELSenvironment variable; see Configurations.
-
Install Ollama
Download and install from ollama.com, or via winget:
winget install Ollama.Ollama
-
Pull a model
# Chat model (required) ollama pull gemini-3-flash-preview # Vision model for agent mode (optional, needed for /do) ollama pull llama3.2-vision
Note: Model files are large (typically 2-8 GB). This step can take several minutes depending on your internet connection. You only need to do it once.
-
Verify the model is ready
ollama list
You should see your model listed. Once it appears, Ollama is ready and ThukiWin will connect to it automatically at
http://127.0.0.1:11434.
- Download
ThukiWin_x64-setup.exefrom the latest release - Run the installer
- Launch ThukiWin from the Start Menu or desktop shortcut
- ThukiWin will appear in your system tray
No special permissions needed on Windows. Unlike the macOS version, ThukiWin does not require Accessibility or Screen Recording permissions. The global hotkey and screen capture work out of the box on Windows.
# Clone and install dependencies
git clone https://github.com/ayzekhdawy/thukiwin.git
cd thukiwin
bun install
# Launch in development mode
bun run devTo produce an installer:
bun run build:allThe output installers will be at:
src-tauri/target/release/bundle/msi/ThukiWin_x64_en-US.msisrc-tauri/target/release/bundle/nsis/ThukiWin_x64-setup.exe
ThukiWin uses a low-level Windows keyboard hook (SetWindowsHookExW with WH_KEYBOARD_LL) to detect double-tap Ctrl globally. This works in all applications, including fullscreen apps and elevated (admin) windows on Windows 10 1809+.
- Activation window: 400 ms between the two Ctrl presses
- Cooldown: 600 ms after each activation to prevent accidental re-triggers
ThukiWin uses Tauri's always_on_top and skip_taskbar APIs combined with Win32 window styles to float above all other windows without appearing in the taskbar or stealing focus from the app you're working in.
Full-screen capture uses the Windows GDI BitBlt API, which works reliably on all Windows versions. Type /screen in the chat to capture your entire screen and attach it as context.
When you double-tap Ctrl with text selected, ThukiWin uses clipboard simulation (Ctrl+C via SendInput) to capture the selected text, then restores the original clipboard contents. The mouse position is captured via GetCursorPos to position the overlay near your cursor.
Windows does not have macOS-style Accessibility or Screen Recording permission gates. ThukiWin works without any special permission setup. The onboarding flow on Windows skips the permission step and goes directly to the intro.
ThukiWin includes a built-in text-to-speech feature using Microsoft Edge TTS voices. Click the speaker icon on any chat message to hear it read aloud. You can choose from hundreds of voices in dozens of languages via the voice selector dropdown.
Privacy note: The TTS feature sends the text of the selected message to Microsoft's Edge TTS service over the internet. A one-time disclosure is shown on first use. This feature is Windows-only and is not available in the macOS version of Thuki.
ThukiWin's /do command (or natural language like "open notepad") lets the AI autonomously control your desktop. The agent loop works as follows:
- Capture β a screenshot of your screen is taken (excluding ThukiWin's own window)
- Analyze β the screenshot is sent to the AI model along with your task description
- Execute β the model returns actions (click, type, key press, scroll, launch) which are carried out via Win32
SendInput - Repeat β the loop captures a new screenshot, re-evaluates, and continues until the task is done or you stop it
Two execution modes:
| Mode | Provider | How it works |
|---|---|---|
| Local (text-parsing) | Ollama | The model returns free-text actions like CLICK 500 300 which are parsed and executed |
| Cloud (tool-calling) | OpenAI / Anthropic | The model returns structured JSON tool calls (e.g. computer_click(x, y)) which map directly to actions β more reliable for complex tasks |
Local mode works with any Ollama vision model but can be unreliable for structured output. Cloud mode uses native tool-calling APIs for deterministic, reliable computer control.
Supported actions:
| Action | Syntax | Example |
|---|---|---|
| Left click | CLICK x y |
CLICK 500 300 |
| Double click | DOUBLE_CLICK x y |
DOUBLE_CLICK 500 300 |
| Right click | RIGHT_CLICK x y |
RIGHT_CLICK 500 300 |
| Drag | DRAG x1 y1 x2 y2 |
DRAG 100 200 400 200 |
| Type text | TYPE text |
TYPE hello world |
| Key combo | KEY_PRESS modifier+key |
KEY_PRESS ctrl+c |
| Scroll | SCROLL direction amount |
SCROLL down 3 |
| Open app | LAUNCH app |
LAUNCH notepad |
| Done | DONE |
DONE |
Usage examples:
/do Open Notepad and type Hello World
/do Find the Settings app and open it
/do Close the current window
/do Copy the selected text and paste it into a new document
Safety:
- A maximum of 30 iterations prevents infinite loops
- 500 ms delay between actions lets you observe what's happening
- Click the Stop button to cancel at any time
- Learning mode: first 3 actions per session require your confirmation, then auto-execute; dangerous actions (opening apps) always require confirmation
- The agent uses a vision model to see your screen before each action β it adapts to what it finds, not a fixed script
Vision model requirement: Agent mode requires a vision-capable model (e.g. llama3.2-vision). The default chat model (gemini-3-flash-preview) handles text conversations. Set the vision model in your environment or let ThukiWin auto-detect it.
When you switch away from ThukiWin while it's generating a response or running an agent task, the overlay automatically shrinks to a minibar β a thin 40 px always-on-top strip that stays visible above all windows.
The minibar shows:
- A status dot β green (idle/done), amber (thinking/executing), red (error)
- A preview of the last message or current action
- Click anywhere on the minibar to restore the full overlay
When the AI finishes a response while you're in another window, a desktop notification is sent so you don't miss it.
Click to expand
ThukiWin is a Tauri v2 app (Rust backend + React/TypeScript frontend) that interfaces with a locally running Ollama instance at http://127.0.0.1:11434.
- Frontend: React 19 + TypeScript + Tailwind CSS 4 + Vite
- Backend: Rust with Tauri v2 + Win32 API (windows crate v0.61)
- Database: SQLite (bundled, local only)
- AI Engine: Ollama (local, no cloud)
-
Frontend (Tauri/React): Operates within a secure system webview (WebView2 on Windows) with restricted IPC. Streaming uses Tauri's Channel API; the Rust backend sends typed
StreamChunkenum variants, and the frontend hook accumulates tokens into React state. -
Minimal network egress: By default, ThukiWin only communicates with the local Ollama instance at
127.0.0.1:11434. When a cloud provider (OpenAI/Anthropic) is configured for agent mode, API calls are sent directly to the respective cloud endpoint. The only other internet traffic is the Read Aloud (TTS) feature, which sends text to Microsoft's Edge TTS service. API keys are stored locally in the SQLite database and never sent to third parties. -
Local storage only: All conversations are stored in a local SQLite database in the app data directory.
-
Agent mode input simulation: When
/dois invoked, ThukiWin uses Win32SendInputto simulate mouse and keyboard events. Actions are parsed from the model's text output and executed locally. The agent loop captures screenshots via GDIBitBltand sends them as base64-encoded images to the vision model. No remote control or screen-sharing service is involved.
The app starts hidden. The hotkey or tray menu shows it. The window close button hides (not quits); quit is only available from the tray.
See docs/configurations.md for the full configuration reference (model selection, agent mode, quote display limits, and system prompt).
See docs/commands.md for the full slash command reference.
Contributions are welcome! Read CONTRIBUTING.md to get started. Please follow the Code of Conduct.
Licensed under the Apache License, Version 2.0.
ThukiWin is a Windows port of Thuki by Logan Nguyen.

