Terminal · in-app browser · scriptable automation · workspaces · splits · tabs · CLI — a primitive for driving coding agents, not an opinionated workflow.
weftgrid gives an AI agent the same surface a developer uses: a real terminal, an
in-app browser it can script, desktop notifications, and a workspace model with splits
and tabs — all controllable from a single weft CLI. It is built as a cross-platform
desktop app on Tauri 2 + Rust + TypeScript (Svelte 5), Windows-first with Linux next.
Terminal coreGPU-accelerated xterm.js with a portable-pty backend (ConPTY on Windows), coalesced binary streaming, flow-control backpressure, and in-terminal find. PanesRecursive split / tab layout in a single webview, multi-surface stacking, keyboard-driven directional focus, and an accessible (ARIA + keyboard) UI. In-app browserOverlay browser panes with per-profile isolation and physical-coordinate bounds math (multi-monitor, mixed-DPI correct). Scriptable automationOne cross-platform inject-JS DOM-walk backend — snapshot with ephemeral refs,
then |
Agent controlA unified WorkspacesA vertical-tab sidebar where each row is a split-tree, plus a fuzzy command
palette (in-process Nucleo) with custom NotificationsOSC 9 / 99 / 777 desktop notifications with a per-pane unread ring. Remote & importSSH workspaces with a SOCKS5h broker (remote DNS), plus consent-gated import of cookies & history from local browsers — local-only, no exfiltration. |
Early development, Windows-first. The terminal core, pane/split/tab UI, browser
pane, scriptable automation, workspace sidebar, command palette, notifications, SSH
transport, browser import, reliability layer, and the weft CLI are implemented and
unit-tested. Live-desktop integration, real-engine automation parity, and packaging are
in progress.
npm install
npm run build:inject # build the page-context inject bundle (required before cargo build/test)
npm run tauri dev # run the app
npm run check # type-check the Svelte/TS app
npm test # TS unit tests (vitest)
cd src-tauri && cargo test # Rust core tests
| GPL-3.0-or-later |
weftgrid is free software under the GNU General Public License v3.0 or later — see
It is a cross-platform rewrite based on
cmux (GPL-3.0-or-later, © Manaflow Inc.), and its
browser-automation algorithm is ported from
agent-browser (Apache-2.0). Full
attributions are in |