Free and open source · Linux

Review everything your agent did. Even after it commits.

Start a session, hand the work to Claude Code, Codex or any agent, and come back to one live diff of all of it, every commit included. Accept what is right, revert what is not, file by file.

$curl -fsSL https://difftower.com/install.sh | sh

Native, in Rust · works with any agent · no account, no telemetry · macOS soon

A real run, sped up where Claude Code is thinking.

The problem

Agents commit. Your diff goes blank.

An agent that works for twenty minutes makes five commits along the way. git diff shows only what is left uncommitted, so you review commit by commit, or you don't. That is how a test quietly edited to pass gets through.

git diff

Against the last commit: whatever the agent committed is already out of sight.

you
agent
agent
agent
uncommitted

Sees the last few lines.

A Difftower session

Against where your code stood when the session started, however many commits ago.

session
agent
agent
agent
uncommitted

Sees everything the agent did.

Sessions

One click before the agent starts. One review when it is done.

Start a session

Difftower marks where your code stands right now. Your branches and history are left as they are.

Let the agent work

It edits, commits, edits again. Every change shows up live, and none of it drops out of view when it commits.

Accept or revert

File by file, or all at once. Accepted files leave the list; reverted ones go back to how they were. A revert can be undone.

End the session

Done reviewing: Difftower goes back to showing changes since the last commit. Closing the app in between loses nothing.

billing Session · 25m ago■ End session ⚠ 1 protected changedAccept allRevert allAsk agent to fix
Guardrails

Some files the agent should not touch.

Shield a test, a migration or a lockfile from the file tree. If the agent changes one, you know at once, and you choose what happens next.

  • Flagged the moment it happens: red when lines change, amber when the agent only added some.
  • Ask the agent to put it back: Difftower writes the request in the terminal, naming the commit to restore from. You press Enter.
  • Then run the tests: pytest, vitest and Rails, found on their own. All of them, a folder, a file or one test.
  • Shared with your team: the rules live in .difftower.toml, in the repository.
tests/invoice.test.tsprotected
  it("rounds totals to the cent", () => {-   expect(total(items)).toBe(10.07);+   expect(total(items)).toBeCloseTo(10.07, 1);  });
⚠ protected file tests/invoice.test.ts modified
Everything else

Only what supervising an agent needs.

A diff that keeps up

Updated as the agent writes, new files included. Unified or split, highlighted, with a minimap. Thousands of files stay smooth.

The agent, right beside it

A terminal in the same window, in the repository: run Claude Code, Codex, Aider or any CLI agent next to its diff.

Many repositories, one window

Open a folder of repositories: one session, one diff and one test list across all of them.

Native and light

Rust on GPUI, the framework behind Zed. Rendered on the GPU, opens at once. No Electron.

Keyboard first

Go to any file with Ctrl+P, step through files and changes with j, k, n, p. Press ? for the rest.

Keeps itself current

It tells you when a new version is out, and updates itself in one click.

Over SSH

Your agents run on a server. So does Difftower.

Point it at user@host:path. It installs a tiny agent there on first connection, watches the repository on the host and sends only diffs. Sessions, protected files and tests work the same. Your keys and ~/.ssh/config work as usual.

3 MBagent on the host
~5 MBof RAM, idle at 0% CPU
1SSH connection for everything
$ difftower me@devbox:~/billing
$ difftower devbox:~/repos # a folder of repos
$ difftower ~/code/app
Questions

Before you try it.

Does a session touch my git history?

No. It is a git ref under refs/difftower/, kept out of your branches, your log and your pushes. Ending the session deletes it.

What if I close Difftower mid-session?

Nothing is lost. The session lives in the repository, so the next time you open it, it picks up where you left.

Which agents does it work with?

Any of them. Difftower watches the files and git, not the agent, so Claude Code, Codex, Aider or a script all look the same.

Is it an editor?

No, on purpose. It shows, guards, tests and reverts. Writing the code is the agent's job, and your editor is still there for yours.

Install

One line, no root.

Any Linux

Into ~/.local, with a launcher entry. Updates itself.

curl -fsSL https://difftower.com/install.sh | sh

For everyone

Into /usr/local instead of your home.

curl -fsSL https://difftower.com/install.sh \
  | sudo DIFFTOWER_PREFIX=/usr/local sh

From source

Rust, git, clang and lld.

git clone https://github.com/a-gracia/difftower
cd difftower && cargo dt

Needs Linux x86_64 with glibc 2.35 or newer (Ubuntu 22.04, Debian 12, Fedora 36, Arch) and git. macOS is next.