Skip to main content
FlyMyAI logo

Sandbox

Lets an agent execute Python, Bash, JavaScript, or shell scripts in a kernel-isolated gVisor sandbox on Kubernetes. Each execute_code call creates a fresh pod and deletes it after - state is not persisted between calls.

What it can do

MethodWhat it does
execute_codeExecute code in a kernel-isolated gVisor sandbox on Kubernetes. Safe for computation and code execution in a disposable pod with no host kernel access. Supported languages: python (default), bash, javascript, sh. Retu…

How to get credentials

None - Sandbox is built-in, no setup required.

Fields to fill in FlyMyAI

None.

Troubleshooting

  • Missing package - the sandbox has a curated set of pre-installed packages. Install on-the-fly in Python (pip install via subprocess) only for small, pure-Python libraries; large binary wheels may fail.
  • Timeout - each call has a wall-clock limit. Split long jobs into chunks and write intermediate results to files.
Built with care by FlyMy.AI.