Repository navigation
Gamma 0.3.20
Download
Windows 10/11 x64 · macOS 13 or later on Apple Silicon (also as .zip) · Debian / Ubuntu x64. The desktop app is self-contained — no Python or Node needed — and updates itself (Help → Check for Updates…).
First launch, install and updates
- Windows — unsigned. SmartScreen: More info → Run anyway (Edge: … → Keep → Keep anyway).
- macOS — ad-hoc signed, not notarized. The first launch says Apple could not verify Gamma: close it, open System Settings → Privacy & Security, scroll to Security and click Open Anyway (once per download).
- Linux —
sudo apt install ./Gamma-0.3.20-linux-amd64.debinstalls to/opt/Gamma; the command isgamma. - Updates — Windows installs on restart, Linux asks for your password to run dpkg, macOS offers the download until builds are notarized. The
latest*.ymland.blockmapassets are the update feed; there is no need to download them.
What's new since v0.3.19
- work-folders browser step waits for the directory's row to count its file
- test_picture_svg: an SVG drawn too long is told from a busy machine by a limit of 5 s, not 1
- A declined ask reads declined and counts as answered whatever the agent does as it hears it
- The computer chat's state stays off the first screen: the side registry moves to chat/computer/chatSide.js
- An agent no longer inherits CLAUDE_CODE_STARTUP_FAILURE_RESULTS from a Claude Code session it was started under
- Open with Gamma, built on docs/research/open-with-plan.md: a folder right-clicked in the file manager opens what Gamma keeps there or becomes a work folder of this computer's server with its tracking dialog open, and a file opened with Gamma opens its vault's page (a work folder's untracked file in the dialog with it ticked, its page opened after Save) or is read in place under Opened files in the viewer of its format; a lone Markdown file asks Edit in Gamma (a work folder of its repository, or its directory, with the file ticked, so it becomes a note whose edits are written back) or Just view it (the code view, read-only, never added to the library)
- Network proxy: one outbound proxy for the whole server, set in Settings → Administration → Network proxy. Every connection the server makes takes it: AI providers, model lists and transcription, translation engines, paper lookups and PDF downloads, link previews and the assistant's web reads, Zotero (its API and live stream), Gamma Cloud, other Gamma servers and the computers channel, publishing, S3 off-site copies, the update check, and the local agents' CLIs through their environment. Use system settings (the default) follows the environment or the Windows/macOS proxy and says which it found; No proxy connects directly whatever the environment sets; Manual takes an http:// or socks5:// proxy with an optional sign-in (the password sealed on disk and write-only) and a "Don't use the proxy for" list of hosts, domains, addresses, ranges and , filled with the LAN, Tailscale and .local/.lan defaults, so a NAS or a local Ollama connects directly; loopback and the proxy itself always do. Routing is by destination, not purpose: each purpose mixes hosts that need the proxy with hosts that must not take it. A Test tries the unsaved settings on OpenAI, Anthropic, Zotero, arXiv, Gamma Cloud and an address of the admin's, and says per line which way it went and why it failed. The links people and the assistant open go through the proxy pinned: the name is resolved and checked here and the proxy asked for the checked address, Host and TLS name kept, so the SSRF guard holds; "Let the proxy look up names" is the admin's opt-in for proxy-only DNS and fake-IP VPNs. One routing layer (gamma/net_proxy.py: HTTP CONNECT, absolute form, SOCKS5) serves urllib's global opener, the guarded fetches, the Zotero stream and boto3; changes apply live; a hosted server's network stays the operator's (read-only, 409). The desktop shell's own windows and updates keep following the OS proxy. docs/dev/network_proxy.md describes it; docs/research/network-proxy.md holds the survey, the prior art and the per-purpose analysis
- The chat's computer side on another server's page, step 4d of docs/research/agent-collab.md: on a page of a NAS work folder whose keeping computer has an agent on (4c's binding, for the maker), the chat window's header has the Gamma AI | Codex switch in any window of the maker on the NAS (a browser, an iPad, the desktop window there); a message is a turn that runs on the computer, in the folder's directory there, and its reply, steps and changed files come back into the conversation, which the NAS keeps (pages.db computer_chats, the maker's alone), so it reads while the computer is off
- Sends and mentions of another server's work folder run on the computer, step 4c of docs/research/agent-collab.md: on a work folder of a NAS (4b), its maker turns an agent on in the desktop app's sync panel as for a local one; from then on the maker's Sends from the Feedback dialog and @codex mentions made on the NAS, in any window, run on the computer that keeps the folder, and the answers come back to the NAS as replies signed Codex, resolved threads and the request's state, as step 1 does locally. The chat's computer side stays local (4d)
- Gamma's question about an MCP connection's change reads as a summary and the change line by line, where it showed the word diff inline: Codex shows the message as plain text, and a removed section came out as "## [-From interactions to entanglement … ## -]Atoms as …", the bracket opened mid-line and closed paragraphs later, with every link's address in full. The question now says what kind of change and how much ("Codex wants to remove text from a note in “test”. It removes 2 lines."; add text to, change, add a note to, move, save a picture of), then the lines as a terminal shows them (mcp_server._lines, from the preview's word diff: a removed line after "− ", an added one after "+ ", one kept line beside each run of them with its links read as their text, "…" for the rest, blank lines left out, at most 24 lines of 240 characters), then "Open in Gamma:" and the page's address; the "Don't ask again" field's note is now "You can turn asking back on in Gamma: Settings → AI → Integrations." where it read as a warning under every question. test_mcp.py covers a removed section between kept ones, a rewrite, an added note and a long change; the MCP browser group streams the question to a client and checks it; mcp.md "Asking first" and research/mcp-elicitation.md describe it
- The assistant consent page is built from the app's own widgets, where it had its own: AuthShell's card (the brand mark and a headline, "Connect DeepSeek Harness", as every page before the app has), wider, then who is signed in with Use another account beside it, a setup command's code in a box of its own, and settings Sections for the workspaces (the WorkspacePicker rows with View / Edit), the Permissions and what the connection may do. Asking before each change and answering feedback are the settings' Toggle rows with an icon and a hint, where they were raw checkboxes whose labels ran at body size past the card's edge; what it may do is one icon line each under a section named Read-only access, Read and edit notes or Read and answer feedback; the footnotes are settingDesc and the error is the login's alert box. A connection's Choose workspaces in Settings takes the same Toggle for asking first, and the consent page's CSS keeps layout only (.loginCard.mcpConsent, .mcpWho, .mcpCode, .mcpCan). AuthShell is exported and takes a className. Checked at 1100 px and 390 px (no sideways scroll); the MCP browser group and the Integrations settings steps pass, and the design-token and convention ratchets hold; mcp.md describes the page, ui-design.md lists it under AuthShell
- DeepSeek Harness's setup stops while the app is open, the cause of a connection that brought the gamma skill but no Gamma tools: the app reads its plugins and $DSH_HOME/gamma.json only when it starts, so the setup that installed the plugin into its desktop profile and saved a new connection at 14:20 left the app, open since two days before, on what it had read then, and its agent said Gamma's tools were unavailable without knowing why. Both scripts now refuse at once while it runs (a process named DeepSeek Harness on Windows, pgrep -f on macOS and Linux, where its install path names it), before installing, asking Gamma or removing anything, and say to quit it completely, tray icon included; the tab already said to quit it first. The skill tells the agent that the skill without any mcp__gamma__ tool most often means the app was open during setup, and to ask for a restart and a new conversation; mcp.md's setup steps and Troubleshooting and the user guide say so. test_release_dsh_plugin.py stubs the process check in both shells (the developer's machine runs the app) and covers an open app stopping setup and removal with nothing done; PowerShell and sh under Git Bash pass
- Work folders of another server, step 4b of docs/research/agent-collab.md: a vault of another Gamma server (a NAS) can be a work folder there. The computer's directory pushes everything into an empty folder of that server, which carries the mark, so the folder's files are that server's pages (its explorer, comments and feedback), chosen with Choose files on the computer. 4c (that server's Sends and mentions run on the computer) and 4d (the chat relayed) build on it; no agent answers such a folder yet
- A computer and the servers its vaults name, step 4a of docs/research/agent-collab.md: the desktop app's own server announces this computer to every other Gamma server its vaults name, over a channel of its own, and that server shows the vault's maker, in any window (a browser, an iPad, the desktop window there), that the folder or file is kept on TIM-PC, whether that computer is online or since when it is not, and which assistants are there. Nothing runs on the computer from that server yet; 4b (work folders of another server), 4c (their Sends and mentions) and 4d (the chat relayed) build on the channel
- The rest of the chat's computer side, step 3c of docs/research/agent-collab.md: the agent's model and effort, the reply as it is typed, Continue in a terminal and Show in folder, a selection's source line on its chip, and a Background tasks row for a chat turn
- Anchors in text, step 6 of docs/research/file-explorer.md: a highlight or a comment thread made from a selection in the code view stays on its text when the file changes. A range is a highlight block with text_position (lines and code-point columns, the quote with up to 40 characters either side, the version's hash written and never held), held by tests/shared/textposition.json on both sides. In the code view a selection offers Highlight, Comment and the chat (documents/viewers/TextTip.jsx over shared/ui/TipFrame.jsx, lifted from the PDF viewer), the text highlighters apply, the ranges are CodeMirror marks (textMarks.js) and their threads stand in the comment margin beside the scroller, as badges on a phone (TextOverlay.jsx). When the file changes (the vault's replacement or PUT /attachment) each range is found again by its own quote and context, no old file needed (gamma/documents/text_anchors.py: whitespace and NFC folded, case kept; exact near its old line, then word by word with the account's thresholds, the alignment bounded so a long quote costs milliseconds, then lost and kept with its closest place), inline under a size bound and through the relocate-highlights job past it, written with the PDF's compare-and-set (highlight_relocate._write keyed); a PDF's relocation is unchanged. The feedback reader's lines anchor names a source's own path and lines, ordered by line, placed exact, rough with was, lost or pending, and dev's local agents read it so; a text file keeps no stored copy (KEPT_FORMATS pdf and image); the chat's context names a range's lines and a selection of lines is read as its window. A secrets file's ranges are named by their lines alone everywhere text reaches a model (the chat, read_page, read_block, thread names, the feedback entries and files, the local agent's prompt, MCP's export). Reviewed through five lenses, 22 findings fixed. Backend 12167 passed (test_downloads' cancelled request fails on Windows as at dev's tip), frontend 2840, the browser suite 853 of 853 with the new text-anchors group
- Asking in the chat, step 3b of docs/research/agent-collab.md: where a work folder's maker lets it, the agent of a chat turn may ask on a card in the chat to do what its confinement keeps from it, Codex to step outside its sandbox (a command with the network, a write outside the folder), Claude Code to run a command at all (the build), and the person answers Allow once, Allow in this chat or Decline with a note. A Send never asks (nobody watches it) and keeps refusing; a folder that does not let its agent ask behaves as 3a. What the agent may run is a vault's second setting, set on the computer only: vaults.db agent_policies (never, the default, or ask), through PATCH /api/folder-links/{id} {agent_runs} with the agent's gate and, for ask, the shell's word, gone with the agent's change, a relink, a removal and a return to never; the desktop sync panel's work folder carries it under the agent row as What it may run, Nothing more | Ask me in the chat, Ask confirming first that an allowed command runs as the person with their files and the network (keeping.runsAsk, main.js setAgentRuns). A driver started with ask yields {type: "ask", id, kind: command | files | tool, step, command?, cwd?, paths?, diff?, reason?} and {type: "ask_gone"} and takes Turn.answer(id, once | chat | deny, note); while an ask waits the idle watchdog does not count the silence and the run's deadline moves by the wait. Codex starts or resumes its thread with approvalPolicy on-request and approvalsReviewer user, both checked in the thread's answer, relays item/commandExecution/requestApproval (the command, its cwd, the reason, a network host) and item/fileChange/requestApproval (the paths and the diff of the fileChange item of that id), echoes the request's id with its JSON type, answers accept, acceptForSession or decline (a note following as a turn/steer) and cancel on a Stop; the legacy refusals take the schema's {denied: {rejection}} shape. Claude Code with ask runs its own flags (stream-json both ways, --permission-prompt-tool stdio, Bash in --tools behind a --settings ask rule, the rest as before), writes an initialize request and the message as a client_composed user line, keeps stdin open until the result, turns a can_use_tool for Bash into an ask and denies every other prompt itself (an edit of a protected file, any other tool), answers allow with updatedInput or deny with the note, never updatedPermissions, and on a Stop denies what waits and sends an interrupt before the kill. The runner holds the turn's asks and writes them into the agent's message (asks: the command exactly as the agent gave it, its folder and paths relative to the work folder or under ~ only at a path boundary, so a sibling such as paper-old is never read as the folder, in errors too; its step asked, then allowed or declined), answered through POST /api/local-agents/chat/turns/{turn}/asks/{ask} (the vault's maker, a session; 404, 409 and 400 as local_agents.md says); an ask unanswered for 10 minutes is declined, a Stop, a pause, the agent off and Gamma closing decline what waits, and recover clears an ask a stopped server left. Allow in this chat is Gamma's record, vaults.db agent_grants, the exact command in its folder for its network host, per conversation and vault, answered by Gamma when asked again just so, never a prefix and never a rule written into the agent's settings or the folder; turned back to Nothing more while a turn runs, what waits is declined, what comes is declined unseen and no grant is written. Gamma declines unseen, for both agents, a change to a protected part of the folder (.git, .codex, .claude, .vscode, .husky, .idea, a top-level dotfile: events.protected) and, for Codex, an approval that is not a new command (writeStdin, input to a terminal it runs); a file change's diff names each change (--- a/ +++ b/, an added or deleted file as + or - lines) and says where it was cut; Claude Code's ask turn gets CLAUDE_BASH_MAINTAIN_PROJECT_WORKING_DIR=1, so each Bash call starts in the folder the card names. The prompt tells each agent how it may ask. In the client the card is ComputerAsk (the approval card's look, no Always allow: the command, where it runs and why, a file change's paths and diff, Allow once, Allow in this chat for a command, Decline with a note, and what allowing means), the strip reads Waiting for you, the pill and the steps say asked, allowed or not allowed. Checked against the real CLIs (Codex 0.167.0, Claude Code 2.1.318): a Claude Code Bash call asked through Gamma's handler and run once allowed, its Edit of .git/config refused by Gamma with no card and the file unchanged, and Codex asking to run curl outside its sandbox, allowed and run with the network. The stand-ins learn both protocols (fake_codex's ask, fake_claude's stream-json control protocol). test_local_agents_asks.py covers the policy and its gate, consent forgotten, both drivers with and without ask, Codex relaying a command and a file change and stopped while asking, Claude Code's control protocol, a command allowed once, allowed in this chat and its near-same asked again, an ask expired, a Stop while asking and who may answer, a folder that does not ask and a Send never asking, the command shown as given, a grant per command, folder and host, terminal input and protected changes declined unasked, asking turned off mid-turn, a diff's headers and cut, Claude Code's Bash starting in the folder; computerChat.test.mjs the card's words; keeping.test.js and main.test.js the panel's row, its confirm and its PATCH; the local-agents browser group turns asking on and has Codex's command wait on a card until allowed once, declined with a note (Codex's steer), allowed in this chat and then run unasked in the next turn. local_agents.md "Asking in the chat" and the driver sections, api.md, desktop/docs/architecture.md, the user guide and the research note's "As built (step 3b)" describe it. Backend 12123 passed with test_downloads' cancelled request failing at dev's tip alike on Windows and four tests that failed only under the whole parallel run and pass alone (two of test_workspaces, a Zotero filing, the procs grandchild), frontend 2819, desktop 125, the whole browser suite 847 of 848, the one other step (notes: images and tables) passing in its group, 105 of 105
- The browser suite runs on a Mac: 811 of its 812 steps passed there, where 678 of 811 did, and in 6¼ minutes rather than 11. The browser runs on the machine's own platform, so on a Mac the page's Mod is ⌘ and it labels keys as a Mac does, and the scenarios pressed Control for Mod and checked Windows and Linux labels written out. A step now presses Mod as ControlOrMeta (Playwright's Meta on a Mac, Control elsewhere) in its chords, held keys and click modifiers, 201 of them, and keeps Control for the Ctrl key itself, the five pinches' Ctrl+wheel. The harness gives keyLabel and keyParts, the page's own chordLabel and chordParts for the platform, and the guide, comments, ink, notes, quick open, translation and Settings steps check those in place of "Ctrl+V", "Alt", "Del", "Shift+Enter" and "Ctrl Shift K"; off a Mac each gives the literal it replaces, checked one by one. FIELD_END is End, or ⌘→ on a Mac, where End leaves a text field's caret where it is (folders' qualifier completion). MAC leaves out a scrollbar's room and the press on its track (pdf load, tab groups): a Mac's overlay scrollbars have neither. The vaults step resolves its temp directory as the server does (folder_links.py), a Mac's being under /var, a link to /private/var. The notes selection step measures the rows at rest after its undo (arrived): they glide back to their places (ListMotion), and read mid-glide the box started beside delta and touched it alone, on any machine quick enough. The step left failing on a Mac, "translation: a paragraph justified…", catches a fault of the page there: Chromium on a Mac falls back from a font lacking a letter to one picked for that font, not to the generic family after it, so pdf/paperFace.js hasGlyph reads every font as holding CJK and the overlay sets a CJK translation in the paper's face. docs/dev/debugging.md "Browser end-to-end suite" gives the rules for keys, and "Setting up a Mac" says the suite runs there. On Linux and Windows every press, label and branch is as before
iPad app
Install Apple's TestFlight app, then open the link on the iPad. The iPad build of this release reaches TestFlight once it has been built and Apple has processed it.
Android app
Android 10 or later on 64-bit ARM, phones and tablets; a stylus (S Pen, USI, Wacom) writes with the pressure and tilt it reports. Open the APK on the device and allow your browser to install apps when Android asks. The app carries its own Gamma server, so a workspace on the device works with no connection. Update by installing the next release's APK over it.
Server (Docker)
docker run -d --name gamma -p 9001:9001 -v gamma-data:/data ghcr.io/tim4431/gamma:0.3.20 # or :latestAI assistant plugins
Let an AI assistant search and read your Gamma library.
Codex
In Gamma, open Settings → AI → Integrations → Codex CLI and copy the setup command. It installs the plugin and connects your Gamma server, then asks you to approve a workspace in your browser. Requires the Codex CLI; works with browser and self-hosted Gamma.
Claude Code
- Extract the ZIP into a permanent directory.
- Run
claude plugin marketplace add <path>/gamma-marketplaceandclaude plugin install gamma@gamma-local --scope user. - Connect your server with
claude mcp add --transport http --scope user gamma <your-gamma-address>/mcp, then open/mcpin Claude Code to sign in and approve a workspace. - Start a new session and use
/gamma:gamma.
DeepSeek Harness
In Gamma, open Settings → AI → Integrations → DeepSeek Harness: create a read-only token, then copy the install command (it downloads dsh-gamma.tgz, also attached here, and runs dsh plugin --profile web add on it) and the start command, which sets GAMMA_URL and asks for the token. Requires DeepSeek Harness and pnpm.
Browser extension
For Chrome, Edge and other Chromium browsers. Install Gamma Connector from the Chrome Web Store and it updates itself; this release reaches it once Google has reviewed it (usually 1–3 days). Or load the zip by hand: unzip it into a permanent folder, open chrome://extensions, turn on Developer mode, click Load unpacked and choose the unzipped folder.