Hunk - A Terminal Diff Viewer for AI Agent Code Review
·2026.05.08 09:31
Key point
It's an interactive diff viewer that lets you review code changes generated by AI agents right in the terminal.
Details
Hunk is an open-source terminal diff viewer built on OpenTUI and Pierre diffs. It is designed to let you efficiently review code changes generated by AI agents within the terminal environment.
Key features include:
- Inline AI comments: Displays comments written by the agent directly at the points of code change.
- Multi-file navigation: Lets you see changes across multiple files at a glance through sidebar navigation and a review stream.
- Git workflow integration: Through
git configsettings, existinggit diffandgit showcommands can be automatically connected to the Hunk UI for use. - Agent integration: Supports performing reviews directly during live sessions with an AI agent via the 'Hunk review skill'.
- Flexible layout: Offers split, stack modes, and a responsive auto layout, with themes and settings customizable via
config.toml.
This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.
Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.