GCP Compute Engine provider for Kestrel Sovereign — provision GPU instances, run training jobs, lifecycle management
Project description
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
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 kestrel_cloud_gcp-0.2.0.tar.gz.
File metadata
- Download URL: kestrel_cloud_gcp-0.2.0.tar.gz
- Upload date:
- Size: 21.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ec67f2976d6ffe1318b1e3b2063416c7151735a4c242bc2aebf65407a9842999
|
|
| MD5 |
a7144d7c1e8463414bc993b7b59a7c28
|
|
| BLAKE2b-256 |
58c91307014cfc02939608d33cbfe151e071782f1d664b9416e0eff40beaedb1
|
Provenance
The following attestation bundles were made for kestrel_cloud_gcp-0.2.0.tar.gz:
Publisher:
publish.yml on KestrelSovereignAI/kestrel-cloud-gcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kestrel_cloud_gcp-0.2.0.tar.gz -
Subject digest:
ec67f2976d6ffe1318b1e3b2063416c7151735a4c242bc2aebf65407a9842999 - Sigstore transparency entry: 1462185498
- Sigstore integration time:
-
Permalink:
KestrelSovereignAI/kestrel-cloud-gcp@231ea0006fb3bf1372bcb278904a1b805764db01 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/KestrelSovereignAI
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@231ea0006fb3bf1372bcb278904a1b805764db01 -
Trigger Event:
push
-
Statement type:
File details
Details for the file kestrel_cloud_gcp-0.2.0-py3-none-any.whl.
File metadata
- Download URL: kestrel_cloud_gcp-0.2.0-py3-none-any.whl
- Upload date:
- Size: 26.0 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 |
bab22806fdef22304e64add8a4c37093d6f38e6b420c3e91725c743d66a9e7fc
|
|
| MD5 |
bdd19acd4a9568f1a5d4bc40c5853e72
|
|
| BLAKE2b-256 |
25e3867647e4ce793d266631a684210dea7b052c96a4153b746ebf7bd69ec52f
|
Provenance
The following attestation bundles were made for kestrel_cloud_gcp-0.2.0-py3-none-any.whl:
Publisher:
publish.yml on KestrelSovereignAI/kestrel-cloud-gcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kestrel_cloud_gcp-0.2.0-py3-none-any.whl -
Subject digest:
bab22806fdef22304e64add8a4c37093d6f38e6b420c3e91725c743d66a9e7fc - Sigstore transparency entry: 1462185511
- Sigstore integration time:
-
Permalink:
KestrelSovereignAI/kestrel-cloud-gcp@231ea0006fb3bf1372bcb278904a1b805764db01 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/KestrelSovereignAI
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@231ea0006fb3bf1372bcb278904a1b805764db01 -
Trigger Event:
push
-
Statement type: