plyfold
Health Warn
- License — License: MIT
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 5 GitHub stars
Code Pass
- Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Pass
- Permissions — No dangerous permissions requested
No AI report is available for this listing yet.
macOS app that runs coding agent CLIs (Claude Code, Codex, OpenCode, Gemini CLI) side by side over ACP, with several API keys per CLI and a git worktree per session
Plyfold
Plyfold is a desktop app for macOS (and, in preview, Windows and Linux) for running coding agents side by side. It drives existing agent CLIs (Claude Code, Codex, OpenCode, Antigravity and Gemini CLI) over the Agent Client Protocol (ACP). Each session gets its own git worktree, and you can keep several API keys for the same CLI.
Plyfold does not implement its own agent loop. It is an ACP client: the agent CLI does the model calls, tool use and file edits, and Plyfold launches it, shows what it does, answers its permission requests and handles the git side.

Why
- Multiple keys per CLI. A profile is a CLI plus credentials plus a config directory. You can have a
workand adefaultprofile for Claude Code, each with its own key or endpoint, and pick one per session. Keys live in the macOS Keychain (the Credential Manager on Windows, the Secret Service on Linux) and are passed to the agent only as environment variables at launch. - One worktree per session. Agents work in their own git worktree, so parallel sessions don't edit the same files and your checkout stays as it is. Diffs come from git, not from the agent, so they look the same for every CLI.
- Panes. A session is the record (ACP log, worktree, profile). A pane only shows a running session. Close a pane and the session is still there in the sidebar.

