kestrel-cloud-gcp
GCP Compute Engine provider for Kestrel Sovereign agents. Provision GPU instances, run LoRA training jobs over SSH, and manage instance lifecycle from your agent's tools.
Installation
uv pip install kestrel-cloud-gcp
The feature is auto-discovered by Kestrel Sovereign via the kestrel_sovereign.features entry point — install it alongside kestrel-sovereign and GCPComputeFeature registers itself at startup.
Configuration
| Variable | Description |
|---|---|
GCP_PROJECT_ID |
GCP project ID (required) |
GOOGLE_APPLICATION_CREDENTIALS |
Path to service-account JSON (or use ADC / Workload Identity) |
Optional [gcp_compute] section in kestrel.toml:
[gcp_compute.manager]
default_zone = "us-central1-a"
default_region = "us-central1"
prefer_spot = true
What's provided
GCPComputeFeature— agent-facing tools to provision/list/stop GPU instances, run training over SSH, monitor jobs- Standalone API:
GCPComputeEngineManagerfor direct programmatic use - Spot-instance preference + automatic lifecycle (TTL, budget caps)
Dependencies
kestrel-sovereign-sdk>=0.2,<1— baseFeature,tool,ToolCategory,BackendTypeinterfaceskestrel-sovereign>=0.5,<1—kestrel.tomlunified-config loader (runtime)google-cloud-compute>=1.15.0google-cloud-logging>=3.5.0
Development
uv pip install -e '.[test]'
uv run pytest
License
Apache-2.0
Metadata
Release files for kestrel-cloud-gcp 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| kestrel_cloud_gcp-0.2.1.tar.gz | 21.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kestrel_cloud_gcp-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 47.8 kB
Release files / kestrel_cloud_gcp-0.2.1.tar.gz
| Download URL | kestrel_cloud_gcp-0.2.1.tar.gz |
|---|---|
| Size | 21.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c6834b16fe6e0dbfa575c5ff6c9e99263c1fe64cea68a61cb6828972c751d285
|
|
BLAKE2b-256 checksum How to use checksums |
b1b3f55e8bc7e35807e39e7be07779a966811276bc34a33c703c5dff9369ff46
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 May 21, 2026.
Transparency logRelease files / kestrel_cloud_gcp-0.2.1-py3-none-any.whl
| Download URL | kestrel_cloud_gcp-0.2.1-py3-none-any.whl |
|---|---|
| Size | 26.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
63f4ac9d746e38338c153212eceb71a85cdc61c423b2fe570e6d666560587f08
|
|
BLAKE2b-256 checksum How to use checksums |
60f30ff10802e8f29e552b7609ffa52d366e925c2ab3cd070d183cee4746d16c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 May 21, 2026.
Transparency log