kestrel-cloud-vastai
Vast.ai GPU marketplace provider for Kestrel Sovereign agents. Search the marketplace, provision spot/on-demand GPU instances, run training over SSH, manage lifecycle.
Installation
uv pip install kestrel-cloud-vastai
The feature is auto-discovered by Kestrel Sovereign via the kestrel_sovereign.features entry point — install it alongside kestrel-sovereign and VastAIFeature registers itself at startup.
Configuration
| Variable | Description |
|---|---|
VASTAI_API_KEY |
Vast.ai API key (required) |
Optional [vastai] section in kestrel.toml for default profile preferences.
What's provided
VastAIFeature— agent-facing tools for instance search, provisioning, SSH training, lifecycle- Standalone API:
VastAIManagerfor direct programmatic use - HTTP API + SSH-training helpers
Dependencies
kestrel-sovereign-sdk>=0.2,<1— baseFeature,tool,ToolCategory,BackendTypekestrel-sovereign>=0.6,<1—kestrel.tomlunified-config loader (runtime)vastai-sdk>=0.1.0
Development
uv pip install -e '.[test]'
uv run pytest
License
Apache-2.0
Metadata
Release files for kestrel-cloud-vastai 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_vastai-0.2.1.tar.gz | 23.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kestrel_cloud_vastai-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 51.0 kB
Release files / kestrel_cloud_vastai-0.2.1.tar.gz
| Download URL | kestrel_cloud_vastai-0.2.1.tar.gz |
|---|---|
| Size | 23.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
324ac5565bc6a438a9dfcc0cfefb6c57f187b664f0c67740bd798a4f1a5271d6
|
|
BLAKE2b-256 checksum How to use checksums |
cdffe7e8c25ca96b8d7b2378d7295118554a0bc0eda85e874e9b38cbae587abd
|
| 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_vastai-0.2.1-py3-none-any.whl
| Download URL | kestrel_cloud_vastai-0.2.1-py3-none-any.whl |
|---|---|
| Size | 28.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c9001595008eb61596bef5124875cac0548206ecffe68c1a98304541d1116db9
|
|
BLAKE2b-256 checksum How to use checksums |
e9545ab56577b3830480c7ab355f8a9253e453e96095b788c711d72ac0e083f4
|
| 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