Open Terminal

A lightweight, self-hosted terminal that AI agents and automation tools can access via a simple REST API.

Stars
★ 3.7k
Last updated
3d ago v0.18.9
FARS reviewed
Nov 08, 2026 +28 new
License
MIT
Primary language
Python

At a glance

How it runs
Self-hosted serviceCLI
Works with
Universal · cross-platform
Cost
Free, no paid service needed
Setup effort
Low · running in minutes
You'll need
DockerPythonShell / CLINetwork accessLocal filesystem
Typical use
An AI developer runs Open Terminal locally to give an agent direct access to project files and command execution for code testing and debugging.
Not a fit if
  • Teams needing production-grade multi-user isolation; single-container mode has no hard boundaries
  • OpenShift users who need runtime package installs or Docker socket access
  • Anyone unwilling to grant host-level access; bare metal runs with your user's permissions
Website
openterminal.sh ↗ set on GitHub
Maintenance
Commits in the last 30 dayslast commit 2026-11-29latest release v0.18.9 (2026-11-29)+5.1 ★/day over 7 days
Source review
67/100 · Some gaps

What does this agent do, and when should you use it?

Open Terminal is a lightweight, self-hosted terminal server that provides a dedicated environment for AI agents and automation tools to run commands, manage files, and execute code. It is accessible through a simple REST API and can be deployed either with Docker (sandboxed) or on bare metal via pip. The Docker image comes in several variants, including a full-featured image with a complete toolkit and slim/alpine variants for smaller footprints. It integrates with Open WebUI, enabling AI assistants to execute commands and manage files directly from the interface. The project is licensed under MIT.

Open Terminal exposes REST API endpoints for executing commands, managing files, and browsing directories. It receives commands via endpoints like /exec, runs them on the server, and returns the output. It supports file upload, download, edit, and delete operations, as well as retrieving the current working directory and file listings. It can be customized using environment variables such as OPEN_TERMINAL_PACKAGES, OPEN_TERMINAL_PIP_PACKAGES, and OPEN_TERMINAL_NPM_PACKAGES to install extra packages at startup. In Docker mode, it provides an isolated environment; in bare-metal mode, commands run directly on the host with the user's permissions. It also supports a multi-user mode where each user gets a dedicated Linux account and home directory.

  1. An AI developer runs Open Terminal locally to give an agent direct access to project files and command execution for code testing and debugging.
  2. A system administrator deploys Open Terminal on a server to provide a remote execution environment for automation scripts without exposing SSH.
  3. A team integrates Open Terminal with Open WebUI so members can browse, upload, and edit files through the interface while AI assistants perform operational tasks.
  4. A security researcher uses the Docker sandbox to safely execute untrusted code in an isolated environment separate from the host.
  5. A CI system calls Open Terminal's API to run build and test steps inside a container.
  6. An educator sets up an Open Terminal instance for students to practice Linux commands without requiring local VMs.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • pip install open-terminal
Ports
8000
Environment variables
OPEN_TERMINAL_API_KEY
Install notes cover
Docker

How do you install or deploy this agent?

To install with Docker, run: docker run -d --name open-terminal --restart unless-stopped -p 8000:8000 -v open-terminal:/home/user -e OPEN_TERMINAL_API_KEY=your-secret-key ghcr.io/open-webui/open-terminal. Image variants include latest, slim, alpine, and openshift. For bare metal, install via pip: pip install open-terminal, then run open-terminal run --host 0.0.0.0 --port 8000 --api-key your-secret-key.

How do you use this agent?

After starting, interactive API documentation is available at http://localhost:8000/docs. Authenticate with the API key. Customize the environment using environment variables, e.g., OPEN_TERMINAL_PACKAGES="cowsay figlet". In Open WebUI, add an Open Terminal connection via user settings or admin settings, providing the URL and API key. To use the API, invoke the /exec endpoint to run commands and /files endpoints to manage files.

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

What are this agent's strengths and limitations?

