Skip to main content
diff

Ask once. Hear from Claude, ChatGPT, Gemini and local models in the same chat — on the plans you already pay for.

CI License: MIT PyPI version

Claude and ChatGPT discuss a four-day week and compare their answers

In the demo, we asked whether a six-person team should try a four-day week. Claude worried that staggering days off would leave just one or two people on duty. ChatGPT pointed out that with a staggered schedule, at least four people could work each day. Claude agreed it had the numbers wrong. By the second round, both backed a three-month trial, provided nobody had to work evenings or days off.

Install

You'll need Python 3.11 or newer and pipx. Run these commands in a terminal.

pipx ensurepath
pipx install diff-chat
diff-chat

The last command opens diff in your browser on macOS, Windows or Linux. If your terminal can't find diff-chat, open a new terminal so it picks up the updated PATH. To run a source checkout, use pipx install . from the project folder. A signed Mac app is planned.

Connect your first model

You can start with one. Setup shows which tools diff found and how to install anything missing. Later, open Settings → Models → Connect models to add or disconnect one.

Participant Tool What you need How to connect
Claude Claude Code 2.1.280 Claude Pro or higher. Plans Run claude auth login --claudeai.
ChatGPT Codex CLI 0.166.0 Any ChatGPT plan, including Free. Plan details Run codex login.
Gemini Antigravity CLI 1.5.20 (agy) An eligible Google account. The free tier works. Eligibility Choose Connect Gemini, or run diff-chat --login-gemini, then select Google OAuth.
Local Ollama Enough space and memory for the model you choose. Ollama is free. Setup Open Ollama or run ollama serve. To download a first model, try ollama pull gemma3:4b.

Have Claude Pro? Add a free ChatGPT account for the full experience.

In a chat

Click the names beside the message box to choose who replies. To ask just Claude, start your message with @claude. You can choose a model and role for each participant, and set the reasoning level where the provider supports it.

After a round What happens
Continue The participants read each other's answers and reply once more.
Find agreement They take turns looking for a position everyone accepts. You see the maximum number of replies before you start.
Combine Choose one participant to write a single answer and flag anything still unresolved.
Compare replies (Diff view) Read two replies side by side. A short summary covers where everyone in the round agreed and differed.

You can attach a document or a supported image, edit a question, retry a reply, or branch the chat to try another line of argument. Pin chats you come back to often, or search by title and message. You can export a single chat as Markdown or your whole library as Markdown or JSON.

Shared memory is for things you're tired of repeating. A note can belong to one chat or follow you across chats. Import from another AI lets you edit or untick each fact before saving it. Settings also has light and dark themes, font and accent choices, and a switch for the animated characters. The characters follow your system's reduced-motion setting.

How it works

diff-chat starts a server on 127.0.0.1. The private link it opens contains a fresh token that protects the API and the live reply stream.

For Claude, ChatGPT and Gemini, diff runs the provider's official CLI in an empty temporary folder with file and shell tools restricted. Web search is available where the provider supports it. A CLI that can resume a session gets the new messages since its last turn. When a conversation gets long, diff can use a cheaper model of your choice to summarize it. Local connects to Ollama on your computer and lists the models you've installed. Adapter details

Privacy

Your saved chats, memory and settings stay on your computer. Settings → Data shows the folder. diff collects no telemetry.

When you invite a cloud model, its provider receives the messages, shared notes and attachments needed for that reply. Its own data and telemetry policies apply. To keep a conversation local, leave only Local on in the message box. Ollama will handle the summaries too. If you enable API fallback, diff stores the key in your OS keychain and the provider bills that usage separately. Checking for an update contacts GitHub.

Limitations

  • Cloud replies, comparisons and summaries draw on your plan. Find agreement can use several rounds and still end in disagreement.
  • Usage meters show the allowance left and when it resets, if the provider reports those figures. Gemini gets its reading from Antigravity's /usage command. Some accounts show only a weekly allowance. Local has no plan limit.
  • Smaller local models can miss earlier details or struggle with a harder question. Image support depends on the model. Codex may return a whole reply at once.
  • diff depends on the providers' CLI versions, account rules and terms. On Windows, Codex may need Developer Mode to link its local credentials. Anthropic's CLI guidance · OpenAI's terms · Google's Antigravity terms

Unofficial. Not affiliated with or endorsed by Anthropic, OpenAI, or Google.

Contributing

To run the tests or make a change, start with Contributing. For a new participant, see the adapter guide. Please report vulnerabilities through the security policy.

License

diff is MIT licensed. The fonts and bundled libraries have their own third-party notices. Character credits

Metadata

Release files for diff-chat 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for diff-chat 0.1.0
File Size Uploaded Provenance Actions
diff_chat-0.1.0.tar.gz 14.7 MB With provenance Details for diff_chat-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for diff-chat 0.1.0
File Interpreter ABI Platform Actions
diff_chat-0.1.0-py3-none-any.whl Python 3 none any Details for diff_chat-0.1.0-py3-none-any.whl

Total release size: 20.9 MB

Release files / diff_chat-0.1.0.tar.gz

Download URL diff_chat-0.1.0.tar.gz
Size 14.7 MB
Tags Source
SHA-256 checksum
How to use checksums
dc506972a0ce0d776fc2b688ff29677864276342798643912c781bd086e9191c
BLAKE2b-256 checksum
How to use checksums
58f0703d6f5a9c31719a81cc9395bc9a2d483c0754e22ed33a607ad64769de2a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

Release files / diff_chat-0.1.0-py3-none-any.whl

Download URL diff_chat-0.1.0-py3-none-any.whl
Size 6.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
f6e0e34297c3d7648ef35084122cebc687e34cdf91ad44d026b3408d14822a5e
BLAKE2b-256 checksum
How to use checksums
d9452683d5e09f182a437b60145cb3435e16be0d5d86aa7cd5d4e2f980b4bea4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

Security for diff-chat 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for diff_chat-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page