A workspace for parallel AI coding.

Foliage is a desktop app that gives each coding task its own git worktree, agent session, and terminals. Work on a feature, a bug fix, and an experiment at the same time, with a separate branch and working directory for each.

Run Claude Code, Codex, Gemini CLI, or Devin CLI using the tools and accounts you already have. Follow their progress, explore the code, preview your app, and review changes in one place.

Download Foliage ↓ Explore the features ↓
foliage
$
Foliage - workspace diff view showing changes side by side

Download

All platforms:

macOS

Apple Silicon

.dmg

macOS

Intel

.dmg

Linux

x86_64

.AppImage

Linux

ARM64 / aarch64

.AppImage

Windows

64-bit installer

.msi

Or install with Homebrew (macOS & Linux):

brew tap wildhemp/foliage && brew install --cask foliage

Features

Keep the whole task in view, from the first prompt to the pull request. Each worktree brings together your agent, terminals, files, and review tools so you can pick up where you left off.

foliage --features
  • Parallel worktrees

    Give each task its own branch and working directory, with an independent agent session. Switch between tasks while other agents keep working, and see change counts and PR status in the sidebar.

  • Your choice of agent

    Run Claude Code, Codex, Gemini CLI, or Devin CLI in real terminals. Choose a different agent for each worktree and use your existing CLI installation and sign-in.

  • Terminal tabs

    Keep a shell for tests, another for your dev server, and your agent alongside them. Multiple terminal tabs let you run commands in the selected worktree without interrupting the agent.

  • Code editing and navigation

    Browse files and edit them in tabs with syntax highlighting and change markers. Jump to definitions, find references and implementations, and hover for documentation with a supported language server.

  • Live diffs

    Review changes in split or unified views and browse changed files as a directory tree. Open a diffed file directly in the editor when you want to inspect the surrounding code or make an adjustment.

  • Built-in browser

    Preview a local dev server or open a page beside your code. Browser tabs, an address bar, back and forward navigation, and an option to open the current page externally keep previews close to the task.

  • AI code review

    Run an AI review and read structured findings in a dedicated panel. Inspect feedback alongside your changes before moving on to the pull request.

How it works

  1. [1]
    Open a repository
    Point Foliage at any git repo. It discovers existing worktrees automatically.
  2. [2]
    Create worktrees
    Create a worktree for a task, or batch-create worktrees from tasks fetched through Claude Code's configured MCP tools. Repository setup scripts can prepare each new workspace for you.
  3. [3]
    Deploy agents
    Give each agent a task and let them work in parallel. Notifications let you know when a session finishes or needs attention, so you can review changes and decide what comes next.
  4. [*]
    Uses your existing CLI agents
    Install and sign in to Claude Code, Codex, Gemini CLI, or Devin CLI, then select it in Foliage. Your agent runs in a real terminal with its usual commands and configuration.