Pros
  • Offers multiple Docker image variants, from full toolkit to minimal footprint, catering to different scenarios.
  • Supports installing apt, pip, and npm packages at startup via environment variables, avoiding image forks.
  • Deep integration with Open WebUI, including a file browser sidebar and user/group-level access control.
  • Includes built-in multi-user isolation with dedicated accounts and home directories per user.
  • API-key authentication and can run as a standalone service.
Limitations
  • Bare-metal mode directly exposes host permissions, posing security risks if misused.
  • Multi-user mode's production security is limited, not suitable for large or untrusted deployments.
  • Slim and alpine variants do not support runtime package installation; custom images are needed.
  • OpenShift image is feature-restricted, lacking runtime installs, Docker socket access, and egress firewall.
  • Automatic API key generation when not set requires checking container logs, which may be inconvenient.

How does this agent compare with similar options?

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
Open Terminal This agent 67 · Some gaps Self-hosted serviceFree ★ 3.7k 3d ago Python —
Judge0 Online Code Execution System 52 · Major gaps Self-hosted serviceFreemium ★ 4.5k 1d ago HTML —
Hindsight 68 · Some gaps Self-hosted serviceFreemium ★ 65k today Python OpenAI API · Claude API
Memanto 56 · Major gaps CLIFreemium ★ 2.4k today Python Codex · Claude Code

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Some gaps
67/ 100 5-point scale 3.4 / 5
This review covers the source as of Nov 08, 2026. The project has shipped 28 stable release(s) since, which have not been re-reviewed. The score and verdict describe the reviewed version only. Recent releases ↓
Trust 13/29
Reliability 8/14
Adaptability 16/18
Convention 15/18
Effectiveness 10/13
Verifiability 5/8
Why each dimension lost points
Trust13 / 29 · 2.2/5

An API key holder can execute commands, access files, and use every endpoint; bare-metal commands inherit the server user's permissions, and multi-user mode explicitly does not isolate users. Least privilege is therefore only partially addressed. The documentation explains key risk, personal-browser mode, the Docker Chromium sandbox tradeoff, and multi-user boundaries. Cloud-tunnel downloads require a pinned version and --yes confirmation, and WebUI forwards native approvals, but Pi has no additional per-tool permission layer. Configuration and deployment docs disclose network binding, CORS, browser sessions, and external workspace mounts. Sensitive-data protections are limited, and the key is a single full-access credential. Dependencies have lower-bound versions, with no lockfile or vulnerability-response evidence visible in this packet. Commands, file operations, and network access are core capabilities with broad external effects. Process and temporary-file cleanup are described, but no explicit change rollback mechanism is shown. A security reporting channel and author information are present, and maintenance policy is described; publisher identity remains unknown as instructed.

Reliability8 / 14 · 2.9/5

The README, configuration guide, and CLI support one another on listener defaults, configuration precedence, IPC, and tunnel constraints. Startup and error handling are visible, though not all code is included. The docs specify a Python requirement and Docker variants, but dependencies use broad lower bounds and no lockfile or comprehensive availability guarantee is shown. The CLI gives specific errors for invalid option combinations, missing tunnel credentials, and key-file read failures; the supplied main-source excerpt is incomplete, so other failure paths cannot be assessed.

Adaptability16 / 18 · 4.4/5

The materials cover Open WebUI, standalone clients, coding agents, browser and desktop use, and multiple deployment shapes. The security policy describes capability boundaries and multi-user limitations in detail, although the API itself grants broad command and file access and agent permissions vary by provider. Integration requires compatible client changes, logged-in CLIs, and provider protocol support; prerequisites are documented but capabilities are not uniform across agents. Configuration addresses Linux, Windows, Docker, IPC, GPU, and slim images, with substantial environment guidance.

Convention15 / 18 · 4.2/5

