---
title: Diffs
link: https://ampcode.com/news/diffs
source: ampcode-com
published: 2026-06-16T00:00:00Z
updated: 2026-06-16T00:00:00Z
first_seen: 2026-10-03T23:09:50.514863041Z
summary: 'Outsource your coding, but not your understanding of the code. As agents generate larger quantities of code, it is more important than ever for humans to comprehend the code to ensure its quality. You can now review any thread''s code changes directly in Amp, on desktop or mobile. While a thread has an active environment, you can scroll through the diff, request changes on specific sections, and stage changes interactively: Some care and attention has gone into the diffing algorithm, which performs duplicate block detection to make it easier to see what has actually changed. This can significantly reduce cognitive load when reviewing large agent-generated changesets. Here is an example where Amp (left) makes it easier to see that the only thing that has changed is the removal of the if-branch of the conditional: Ours Theirs If you drive your threads primarily from the terminal, use the command palette (Ctrl-O) to open the diff for your current thread in your browser:'
content: extracted
html: 2026-06-16-diffs.html
preview:
  file: 2026-06-16-diffs.preview-258b90e7cd06.webp
  width: 256
  height: 134
  color: '#60594e'
images:
- source: https://ampcode.com/og?_template=news&_version=7&title=Diffs&date=June+16%2C+2026&tagline=You+can+now+review+and+stage+changes+directly+in+Amp.&sig=cf76cacf14fedde893a98bad4f2891bed1c37dda96b62e7a0d2d6454669b4f94
  original:
    file: 2026-06-16-diffs.image-b66b11e3c343.png
    width: 1200
    height: 630
  variants:
  - file: 2026-06-16-diffs.image-bdc2a1ce9b32.webp
    width: 320
    height: 168
  - file: 2026-06-16-diffs.image-dd7224a4ad48.webp
    width: 640
    height: 336
  - file: 2026-06-16-diffs.image-463bff88cba2.webp
    width: 960
    height: 504
  - file: 2026-06-16-diffs.image-56531b72072a.webp
    width: 1200
    height: 630
  color: '#221b16'
- source: https://static.ampcode.com/news/diffs/open-in-browser.png?v=2
  original:
    file: 2026-06-16-diffs.image-3fd582e35b51.png
    width: 1280
    height: 944
  color: '#292c33'
---

> Outsource your coding, but not your understanding of the code.

As agents generate larger quantities of code, it is more important than ever for humans to comprehend the code to ensure its quality.

You can now review any thread's code changes directly in Amp, on desktop or mobile.

While a thread has an active environment, you can scroll through the diff, request changes on specific sections, and stage changes interactively:

Some care and attention has gone into the diffing algorithm, which performs duplicate block detection to make it easier to see what has actually changed. This can significantly reduce cognitive load when reviewing large agent-generated changesets.

Here is an example where Amp (left) makes it easier to see that the only thing that has changed is the removal of the if-branch of the conditional:

If you drive your threads primarily from the terminal, use the command palette (`Ctrl-O`) to open the diff for your current thread in your browser:

![Open thread in browser shortcut](https://static.ampcode.com/news/diffs/open-in-browser.png?v=2)
