gg

the 2-letter agent-native git client

98% fewer tokens on git/npm/brew calls.
Your AI agents stay fast. Your bills stay low.

$ install

# 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

$ quick start

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

$ token savings

operationbeforeaftersavings
npm package lookup~1,800~1899%
GitHub file + PR~2,400~6297%
daily agent (20 calls)40k80098%

$ providers

Model-agnostic. Works with any MCP client.
Tested with Claude, GPT, Ollama, and Gemini.

Pro → $15/mo unlimited ★ Star on GitHub