Hunk

Active
GitHub TypeScript MIT

Description

Review-first terminal diff viewer for agentic coders.

Key Features

  • Review-first terminal diff viewer with multi-file review stream and sidebar navigation
  • Inline AI and agent annotations beside code for enhanced code review context
  • Split, stack, and responsive auto layouts for flexible viewing preferences
  • Watch mode for auto-reloading file and Git-backed reviews with live updates
  • Support for Git, Jujutsu, and Sapling version control systems
  • Agent integration with skill files for automated code review workflows

Use Cases

💡 Reviewing code changes from AI agents with enhanced visual context
💡 Performing detailed code reviews with inline annotations and explanations
💡 Monitoring real-time changes in development workflows with watch mode
💡 Integrating automated code review into CI/CD pipelines
💡 Collaborative code review sessions with shared review contexts

Strengths & Limitations

Strengths

  • Actively maintained, recent updates
  • High community interest (9.0k stars)
  • Permissive open-source license (MIT)

Quick Start

Install with 'npm i -g hunkdiff' or 'brew install modem-dev/tap/hunk'. Review current changes with 'hunk diff'. Review latest commit with 'hunk show'. Use watch mode with 'hunk diff --watch'. For agent integration, use 'hunk skill path' to get skill file location

Related Projects

Pi

101.0k · TypeScript
Active A+

Pi is a full-stack AI agent toolkit featuring a coding agent CLI, unified LLM API, TUI and Web UI libraries, Slack bot, and vLLM inference pods.

coding-agentclillm +2
  • · Unified multi-provider LLM API — pi-ai package provides unified interface for OpenAI, Anthropic, Google, and other LLM providers
  • · Interactive coding agent CLI — pi-coding-agent provides command-line interactive coding agent with tool calling and state management
  • · Agent runtime — pi-agent-core provides agent runtime with tool calling and state management for multi-step task execution