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.2.1.tar.gz (21.8 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.2.1-py3-none-any.whl (26.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kestrel_cloud_gcp-0.2.1.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

Hashes for kestrel_cloud_gcp-0.2.1.tar.gz
Algorithm Hash digest
SHA256 c6834b16fe6e0dbfa575c5ff6c9e99263c1fe64cea68a61cb6828972c751d285
MD5 a8471e88f93920828c4968b0b5cf81bd
BLAKE2b-256 b1b3f55e8bc7e35807e39e7be07779a966811276bc34a33c703c5dff9369ff46

See more details on using hashes here.

Provenance

The following attestation bundles were made for kestrel_cloud_gcp-0.2.1.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.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for kestrel_cloud_gcp-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 63f4ac9d746e38338c153212eceb71a85cdc61c423b2fe570e6d666560587f08
MD5 5cc95b4492f0684fc795709a8bde956a
BLAKE2b-256 60f30ff10802e8f29e552b7609ffa52d366e925c2ab3cd070d183cee4746d16c

See more details on using hashes here.

Provenance

The following attestation bundles were made for kestrel_cloud_gcp-0.2.1-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