ghx

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.

Version
1.5.2
License
MIT
Installer
zip
Arch
x64
Package ID
BrunoBorges.ghx
clighgithub

// install via winget

Command Prompt & PowerShell click to copy
winget install BrunoBorges.ghx

// direct download

Download Installer

// 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

// frequently asked questions

How do I install ghx using winget?
Open PowerShell or Windows Terminal and run: winget install BrunoBorges.ghx. Winget ships with Windows 10 (1809+) and Windows 11 — no additional install needed.
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 distributed under the MIT license. Use the winget command above or click the download button to get the installer directly from the publisher.
How do I update ghx with winget?
Run winget upgrade BrunoBorges.ghx in PowerShell or Windows Terminal to update ghx to the latest available version.
What architecture does ghx support?
The listed installer targets the x64 architecture. See the publisher’s documentation for full compatibility details.