{"slug": "diffs", "title": "Diffs", "summary": "Amp introduces a new diff review feature that allows users to review code changes from agent-generated threads on desktop or mobile, with duplicate block detection to reduce cognitive load. The feature supports scrolling through diffs, requesting changes on specific sections, and staging changes interactively, accessible via the command palette for terminal users.", "body_md": "Outsource your coding, but not your understanding of the code.\n\nAs agents generate larger quantities of code, it is more important than ever for humans to comprehend the code to ensure its quality.\n\nYou can now review any thread's code changes directly in Amp, on desktop or mobile.\n\nWhile a thread has an active environment, you can scroll through the diff, request changes on specific sections, and stage changes interactively:\n\nSome 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.\n\nHere 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:\n\nIf you drive your threads primarily from the terminal, use the command palette (`Ctrl-O`\n\n) to open the diff for your current thread in your browser:", "url": "https://wpnews.pro/news/diffs", "canonical_source": "https://ampcode.com/news/diffs", "published_at": "2026-06-16 00:00:00+00:00", "updated_at": "2026-06-30 16:31:56.865155+00:00", "lang": "en", "topics": ["developer-tools", "generative-ai", "ai-agents"], "entities": ["Amp"], "alternates": {"html": "https://wpnews.pro/news/diffs", "markdown": "https://wpnews.pro/news/diffs.md", "text": "https://wpnews.pro/news/diffs.txt", "jsonld": "https://wpnews.pro/news/diffs.jsonld"}}