This repository has been archived on 2026-10-04. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • Rust 65.4%
  • TypeScript 23.8%
  • Python 3.5%
  • JavaScript 3%
  • HTML 1.8%
  • Other 2.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-10-04 00:34:51 -04:00
.cargo M28: editors join the swarm; illogicald as Claude Code's IDE (daemon) 2026-10-02 09:35:59 -04:00
.forgejo/workflows CI: delete the kept build once it passes 30 GB (#84) 2026-10-03 00:43:29 +00:00
crates illogical 0.12.0 2026-10-03 22:47:41 -04:00
docs illogical 0.12.0 2026-10-03 22:47:41 -04:00
editors M28: roles, editors' socket and dev container feature, docs, PLAN 2026-10-02 10:05:25 -04:00
packaging Onboarding #108: install.sh and Homebrew say what's next 2026-10-03 03:50:31 -04:00
scripts Fountain runner unit: ProtectProc=invisible only, and drop the interim drop-in 2026-10-03 21:34:44 -04:00
site Page: the tour plays itself; less on screen at once 2026-10-03 05:16:21 -04:00
spikes S24: q1 passes through claude-agent-acp; M45's runner status is a view of the Fountain block; order after M43 2026-10-03 19:41:01 -04:00
vendor/libghostty-vt-sys M9 step 1: memory cheap wins (#3) 2026-10-02 08:28:08 -04:00
web Merge origin/main into M45b: M44 (wear a Fountain agent locally), #127, #128 2026-10-03 22:36:22 -04:00
.gitignore Plan M3b VM panes and M6 blocks; record the M3b and S6 spikes 2026-10-01 07:06:30 -04:00
.gitleaksignore forge tests: scratch dirs by their real path; gitleaks ignores M39's fake token 2026-10-03 01:15:34 -04:00
.mise.toml M2: panes survive the daemon stopping, crashing and rebooting 2026-10-01 06:44:51 -04:00
about.hbs illogical 0.10.0 2026-10-03 06:10:00 -04:00
about.toml Launch: license, a quickstart README, arm64 builds, install script 2026-10-01 21:48:06 -04:00
BRIEF.md Plan milestones after M6 and a multiplayer track 2026-10-01 09:22:37 -04:00
Cargo.lock illogical 0.12.0 2026-10-03 22:47:41 -04:00
Cargo.toml illogical 0.12.0 2026-10-03 22:47:41 -04:00
justfile M28: roles, editors' socket and dev container feature, docs, PLAN 2026-10-02 10:05:25 -04:00
LICENSE-APACHE Launch: license, a quickstart README, arm64 builds, install script 2026-10-01 21:48:06 -04:00
LICENSE-MIT Launch: license, a quickstart README, arm64 builds, install script 2026-10-01 21:48:06 -04:00
PLAN.md PLAN: M45 as built 2026-10-03 22:46:58 -04:00
README.md README: moved to GitHub (arugula-salad/illogical) [skip ci] 2026-10-04 00:34:51 -04:00
rust-toolchain.toml M0: illogicald owns a shell; the browser reattaches exactly 2026-10-01 05:26:16 -04:00
rustfmt.toml M2b: restarting the daemon leaves running programs untouched 2026-10-01 07:04:09 -04:00
THIRD_PARTY.md illogical 0.12.0 2026-10-03 22:47:41 -04:00
wrangler.jsonc Launch: deploy the page with wrangler; releases download anonymously 2026-10-01 22:17:05 -04:00

illogical has moved to GitHub: arugula-salad/illogical. This repository is archived. Issue and PR numbers are the same there, and every release is there too. Homebrew: brew untap jhgaylor/tap && brew tap arugula-salad/tap.

illogical

A terminal multiplexer whose sessions outlive the window, the daemon and the reboot. A daemon owns your terminals; the browser (desktop or phone) draws tabs and splits you drive with the mouse.

Tabs and splits in the browser

  • Mouse first. Click, drag and right-click for tabs and splits. No chords to learn, no prefix key.
  • Durable. Close the window, lose the connection, restart the daemon or reboot: the layout, working directories and scrollback come back, and each pane does what you told it to (a shell where it was, re-run its command, claude --continue). On Linux a daemon restart doesn't even touch running programs.
  • Anywhere on your tailnet. The same live layout on every window and your phone, over Tailscale. Push notifications when a pane rings, a long command finishes, or an agent needs you.
  • Agents as blocks. Claude Code, Codex or any ACP agent as a UI beside your terminals: tool calls with their output, approvals and questions as cards big enough for a thumb.
  • VS Code beside your terminals. Open in editor (or illogical edit src/main.rs:42) opens VS Code on the pane's machine, in its directory, as a block: on the phone too, and back with its file after a restart.
  • What did the agent change? Changes on a pane (or illogical diff) lists the files changed in its repository, on its machine, with +/−; tap a file for its hunks and a line to see the file there, both updating while the agent works. Phone first, and a failed build is a Rerun tap away.
  • The swarm. Every pane on every machine you and your team can see, in one live view, clustered by project, machine, kind or person. Whatever needs someone (an agent asking, a build failing) lifts out to a rail of cards, where anyone on the team who may answer allows, answers or sends the agent its next instruction, and everyone sees who did.
  • Your editor in the swarm. VS Code, Cursor or nvim (over Remote-SSH too) shows up beside your panes once you ask it to. Follow its cursor from your phone; a debugger stopping, or Claude Code wanting to edit a file, is a card you answer from anywhere.
  • Scriptable. illogical, a CLI for scripts and agents: run, send, wait for a command or a match, tail, search every pane's history.
  • In any terminal, too. illogical tui draws the same tabs and splits in the terminal you're in (over ssh as well), with a sidebar of what needs you: allow an agent's request from there without opening its pane. Select, search a pane's whole history and copy, to your own clipboard over ssh.

A tour of the swarm: every pane clustered by project, then one project's panes up close, then an agent's request on the Needs You rail, then that agent's session opened

Linux (x86_64, arm64) and macOS (Apple silicon). Share a session with someone, or a whole machine with a team, with roles and presence (docs/teams.md). Remote access is over your tailnet, or through illogical control for devices without one: end to end encrypted, so the service relays for your devices but can't read your terminals.

Install

curl -fsSL https://illogical.widgets.wtf/install.sh | sh

This puts illogicald and illogical in ~/.local/bin and starts the daemon as a service (systemd user unit on Linux, launchd agent on macOS). Run it again to upgrade. ILLOGICAL_VERSION=vX.Y.Z picks a version.

Homebrew (macOS, Linux):

brew tap jhgaylor/tap https://git.inevitable.fyi/jhgaylor/homebrew-tap
brew install illogical
illogicald install

From source: see docs/development.md.

On Linux, let it start at boot, before you log in:

loginctl enable-linger $USER

Quickstart

  1. Open http://127.0.0.1:7681. Right-click a pane or a tab for everything. Drag a tab or a pane onto another pane's edge to split it there; drag dividers to resize.

  2. From your phone and other machines, put it behind Tailscale on this machine. The first time:

    • turn on MagicDNS and HTTPS certificates in the tailnet's DNS settings, or serve fails;
    • on Linux, let yourself run serve without sudo: sudo tailscale set --operator=$USER;
    • on macOS, the app's CLI may not be on your PATH: it's /Applications/Tailscale.app/Contents/MacOS/Tailscale.

    Then:

    tailscale serve --bg --https=443 http://127.0.0.1:7681
    

    and open https://<this machine>.<tailnet>.ts.net: tailscale serve status prints it, and so does Getting started in the session menu (and install.sh, when Tailscale is up). Only the Tailscale login that owns the machine gets in (illogicald install -- --owner you@example.com for someone else). On the phone, add it to the home screen, then Notify this device in the menu (☰).

  3. From a script or another pane:

    illogical run --wait -- cargo build        # a new tab; exits with its exit code
    illogical send %3 'git status' -e          # type a line and press Enter
    illogical wait %3 --match 'listening on'
    illogical tail %3 -f --text
    illogical search 'panic|Traceback' --since 1d
    

    docs/cli.md has the rest.

  4. In a terminal, or over ssh: illogical tui. The mouse works as in the browser; Ctrl-] is the menu key (Ctrl-] ? lists the rest).

  5. Without a tailnet, add the machine to an account on illogical control and use it from any browser:

    illogicald join https://control.illogical.widgets.wtf
    

    See docs/control.md, including running your own. With a team: make one in control (Teams…), invite people, and pick the team when you approve a machine's join. Roles, personal vs team machines and sharing one session: docs/teams.md.

  6. Agents. Start an agent… in a pane's menu, or illogical agent "fix the failing test". Claude Code and Codex run through an npm adapter (needs Node 20+): Start an agent… offers to install it, in a pane you can watch, or install it yourself:

    npm install --prefix ~/.local/share/illogical/agents/claude @agentclientprotocol/claude-agent-acp@0.85.0
    npm install --omit=optional --prefix ~/.local/share/illogical/agents/codex @agentclientprotocol/codex-acp@2.1.0
    

    Claude Code in an ordinary pane can raise the same notifications, question cards and permission cards, and take follow-ups, through its hooks: see Claude Code in a pane.

  7. As tools for any agent (MCP). Give Claude Code (or Codex, or any MCP client) illogical's tools: it runs builds and dev servers in panes you can watch from the phone and take over, waits on them, starts and answers other agents, and searches what happened yesterday.

    claude mcp add illogical -- illogical mcp
    

    The read-only tools are safe to allow outright; leave the rest to ask. In ~/.claude/settings.json (or the project's .claude/settings.json):

    {
      "permissions": {
        "allow": [
          "mcp__illogical__read_output", "mcp__illogical__capture_screen", "mcp__illogical__wait",
          "mcp__illogical__list", "mcp__illogical__history", "mcp__illogical__search",
          "mcp__illogical__list_conversations", "mcp__illogical__read_pr", "mcp__illogical__read_issue",
          "mcp__illogical__list_agents", "mcp__illogical__read_agent", "mcp__illogical__read_file"
        ],
        "ask": [
          "mcp__illogical__run", "mcp__illogical__send_input", "mcp__illogical__close",
          "mcp__illogical__open_port", "mcp__illogical__open_app", "mcp__illogical__start_agent",
          "mcp__illogical__open_conversation", "mcp__illogical__agent_respond", "mcp__illogical__show_changes",
          "mcp__illogical__show_file", "mcp__illogical__open_workspace", "mcp__illogical__open_pr",
          "mcp__illogical__pr_comment", "mcp__illogical__pr_review", "mcp__illogical__pr_merge",
          "mcp__illogical__open_issue", "mcp__illogical__issue_comment", "mcp__illogical__issue_new",
          "mcp__illogical__open_fountain"
        ]
      }
    }
    

    What it starts says "started by mcp:claude-code". Agent blocks get the same tools by themselves, limited to their own tab. Over HTTP, tokens, and the tools: MCP.

A Fountain runner (Linux)

A machine can be your Fountain account's runner (M45): Fountain's runner conversations then run there, in sandboxes illogical can open a shell on, diff and follow.

  1. Once, with root, from a checkout: sudo bash scripts/fountain-runner-setup.sh --fountain "$(command -v fountain)" --node "$(node -p process.execPath)". It makes a fountain user (its sandboxes under /home/fountain/sandboxes), the fountain-runner systemd unit, and a sudoers rule: you may run /bin/bash as fountain, and systemctl start|stop|restart|status fountain-runner as root.
  2. Then, as you: illogical fountain runner install (makes the runner's key without printing it, and starts the unit); illogical fountain runner status shows it.
  3. illogical fountain --view runner (or Fountain runner… in a pane's menu) shows it as a block: online or not, the other runners, and its sandboxes, each with Follow, Changes and Shell.

Checking it by hand, after a setup (none of this is automated, since the tests never run sudo or reach Fountain):

  • illogical fountain runner status: the unit is active, and Fountain lists only this runner, online.
  • The runner view says this host's runner is online, its version matches fountain --version, and no attention is raised.
  • A conversation with an agent on the runner provider appears under the runner's sandboxes, with its directory and agent.
  • Changes opens a diff of each git checkout in its sandbox (one with nothing upstream is diffed from an empty tree, so all of it shows).
  • Shell opens a terminal (bash without profile or rc files, and outside the runner's sandboxing, as its card says) where whoami; pwd prints fountain and the sandbox's directory; there, cat ~YOU/.ssh/id_ed25519 and illogical --socket <your daemon's socket> ls both fail.
  • A sandbox agent can't see other users' processes: asked to run ls /proc | wc -l (or ps aux), a conversation's agent sees only the runner's own processes (the unit has ProtectProc=invisible). Ask the agent: illogical's Shell isn't in the unit, so it sees everything, as any shell of yours would.
  • Follow opens an agent block with the conversation so far.
  • sudo systemctl stop fountain-runner: within about 5 minutes the rail (and the phone) says Fountain runner offline; sudo systemctl start fountain-runner clears it.

On macOS

Everything above works, except that restarting or upgrading the daemon ends the panes' programs (there's no systemd to hold them); scrollback and layout still come back. VM tabs are Linux only.

More

License

MIT OR Apache-2.0, at your option. Terminal emulation by libghostty; see THIRD_PARTY.md.