The README organizes installation, integration, configuration, and deployment, and links separate configuration, security, and deployment guides. Docker, Python, uvx, IPC, and connection steps have concrete instructions. Naming and configuration variables are generally consistent, though many provider commands and protocol-specific terms add complexity. Examples cover common setup; troubleshooting material is linked, but its full content is not in this packet. Security and configuration docs state limitations clearly. The MIT license is explicit. A version is present in pyproject.toml and the README links a changelog, but changelog contents are not supplied. The security policy identifies supported versions and reporting routes and says the core team maintains the project; specific maintenance responsibility and publisher identity are not fully verified by this material.

Effectiveness10 / 13 · 3.8/5

The product exposes command, file, browser, desktop, and agent-CLI interfaces, with streaming and file display support, providing clear practical utility. Its added value for agent workflows and self-hosted computing is substantial. Cost-benefit depends on an operator's ability to manage a high-privilege API, container configuration, and credentials; shared-container multi-user mode is unsuitable when users need isolation, and resource costs are not quantified.

Verifiability5 / 8 · 3.1/5

The README, configuration and security docs, CLI, project metadata, and publishing workflow jointly support many installation, security, and release claims. Some claims are corroborated across docs and code, including API-key requirements, bind behavior, tunnel constraints, and the Python version. The main source is only a sample, so agent-session and security controls cannot be cross-checked comprehensively. The materials distinguish product capabilities, stated design boundaries, and external prerequisites, but claims such as provider protocol compatibility remain documentary assertions without executable evidence in this review.

Risks and how to mitigate them
  • The API key grants full command and file access; give it only to trusted clients and choose listener and CORS settings carefully.
  • Shared-container multi-user mode does not isolate users, and personal-browser mode uses existing browser sessions. Docker images disable Chromium's own sandbox by default, which the docs say reduces protection inside the container.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision 962ea2740262 New commits since this review; the score may not cover them
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/open-terminal.svg)](https://followagents.com/en/agents/open-terminal)
<a href="https://followagents.com/en/agents/open-terminal"><img src="https://followagents.com/badge/open-terminal.svg" alt="FARS review"></a>

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. v0.18.9
    Release notes excerpt
    Added - You can now disable coding agents entirely or allow only selected agents, such as Claude Code and Codex. Disabled agents are not launched to check their models and cannot start new chats. All agents remain allowed by default. Restart Open Terminal after changing these settings; see the [agent setup instructions](README.md#coding-agents-in-chat). Fixed …
    View on GitHub ↗
  2. v0.18.8
    Release notes excerpt
    Changed - The Sessions list now shows the program running in each terminal, such as bash, vim, or sleep, instead of labeling every terminal "Shell". It shows the program name, not a custom terminal title. Windows terminals and terminals whose program cannot be identified still show "Shell". Requires an updated Open WebUI.
    View on GitHub ↗
  3. v0.18.7
    Release notes excerpt
    Added - Added support for the Sessions item in each machine's menu in Open WebUI. It lists your open terminal shells and running commands from all chats on that machine, newest first, and lets you stop them without returning to the original chat. You only see and stop your own sessions. Requires an updated Open WebUI. Changed - Watching the same desktop in multiple tabs or devices no longer makes each viewer wait while another viewer's picture is prepared. Viewers also share recent screen captures instead of repeatedly capturing the same screen. …
    View on GitHub ↗

FAQ

Does Open Terminal support multiple users concurrently?
Yes. Set OPEN_TERMINAL_MULTI_USER=true to enable multi-user mode; each user gets a dedicated Linux account and home directory. However, this isolation is based on Unix permissions and does not provide hard isolation boundaries, so it is not suitable for production.
How can I add extra packages?
In the full Docker image, use OPEN_TERMINAL_PACKAGES, OPEN_TERMINAL_PIP_PACKAGES, and OPEN_TERMINAL_NPM_PACKAGES environment variables to install packages at startup. For slim and alpine variants, you need to build a custom image.
Does it support file upload and download?
Yes. Open Terminal provides REST API endpoints for file management, including upload, download, edit, and delete. In Open WebUI, there is also a graphical file browser sidebar.
Can Open Terminal run without Docker?
Yes. You can install via pip install open-terminal and run it on bare metal. Note that in bare-metal mode, commands run directly with your user's permissions without sandboxing.
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts