Install
One line, then the doctor.
pgremlin is a command line tool and a desktop app that run on your machine, with your own bot for drafts in your fork. The current release is 0.8.0.
primary
Where every real run so far has happened, and tested on every change. Agent code runs in the macOS Seatbelt sandbox. Keep your projects out of iCloud Drive.
curl -fsSL https://pgremlin.com/install.sh | shbeta
The installer, goblin --help, goblin serve and a reinstall were tested in Docker on Ubuntu 24.04, Debian 12 and Fedora 41 on 2 December 2026, and the full test suite passes on Ubuntu 24.04. Install bubblewrap first (apt install bubblewrap); goblin doctor explains any sandbox fix it needs.
curl -fsSL https://pgremlin.com/install.sh | shexperimental, untested
WSL2 only: native Windows has no sandbox pgremlin can use. The PowerShell installer checks for WSL2, then runs the Linux install inside it. It was checked with a stand-in for WSL; no real Windows machine or WSL2 has run it yet.
powershell -ExecutionPolicy Bypass -c "irm https://pgremlin.com/install.ps1 | iex"What the one line runs
- Downloads the wheel and refuses it unless its SHA-256 matches the one written in the script.
- Installs uv from Astral over HTTPS if it is missing, then installs PGoblin as a uv tool.
- Runs
goblin doctor. It never uses sudo.
To check by hand: download pgoblin-0.8.0-py3-none-any.whl, compare the output of shasum -a 256 with its line in SHA256SUMS, then run uv tool install ./pgoblin-0.8.0-py3-none-any.whl.
Then, in order
- 1
goblin initwritesgoblin.tomlwith your GitHub login. - 2
goblin doctorchecks the sandbox, the tools and your sign-ins, with a fix for each failure. - 3
goblin app-createregisters your own bot, a GitHub App on your account, in one click. - 4
goblin app-installputs it on your forks, and nowhere else. - 5
goblin fix owner/repo#Nworks one issue through the whole loop. When it passes and you confirm you have read and reviewed the change, your bot opens the draft in your fork. Projects that welcome AI help with no conditions, and your own repositories, skip the confirmation. It opens nothing upstream.
Approving and opening the draft are separate steps. With auto_draft = false under [publish] in goblin.toml, nothing reaches your fork until you approve the bundle on your machine with goblin approve and then open the draft with goblin stage. Nothing goes upstream unless you raise it yourself.
What you need first
- git, and the GitHub CLI signed in (
gh auth login). - The
claudeCLI, signed in. - On Linux and in WSL2, bubblewrap.
Licence
Free to download. Licensed under the Functional Source License (FSL-1.1-ALv2): you may use and modify it within its terms, and each release becomes Apache 2.0 two years after it ships. It is not an OSI open-source licence.
The desktop app
The Workshop in a small window: your runs, the Armory, Settings and Memory. It talks only to goblin serve on your own machine.
Apple silicon. Also for Linux arm64 (.deb). Not notarised yet: the first time, macOS blocks it, and you allow it once in System Settings, under Privacy and Security.
Try it on the playground
A small Python library with seeded good first issues, made for trying pgremlin before you point it at a real project. The App you create is yours, and the draft opens in your fork, never in the playground.
Open the playground