Skip to content

About

Your coding agent's own Linux desktop: a rootless container with a browser, a shell and eight MCP tools. Watch it work, and take the mouse when it needs you.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Repository files navigation

Hotline Computer

Your coding agent's own Linux desktop. A container on your machine with a screen, a browser and a shell, where nothing the agent runs is root. Claude Code, Codex or any MCP client drives it; you watch from your browser and take the mouse when it needs you.

The computer's desktop: Chromium on the left showing a site served at 127.0.0.1:4321, the job log on the right, and the top bar reading agent at work, 2 running, 43 done.

export TOKEN=$(openssl rand -hex 24)
docker run -d --name computer \
  --cap-drop=ALL --security-opt no-new-privileges \
  --pids-limit 1024 --memory 4g --shm-size 1g \
  -p 127.0.0.1:8787:8787 -e HOTLINE_COMPUTER_TOKEN="$TOKEN" \
  -v computer-home:/home/agent \
  ghcr.io/1broseidon/hotline-computer:0.11.0

claude mcp add --transport http computer http://127.0.0.1:8787/mcp \
  --header "Authorization: Bearer $TOKEN"

open "http://127.0.0.1:8787/#$TOKEN"   # watch it work

Docs

The manual covers install, the eight tools, workspaces, security and limits. The guides go deeper:

Guide Covers
Viewer Watching, taking control, files, the socket protocol
Desktop The top bar, the job observer, Activity, your own terminal
Workspaces Nix preparation, where environments live, software without root
Secrets Variables, logins, the keyring, what redaction does and does not stop
Passkeys Making one with your approval, and where its key lives
HTTP routes Every route, which need the token, and the settings
Contract What makes a valid computer, what is in the image, boot
Building make targets, release checks, the source layout

The manual and the guides are MANUAL.md and guides/ in this repository, printed by inkcap.

License

Licensed under either of the Apache License, Version 2.0 or the MIT license, at your option. Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

Your coding agent's own Linux desktop: a rootless container with a browser, a shell and eight MCP tools. Watch it work, and take the mouse when it needs you.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages