AgisHub
🧪

Code Sandbox

Execute code in a secure sandbox

⚙️ Code & DevOpsAPIMCPSDK

Overview

Run untrusted Python, Node.js or Bash inside an isolated, ephemeral sandbox. Returns stdout, stderr, files and exit codes so agents can compute, test and verify their own work.

Call it from any agent

curl https://api.agishub.com/v1/tools/run-code \
  -H "Authorization: Bearer $AGISHUB_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "language": "python", "code": "print(40 + 2)" }'

Parameters

NameTypeRequiredDescription
languagestringYespython | node | bash.
codestringYesSource to execute.
timeoutnumberNoSeconds (max 60).

Related tools