📦 CodeBox API
CodeBox is the simplest cloud infrastructure for running and testing python code in an isolated environment. It allows developers to execute arbitrary python code without worrying about security or dependencies. Some key features include:
- Securely execute python code in a sandboxed container
- Easily install python packages into the environment
- Built-in file storage for uploading and downloading files
- Support for running code asynchronously using asyncio
- Local testing mode for development without an internet connection
Why is SandBoxing important?
When deploying LLM Agents to production, it is important to ensure that the code they run is safe and does not contain any malicious code. This is especially important when considering prompt injection, which could give an attacker access to the entire system.
How does CodeBox work?
CodeBox uses a cloud hosted system to run hardened containers that are designed to be secure. These containers are then used to run the code that is sent to the API. This ensures that the code is run in a secure environment, and that the code cannot access the host system.