Install and setup the Daytona sandbox agent
mainTo run OpenManus within a Daytona sandbox environment, you must first install the required dependencies in your existing OpenManus Python environment and then configure your Daytona API key. This setup allows the agent to use sandbox-specific tools like sb_browser_use, sb_shell, and sb_files to perform tasks in an isolated environment.
# 1. Activate your environment
conda activate 'Your OpenManus python env'
# 2. Install dependencies
pip install daytona==0.21.8 structlog==25.4.0
# 3. Prepare configuration
cd OpenManus
cp config/config.example-daytona.toml config/config.toml
# 4. Run the sandbox main script
python sandbox_main.py