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.0.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.0-py3-none-any.whl (26.0 kB view details)

Uploaded Python 3

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

Hashes for kestrel_cloud_gcp-0.2.0.tar.gz
Algorithm Hash digest
SHA256 ec67f2976d6ffe1318b1e3b2063416c7151735a4c242bc2aebf65407a9842999
MD5 a7144d7c1e8463414bc993b7b59a7c28
BLAKE2b-256 58c91307014cfc02939608d33cbfe151e071782f1d664b9416e0eff40beaedb1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for kestrel_cloud_gcp-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bab22806fdef22304e64add8a4c37093d6f38e6b420c3e91725c743d66a9e7fc
MD5 bdd19acd4a9568f1a5d4bc40c5853e72
BLAKE2b-256 25e3867647e4ce793d266631a684210dea7b052c96a4153b746ebf7bd69ec52f

See more details on using hashes here.

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

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