Skip to content

About

Vibing Studio - Use TUI in Modern GUI App, Supporting All Model & Harness.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

278 Commits

Folders and files

Repository files navigation

Vibing Studio

Vibing Studio

One native workbench for every coding agent — authentic TUI fidelity inside a modern multi-pane desktop app.

macOS 14+ Swift Native Windows x64 Linux AppImage and deb iOS 17+ Dynamic Island MIT License

Download Latest  ·  Connectors  ·  Features  ·  Architecture  ·  Install  ·  Build  ·  简体中文

Vibing Studio split-pane workbench running Claude Code and Codex side by side

Running Claude Code, Codex, Google Antigravity, DeepSeek Harness, and pi across scattered terminal windows makes it hard to track parallel tasks, inspect diffs, or resume yesterday's work. Vibing Studio brings all of your local and remote coding-agent sessions into one fast desktop workbench — reading each tool's native on-disk history with zero lock-in, rendering any harness in faithful TUI or structured GUI, and pairing conversations with live process telemetry, file editors, persistent terminals, and built-in remote desktop.

On macOS, Vibing Studio is built with pure Swift 5, AppKit, and WKWebView — no Electron overhead.


Why Vibing Studio

  • Decoupled Harness, View, and Chrome — Connect any supported CLI harness, view its transcript in authentic terminal style (TUI) or structured card layout (GUI), and switch the entire workspace between VS Code style (⌃⌘1) and Claude Desktop style (⌃⌘2).
  • Native Multi-Tasking — Drag tabs into arbitrary horizontal/vertical split panes, split a single conversation into filtered views, pin active sessions as compact status icons, hover any background tab for a live preview, or open Mission Control-style Tab Overview (⇧⌘\).
  • Zero Lock-In, Local-First — Directly reads each agent's own files (~/.claude, ~/.codex, ~/.dsh, ~/.pi/agent) and communicates through each tool's native CLI or local daemon. Your transcripts, configs, hooks, and API credentials stay on your machine.
  • Built for Full Engineering Loops — Jump from any file path in an agent reply straight to the exact line in CodeMirror 6, monitor child processes and CPU/GPU/memory load per session, run persistent WebGL terminals, preview web apps and native media, or connect to remote Linux/Mac hosts from desktop and iOS.

Supported Harnesses

Vibing Studio automatically detects installed agent CLIs (claude, codex, agy, dsh, pi) and keeps their session trees live in the sidebar.

Harness Local Data & Protocol Live Control & Session Features Native Ecosystem & Extras
Claude Code ~/.claude/projects, stream-json, --bg UNIX daemon socket + virtual xterm mirror New, resume, attach to --bg jobs, Ctrl+B backgrounding, Shift+Tab permission cycling, message queue (Ctrl+X Ctrl+S send now, ↑ pop to edit), Esc interrupt Recursive subagent tree, 5h/7d quota & context popovers, ~/.claude/settings.json editor, Hooks / MCP / Plugins / Skills / Commands inspector
Codex ~/.codex/sessions (.jsonl/.zst), bidirectional app-server WebSocket RPC, state_5.sqlite fallback New, resume, /fork, active-turn steering (Enter), Tab queueing (Tab), /compact, /review, /goal, /diff, /mcp, /prompts:<name>, Esc interrupt Model catalog & per-thread reasoning effort, account rate limits, ~/.codex/config.toml plugin & MCP inspector
Google Antigravity (agy) Local JSONL transcripts, SQLite step store, persistent headless agy acp socket, Terminal/iTerm2 TTY bridge New, resume, image attachments, live thinking stream, native /rewind (chat-only or chat + files), /rename, /model, /effort, /goal Subagent workflow trees (workflow → task → sub-sessions), background tasks & scheduled cron tracking, quota & context views
DeepSeek Harness (dsh) ~/.dsh zstd v4 transcripts + bundled @vibing-studio/dsh-connector Cordis IPC plugin New & continue sessions with auto-headless fallback, computed unified edit diffs, model & reasoning-effort switching TTFT / TPS & cache-hit metrics, context breakdown, wallet balance display
pi ~/.pi/agent/sessions tree-structured JSONL, pi -p --mode json New & continue sessions, automatic active-branch tracking across /tree forks, image attachments, /name, /model, thinking effort Packages, extensions, skills, and prompt templates inspector

An optional Studio Assistant can also operate across open agents and workbench layout (AgentActivity, ReadAgent, CreateAgent, InterruptAgent, OpenTab, SetLayout), and remains disabled unless explicitly enabled.

