DISCOVER THE FUTURE OF AI AGENTSarrow_forward

Hunk

calendar_todayAdded Apr 22, 2026
categoryAgent & Tooling
codeOpen Source
桌面应用Rust大语言模型AI AgentsAgent & ToolingModel & Inference FrameworkDeveloper Tools & CodingAutomation, Workflow & RPA

A cross-platform Git diff viewer and Codex orchestrator built for the "vibe engineering" workflow.

Hunk is a native desktop application built in Rust, centered on Git diff viewing and AI-driven code review. It uses GPUI (Zed editor's UI framework) for rendering, providing a side-by-side diff viewer, changed file tree, and resizable split panels with Review comparison modes between base branch and workspace target.

For AI integration, Hunk embeds the OpenAI Codex runtime in app-server mode without requiring external codex-cli. AI drafts and threads are scoped per project checkout or worktree, with support for viewing diffs within the AI workspace, pasting image attachments, and tracking token usage and follow-up status.

The Git backend is based on gix (Rust-native, with git2 fallback for write operations), supporting managed worktree management and per-worktree branch publishing. An embedded terminal (libghostty fork) and Tree-sitter syntax highlighting (25+ languages) provide complete editor primitives. For forge integration, GitHub API is supported from v0.0.4, with GitLab support being merged.

The architecture follows a Rust workspace monorepo split into 10 crates: hunk-git, hunk-codex, hunk-editor, hunk-text, hunk-language, hunk-terminal, hunk-forge, hunk-domain, hunk-updater, and hunk-desktop. It supports macOS ARM64, Linux x86_64, and Windows x86_64 with pre-built binaries (dmg/app.tar.gz/deb/rpm/msi) and source builds. Configuration resides at ~/.hunkdiff/config.toml with customizable keyboard shortcuts. Current version is v0.0.4 (early stage), licensed under GPL-3.0.

Related Projects

View All arrow_forward

STAY UPDATED

Get the latest AI tools and trends delivered straight to your inbox. No spam, just intelligence.

rocket_launch