Skip to main content

Overview

The openhands web command launches the CLI’s terminal interface as a web application, accessible through your browser. This is useful when you want to:
  • Access the CLI remotely
  • Share your terminal session
  • Use the CLI on devices without a full terminal
This is different from openhands serve, which launches the full GUI web application. The web interface runs the same terminal UI experience you see in the terminal, just in a browser.

Basic Usage

Options

Examples

Remote Access

To access the web interface from another machine:
  1. Start with --host 0.0.0.0 to bind to all interfaces:
  2. Access from another machine using the host’s IP:
When exposing the web interface to the network, ensure you have appropriate security measures in place. The web interface provides full access to OpenHands capabilities.

Use Cases

Development on Remote Servers

Access OpenHands on a remote development server through your local browser:

Sharing Sessions

Run the web interface on a shared server for team access:

Comparison: Web Interface vs GUI Server

See Also