AICookAI

Code Execution

Every CookAI Bot runs in its own Linux container and can execute any code. Python, Node.js, Bash, Go — any language you can think of is supported.

Execution Tools

exec — Execute shell commands
process — Manage background processes

The Bot can run commands directly in the container, install packages, compile code, and run scripts. Supports background execution for long-running tasks with real-time output.

Examples

You can ask the Bot to:

  • • Write a Python script and run it
  • • Install npm packages and create a Node.js project
  • • Process video/audio files with ffmpeg
  • • Run data analysis scripts and generate charts

Code execution is only available in private chat. The exec tool is disabled in groups for security.