Features
- Sessions grouped by repository in the sidebar, with their status (Working, Waiting for permission, Stalled, Idle, Stopped, Error) shown as an icon and a word
- Free pane layout: split any pane left, right, up or down, as many times as you like (⌘\ right, ⌘⇧\ down, or right-click a pane header). Drag the boundary between panes to resize them (double-click to split evenly), or even out every pane from the same menu
- Drag a session from the sidebar onto a pane to open it there, or onto a pane's edge to open it in a new split. Drag a pane by its header to move it next to another pane or swap the two; the drop area is outlined before you let go
- A resizable, collapsible sidebar (drag its edge; ⌘B to toggle), with a compact one-line-per-session layout in Settings
- Keyboard shortcuts can be changed in Settings → Keyboard (click one and press the new keys); macOS notifications for finished turns and permission requests can be turned off there too
- Settings also cover the display size (⌘= / ⌘- / ⌘0), reducing motion, the profile new sessions start with, reopening panes at launch, and whether the agent's thinking starts expanded
- Transcript with messages, thoughts, tool calls, inline diffs and the agent's plan; it follows new output only while you are at the bottom, with a button to jump back down
- Click an image (attached or sent) to view it large
- Browser pane: the globe button next to the notifications opens an empty one right away, listing the URLs agents printed. Open a dev server the agent started (localhost URLs found in command output, including background shells) or any site in a pane. The page is a native webview, so sites that forbid framing (claude.ai artifacts, for example) work and sign-ins stay, with back / forward, reload and "open in browser". The terminal button beside it opens a terminal in the focused session's folder (the home folder when there is none)
- Git in each session pane: the branch, how far it is ahead of the branch it will be merged into and of its upstream, the commits on it (unpushed ones marked) and the pull request with its checks and review state. Fetch, push, pull (fast-forward only) and create a PR from the same menu; network commands never wait for a password prompt and stop after 60 seconds
- Model, effort and mode switches under the composer (⇧⇥ cycles modes), plus context usage, tokens in and out, tok/s and cost where the agent reports them
- Messages typed during a turn are queued and sent when the turn ends; images and files can be attached from the + menu or with ⌘U, by pasting, or by dropping them on a pane
- Type
@in the composer to pick a file from the session's working directory (git-tracked and untracked files, ignored ones left out); it is inserted as@pathand attached as an ACP resource link - Type
/at the start of a message to complete the slash commands the agent offers (from ACPavailable_commands_update; new sessions use the commands remembered from the profile's last session) - Permission cards inside the pane, also shown in the sidebar and as notifications
- A session is marked Stalled when nothing arrives during a turn for a set time (120 seconds by default)
- A Git pane per session, next to it (⌘⇧D): the branch, how it stands against its base and upstream, fetch / push / pull, the pull request and the commits, above the changes built from git (including untracked files) in unified and split layouts. A session working in the repository itself shows its uncommitted changes
- Side chat (⌘J): ask about a session in a read-only fork beside it, without adding to its conversation, even while it works
- From the Git pane (worktree sessions): commit, merge into the branch currently checked out in the original repository (
--no-ff; on conflict the merge is aborted and the repository restored), push and open a pull request withgh, discard back to the base commit, or open the worktree in Zed, Cursor, VS Code or Finder - More agents from the ACP Registry (Profiles → Add agents): agents started through npx or uvx are added to
config.tomlpinned to the registry's version, and can be updated or removed there - Profiles per agent with three kinds of authentication: the CLI's own sign-in, the official API with a key, or a custom provider (base URL plus key)
- Optional separate config directory per profile, so its login and history don't mix with your usual CLI setup
- Connection test per profile: configured model, the model the agent reports, and time to first text. When the two models differ, sessions with that profile show the reported model in the pane header
- ⌘K to search sessions and commands
- Sessions can be reopened later. If the agent supports
session/load, the conversation context comes back too - Every ACP message is written to an event log, with secrets redacted
Supported agents
These are built in. Plyfold starts each one as an ACP server over stdio.
| Agent | Command Plyfold runs | Config directory variable | Key variables not inherited by non-default profiles |
|---|---|---|---|
| Claude Code | npx -y @agentclientprotocol/[email protected] |
CLAUDE_CONFIG_DIR |
ANTHROPIC_API_KEY, ANTHROPIC_AUTH_TOKEN, ANTHROPIC_BASE_URL, CLAUDE_CODE_OAUTH_TOKEN |
| Codex | npx -y @agentclientprotocol/[email protected] |
CODEX_HOME |
OPENAI_API_KEY, CODEX_API_KEY |
| OpenCode | opencode acp |
XDG_DATA_HOME |
ANTHROPIC_API_KEY, OPENAI_API_KEY, GEMINI_API_KEY |
| Antigravity | agy_acp_server, downloaded from the ACP Registry the first time a session needs it |
GEMINI_HOME |
GEMINI_API_KEY |
| Gemini CLI | npx -y @google/[email protected] --experimental-acp |
none | GEMINI_API_KEY, GOOGLE_API_KEY |
The adapter versions are pinned. OpenCode must already be installed and on your PATH. The others are fetched by npx on first use. Gemini CLI has no config directory variable, so its profiles cannot use a separate config directory.
Google is moving Gemini CLI users to Antigravity CLI, and since 2026-06-18 Gemini CLI no longer serves free, Google AI Pro and Ultra sign-ins (API keys and Gemini Code Assist Standard/Enterprise are unaffected). Antigravity is built in as antigravity-acp: Plyfold downloads it from the ACP Registry (checked against the registry's SHA-256) when you first start a session with it, so that start needs the network. Sign in once in a terminal with agy (Plyfold then reuses that login; it signs in with oauth-personal when the agent asks). It has no fork, so no side chat. Profiles work as for the other agents: a Gemini API key (GEMINI_API_KEY), or a separate config directory through GEMINI_HOME so each profile signs in with its own Google account (Plyfold signs in when the agent asks: with the key if the profile has one, otherwise through the browser).
A default profile (just the agent name) passes your environment through unchanged and uses whatever login the CLI already has. A profile that sets keys or a separate config directory drops the variables in the last column from the inherited environment, so keys from your shell never leak into it.
The header shows subscription usage limits for profiles with a session tab open. Profiles also shows these limits. Install the corresponding CLI on your PATH and sign in there. Codex and Claude Code support separate config directories for usage checks. Antigravity usage checks use the default agy sign-in. OpenCode reads Go limits from the CLI's OpenCode Console sign-in and needs a CLI with the experimental usage limits API.
You can override these definitions or add other ACP agents in config.toml under [agents.<name>]. There is also a mock agent (plyfold-mock-agent) for development, which uses no tokens.
Open Artifact
Open Artifact is included in the desktop app. Ask an agent that supports stdio MCP to create an artifact, such as a slide deck or a whiteboard. Open Artifacts in the top-right toolbar to browse and edit your creations, or click an artifact link in chat to open its editor in a pane.
Plyfold keeps artifact files in a separate local workspace for each session, so closing a session or cleaning up its Git worktree leaves the artifacts available in the library. For source builds, the Tauri dev and build commands prepare the bundled runtime automatically.
Install
macOS and Linux:
curl -fsSL https://raw.githubusercontent.com/Tettu0530/plyfold/main/install.sh | sh
Windows (PowerShell):
irm https://raw.githubusercontent.com/Tettu0530/plyfold/main/install.ps1 | iex
The scripts fetch the newest release, check it against its checksums and install it: Plyfold.app in Applications on macOS, the .deb (or an AppImage where there is no apt) on Linux, and a per-user install on Windows. Run them again to update. The builds are not signed yet; a file fetched this way is not flagged as downloaded from the internet, so the system does not stop it.
You can also download the files from the releases yourself: a .dmg for macOS (Apple silicon and Intel), a .exe or .msi for Windows 10/11, and an AppImage or .deb for Linux. The release notes say how to get past the warning the system then shows.
You also need the agent CLIs you want to use, with their logins or API keys. npx (bundled with Node.js) is enough for Claude Code, Codex and Gemini CLI; OpenCode needs opencode installed. For creating pull requests from the Git pane, install the GitHub CLI and log in.
Requirements for building
- macOS, Windows 10/11, or Linux with WebKitGTK 4.1 (Windows and Linux support is new: please report what doesn't work)
- Xcode Command Line Tools on macOS; on Windows, the Microsoft C++ Build Tools and WebView2 (already part of Windows 11)
- On Linux, the Tauri prerequisites plus libdbus (Debian and Ubuntu:
libwebkit2gtk-4.1-dev libayatana-appindicator3-dev librsvg2-dev libxdo-dev libssl-dev libdbus-1-dev), and a Secret Service such as GNOME Keyring or KWallet for API keys - Rust, latest stable (via rustup). The workspace uses edition 2024
- Node.js 22.18 or later, with npm
- git
- The agent CLIs you want to use, and their logins or API keys.
npx(bundled with Node) is enough for Claude Code, Codex and Gemini CLI. OpenCode needsopencodeinstalled - Optional: GitHub CLI (
gh), logged in, for creating pull requests from the Git pane
Building and running from source
git clone https://github.com/Tettu0530/plyfold.git
cd plyfold/apps/desktop
npm install
npm run tauri dev
npm run tauri dev starts the Vite dev server on port 1420 and builds and launches the app. The first Rust build takes a while.
npm run tauri build builds an app bundle. It is not signed or notarized.
Tests:
cargo test --workspace # from the repository root
cd apps/desktop && npm test
There is also a headless development CLI that drives the same engine:
cargo run -p plyfold-cli -- profiles
cargo run -p plyfold-cli -- start claude --repo /path/to/repo
Where settings and data live
Everything is under ~/Library/Application Support/plyfold/:
| Path | Contents |
|---|---|
config.toml |
Profiles and agent overrides |
settings.json |
App settings (language, display size, motion, send key, keyboard shortcuts, notifications, editor, stall timeout, worktree and profile defaults) |
plyfold.db |
Sessions and the ACP event log (SQLite) |
worktrees/ |
One git worktree per session |
profiles/<name>/ |
Separate config directories for profiles that use one |
On Windows the same files are under %APPDATA%\plyfold\, and on Linux under ~/.local/share/plyfold/.
API keys are not stored in these files. They are kept in the macOS Keychain (on Windows, the Credential Manager; on Linux, the Secret Service) under the service name plyfold, with the account <profile>/<VARIABLE>. The UI shows only the last four characters.
Project layout
apps/desktop/ Tauri 2 app: React + TypeScript UI (src/), Rust commands (src-tauri/)
crates/
plyfold-acp ACP client (JSON-RPC over stdio) and plyfold-mock-agent
plyfold-profile Profiles, Keychain access, built-in agent definitions
plyfold-store Sessions and the event log (SQLite)
plyfold-worktree Per-session worktrees, diffs, commit / merge / PR / discard
plyfold-core The engine: ties the crates above together and emits events to the UI
plyfold-i18n Engine messages in Japanese, English and Simplified Chinese
plyfold-cli Development CLI (plyfold profiles / sessions / start / resume / log / diff / rm / keys)
plyfold-probe ACP checks and benchmarks across agents
docs/ Design notes, i18n rules, probe findings, screenshots
tools/liquid-probe/ Historical Liquid Glass motion experiments
See DESIGN.md for the design decisions and docs/probe-findings.md for how the agents differ over ACP.
Languages
The UI is available in Japanese, English and Simplified Chinese. By default it follows the macOS language and falls back to English. You can change it in Settings.
Status
Plyfold is early. The builds are not signed or notarized yet. Expect rough edges and breaking changes to config.toml and the database. ROADMAP.md lists what is planned on the way to 1.0.
Contributing
Contributions are welcome. Please read CONTRIBUTING.md and the Code of Conduct. To report a security issue, see SECURITY.md and do not open a public issue.
Acknowledgements
Plyfold is built on Tauri, React, Radix UI with shadcn/ui patterns, Motion, Zustand and the Agent Client Protocol. It ships the Geist and Geist Mono typefaces (SIL Open Font License 1.1), icons from Lucide (ISC) and agent logos from Simple Icons (CC0). Product names and logos belong to their owners; Plyfold is not affiliated with Anthropic, OpenAI, Google or the OpenCode project.
The screenshots use made-up sessions and numbers.
License
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found