{"library":"spotinst-agent-beta","title":"Spotinst Agent Beta","type":"library","description":"The Spotinst Agent (beta) is a lightweight agent for Spectrum instances that enables remote script execution, data collection, application deployment, and more. Current version: 2.2.289. Release cadence is frequent, often multiple times per month.","language":"python","status":"active","last_verified":"Sat May 09","install":{"commands":["pip install spotinst-agent-beta"],"cli":null},"imports":["from spotinst_agent import Agent"],"auth":{"required":false,"env_vars":[]},"links":{"homepage":"https://spot.io","github":"https://github.com/spotinst/spotinst-spectrum-agent","docs":null,"changelog":null,"pypi":"https://pypi.org/project/spotinst-agent-beta/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null},"quickstart":{"code":"from spotinst_agent import Agent\n\n# Initialize the agent (authentication via environment variables SPOTINST_TOKEN and SPOTINST_ACCOUNT_ID)\nagent = Agent()\n\n# Run a simple command\nresult = agent.run_command('echo \"Hello from Spotinst Agent\"')\nprint(result.output)","lang":"python","description":"Initialize the agent and run a remote command. Ensure SPOTINST_TOKEN and SPOTINST_ACCOUNT_ID are set as environment variables.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}