dictator-win

agent
Security Audit
Pass
Health Pass
  • License — License: Apache-2.0
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Community trust — 295 GitHub stars
Code Pass
  • Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Pass
  • Permissions — No dangerous permissions requested

No AI report is available for this listing yet.

SUMMARY

Dictator for Windows: an AI agent for your PC that types what you say. Dictation in any app, any model, Telegram under your rules.

README.md

English | O'zbekcha | Русский

Dictator for Windows

Website: diktator.uz — download and full description in English, Russian and Uzbek.

Feedback: [email protected] · Telegram

Privacy: PRIVACY.md.

A Windows port of Telegram's Dictator for macOS. An AI agent
(Hermes Agent) runs on your PC. It reads and writes in Telegram on your
behalf (within the permissions you give it), controls Windows, and types your voice dictation into any app. You talk to
the agent in the app's chat window or through your own Telegram bot.

Installation

Download Dictator-Setup-<version>.exe from the Releases page and run it
(Windows 10 1809+ or Windows 11, 64-bit). The setup is small (~4 MB) and downloads everything else by itself.
It speaks Uzbek, English and Russian.

What the installer asks, in order:

  1. Access — "for all users" (UAC prompt, recommended) or "only for me".
  2. Permissions — microphone (dictation), start with Windows, keep the PC awake while the agent works, and how the
    agent controls the computer: full control (native) or isolation (Docker).
  3. AI model — ChatGPT plan, Claude, OpenAI, OpenRouter, Grok, Ollama Cloud, local Ollama (you pick the model),
    LM Studio, or "later".
  4. Speech model — Whisper (large-v3-turbo automatically with an NVIDIA GPU, otherwise small).
  5. Required components — Hermes agent, NVIDIA GPU acceleration (if you have a GPU), deep memory on this PC,
    Docker Desktop (isolated mode), the dictator commands on PATH, a desktop shortcut.

After that the installer downloads and verifies everything without asking again:

What From Check
uv 0.13.5 github.com/astral-sh/uv pinned SHA-256
Python 3.12.15 github.com/astral-sh/python-build-standalone pinned SHA-256
Python libraries PyPI hashes from uv.lock
Visual C++ runtime (if missing or older than 14.40) Microsoft (aka.ms) Authenticode signature (Microsoft)
Hermes Agent github.com/NousResearch/hermes-agent official installer, pinned commit
Whisper model huggingface.co (Systran / mobiuslabs) —
Deep memory (Hindsight + PostgreSQL) PyPI (hindsight-api-slim 1.1.0) pinned version
Ollama + model (if chosen) github.com/ollama/ollama, ollama.com pinned SHA-256
Docker Desktop (if chosen) winget winget manifest hash

Depending on your connection this takes 5–20 minutes. If Python or the libraries can't be installed, Setup stops
before copying anything, so you never end up with a Dictator that can't start.

The program goes to C:\Program Files\Dictator, your data to %LOCALAPPDATA%\Dictator. Installing over an existing
Dictator keeps your settings (provider, language, mode); only what is missing is filled in. When you uninstall
(Settings → Apps), you are asked whether to delete your data too.

SmartScreen: the installer is not code-signed yet, so Windows may say "Windows protected your PC" — choose
More info → Run anyway. You can compare the file with SHA256SUMS.txt from the release:

Get-FileHash .\Dictator-Setup-*.exe -Algorithm SHA256

Silent install (for IT): Dictator-Setup-<version>.exe /VERYSILENT /PROVIDER=chatgpt /WHISPER=auto /MODE=native —
all options are listed at the top of installer/dictator.iss.

On the first start Dictator shows a setup guide:

  1. On the Model page choose the provider:
    • ChatGPT plan (sign-in through Codex): click Sign in with ChatGPT. The app shows a code and opens
      auth.openai.com/codex/device; enter the code and allow access. No API key is needed; your ChatGPT
      Plus/Pro/Business limits are used. Your sign-in in the Codex app or CLI is not affected (Dictator gets its own
      session).
    • Other providers: enter the API key (it is stored encrypted with DPAPI).
  2. Home → Start. Once the agent is ready, you can write on the Chat page.
  3. On the Telegram page connect your account (you enter the api_id/api_hash from my.telegram.org, your phone
    number and the code yourself).
  4. Optional: on the Telegram bot page enter a bot token from @BotFather and link it with /pair.

Run modes

Native (default) Docker
Where the agent runs On Windows, %LOCALAPPDATA%\Dictator\hermes In the dictator-agent container
Control of the PC Full: terminal, files, apps + UI Automation Only through Dictator's tools (UI Automation, PowerShell — on request)
Model key Added by the proxy, but the agent runs as the same user as you Never enters the container
Offline mode No Yes (--network none)

In both modes every model request of the agent goes through Dictator's proxy (with a new token on every start).
When a session that has read messages from strangers wants to do something risky, you are asked first (injection
guard). Telegram actions follow the Allow/Ask/Never rules.

Command line

agent-harness status | start | stop | restart | reset | journal
agent-harness ask local-1 "hello"
agent-harness config show
dictator doctor          # setup steps (also for other AI agents)
dictator mcp             # MCP server for Claude Code / Claude Desktop: claude mcp add dictator -- dictator mcp

Differences from the macOS version

  • Telegram Desktop has no built-in "AI Assistant" chat. The app's chat window and a Telegram bot take its place.
    Telethon carries out the agent's Telegram actions in your account.
  • Loom widgets and the add-ons that change Telegram's screens exist only in Telegram for macOS. On Windows the agent
    answers with text, tables, images or files.
  • PowerShell/COM scripts and UI Automation replace the AppleScripts.

For developers

docs/ARCHITECTURE.md — structure; docs/study/ — a detailed study of the original project.

uv sync --extra all --extra dev          # with an NVIDIA GPU also: --extra cuda
uv run ruff check src tests scripts
uv run pytest -q
powershell -ExecutionPolicy Bypass -File install.ps1   # install from source (with a Start menu shortcut)

Smoke tests (no API key, with a fake model): scripts/smoke_native.py, scripts/smoke_docker.py.

Release (Windows installer)

winget install JRSoftware.InnoSetup                          # once
powershell -ExecutionPolicy Bypass -File installer\build.ps1   # -> dist\Dictator-Setup-<version>.exe

On GitHub: raise the version in pyproject.toml (and add it to CHANGELOG.md), then
git tag v<version> && git push origin v<version>. The Release workflow runs the
tests, builds Setup.exe, installs and uninstalls it on a clean Windows runner, and publishes
Dictator-Setup-<version>.exe and SHA256SUMS.txt as a GitHub Release. The installer is not code-signed yet; signing through
the SignPath Foundation is prepared and waits for an application (docs/signing.md). A
signtool sign ... $f command in the SIGNTOOL repository secret also works.

The website (diktator.uz, site/) follows releases by itself: when the Release workflow
finishes (and every 6 hours), the Website workflow runs scripts/site_release.py,
which points every Download button at the newest Dictator-Setup-<version>.exe and writes site/release.json
(tag, size, SHA-256) for the page.

Installer layout: installer/dictator.iss (pages and steps),
src/dictator/cli/installer.py (the steps run as the signed-in user: settings,
Whisper, Hermes, deep memory, Ollama), installer/lang/ (Uzbek, English and Russian texts).

Reviews (0)

No results found