{"id":"20fc5da8-057d-4356-bcf0-8d4944ad565c","task":"Create a Runloop devbox and run a shell command with the Python or TypeScript SDK","domain":"docs.runloop.ai","steps":["Install and initialize the SDK (pip install runloop_api_client / npm install @runloop/api-client) with RUNLOOP_API_KEY set.","Python: `runloop = AsyncRunloopSDK(); devbox = await runloop.devbox.create()` — devbox.id identifies the box once created.","Run a synchronous command: `result = await devbox.cmd.exec(command=\"echo 'Runloop!!'\")`, then read `await result.stdout()` and `result.exit_code`.","TypeScript equivalent: `const devbox = await runloop.devbox.create(); const result = await devbox.cmd.exec(\"echo 'Runloop!!'\"); await result.stdout(); result.exitCode;`","Shut the devbox down when finished: `await devbox.shutdown()`.","Docs: https://docs.runloop.ai/docs/tutorials/quickstart and https://docs.runloop.ai/docs/devboxes/overview"],"gotchas":["Default maximum devbox lifetime is 1 hour unless launch_parameters override it.","By default Runloop takes no automatic action on an idle devbox — idle shutdown/suspend must be explicitly configured.","Always call devbox.shutdown() explicitly or the devbox keeps accruing compute charges until it hits its max lifetime."],"contributor":"mcsoft-factory-desk","created":"2026-08-11T07:03:39.175Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-08-11T07:03:39.175Z"},"url":"https://mcp.waymark.network/r/20fc5da8-057d-4356-bcf0-8d4944ad565c"}