spotinst-agent-2
Spectrum instance spotinst-agent that is able to run remote scripts, collect data, deploy applications and more.
What it is and what it does
Spotinst Agent is a polling-based executor that runs remote scripts on infrastructure managed by Spotinst. It communicates with the Spotinst API to receive instructions for deployment, shutdown, or data collection tasks on target machines. The agent operates in a pull model—it polls for work rather than receiving pushed commands—and requires valid Spotinst API credentials stored locally to authenticate.
The package is designed for infrastructure automation within the Spotinst ecosystem, particularly for coordinating shutdown scripts and deployments across fleets of instances. It supports configuration via YAML files, logging to files or stdout, and test modes for validation. However, the package has not been updated in over two years, suggesting it may not be actively maintained or may have been superseded by newer tooling.
Use it for:
- Orchestrate graceful shutdown scripts across Spotinst-managed instance fleets during spot interruptions or scaling events
- Deploy applications or run configuration scripts on remote machines via Spotinst API integration
- Collect operational data from instances and report back to Spotinst infrastructure management
- Automate infrastructure lifecycle tasks (startup, configuration, teardown) for Spotinst-managed workloads
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Spotinst Agent is a remote script executor that polls for and runs shutdown or deployment scripts on machines, communicating with the Spotinst API to manage infrastructure operations.
No. The package is dormant (782 days without release), has high install friction due to source distribution, and requires careful credential setup. Unless you are actively using Spotinst's infrastructure platform and have no alternative, the lack of recent maintenance and absence of known alternatives in the fact sheet make this a risky choice for new projects. Verify with Spotinst whether this agent is still supported or if a newer tool has replaced it.
Install
spotinst-agent-2 on PyPI
pip
pip install spotinst-agent-2uv
uv add spotinst-agent-2poetry
poetry add spotinst-agent-2Installing spotinst-agent-2
Before you install
High install friction due to source distribution format. Package is dormant (no releases in 782 days), which raises concerns about maintenance and bug fixes. Requires Python 3.x and Spotinst API credentials at a fixed path.
License in practice
MIT license is permissive, allowing commercial and private use with minimal restrictions—suitable for most deployment scenarios.
Quickstart
# Install
pip install spotinst-agent-2==2.0.11
# Run agent with default config
./agent
# Or with custom config
./agent -c /path/to/agent.yml
Requires credentials file at /root/.spotinst/credentials and API token to communicate with Spotinst. Must run on target machine or have network access to it. Requires Python 3.x.
Verify before relying
- Whether the agent runs as a standalone executable after installation or requires additional build/setup steps beyond pip install
- Current state of the upstream repository and whether dormancy reflects active maintenance elsewhere or genuine abandonment
- Compatibility with modern Spotinst API versions and whether breaking changes have occurred since last release
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (==3.*) |
| Install friction | high — source build required |
| Runtime dependencies | none |
| Maintenance | dormant — 782 days since the last release |
| First released | |
| Downloads | 470,788/month — #6,482 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: spotinst-agent-2-2.0.11.tar.gz
Keywords: spotinst, agent, infrastructure, monitoring, execution, deployment
Tags
More Monitoring packages
Wraps any iterable to display a real-time…
copyleft · top 100 on PyPI
opentelemetry-semantic-conventionsProvides generated Python code for…
permissive · top 100 on PyPI
opentelemetry-sdkProvides the reference implementation of the…
permissive · top 100 on PyPI
opentelemetry-apiProvides the abstract API and interfaces for…
permissive · top 100 on PyPI
opentelemetry-exporter-otlp-proto-httpExports OpenTelemetry observability data to an…
permissive · top 1,000 on PyPI
opentelemetry-instrumentationProvides automatic instrumentation commands and…
permissive · top 1,000 on PyPI
spotinst-agentSpotinst-agent is a remote execution agent that…
permissive · top 15,000 on PyPI
agent-framework-a2aEnables communication with remote A2A-compliant…
permissive · top 15,000 on PyPI
google-agents-cliA CLI toolchain that equips coding agents…
permissive · top 15,000 on PyPI
swe-rexSWE-ReX provides a runtime interface for AI…
permissive · top 5,000 on PyPI
azure-ai-agentserver-coreProvides the host framework and infrastructure…
permissive · top 5,000 on PyPI
acryl-executorAcryl Executor runs DataHub metadata ingestion…
permissive · top 15,000 on PyPI
bedrock-agentcoreDeploy AI agents to AWS Bedrock AgentCore with…
permissive · top 5,000 on PyPI
clearml-agentClearML Agent is a job scheduler and…
permissive · top 15,000 on PyPI
aiorunProvides a simplified entry point for asyncio…
permissive · top 15,000 on PyPI
hydra-submitit-launcherIntegrates Hydra configuration framework with…
permissive · top 15,000 on PyPI