the 2-letter agent-native git client
98% fewer tokens on git/npm/brew calls.
Your AI agents stay fast. Your bills stay low.
# npm (recommended)
npm install -g @ggdotdev/gg
# curl
curl -fsSL https://raw.githubusercontent.com/cyclecore-dev/gg/main/gg.sh | sh
# homebrew
brew install cyclecore-dev/gg/gg
# arch (aur)
yay -S gg-bin
gg init # configure provider + API key
gg . # current repo → MCP (~12 tokens)
gg npm prettier # npm package → MCP (~18 tokens)
gg ask "add auth" # natural language → real PR
gg a2a ask "plan X" # CLI2CLI agent protocol
| operation | before | after | savings |
|---|---|---|---|
| npm package lookup | ~1,800 | ~18 | 99% |
| GitHub file + PR | ~2,400 | ~62 | 97% |
| daily agent (20 calls) | 40k | 800 | 98% |
Model-agnostic. Works with any MCP client.
Tested with Claude, GPT, Ollama, and Gemini.