Skip to main content

Code Execution

Open Terminal allows the AI to write, execute, and debug code in real time. It handles the full cycle: writing the script, running it, reading errors, and iterating until the result is correct.


Data visualization​

You: Create a chart showing the top 10 most populated countries.

The AI writes a Python script, executes it, and saves the output. Results are available in the file browser.

AI creating and running a Python script with output


Downloading and processing files​

You: Download the images from this webpage and sort them by size.

The AI installs required packages, writes the script, downloads files, and organizes them:

AI installing a library and running a script

Automatic dependency installation

In Docker mode, the AI can install packages as needed. If a task requires a library that isn't pre-installed, it installs it automatically before proceeding.


Self-correcting errors​

When code fails, the AI reads the error output and adjusts:

You: Scrape all the article titles from this news website.

The AI writes a scraper, hits an unexpected page layout, reads the AttributeError traceback, adjusts the CSS selectors, and re-runs successfully.

AI detecting an error, fixing the script, and running it successfully


Multi-step project scaffolding​

You: Create a to-do list app with a web interface and a database.

The AI:

  1. Creates project files (HTML, CSS, JavaScript, Python backend)
  2. Installs dependencies
  3. Sets up the database
  4. Starts the server
  5. Verifies the result in a Browser tab

AI listing files and describing the project structure


System queries​

You: Check what's using the most disk space.

AI analyzing disk usage and identifying large files


Available languages​

LanguageStatus
PythonPre-installed
JavaScript (Node.js)Pre-installed
BashAlways available
RubyPre-installed
C / C++Compiler pre-installed

Additional languages (Rust, Go, Java, etc.) can be installed on the fly.

tip

Want a persistent environment on your real machine? Open WebUI Computer puts your computer in a browser tab, accessible from any device.

This content is for informational purposes only and does not constitute a warranty, guarantee, or contractual commitment. Open WebUI is provided "as is." See your license for applicable terms.