AI Briefing
KOSign in

Hunk Releases Terminal Diff Viewer for Agent Code Reviews

·2026.10.09 19:30

Key point

A local-only, security-focused diff review tool that agents can control remotely.

1 / 4

Details

Hunk, a terminal-based diff viewer designed to help humans review code changes generated by coding agents, has been released. The tool displays changes across multiple files in a continuous stream with a sidebar, attaching agent notes as cards next to the corresponding code hunks to provide context.

Agent Integration and Security

Agents can remotely control the review interface opened by humans using the hunk session command. Agents perform actions such as navigation and adding notes via a local loopback daemon rather than running the TUI directly. The session daemon operates locally only, blocking external exposure through owner-only credentials and signed responses.

Key Features and Limitations

  • VCS Support: Automatically detects Git, Jujutsu, and Sapling. Starting from v0.23, the hunk gh command allows opening PRs and comparison ranges without the GitHub CLI.
  • Note Management: Distinguishes between notes from humans and agents. Agents can delete human notes but cannot create or modify them.
  • Installation and Requirements: Install via script on macOS/Linux or via npm (hunkdiff) on Windows. Requires Node.js 22+ and an x86-64 CPU with SSE4.2 support.
  • Limitations: Structural diffing is not supported, and startup speed is slower than delta. Additionally, AI auto-review comments and plan document review features are not included.

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.