{"id":24263,"library":"prime-sandboxes","title":"Prime Sandboxes","description":"Prime Intellect Sandboxes SDK for managing remote code execution environments. Current version 0.2.22, active development, weekly releases.","status":"active","version":"0.2.22","language":"python","source_language":"en","source_url":"https://github.com/PrimeIntellect-ai/prime-cli","tags":["sandbox","remote-execution","prime-intellect","sdk"],"install":[{"cmd":"pip install prime-sandboxes","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"note":"Wrong import path; Sandbox is exposed at top-level.","wrong":"from prime_sandboxes.sandbox import Sandbox","symbol":"Sandbox","correct":"from prime_sandboxes import Sandbox"}],"quickstart":{"code":"import os\nfrom prime_sandboxes import Sandbox\n\napi_key = os.environ.get('PRIME_API_KEY', 'your-api-key')\nsandbox = Sandbox(api_key=api_key)\nprint(sandbox)\n","lang":"python","description":"Initializes a Sandbox client using the PRIME_API_KEY environment variable."},"warnings":[{"fix":"Use sandbox as a context manager: with Sandbox(api_key='...') as sb: ...","message":"Sandbox objects must be closed explicitly to release remote resources. Failing to call sandbox.close() may leave dangling environments.","severity":"gotcha","affected_versions":"all"},{"fix":"Replace Session with Sandbox. The API is identical.","message":"The prime_sandboxes.Session class is deprecated since v0.2.0. Use prime_sandboxes.Sandbox instead.","severity":"deprecated","affected_versions":">=0.2.0"}],"env_vars":null,"search_vec":"'0.2.22':15 'activ':16 'code':10 'current':13 'develop':17 'environ':12 'execut':11,23 'intellect':4,26 'manag':8 'prime':1,3,25 'prime-intellect':24 'releas':19 'remot':9,22 'remote-execut':21 'sandbox':2,5,20 'sdk':6,27 'version':14 'week':18","created_at":"2026-05-01T08:12:09.131374+00:00","updated_at":"2026-05-01T08:12:09.131374+00:00","problems":[{"fix":"Use: from prime_sandboxes import Sandbox","cause":"Incorrect import path – users try to import from a submodule that doesn't exist.","error":"ModuleNotFoundError: No module named 'prime_sandboxes.sandbox'"},{"fix":"Replace sandbox.run(command) with sandbox.execute(command).","cause":"The method 'run' was renamed to 'execute' in v0.2.10.","error":"AttributeError: 'Sandbox' object has no attribute 'run'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"0.2.27","cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/PrimeIntellect-ai/prime-cli","docs":"https://github.com/PrimeIntellect-ai/prime-cli/tree/main/packages/prime-sandboxes","changelog":null,"pypi":"https://pypi.org/project/prime-sandboxes/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["aws","devops"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-06-29","last_verified":"2026-06-29","next_check":"2026-07-29","install_tag":null}}