Thin Python wrapper that installs the ggcode GitHub Release binary
Project description
ggcode Python wrapper
ggcode on PyPI bootstraps the native ggcode terminal agent from GitHub Releases.
When the bootstrap runs, it installs the real binary into a stable CLI location instead of keeping it in a wrapper-managed cache:
- macOS / Linux: prefers
/usr/local/bin, falls back to~/.local/bin - Windows: prefers
%USERPROFILE%\\AppData\\Local\\Programs\\ggcode\\bin, falls back to%USERPROFILE%\\.local\\bin
If that directory is not already on PATH, the bootstrap updates your PATH configuration and asks
you to reopen the terminal so future ggcode launches resolve directly to the native binary.
Install
pip install ggcode
Then run:
ggcode
If you ever need to rerun the bootstrap flow explicitly, you can also use:
ggcode-bootstrap
What it does
- Detects your operating system and CPU architecture
- Downloads the latest matching
ggcodearchive from GitHub Releases - Verifies the archive against
checksums.txt - Installs the real binary into a stable PATH location
- Updates PATH so future
ggcodelaunches bypass the Python wrapper
Pin a specific ggcode release
By default, the wrapper always resolves the latest ggcode release.
To force a specific release, set GGCODE_INSTALL_VERSION:
GGCODE_INSTALL_VERSION=vX.Y.Z ggcode
or:
GGCODE_INSTALL_VERSION=X.Y.Z ggcode
Native installers
Prefer a native package? Download directly from GitHub Releases:
| Platform | Format | Install command |
|---|---|---|
| macOS | .pkg |
sudo installer -pkg ./ggcode_*_darwin_universal.pkg -target / |
| Windows | .msi |
msiexec /i .\ggcode_*_windows_x64.msi |
| Debian / Ubuntu | .deb |
sudo dpkg -i ./ggcode_*_linux_*.deb |
| Fedora / RHEL | .rpm |
sudo rpm -i ./ggcode-*-1.*.rpm |
| Alpine | .apk |
sudo apk add --allow-untrusted ./ggcode-*-r1.*.apk |
| Arch Linux | .pkg.tar.zst |
sudo pacman -U ./ggcode-*-1-*.pkg.tar.zst |
What is ggcode?
ggcode is a terminal-native AI coding agent — not a browser wrapper, not a VS Code extension. It runs entirely in your terminal with a polished TUI:
- Multi-provider LLM support — OpenAI, Anthropic, Google Gemini, GitHub Copilot, DeepSeek, and more
- Five permission modes — supervised, plan, auto, bypass, autopilot — you decide how much autonomy the agent gets
- LSP integration — go-to-definition, references, rename, diagnostics, code actions via your language server
- MCP tools — connect external tool servers (browser, databases, APIs) seamlessly
- Sub-agents — spawn parallel workers for research, coding, and testing tasks
- Harness workflows — structured engineering pipelines with git worktrees, review, and promotion
- IM gateway — connect QQ, Telegram, Discord, Slack, DingTalk, or Feishu for remote coding
- Bilingual UI — full English and Chinese support
- Session persistence — resume past sessions with
ggcode --resume - File checkpoints — undo bad edits instantly without git
Supported platforms
- macOS
- Linux
- Windows
Supported architectures:
- x86_64 / amd64
- arm64
Desktop Application
ggcode also ships as a native desktop GUI application with visual chat, IM integration, and tool approval dialogs.
Download from GitHub Releases:
| Platform | Asset |
|---|---|
| macOS (Universal) | ggcode-desktop_*_darwin_universal.dmg |
| Windows | ggcode-desktop_*_windows_amd64.exe |
Project links
- GitHub Releases: https://github.com/topcheer/ggcode/releases
- Desktop app downloads: available on the same releases page
- Repository: https://github.com/topcheer/ggcode
- Issues: https://github.com/topcheer/ggcode/issues
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ggcode-1.3.10.tar.gz.
File metadata
- Download URL: ggcode-1.3.10.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8bc427147773d3fe4595a92d110aa2e50c8ab77c1f22d29e5b38d48d1c439f75
|
|
| MD5 |
4180a740154ed275fa4ae1f2813a9aee
|
|
| BLAKE2b-256 |
2fbf8e9b64f6bb4770bf5436014c0bac085b2893c7ba5b340945999f41e66454
|
Provenance
The following attestation bundles were made for ggcode-1.3.10.tar.gz:
Publisher:
publish-pypi.yml on topcheer/ggcode
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ggcode-1.3.10.tar.gz -
Subject digest:
8bc427147773d3fe4595a92d110aa2e50c8ab77c1f22d29e5b38d48d1c439f75 - Sigstore transparency entry: 1588910450
- Sigstore integration time:
-
Permalink:
topcheer/ggcode@b23189f40d82a319f48663fb183c04ffb7da8554 -
Branch / Tag:
refs/tags/v1.3.10 - Owner: https://github.com/topcheer
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@b23189f40d82a319f48663fb183c04ffb7da8554 -
Trigger Event:
push
-
Statement type:
File details
Details for the file ggcode-1.3.10-py3-none-any.whl.
File metadata
- Download URL: ggcode-1.3.10-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b9be7c9baa3d46537e16cf45eaa3396c9fc965f349fcbc86204d5c8f88330777
|
|
| MD5 |
67acf29b664423a95a32608388d17c2c
|
|
| BLAKE2b-256 |
47a8b2d51e079d22933dd728dda1254163c84f0065eaf1864a2d981200eb2822
|
Provenance
The following attestation bundles were made for ggcode-1.3.10-py3-none-any.whl:
Publisher:
publish-pypi.yml on topcheer/ggcode
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ggcode-1.3.10-py3-none-any.whl -
Subject digest:
b9be7c9baa3d46537e16cf45eaa3396c9fc965f349fcbc86204d5c8f88330777 - Sigstore transparency entry: 1588910539
- Sigstore integration time:
-
Permalink:
topcheer/ggcode@b23189f40d82a319f48663fb183c04ffb7da8554 -
Branch / Tag:
refs/tags/v1.3.10 - Owner: https://github.com/topcheer
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@b23189f40d82a319f48663fb183c04ffb7da8554 -
Trigger Event:
push
-
Statement type: