harness-gimp
Agent-first Python package for safe, scriptable image edits with GIMP.
- JSON-first CLI for LLM/tooling use
- Bridge-first architecture
- GIMP 3 batch execution backend
- Validation and deterministic outputs
Install
pip install harnessgg-gimp
Quick Start
harness-gimp bridge start
harness-gimp doctor
harness-gimp inspect input.jpg
harness-gimp resize input.jpg --width 1024 --height 768 --output resized.png
harness-gimp crop resized.png --x 0 --y 0 --width 800 --height 600 --output cropped.png
harness-gimp crop-center resized.png --width 800 --height 800 --output centered.png
harness-gimp export input.jpg output.webp
harness-gimp bridge status
All commands print one JSON object to stdout.
Note: layer-edit commands are most reliable on .xcf working files.
Tip: prefer harness-gimp or harnessgg-gimp CLI entrypoints over python -m harness_gimp in mixed environments.
Tip: bridge start --port ... persists the bridge URL for later commands; override anytime with HARNESS_GIMP_BRIDGE_URL. Set HARNESS_GIMP_STATE_DIR to customize where bridge state files are stored.
Docs
- Human commands:
docs/human/commands.md - LLM quickstart:
docs/llm/quickstart.md - LLM command spec:
docs/llm/command-spec.md - LLM bridge protocol:
docs/llm/bridge-protocol.md - LLM response schema:
docs/llm/response-schema.json - LLM error codes:
docs/llm/error-codes.md
Metadata
Release files for harnessgg-gimp 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| harnessgg_gimp-0.2.0.tar.gz | 25.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| harnessgg_gimp-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 50.8 kB
Release files / harnessgg_gimp-0.2.0.tar.gz
| Download URL | harnessgg_gimp-0.2.0.tar.gz |
|---|---|
| Size | 25.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
993069458b531463d5fc824f80408b60be85e53def534cc4de178cb43d2ab8fb
|
|
BLAKE2b-256 checksum How to use checksums |
8e295968304792c0119000d96601f6b084dd3f555436d4c0f2e6b3248d56b559
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 15, 2026.
Transparency logRelease files / harnessgg_gimp-0.2.0-py3-none-any.whl
| Download URL | harnessgg_gimp-0.2.0-py3-none-any.whl |
|---|---|
| Size | 25.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f888156a2f81140eb929f5deeccf82a1ffb590cc148b349e04d76b1126801449
|
|
BLAKE2b-256 checksum How to use checksums |
e57169071c8254d5c3299f93c96279242d2cebf710cfd520e287d0accf0fc8eb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 15, 2026.
Transparency log