ghx

1.5.2 MIT by Bruno Borges

A caching proxy for the GitHub CLI that makes repeated commands instant. Singleflight coalescing means 10 agents asking the same thing triggers just 1 API call.

Install via Winget

winget install BrunoBorges.ghx

Open Windows Terminal or PowerShell and run the command above. Winget is built into Windows 10 (1809+) and Windows 11.

About ghx

A caching proxy for the GitHub CLI (gh) that eliminates redundant API calls, prevents rate limiting, and dramatically speeds up repeated commands. Built for AI agent workflows where multiple agents (Copilot CLI, coding agents, MCP servers) hammer the same gh commands simultaneously. Highlights - 10x faster cached responses (~0.1s vs ~1s) - Singleflight coalescing — 5 agents asking the same thing = 1 API call - Allowlist-based — only caches known-safe read-only commands - Auto-invalidation — mutations flush related cache entries - Web dashboard — real-time hit rates, per-command stats, request log - Drop-in replacement — just use ghx instead of gh - No gh required — auto-downloads GitHub CLI on first use if not installed

Tags

clighgithub

Frequently Asked Questions

How do I install ghx using winget?
Open Windows Terminal or PowerShell and run: winget install BrunoBorges.ghx. Winget is built into Windows 10 (1809+) and Windows 11.
What is ghx?
A caching proxy for the GitHub CLI that makes repeated commands instant. Singleflight coalescing means 10 agents asking the same thing triggers just 1 API call.
Is ghx free to download?
ghx is available under the MIT license. Use the winget command or the direct download link on this page.
How do I update ghx with winget?
Run winget upgrade BrunoBorges.ghx in Windows Terminal or PowerShell to update ghx to the latest available version.