The Dict app is a dictionary from English, German, French, Spanish, Italian or Latin into Chinese, Japanese or Korean. A word it has not met is written by a model while you watch, and then kept, so the next time its entry opens at once.
For you:
For a script or a coding agent that talks to exe over HTTP:
A lookup is one line of up to 80 characters. Capitals and extra spaces do not matter: Serendipity and serendipity are one entry.
After you pause typing for just over half a second, up to eight saved words beginning with those letters appear under the field, in alphabetical order, for the selected language pair. Typing again hides the list until your next pause. The list stays hidden when there is only one match. Switching tabs or focusing the field does not open suggestions; edit the lookup text to start them. Click or tap one to open it, or use ↑ / ↓ and Return. Escape dismisses the list. Return without a selected candidate submits the text you typed. Suggestions only search the saved dictionary; typing does not start a generation session.
Under the headword an entry gives, from the top:
| Part | What it gives |
|---|---|
| Pronunciation | The word in IPA: British and American for English, Classical and Ecclesiastical for Latin. |
| Forms | The forms a learner needs, such as a German noun's article and plural, or a Latin verb's principal parts. |
| Definition | The word's senses, each with short equivalents and a definition. |
| Examples | Two sentences with their translations, one simple and one more complex. |
| Etymology | Where the word comes from. |
| Related Words | Words related to it, each of which looks itself up when clicked. |
| In Literature | How the word lives in literature, with a quotation or two when the model knows one word for word. |
A Chinese entry is written in Simplified Chinese.
For English words, the part-of-speech labels stay in English abbreviations: n., adj., adv., v., vt. (transitive) and vi. (intransitive), for example. [C] and [U] mean countable and uncountable; sing. and pl. mean singular and plural, and usu. means usually. The definitions and explanations remain in the language you chose.
Look up an inflected form (ran, ging, amāvī) and you get the headword's entry, with a line saying which form you typed.
An obvious typo (recieve, Weltschmertz) is read as the word it stands for:
A lookup that is not a word of the source language comes back with suggestions, and nothing is kept. A suggestion looks itself up when clicked.
A word the dictionary does not have yet takes a few seconds for its spelling and a minute or two for the entry. You can watch the work:
The session belongs to the daemon, not the window. Close the window and the entry is still written and kept. A window that asks for the word meanwhile — this one reopened, or another desk — joins the session, every step so far included, rather than starting another.
Entries are kept in the node's own dictionary, ~/.exe/dict.db (SQLite), so a word looked up before opens at once.
New English entries get American English audio for the headword and both example sentences. Press the speaker beside a word or example to hear it. All three MP3s are saved in the same SQLite database, so later playback needs no TTS service. Looking up a saved English entry fetches any missing clips in the background. Its definition appears immediately, and the speakers become available when the clips are saved. Entries keep their text and metadata; they are not regenerated. Concurrent lookups share the fetch. If one clip fails, successful clips remain saved; looking up the word again retries only missing audio. Example clips are tied to their exact sentence text, so an edited example cannot play an older sentence. Other source languages keep their written pronunciations only, since this TTS service is configured for English.
The daemon calls http://127.0.0.1:20262/speak/<text>?v=Aiden. Set EXE_DICT_TTS_URL in the daemon's environment to use another base URL, or set it to an empty string to disable synthesis. Requests wait at most 90 seconds and accept MP3s up to 2 MB. An entry with saved audio has "audio": true in its API result; read the bytes with GET /v1/dict/audio?from=en&to=zh&q=word, using the returned entry's q. The example_audio array reports availability in example order, such as [true, false]. Add &example=1 or &example=2 to the audio URL for the corresponding English sentence. These endpoints take the daemon's API token like other dictionary calls. When a lookup returns a saved entry whose audio is being fetched, its audio_flight identifies that work on GET /v1/dict/stream. The final entry reports which clips were saved. Preview GETs and playback do not start synthesis.
A word the dictionary does not have yet is written by Codex: an ephemeral session of the Codex CLI on this host, on gpt-6.1-sol at extra-high reasoning.
codex app-server that is never saved and never joins Codex's resume list.A host without the Codex CLI still opens every entry it keeps, and answers the rest with No Usable LLM Backend. Codex must be signed in (codex login) for the rest to be written.
A lookup that goes wrong says why on its page, with Try Again under the reason. A session that has not answered after ten minutes is stopped.
Each lookup has a tab, along the top of the page. Where a lookup opens depends on whether its entry has to be written:
A tab you are not looking at can wear a mark:
| Mark on a tab | What it means |
|---|---|
| A pulsing green dot | The tab is writing out of sight. |
| A black dot | The tab finished while you looked elsewhere. The dot stays until you open it. |
There is no limit on how many words are written at once. Each gets its session straight away, and the window follows all of them over a single connection, so a pile of writing tabs never ties up the browser. Tabs narrow as they crowd, and past that the bar scrolls sideways (a wheel, a trackpad or a finger).
The × on any tab closes it, including the last one. Hover over it to see its circular click area fade in; moving away fades it out. The first tab and its full content slide up together with a brief spring motion when opened from welcome; closing the last tab slides the whole panel down. Each takes 0.15 seconds, or is immediate with reduced motion. With no tabs open, Dict shows its welcome page: Word of the Day from the saved dictionary in large serif type on the window's gray background, and your 10 most recent words in two columns, newest first. Click a word to open it; a recent word remembers its language pair. The welcome page has no separators or scrollbar; in a short window you can still scroll by touch, wheel or keyboard. The daily word follows the selected languages. Click or tap the star above it to show a different saved word, with a brief sparkle. The star also works with Return or Space when focused; reduced motion skips the sparkle. The current word stays visible while the next one loads. With only one saved word, it stays put. Looking up the same word in the same languages moves it to the top. The recent list stays in this browser, alongside its tabs. Viewing the daily preview or restoring tabs does not add to the list.
An empty dictionary invites you to look up its first word. Changing the languages on the welcome page changes the daily word without starting a lookup. Closing a tab that is writing does not stop its session: the entry is still written and kept.
The window remembers its tabs, the open one and its languages in this browser, and a reload brings back up to twelve tabs. A tab that was writing rejoins its session, and one whose session was lost to a daemon restart starts it again. Closing every tab is remembered too: a reload returns to the welcome page.
Change a pop-up and Dict shows the word's entry for the new pair, if the dictionary has one. If it has none, the page says so and waits for Look Up, so a stray change of pop-up never starts a session.
Changing the languages while the open tab writes opens the word in the new pair in a new tab.
Dict also works on its own, outside the desktop:
/apps/dict/ on your exe's address. Over Tailscale Serve that is https://<host>.ts.net/apps/dict/.From the home screen it opens full screen with its own icon, the red dictionary on the desk's lavender. There it:
In a narrow window, a phone's among them, the two languages take a row of their own above the word.
Two calls answer a lookup. Both name the languages by their codes and the word as q: from is en, de, fr, es, it or la, and to is zh, ja or ko. Like every /v1/ call they take the daemon's API token where one is set.
Autocomplete saved words. GET /v1/dict/suggest?from=en&to=zh&q=ser returns {"suggestions":[{"q":"serendipity","word":"serendipity"},…]}: up to eight prefix matches in the selected dictionary, alphabetically. q is the lookup key and word its display spelling. No match returns an empty list. It does not generate entries or increment lookup counts.
Word of the Day. GET /v1/dict/daily?from=en&to=zh&date=2026-10-26 returns {"date":"2026-10-26","word":{"q":"…","word":"…","pos":"…","gloss":"…"}}. The date is the browser's calendar day; omitted, it defaults to today in UTC. The daily rotation uses entries saved before that date's UTC midnight, or the oldest saved entry when the dictionary has only just started. An empty dictionary returns "word":null. Reading this preview neither generates an entry nor counts a lookup. Add except=<current q> to pick another saved word at random in the same language pair, including entries saved today. The displayed key is excluded; when there is no other word, the result is "word":null. This does not change the default daily selection.
Read a kept entry. GET /v1/dict?from=en&to=zh&q=word answers a kept entry, and 404 when there is none. For a known typo it answers its word's entry, with corrected saying what was typed; exact=1 reads the text as typed.
$ curl -s '127.0.0.1:7777/v1/dict?from=en&to=zh&q=serendipity'
The answer is one JSON object: from, to, q, the entry itself, the model and effort that wrote it, and created, the time it was written.
Look up, and write if need be. POST /v1/dict with {"from", "to", "q"} answers newline-delimited JSON. A kept entry comes at once, as one {"entry": …} line. Otherwise a session writes it, and these lines follow it as it works:
| Line | What it says |
|---|---|
{"writing": true, …} | The first line: a session is writing. Its q is the word the session writes. |
{"step": {"t", "kind", …}} | A step of the session. |
{"text": …} | The entry's JSON, a fragment at a time. |
{"wait": seconds} | Sent every five seconds besides, for as long as the session works. |
{"entry": …} | The last line: the entry, with the session's tokens, and corrected for a typo. |
{"notfound": true, "suggestions": […]} | The last line when the lookup is no word. |
{"error": …} | The last line when the session failed. |
A step's kind is session, spell, spelled (with its verdict on the typed text), think, summary, thought, answer, usage or retry.
"exact": true in the body skips the spelling check. A word that has to be written on a host without the Codex CLI answers 503.
A lookup that joins a session reads every line from the start, and joins only a session it can trust. A plain lookup never shares an exact one's, whose text may be a typo, and an exact lookup never shares a spelling check still out. Each starts its own.
The window itself does not hold a request per lookup. It uses two more calls:
POST /v1/dict/start, with the same body, answers at once: {"entry": …}, or the session as {"flight": id, "key", "q", "model", "effort", "wait"}.GET /v1/dict/stream is one connection to every session the daemon is running, and to those finished in the last two minutes.On the stream each session is announced as {"flight": id, "began": {…}}. Its lines follow as POST /v1/dict sends them, with "flight" added, and then its last line. {"ready": true} ends the first round, and {"ping": …} keeps a quiet stream open.