Skip to main content

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: GCPComputeEngineManager for direct programmatic use
  • Spot-instance preference + automatic lifecycle (TTL, budget caps)

Dependencies

  • kestrel-sovereign-sdk>=0.2,<1 — base Feature, tool, ToolCategory, BackendType interfaces
  • kestrel-sovereign>=0.5,<1kestrel.toml unified-config loader (runtime)
  • google-cloud-compute>=1.15.0
  • google-cloud-logging>=3.5.0

Development

uv pip install -e '.[test]'
uv run pytest

License

Apache-2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kestrel_cloud_gcp-0.1.0.tar.gz (21.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kestrel_cloud_gcp-0.1.0-py3-none-any.whl (25.7 kB view details)

Uploaded Python 3

File details

Details for the file kestrel_cloud_gcp-0.1.0.tar.gz.

File metadata

  • Download URL: kestrel_cloud_gcp-0.1.0.tar.gz
  • Upload date:
  • Size: 21.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for kestrel_cloud_gcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7349d380a1d50da77612e3e7a9ec487859591c6f2089fe0e79f40e0c781552c2
MD5 60ea96030015e9efc66cd4d8f82853c8
BLAKE2b-256 119654cc8c64776796f72329b4b3a571e823fcb683393b86ec5a607594d28d39

See more details on using hashes here.

Provenance

The following attestation bundles were made for kestrel_cloud_gcp-0.1.0.tar.gz:

Publisher: publish.yml on KestrelSovereignAI/kestrel-cloud-gcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file kestrel_cloud_gcp-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for kestrel_cloud_gcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3fe18617a8ad397df2078c041dd78a2e5968c8b3e73ac77d457efa7f2fd2ecee
MD5 9f03326f0b3908b76e8f3eb4f1e11c35
BLAKE2b-256 784e36fc41ad3f8d791e9ca42bb32e406d1d1659d272e1d370e761079f8975bb

See more details on using hashes here.

Provenance

The following attestation bundles were made for kestrel_cloud_gcp-0.1.0-py3-none-any.whl:

Publisher: publish.yml on KestrelSovereignAI/kestrel-cloud-gcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page