Message another local conversation. Enable the Codex connector, or start or resume a Google Antigravity conversation in Studio. Ask “Send the build results to the Release checks conversation in Studio and ask it to reply here.” Use the recipient's actual title. Enabling Codex installs the vibing-studio-sessions skill for the current user. Studio gives each managed Antigravity conversation its own messaging tools using the connector's Python 3.9+ interpreter. The recipient sees the message and the sender’s return address in the original conversation.


Features

One Session, Two Views — TUI & GUI

Switch any conversation between Terminal UI (TUI) — preserving line-by-line diffs, grouped Searched / Read blocks, command exit codes, and compact turn footers — and Graphical UI (GUI) for structured collapsible tool cards and prose readability. Need both at once? Split a single tab into up to 6 independent filtered panes (e.g. prose only next to raw tool output) sharing one input box.

Terminal UI (TUI) Graphical UI (GUI)
Vibing Studio Terminal UI showing syntax-highlighted diff and tool summaries Vibing Studio Graphical UI showing collapsible tool cards and formatted summary

VS Code & Claude Desktop Workspace Styles

Keep your full IDE-style split workbench (VS Code style, ⌃⌘1), or toggle to Claude Desktop style (⌃⌘2) for a focused, calm layout with connector-grouped sessions on the left and toggleable Terminal, Tasks, Browser, and File cards on the right. Includes 6 color schemes (including #1E1E1E charcoal dark and Solarized), 10 syntax highlight themes, custom JSON theme support, Zen Mode (⌘K Z), and full English / Simplified Chinese localization.

Vibing Studio in Claude Desktop workspace style

Agent Activity Monitor & Real-Time System Telemetry

Know exactly what every running agent is doing and what it is costing your machine. Activity Monitor groups active sessions by connector, expands each session's live child process tree (PID, elapsed time, CPU, memory, and command on hover), tracks shared Codex services, switches to a 1m–24h interactive Gantt timeline of tool calls and compactions, and plots real-time 1-second CPU, GPU, Memory, Disk, Network, and Battery charts right inside the workbench.

Vibing Studio Agent Activity Monitor with expanded process tree and live system telemetry

Built-In Files, Rich Viewers, Persistent Terminals & Browser

Clicking any relative path in an agent's reply resolves it against the session's working directory and opens the file directly at the cited line, keeping breadcrumbs and inode-tracked rename synchronization intact.

Vibing Studio split view with File Explorer, Claude Code session, and syntax-highlighted Rust file

  • Explorer & macOS Finder: Tree explorer with Seti icons plus full 4-view Finder (Icons ⌘1, List ⌘2, Columns ⌘3, Gallery ⌘4) and Spacebar Quick Look for both local files and project-grouped Agent Finder.
  • Native Document & Media Viewers: CodeMirror 6 editor (read-only by default, toggle edit & ⌘S), rendered Markdown + zoomable Mermaid diagrams (with trackpad pinch-to-zoom), native PDF, macOS Quick Look previews for Office & iWork (docx, xlsx, pptx, pages, numbers, key), smooth zoom/pan images, AVKit hardware video player (mp4/mov with instant on-demand seeking), embedded loopback JupyterLab (.ipynb), and paginated viewing for multi-megabyte JSONL logs.
  • Persistent WebGL Terminals: Real login PTYs rendered with GPU-accelerated xterm.js WebGL. Named terminals survive tab closes and UI reloads (tmux-style detach/re-attach with 2 MB scrollback replay), and support OSC 7700 (tcb CLI) for structured terminal UI blocks.
  • Native Embedded Browser: Real macOS WKWebView panes (⌘L omnibox) with Safari Web Inspector support and zero iframe restrictions for inspecting localhost dev servers, docs, or TensorBoard right next to your agent.

Cross-Connector Favorites & Provenance

Right-click any prompt or reply to bookmark it or drop an orange flag marker inside long threads. Favorites indexes saved items across all connectors with full provenance (harness, session title, working directory, timestamp), lets you add inline notes, copy attributed Markdown quotes, or jump straight back to the original turn even in multi-megabyte histories.

Vibing Studio Favorites view across Claude Code, Codex, Antigravity, and DeepSeek Harness

Multi-Device Continuity & Built-In Remote Desktop

  • macOS Native (app/): Pure Swift 5 + AppKit + WKWebView, Secure Enclave Touch ID device login, Seatbelt sandboxing for local assistant tools, native notifications & Dock badges, and in-place self-updates that preserve TCC permissions.
  • iOS & iPadOS (ios/): Universal SwiftUI + WKWebView client that connects remotely to your Mac or Linux hosts, complete with Dynamic Island & Lock Screen Live Activities displaying live agent state, elapsed timers, and latest output lines.
  • Headless Linux Server (server/): Zero-desktop daemon (vibing-studio-server) installed on remote GPU or dev servers via a one-line command from Devices › Add Server — no root required, bundled Node runtime, systemd/cron persistence, and automatic updates.
  • Built-In Remote Desktop (rdp.js, macdesk.js): Connect to Linux/Windows desktops via a statically linked FreeRDP 3 client (vs-rdp, macOS Keychain credentials, .rdp import, H.264/AVC444, clipboard & audio) or control another Mac via hardware-accelerated H.265 / H.264 Mac-to-Mac Screen Sharing (ScreenCaptureKit + VideoToolbox) right inside a Studio tab.
  • Optional Real-Time Translation: Translate agent tasks, thinking blocks, and replies across 7 languages (en, zh, ja, ko, fr, de, es) while preserving code blocks and identifiers, backed by a 3-tier cache.

Architecture

Vibing Studio layered architecture diagram

Repository Layout

Directory Responsibility
app/ Native macOS app (Swift 5 + AppKit + WKWebView): local bridge (Local.swift, ClaudeCode.swift), native browser & AVKit panes (WebPanes.swift), statically linked FreeRDP helper (RdpPanes.swift, Helpers/vs-rdp.c), Mac-to-Mac H.265 Screen Sharing (ScreenShare.swift), Touch ID (AuthKey.swift), in-place updater (AppUpdate.swift).
ui/ Shared workbench UI (terminal.html): TUI engine (live.js), GUI wrapper (studio/gui.js), workspace chrome (studio/studio.js, claudeapp.js), connectors (claude.js, codex.js, ext.js, dsh.js, pi.js), Activity Monitor (trace.js), Finder (dash.js), Favorites (clips.js), Remote Desktop (rdp.js, macdesk.js), and vendored CodeMirror 6 / xterm.js / Mermaid.
windows/ Windows x64 installer for the shared Electron desktop app.
linux/ Linux desktop app (Electron + @lydell/node-pty) implementing the identical window.nadosNative v1 bridge, packaging AppImage and .deb for x64 and arm64.
ios/ Universal iPhone & iPad native app (SwiftUI + WKWebView + Widget/VSIslandWidget.swift Dynamic Island Live Activity).
server/ Headless Linux server daemon (vibing-studio-server) and self-verifying one-line installer (install.sh).
web/ Optional self-hostable Cloudflare Workers backend (static UI hosting, GitHub OAuth / Passkeys / P-256 device auth, D1 sync, Durable Object multi-device relay, opt-in translation cache).
tools/ Build, code-signing, FreeRDP static build, release automation, headless smoke tests, and isolated macOS E2E test suite (tools/e2e/run.py).

Installation

Desktop Downloads

Open Releases on the repository home page and choose the package for your platform.

Platform Architecture Release Asset Notes
macOS 14+ Apple Silicon (M-series) Vibing-Studio-*-macOS-AppleSilicon.zip Unzip and drag Vibing Studio.app into /Applications
macOS 14+ Intel (x86_64) Vibing-Studio-*-macOS-Intel.zip Unzip and drag Vibing Studio.app into /Applications
Windows x64 Vibing-Studio-*-Windows-x64-Setup.exe Run the installer for your Windows account.
Linux x86_64 Vibing-Studio-*-Linux-amd64.deb / x86_64.AppImage sudo apt install ./Vibing-Studio-*.deb or chmod +x *.AppImage
Linux ARM64 Vibing-Studio-*-Linux-arm64.deb / arm64.AppImage AppImage supports automatic self-updates

Windows includes a local PowerShell terminal and file browser. Install and sign in to each Windows agent CLI you want to use. Workflows that invoke Bash require Git for Windows.

First-Run Setup

  1. Install and sign in to at least one coding agent on your machine (for example, claude or codex).
  2. Open Vibing Studio — installed connectors are detected automatically, or configure them under Settings → Connectors (⌘,).
  3. Select any project session in the left Agents tree to inspect its transcript, run follow-up prompts, or drag tabs side-by-side to split your workspace.

Headless Linux Server (Remote Hosts)

To connect a remote Linux machine (x86_64 or arm64, glibc >= 2.28, no desktop or root required), open Devices → Add Server inside Vibing Studio and run the generated one-time pairing command (curl -fsSL <origin>/s/<token> | sh). Manage the daemon anytime with vibing-studio-server status | logs | update.


Keyboard Shortcuts

Essential Workbench & Conversation Shortcuts (click to collapse)
Scope Shortcut Action
Workspace ⌘T / ⌘W New session / Close tab
⇧⌘P / ⌘P Command Palette / Quick Open
⌘B / ⌥⌘I / ⌘J Toggle Primary Sidebar / Secondary Sidebar / Bottom Panel
⇧⌘\ / ⌥⌘\ Tab Overview (Mission Control) / App Exposé
⌃⌘1 / ⌃⌘2 Switch to VS Code style / Claude Desktop style
⌘K Z Toggle Zen Mode
⌘L / ⌘Y / ⌘, Address Omnibox / History / Settings
Conversation Esc Interrupt active agent turn
⌃B Move running foreground command to background (Claude Code)
⌃O Expand or collapse all tool details
Tab Queue message for next turn (Codex)
⌃X ⌃S Send queued messages immediately (Claude Code)
↑ (empty input) Pop queued messages back into composer for editing
⇧Tab Cycle permission mode (Claude Code)

Privacy, Local-First & Self-Hosting

  • Strictly Local by Default: All coding-agent transcripts (~/.claude, ~/.codex, ~/.dsh, ~/.pi, AGY logs), CLI credentials, hooks, MCP configs, local shells, file edits, Activity Monitor telemetry, and RDP credentials (stored in macOS Keychain) remain strictly on your device. Every prompt is executed directly by the underlying CLI using your own tool configuration.
  • Offline Ready: After initial sign-in, both macOS and Linux desktop apps cache their session state and boot offline from bundled local UI assets.
  • Self-Hostable Optional Backend (web/): Cross-device relay, Favorites sync, device registry, and opt-in translation run on a lightweight Cloudflare Worker (web/, D1 + Durable Objects) protected by TLS, P-256 non-extractable device-key verification, and per-host approval policies (Ask Every Time, Ask First Time, Verification Code, or Allow). Point the desktop apps at your own self-hosted Worker or a local dev server at any time:
    # macOS
    defaults write beer.paimon.terminal serviceURL https://your-worker.example.com
    
    # Linux
    VS_SERVICE=https://your-worker.example.com ./Vibing-Studio.AppImage

Building from Source

macOS App (Swift 5 + AppKit + WKWebView)

Requires macOS 14+ and Xcode Command Line Tools (swiftc, codesign, iconutil). No Xcode IDE needed.

# Optional: create a persistent local signing identity so macOS TCC permissions survive rebuilds
./tools/signing-identity.sh

# Build Vibing Studio.app in the repository root (use DEV=1 for ad-hoc dev signing)
DEV=1 ./tools/build-app.sh
open "Vibing Studio.app"

# Debug build with Safari Web Inspector enabled, pointed at a local dev server
CONFIG=debug DEV=1 ./tools/build-app.sh
open "Vibing Studio.app" --args --url http://localhost:8787/terminal.html

Windows Desktop App

With Node.js and npm installed, run this from the repository root on Windows or macOS. The build prints the path to the x64 installer.

node windows/build.mjs

Linux Desktop App (Electron)

# Run locally in development mode (works on Linux and macOS)
./linux/build.sh dev --url http://localhost:8787/terminal.html

# Build AppImage and .deb packages (x64 or arm64)
./linux/build.sh dist x64
./linux/build.sh dist arm64

iOS / iPadOS App (SwiftUI + Dynamic Island)

Requires macOS, Xcode, and xcodegen.

cd ios
./build.sh          # Builds and installs on connected iPhone / iPad
./build.sh iphone   # Target iPhone only (or: ./build.sh ipad)

Local Web & Worker Development

# Initialize local D1 schema once
cd web && npx wrangler d1 execute native-agent-desktop-os-web --local --file schema.sql

# Start hot-reloading UI + local Wrangler Worker on :8787
# (Configure SESSION_SECRET and DEV_LOGIN in web/.dev.vars for local sign-in)
node web/dev/run.mjs --port 8787 --ip 127.0.0.1

Running Tests

# Headless browser workbench smoke test
python3 tools/smoke_headless.py ui

# Isolated macOS end-to-end regression suite (uses dedicated test bundle ID & synthetic home)
python3 tools/e2e/run.py
python3 tools/e2e/run.py --build fav_ui eco_embed   # Rebuild test app & run specific cases

License

Vibing Studio is released under the MIT License.

macOS Native Internals · E2E Test Harness · Development Changelog · Report issues from the repository’s Issues tab

About

Vibing Studio - Use TUI in Modern GUI App, Supporting All Model & Harness.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages