An open-source, bring-your-own-model desktop agent workspace.
Point it at a folder, say what you want, and watch it work. It reads files, runs commands, and asks before it does anything consequential. It looks and feels like Claude Desktop, but it runs on the models you choose, billed to your own key.
- Open source, no account. Apache-2.0. Nothing to sign up for, no hosted backend, no subscription. You pay your model provider per token, and nobody else.
- Any OpenAI-compatible model. Paste a server URL, pick a model, start working. A live meter in the title bar shows what each turn and session costs, and a spend cap pauses the session when it is reached.
- Works offline with a local model. Pointed at a model server on your own computer, it needs no API key and no network.
- Asks before it acts. Every tool call goes through a classifier. Reads and edits inside your folder run on their own. Other shell commands, anything outside the folder, and anything it cannot classify wait for your approval.
- Keys stay in your OS keychain. Keychain on macOS, Secret Service on Linux, Credential Manager on Windows. Never in a config file or a log.
- A native app for macOS, Linux and Windows. Built on Tauri: a Rust shell on the system webview, with the agent daemon bundled in. No Electron. An Android app pairs with a QR code and follows your sessions from your phone.
Download the latest release · Install steps · Quickstart · How models work
TST Desk talks to any server that speaks the OpenAI chat API. No model ships with it; the first run walks you through adding one.
| What | Examples | Key |
|---|---|---|
| A model server on your computer | Ollama, vLLM, LM Studio, llama.cpp's server | None. No key is asked for, and none is sent to 127.0.0.1 or localhost. |
| A hosted model API | A provider's OpenAI-compatible /v1 endpoint |
Your key, stored in the OS keychain and sent only to that URL |
| A gateway in front of many models | A router or proxy that speaks the OpenAI chat API | Your key for the gateway |
| A server you run on another machine | Your own vLLM or llama.cpp behind a key | A named key for that server |
| Anything else | Any endpoint that speaks the OpenAI chat API | Whatever that endpoint needs |
You can also mix them: a team gives planning, doing and checking their own models, for example a hosted model that plans and a local one that does the work. See docs/models.md.
Get the newest build from the latest release. Every release has these files:
| Platform | File |
|---|---|
| macOS, Apple silicon | .dmg (aarch64) |
| macOS, Intel | .dmg (x64) |
| Linux, x86_64 | .AppImage or .deb (amd64) |
| Linux, ARM64 | .AppImage (aarch64) or .deb (arm64) |
| Windows, x64 | .msi |
| Android phone (optional) | .apk |
SHA256SUMS.txt on the same release lists a checksum for each desktop file.
- Download the file for your platform.
- Check it against
SHA256SUMS.txt. - Install it:
- macOS — open the
.dmgand drag TST Desk to Applications. - Linux —
chmod +xthe AppImage and run it, or install the.debwithsudo apt install ./<file>.deb. To save API keys, installlibsecret-toolsand have your desktop's keyring running (docs/linux.md). - Windows — run the
.msi.
- macOS — open the
- The first launch shows a warning on macOS and Windows, because release builds are not notarized (macOS) or code-signed (Windows). Installing an unsigned build below has the one-time click-through.
The phone app follows sessions on your computer from an Android phone. It is a viewer for
your own computer, not a cloud service: both devices need Tailscale. Install the .apk, then
pair it from Settings → Phones and devices → Pair a phone on the computer by scanning the QR code.
android/README.md has the details.
The app also runs from source — see Development.
Five minutes, launch to first result. No model ships, so the first-run wizard is: welcome → add a model → workspace → done. How models work walks through every step.
- Download it, install it, open it. Install above has the per-platform steps; clearing the unsigned-build warning on first launch is a one-time click.
- Add a model. Paste the API URL of any server that speaks the OpenAI chat API — a hosted provider, or a model server on this computer (llama.cpp, vLLM, Ollama, LM Studio). For a hosted one, paste its API key; it goes into your OS keychain, not a file, and is sent only to that URL. For a server on this computer no key is asked for and none is sent. TST Desk lists the server's models, you pick one and give it a label and a one-line description, and it sends one short test message so you know it works.
- Switch models from the picker. The chip under the message box opens the model picker:
your models with their descriptions, an Effort level, and Add a model for the next one.
A model on the picker is a
presets:entry in yourconfig.yaml; docs/models.md shows how to write one by hand, and how to build a team that gives planning, doing and checking their own models. - Pick a workspace. A native folder picker. The folder is the unit of work — TST Desk
scaffolds a
.tst/directory in it with a commented default config, resolves anyAGENTS.mdorCLAUDE.mdit finds, and shows you the resolved instruction stack. - Type a request. You get streamed output in the chat pane, an activity timeline on the right, and an approval card whenever it wants to do something that needs your say-so. Approve it, and you have your first result.
Nothing in those five steps creates an account anywhere.
TST Desk can wrap the installed Grok Build CLI
instead of its native three-tier loop. Settings → Engine → Grok Build. New sessions then
spawn grok agent stdio over ACP; the window, approvals, coworker mode, and timeline stay
TST Desk's. The CLI is not replaced: grok, grok -p, and grok agent stdio keep working
on their own, sessions still live under ~/.grok, and grok --resume still opens the TUI.
Grok credentials stay in ~/.grok/auth.json — never in TST Desk's config.
You are billed by your provider for the tokens you use. Nothing is billed by us, because there is nobody to bill you — see The promises.
Every turn routes three roles, called tiers: a brain for planning turns, a worker for
token-heavy edits, and a validator for review. One model can fill all three; a team lets
cheap tiers do the volume while the expensive tier only plans. No model ships, so no price
ships either: each model entry in your config.yaml carries the dollars-per-million-token
prices the meter uses. The "Add a model" walkthrough fills them in when the server reports
them and leaves them at 0.0 otherwise; edit them there.
Model slugs are deliberately not restated here. The landscape moves weekly, so your
config.yaml is the one place they live — change them there without waiting for a release.
A worked turn. Token counts and prices below are illustrative, but the arithmetic is the
shipped one — this is compute_call_details run on a brain priced at
$2.80 input, $14.00 output and $0.30 cache read per million tokens. A turn sending 20,000
prompt tokens, of which the provider reports 15,000 served from cache, and generating 1,500
tokens:
5,000 uncached prompt × $2.80/M = $0.0140
15,000 cached prompt × $0.30/M = $0.0045
1,500 completion × $14.00/M = $0.0210
-------
$0.0395
Cache-read tokens are always priced at the cache rate, never the input rate — and only when the provider actually reports them. A provider that says nothing about cache reuse is billed as if there was none, so the meter never quietly understates what you owe.
Per session. The spec estimates the three-tier stack at roughly $0.36 per working
session (docs/tst-desk-spec.md §1). Treat that as an estimate, not a measurement: it is a
design-time figure, and this build has not published one of its own. What the build does give
you is the real one — a live meter in the title bar showing spend per turn, per session and per
day, broken down by tier, plus a spend cap that pauses the session when it is hit.
Per session, on a model on this computer. Zero. Its prices are 0.0 unless you set
them, so the meter reads $0.00 and means it.
These are not marketing lines. They are architectural constraints, written down as prime
directives in AGENTS.md §2 and enforced in code.
-
No account. There is nothing to sign up for. The only credential in the system is your own provider API key, and for a model on this computer there is not even that:
config.py'srequires_api_key()returns false when every tier points at loopback, and the provider client is then built withapi_key=Noneand sends noAuthorizationheader at all. -
No server. The daemon binds
127.0.0.1by default.ws.py'svalidate_interface()refuses every other interface unlessremote.bindnames a Tailscale address (never0.0.0.0).start()takes nohostparameter.core/tests/test_security_suite.pyasserts both. The webview holds its end of the same boundary: every inbound frame is validated down to its event type (client.tsdrops and counts anything outside the known union), while payload shapes are trusted to the token-authenticated daemon peer — the only writer of that socket, and the other half of this repo. -
No subscription. You pay your model provider per token and nobody else. There is no billing code in this repository because there is nothing to bill.
-
No telemetry. No analytics, no phone-home, no crash reporting. Nothing is sent to the authors of TST Desk or to a service of ours, because there is none. Every host the daemon does contact is named in your
config.yaml:- each model's
base_url, for chat and, once a day, to re-read that model's price and context size (see Background checks below); - the search pages
web_searchreads (search.base_urland its fallbacks) and the pagesweb_fetchopens, under the same approval rules as any other tool call; - what you switch on yourself: notification channels, connectors, and an MCP server you
marked
allow_remote.
Background checks. Two calls happen without you asking, and both are on by default: the packaged app asks GitHub releases for a newer version when it opens and every four hours (Updates), and the daemon re-reads each model's price and context size from that model's own server a little after start and then once a day. One switch turns both off: Settings → About → Check online in the background. With it off, nothing is checked until you press Check for updates or Refresh from servers. (
model_refresh.auto: falseinconfig.yamlturns off only the price refresh.)There is exactly one chat client (
provider.py), and its endpoint comes from config, never from a literal in the source. Model discovery refuses any non-loopback endpoint before it sends (discovery.py).core/tests/test_outbound_hosts.pyenumerates every destination the process can open — source literals, the live sending paths, and import-time sockets — and fails if a host appears that configuration did not name. - each model's
-
Your key never touches disk. It lives in the OS keychain — Keychain, Secret Service, or Credential Manager (
keychain.py). Every log and audit path runs through one shared redactor (logging.py), andcore/tests/test_credential_hygiene.pydrives a real daemon with a canary key and asserts it appears in no wire payload, no log record, and no byte of any file under the data directory — and in no audit row, where the credential flow produced a database to scan. -
Your conversation sits on disk unencrypted. Each session writes its full model conversation — your messages, the assistant's replies, and every tool call with its arguments and result — as plaintext JSON to
<user data dir>/sessions/<session id>/conversation.json(session_persist.py; e.g.~/Library/Application Support/com.thatsimpletech.tstdesk/sessions/on macOS), written owner-only and without passing through the credential redactor that guards logs and audit rows. That is deliberate, not an oversight: reviving a session after a crash needs the actual chat, and local-first means your OS user account is the boundary. There is no knob that turns the file off or moves it on its own — start the daemon with a different--data-dirto relocate it with the rest of the data directory, or delete the session to delete its copy. -
Files the agent sends are kept with the session.
send_filekeeps a copy of each file under<user data dir>/sessions/<session id>/artifacts/, owner-only, until you delete the session, so a card opens the bytes that were sent even after a rebuild overwrites the original. The copy is your file verbatim; it is not redacted, and it never goes to a log or the audit database. Limits: 512 MiB per file and 4 GiB per session (session.send_file_max_bytes,session.send_file_session_max_bytes). -
What the agent shows in the Artifacts pane is text it was allowed to read, or text it wrote.
show_artifacteither points at a text file inside the workspace (no copy is made) or keeps text the agent hands over under<user data dir>/sessions/<session id>/artifacts/, owner-only, under a name the daemon makes. It writes nowhere else and contacts no host. An HTML artifact is shown as a static picture of itself: no scripts, no links, no remote images. Limits: 2 MiB per artifact and 200 per session (session.artifact_max_bytes,session.artifact_max_count). -
The agent cannot schedule itself.
schedule_proposeputs a proposed job on a card in the chat and saves nothing; only your Save creates it, in that chat's own project. A job saved this way is marked "Proposed by the agent" and does not run under Skip all approvals unless you tick that on the job. A delegated task or an unattended run cannot propose one, and the agent can list only the current workspace's jobs (schedule_list). -
The audit log shows tampering; it does not prevent it. Every row of
audit.db(in the data folder, owner-only with its-waland-shmfiles) carries the hash of the row before it, its own hash (over its row number and its values), and an HMAC made with an integrity key (audit_chain.py). Rows written before this existed are covered by one digest per table, taken when the chain began. Doctor checks the whole chain and names the first bad row; an export of model calls refuses whenever Doctor's audit row fails for the rows themselves (writes that were lost, below, do not stop it), and otherwise holds the rows ofaudit.dband every kept file below, each naming its file in asourcecolumn, so it adds up to the usage report. Exactly what that guarantees:- an edit, an insertion, a deletion or a renumbering of any row before the newest is detected: the chain breaks there. Removing every chain marker is reported too ("the chain was removed"), and the log keeps recording. A value's type is part of its hash: a BLOB never hashes like the text of its hex;
- the database's structure is not trusted either: it must be exactly what this version's
migrations make (every table, column, index, view and trigger, a name that is not UTF-8
included), each
sqlite_sequencevalue must be sane, and every row is read back after it is written. A database that differs (a trigger, a renamed or dropped table or column, an added index, a sequence at its ceiling, a row not stored as written) is set aside asaudit.db.tampered-<stamp>; one SQLite cannot read (garbage renamed over it, or a write still "malformed" after one reopen and retry) asaudit.db.damaged-<stamp>. Each keeps its-waland-shmbeside it (0600, never deleted), and a newaudit.dbis started at once with the whole write that was being made (a turn and its model calls together), so recording never stops. This is done under one lock, so two writers never set aside two files or lose a note. Every set-aside is noted, one found when TST Desk starts included, and on the first start after upgrading from a version before this chain, eachaudit.db.damaged-*the earlier version left is noted too, once (audit.earlier-noted, 0600, in the data folder records that it was done). Doctor's audit row then fails, naming every kept file (none is ever dropped from the note; a file that could not be moved is one entry with a count) and what differed, after every restart, until you deleteaudit.tampered.jsonfrom the data folder. If the file cannot be moved, that run records in memory. A folder written by a newer TST Desk is not checked; anaudit.dbalone written by one is set aside asaudit.db.newer-<stamp>(last point below); - a missing or locked key store never stops recording: when neither the OS keychain nor
audit.keycan be used, rows are still written, unsigned, and Doctor's audit row says so (below). That is the promise; surviving every lock, crash or full disk is not: - a write (a turn with its model calls, a tool call, a session starting or reattaching) that
meets a lock or busy error anywhere is kept whole, in memory, and the kept writes are
retried, oldest first and each whole, before the next write, a spend read and Doctor's
check, while TST Desk runs. A kept write whose chat has no start row in that file (a new
file after a set-aside) writes that row first. Doctor's audit row says how many are
waiting, and the chat is told its write is kept, not that nothing is recorded. If
audit.dbcannot even be read for Doctor's check (another program holds it locked), the row fails saying the log could not be checked just now, with how many wait, and the export refuses until it can be checked. At most 10,000 are kept; - if a kept write still cannot be written when TST Desk quits, it is lost. Quitting tries
once more, waiting a fraction of a second on a lock so it stays inside the five-second
shutdown limit; what is left is counted, and only the count and the time (no row data)
go into
audit.tampered.json(0600), so after the next start Doctor's audit row fails: "N audit writes could not be saved when TST Desk quit at (the audit file was locked or unwritable)", until you delete that file. The export still works meanwhile: those writes are missing from it, and the rows it holds are checked as always. If the data folder itself cannot be written, that note cannot be saved either: the count goes only to a warning in the daemon log, and the next Doctor does not show it. A write that fails for another reason (a full disk, an I/O error), or one past the 10,000, is lost at once, and Doctor's audit row fails with the count for the rest of that run. A crash or a forced kill loses what was kept without counting it. Kept writes are never put in a file of their own: anaudit.pending.jsonlleft by a development build is never read, replayed or changed; - a chat's spend (what its spend cap and today's totals count) holds the writes in the log
and the writes kept in memory. A lost write is not counted once it is lost, as on
mainwhen a write fails, so its cost does not reach a budget after a restart; - something at
audit.dbthat is not a regular file TST Desk can read and write (a directory, a FIFO, a 0400 file) is set aside too, never deleted: asaudit.db.unusable-<stamp>when it is not a file (its spend is not read: it holds none), otherwise as tampered or damaged. Recording goes on in a new file. If it cannot be moved, the run records in memory, and Doctor's audit row says so; - spend and caps survive a set-aside: the rows before it are only in the kept file, but a
chat's spend (what its project's spend cap and today's totals count) and the usage report
are read from
audit.dband everyaudit.db.tampered-*,audit.db.damaged-*andaudit.db.newer-*in the data folder, read-only, summed by chat, and from the file left in place when a run records in memory. If any of those files cannot be read, the spend is unknown, not $0: each chat pauses when its loop starts, naming the file and the two ways out (move it out of the data folder, or Resume to go on without the earlier spend), Doctor's audit row fails naming it, and the usage report and the export answer with an error, until that file is moved out of the data folder. A kept file cannot say which chats it holds, so that is every chat; - a budget counts the spend the log holds now. Editing or deleting a row other than the
newest in the current
audit.dbfails Doctor's audit row. Deleting the newest rows (or the whole file), editing or removing a kept (set-aside) file, or deletingaudit.tampered.json, is not detected. Any of these can lower the spend a budget counts, and none of them by itself pauses chats, except an edit that leaves a kept file unreadable (a table or column its spend is read from removed or renamed, or a value no reader can use: text that is not text or not UTF-8, a number that is not a finite number, a time that is not a time): every chat then pauses, as above; - someone who has both the database and the integrity key can rewrite history: it is evidence, not prevention;
- the key lives in the OS keychain, one per data folder (
audit-integrity-key-<folder id>), and is made only when the keychain says it holds none, so a failed read never replaces it. While the keychain holds it, only rows signed with it vouch: a row signed with a key in the data folder fails, since anyone who can write that folder could have put one there; - when the keychain cannot be used, the key is
audit.keyin the data folder (0600), and Doctor says "integrity key not in the OS keychain": then anyone who can read that folder has the key, and a full backup of the data folder holds it too, so whoever has the backup could forge the log. Anaudit.keythat cannot be read is never replaced; that run records unsigned rows; - a record that the log was chained (in the keychain, or
audit.chain-begunin the data folder) stops anyone from making the chain start over on edited rows. It is copied to the keychain the first time TST Desk runs with a usable keychain. The file, likeaudit.key, protects only against someone who cannot write the data folder, and so a log that has never run with a usable keychain is only as safe as the data folder. When the keychain is locked or cannot be read (on Linux, a lookup that finds nothing is confirmed by a search before it counts as nothing), a log whose markers are gone is never started over: that run begins no chain at all, not even for its empty tables (a log with no rows still begins), Doctor's audit row fails ("unlock the OS keychain and restart TST Desk") and export refuses. The first run that can read the keychain begins the chain over every row then present, or reports it removed if the record is there. The exception is a computer with no keychain at all: there is nothing to read, so theaudit.chain-begunfile alone decides, which protects only against someone who cannot write the data folder; - Doctor's audit row fails for rows it cannot vouch for: unsigned rows (a run with no key store writes them, and so can someone who changes a row) and rows whose key is not here (unlock the keychain and run Doctor again). The key and the record stay with this computer and this folder path: after moving or renaming the data folder, or copying it to another computer, rows signed before cannot be checked there;
- a run that keeps its audit log in memory (the data folder read-only, locked, or written by a newer TST Desk) does not check the file on disk, and Doctor says so. It still fails while the note names a set-aside or a file on disk cannot be read: marking the folder newer does not turn a set-aside's failure into a warning. Its export holds the rows of the files on disk and this run's (source "this run (in memory)"), and refuses only when Doctor's row fails for the rows themselves.
- Settings → Audit shows the log itself: tool calls (with the allow list entries that let
one run without asking, and each call's approval), approvals, decisions, classifier
judgments, hook runs, network egress and model calls, newest first, filtered by session,
tool, class, outcome, approver, allow list entry and date, with the chain check at the top.
Every approval is recorded with who decided it and from which device: this computer's
window, the OS notification, the CLI, a phone or another computer by the name it was paired
with (the kind its paired-device record says, never what the client claims), never a token,
key or address; each is a chained row like any other. An approval a tool call waited on is
written with that call's row and names it, so a model that repeats call ids (
call_0every turn) cannot make it show on another call. Its export (CSV or JSONL, ortst audit export --format csv --since 2026-11-01) holds every matching row and starts with the chain check; unlike the usage export, a log whose chain is broken still exports, marked broken in that header, because those rows are the evidence. Both readaudit.dband every kept file, each row naming its file, and only on this computer: a phone or another computer is refused (docs/configuration.md). - an
audit.dbwhose schema version this build does not know (a newer TST Desk wrote it, for example before a downgrade and "Continue with a backup") is set aside asaudit.db.newer-<stamp>, not as tampered, and recording goes on in a newaudit.dbon disk, so nothing is kept only in memory. This version cannot check that file, so Doctor's audit row fails for it as for any set-aside, saying a newer TST Desk wrote it, never that it was changed; its spend and rows are still read. A data folder marked newer (data_version.json) is left read-only as before.
-
The agent cannot rewrite its own rules.
AGENTS.md,CLAUDE.mdand.tst/rules/**are refused by the filesystem tool itself (tools/boundary.py), ahead of the workspace check and ahead of any approval — so nowritable_pathsgrant can open them.
Against Claude Desktop, Cowork, and hosted agent workspaces generally. These are good products built by large teams, and this table is only useful if it says so.
| TST Desk | Claude Desktop / Cowork / hosted workspaces | |
|---|---|---|
| Setup | Get an API key, paste it, pick a folder | Sign in and go. Genuinely less work |
| Polish | Early 0.x releases, in active development. Builds are not notarized or code-signed, and update from GitHub releases after a checksum check | Years of QA, signed, notarized, auto-updating |
| Support | GitHub issues and whoever shows up | A company, a support channel, an SLA |
| Infrastructure | Yours to run; local models need local hardware | Managed. Nothing to provision, nothing to keep warm |
| Model quality out of the box | Whatever you pick and pay for | Frontier models in a harness tuned for them |
| Mobile / sync | An Android app that attaches to your own computer over Tailscale. No cloud sync | Usually both |
| Pricing | Per token, metered live — no floor, and a spend cap that pauses you | Flat subscription — predictable, and cheaper if you are a heavy user |
| Model choice | Any OpenAI-compatible endpoint; three tiers you pick, with routing pinnable mid-session | The vendor's models |
| Whose key | Yours. You see the bill and the meter | The vendor's, folded into the subscription |
| Offline | Runs against a local model server — no key asked for, none sent | No |
| Audit trail | SQLite on your disk, every row hash-chained and signed, so an edit or a removed row shows up in Doctor; model calls export to CSV or JSONL | The vendor's logs, on the vendor's terms |
| Steering | AGENTS.md hierarchy you own, with an inspector showing the resolved stack and its token cost |
Project instructions, less visible |
| Source | Apache-2.0. Fork it, audit it, change the model table | Closed |
| Account | None | Required |
Where they genuinely win: nothing to configure, nothing to keep running, and a product that has been shipping long enough to have had its rough edges filed off. If you want an agent workspace that just works today, buy one of theirs. TST Desk is for people who want to own the key, the model choice, the audit trail, and the code.
TST Desk is in active development, with 0.x releases. Every release is on
the releases page, and the newest is
always at releases/latest.
Pushing a tstdesk-v* tag runs release.yml, which builds
the five desktop platforms with package.yml and publishes
them with SHA256SUMS.txt. The Android .apk is built by hand and added to the release.
GitHub Actions is budget-capped at $20/month. Default CI is three
Linux jobs; five-platform Package runs only on demand or on a new
tstdesk-v* tag — see docs/ci-actions-blocked.md.
App releases tag as tstdesk-v* (TD-4812) so a package tag like
v0.2.0 (the tst-cu-mcp server, not the app) cannot fire the app
workflow. The app also runs from source.
Every bundle is scanned for the maintainer's private names and hosts
before it ships (core/scripts/release_scan.py, TD-5163; the list is a
repository secret). The hand-built APK gets the same check before upload:
cd core && uv run python scripts/release_scan.py --require ../android/app/build/outputs/apk/release/app-release.apk.
What works: streaming chat, the three-tier router, the steering assembler and instruction
inspector, filesystem and shell tools behind a decision classifier and approval cards, path
boundaries and spend/time/iteration caps, the live cost meter and usage export, the
tamper-evident audit log with its Audit view and export, agent memory that rides the brain prompt and accepts distilled
updates, sessions that revive from disk after a restart or a closed window (close vs quit
below), headless runs via tst run, computer-use — a screenshot and clicks through the
same classifier, behind a kill switch — on macOS, Windows, and Linux X11 via tst-cu-mcp (the browser
tools need Playwright installed and computer_use.browser: playwright; without them they say no
browser is there), the agent sends files to the chat (send_file) as cards you can open, save,
or download to the paired phone, where an APK opens the installer, steering edits the agent
proposes (propose_steering_edit) as a diff that only your Accept writes, a task list the
agent keeps (task_list) in the Plan pane and above the composer that outlives compaction,
questions the agent asks you (ask_user) as buttons to tap on the window or the phone,
a done-check (stop_check in .tst/config.yaml, or /goal) that sends the agent back to work
when it stops before a command passes or a statement holds, remote attach over
Tailscale (never 0.0.0.0) with Slack/ntfy notify
and the scheduler rail, local vLLM workers (computer_use.local_worker_preset) and UI-TARS grounding for local pixel loops,
a validating CHARTER.md schema and the project-home charter editor, the
autonomy engine (unattended runner, circuit breakers, hard-required container),
slash commands, SKILL.md, plan lock, MCP loading (with tool_search loading MCP tools
on demand once their schemas would crowd the window),
Design mode on browser and desktop frames,
plus the session rail, settings, diagnostics, and keyless local-model support.
What is not built yet, and is not claimed anywhere above: Wayland desktop
capture.
Those are later stories — see docs/tst-desk-spec.md §9 for
the phasing.
Closing the window is not quitting the app. The daemon keeps working after the window is gone.
- macOS — the red traffic-light closes (hides) the window; the Dock icon stays. Click the Dock icon to show the window again. ⌘Q or Quit TST Desk from the menu or Dock is Quit: the daemon shuts down and is reaped.
- Windows — the title-bar X or Alt+F4 hides the window.
tstdkeeps running. Opening the app again shows the window, or a new host process attaches to the live daemon instead of starting a second one. Quit TST Desk (File menu or ⌘K palette) shuts the daemon down. - Linux — the window close button hides the window the same way. Quit TST Desk
from the app menu or the command palette is what stops
tstd.
The first time you close the window: that hides TST Desk. Quit TST Desk is what stops it.
OS notifications for an approval or a finished turn still fire while the window is hidden. While hidden, a running session or a parked approval badges the Dock (macOS) or the taskbar tooltip (Windows / Linux). A tray icon shows the running-session count; Quit TST Desk lives in the tray menu too. Clicking the app icon shows the window and focuses the approval if one is waiting.
If a chat breaks the window. TST Desk reopens your last chat at start. If that chat leaves the window blank or wrong, press ⌘⌥⇧R / Ctrl+Alt+Shift+R (it works even when nothing on the page can be clicked), or ⌘K / Ctrl+K and choose Safe start: the window reloads on New chat and says so. Pick a chat from the rail when you are ready.
See docs/tst-desk-backlog.md for the current milestone and
docs/tst-desk-spec.md for the full architecture spec. How the pieces
fit together — the daemon/shell split, the wire protocol, the extension points, and how to add a
tool — is in docs/architecture.md. Every configuration key is
documented in docs/configuration.md, and writing AGENTS.md and
path-scoped rules is covered in docs/steering.md. Where Windows behaves
differently — path forms, 8.3 short names, file permissions, killing a command — is in
docs/windows.md, and where Linux does is in docs/linux.md.
-
Python 3.11+
-
uv (Python package manager)
-
Rust 1.89+ (for the Tauri host; the locked dependencies need it)
-
Node.js 24+ (for the frontend)
-
Linux only — WebKit/GTK headers for the Tauri host, plus
secret-toolfor the keychain:sudo apt-get install -y \ libwebkit2gtk-4.1-dev libayatana-appindicator3-dev librsvg2-dev \ patchelf pkgconf libsecret-tools
On Ubuntu 26.04, install
libayatana-appindicator3-dev(notlibappindicator3-dev): the older name removesnetwork-manager-applet.
# Python core
cd core
uv sync
# Frontend
cd ../ui
npm install# From ui/ — builds the Rust host, starts the daemon as a sidecar, opens the window
npm run tauri:dev
# Optional: one headless turn against the same daemon (starts tstd if needed)
cd core && uv run tst run --workspace /path/to/folder --message "say hi"
# Scripts: continue the folder's most recent session, message on stdin, one JSON result
echo "and now the tests" | uv run tst run --workspace /path/to/folder --continue --output json
# (--session <id> picks a session; --output ndjson streams its events;
# exit 0 success, 1 error, 3 a tool call was refused, 4 approval needed)
# Unattended: rules for this run only, and refuse (not wait on) anything that asks
uv run tst run --workspace /path/to/folder --allow "shell:npm test*" --deny fs_write \
--on-ask deny-and-continue --message "run the tests and report"
# Follow a session already running on that daemon (Ctrl+C detaches)
uv run tst attach <session_id>cd core && uv run pytest # Python core
cd ui && npm test # frontendThis repository uses pre-commit to run linting, formatting, and secret detection on every commit.
# Install hooks (one-time, from the core/ directory)
cd core
uv run pre-commit installThe hooks will then run automatically on git commit:
- ruff check — lint Python files
- ruff format — format Python files
- Secret detection — blocks commits containing API keys, tokens, passwords, and other credential-like patterns
To bypass the hooks (e.g. for a false positive):
git commit --no-verifyRelease builds are not code-signed or notarized with a publisher certificate: the release
workflow has no signing step yet. DECISIONS.md (2026-08-14) and
docs/signing.md record why, what signing would cost, and how CI would
wire it. Each OS warns on first launch. That is expected, not a defect.
- macOS — Gatekeeper blocks the app the first time you open it. On macOS 15 or later,
open System Settings → Privacy & Security, find the message about TST Desk, and click
Open Anyway. On earlier versions, right-click the app, choose Open, then confirm.
If neither works, clear the download quarantine:
xattr -d com.apple.quarantine "/Applications/TST Desk.app". - Windows — SmartScreen shows "Windows protected your PC". Click More info → Run anyway.
- Linux — no signing warning. For the AppImage,
chmod +xand run it; install the.debwithsudo apt install ./<file>.deb. - Android — the
.apkis a sideload build, not a store app. Android asks you to allow installs from the app you open it with.
A packaged app checks GitHub releases
for a newer tstdesk-v* tag when it opens, and every four hours after that.
TST Desk → Check for Updates… (File menu on Windows and Linux) and
Check for updates in the command palette do the same thing on demand.
When a newer release exists, the app downloads the installer for this
machine and installs it only if the file matches SHA256SUMS.txt on that
release. macOS and AppImage builds replace themselves when you choose
Restart to update. Windows runs the MSI. A .deb opens in the system
installer. The check sends no account and no identifier. Turn it off under
Settings → About → Check online in the background, which also stops the daily
model price refresh. A build you are running from a source checkout reports
the release and does not replace itself.
