Self-hosted web UI & mobile PWA for Claude Code, Codex, Gemini (ACP) & OpenCode
5.2K
Run your local coding CLIs from one browser tab using the subscriptions you already pay for. Multi-repo coding workspaces, 11 UI languages with Arabic RTL (English default), Skill & MCP Firewall + Taint Mode, Adversarial Cross-Model Verification, OpenSpec & MCP Control Plane, Web Terminal (PTY), Telegram approvals, OS sandboxing, Cross-CLI relay, and self-healing Temporal pipelines.
Multi-CLI Chat · Coding Workspaces · 11 Languages + RTL · Skill & MCP Firewall · Adversarial Verify · OpenSpec & MCP · PTY & Telegram · Temporal Pipelines
Website • Live Demo • Try in 10s • Comparison • Features • Visual tour • Quick start • Security • Architecture • Configuration • Русский
Runs on synthetic demo chats in a temporary directory. No agent CLIs, no API keys, nothing written to your home folder.
1. Instant browser demo (0 seconds, no install):
👉 Open Teleharness Live Demo — interactive SPA sandbox right in your browser (chats, Multi-Repo Coding Workspaces & Dev Services Radar, Skill & MCP Security Firewall, 11 languages + Arabic RTL, Attention Board, Adversarial Verification, OpenSpec Workbench, MCP Control Plane, Telegram Bridge, Web Terminal PTY, Systemd UI, Security Sandbox 11/11, diff review, worktrees, costs, Temporal pipelines).
2. Node.js ≥ 22:
npx teleharness --demo
# → http://127.0.0.1:4180/teleharness/ (token: demo-demo-demo-demo)
3. Docker (pre-built multi-arch image — amd64 / arm64):
docker run --rm -p 4180:4180 al3x4kov/teleharness
# → http://127.0.0.1:4180/teleharness/ (token: demo-demo-demo-demo)
# Mirror: ghcr.io/al3x4kov/teleharness · Full self-hosted stack: docs/docker.md
4. Free-tier cloud sandbox (read-only demo via render.yaml):
Teleharness launches the real local CLIs installed on your machine (keeping their skills, MCP servers, hooks, and project files) instead of proxying requests through a metered API.
| Capability | Teleharness | T3 Code | Paseo | Happy | CloudCLI | AionUi | OpenChamber |
|---|---|---|---|---|---|---|---|
| Uses existing CLI subscriptions | Yes (4 families) | Yes | Yes (+40 ACP) | Yes (+ACP) | Yes | Yes (20+ CLI) | OpenCode + Claude |
| Cross-CLI handoff on quota limit | Manual & Auto-Relay | Switch in thread | No | No | No | No | Multi-run compare |
| Durable pipelines & schedules | Yes (Temporal + Verify Gate + Self-Healing Supervisor + GitHub Taint) | No | No | No | No | No | No |
| Workspaces, Attention Board, Diff Review & Worktrees | Yes (Multi-Repo Coding Workspaces + Dev Services Radar, Cross-Model Verify, dry-run conflicts) | Threads + Worktrees | Split diff + Worktrees | Session list | Git + editor | Chat + channels | Guided diff |
| Multi-tenant OS sandbox, Firewall & privacy | MIT, 0 telemetry, OS sandbox + Skill/MCP Firewall + Egress Proxy + 11/11 selftest, SAST | MIT, telemetry on | Custom, 0 telemetry | MIT, E2E relay | AGPL-3.0 | Apache-2.0 | MIT |
| Clients, localization & instant tryout | Web/PWA (11 langs + RTL), Web Terminal (PTY), Telegram Bridge, 0-click Demo, Docker Hub/GHCR | Web, Desktop, iOS/Android | Web, Desktop, iOS/Android | Web, Desktop, iOS/Android | Web + PTY terminal | Desktop, Web, Telegram/Lark | Web/PWA, Desktop, VS Code |
Honest trade-offs: T3 Code, Paseo, and Happy ship native iOS/Android apps (and Happy offers an E2E cloud relay); AionUi also supports Lark/Feishu channels. Teleharness's edge is durable Temporal pipelines with Adversarial Cross-Model Verification & a self-healing Supervisor Agent, Auto-Relay across CLI subscriptions, Multi-Repo Coding Workspaces & Dev Services Radar, 11-language UI with Arabic RTL, OpenSpec Workbench + Cross-CLI MCP Control Plane, Web Terminal (PTY) + Telegram approval bridge + Systemd UI, multi-tenant OS sandbox with Skill/MCP Security Firewall, Taint Mode, egress proxy, memory guard, 11/11 selftest & SAST CI, and 0-click browser demo + multi-arch Docker.
en default, ru, zh-CN, ja, ko, de, fr, es, pt, hi, ar with RTL) synced per user across devices.fetch/switch/create) + cross-repo OpenSpec overview; admin-only Dev Services & Debugger Radar (local dev servers, Docker containers, Node/Python/Go/LLDB/GDB debuggers, .teleharness/services.json) with one-click SSH tunnels and IDE attach snippets.pass/fail/needs_human verdict with findings you can turn into inline review comments).tasks.md checklists across repositories from the UI; manage MCP servers across Claude Code, Codex, OpenCode, and ACP with drift diffing, live token budget meter, profiles, and snapshot rollbacks.block / approve + rework loop / report), and human approval gates into durable workflows that survive restarts, resume from any step, and trigger from GitHub issues or failed CI. An optional detached Pipeline Supervisor Agent (TeleharnessPipelineSupervisorV1) watches each run with zero LLM quota usage while healthy; on FAILED/TIMED_OUT it opens a scoped healing agent chat, diagnoses and fixes the root cause, and automatically resumes from the failed step (1–5 attempts, recursion-guarded, one-click Stop) or escalates to the Attention Board, Telegram, and Web Push. (Details)Full screen-by-screen walkthrough and feature table: Visual Tour (docs/tour.md).
Tip
Step-by-step setup for Linux, macOS, and Windows (all 4 engines, Worktrees, Obsidian cache, Temporal, GitHub triggers, HTTPS + QR PWA, autostart): **[`docs/installation.md`](https://github.com/al3x4kov/teleharness/blob/main/docs/installation.md)** ([по-русски](https://github.com/al3x4kov/teleharness/blob/main/docs/installation.ru.md)).
| Version | For | |
|---|---|---|
| Node.js | ≥ 22.5 (22 LTS / 24 LTS) | portal server & built-in SQLite FTS5 search/costs/board |
| Git | ≥ 2.20 | Git screen, diff review, isolated Worktrees |
| opencode | 2.x (tested with 2.2.6+ / 2.3.0) | opencode engine |
| Claude Code | 2.x | Claude engine |
| Codex CLI | 0.169+ | optional, Codex engine |
ACP CLI (gemini / copilot / custom) | latest | optional, configured in Settings → ACP Agents |
| Python | 3.11+ | optional, local CPU voice & Temporal pipeline worker |
You only need at least one engine installed (or none for --demo).
npx teleharness # → http://127.0.0.1:4180/teleharness/
Checks Node, stores state in ~/.teleharness, serves the prebuilt UI bundle (or rebuilds on demand), detects installed CLIs, and prints the admin login token. Flags: --demo, --port N, --host 0.0.0.0, --rebuild.
git clone --branch v2.24.9 https://github.com/al3x4kov/teleharness.git
cd teleharness
npm ci && npm run build
cp .env.example .env # every value is optional
opencode auth login # opencode
claude setup-token # put token into .env as CLAUDE_CODE_OAUTH_TOKEN
./ops/opencode/serve-v2.sh & # opencode 2.x on 127.0.0.1:4196
./ops/web-v2.sh # → http://127.0.0.1:4170/teleharness/
git clone --branch v2.24.9 https://github.com/al3x4kov/teleharness.git
cd teleharness
npm ci; npm run build
Copy-Item .env.example .env # every value is optional
opencode auth login
claude setup-token
$env:OPENCODE_SERVER_PASSWORD = [guid]::NewGuid().ToString('N')
Start-Process opencode -ArgumentList 'serve','--hostname','127.0.0.1','--port','4196'
$env:TELEHARNESS_OC_API = 'v2'; $env:TELEHARNESS_UPSTREAM = 'http://127.0.0.1:4196'; $env:TELEHARNESS_OC_PASSWORD = $env:OPENCODE_SERVER_PASSWORD
node server.js # → http://127.0.0.1:4170/teleharness/
git clone --branch v2.24.9 https://github.com/al3x4kov/teleharness.git && cd teleharness
docker compose --profile selfhosted up -d --build
docker compose --profile selfhosted logs teleharness | grep -i "admin token"
# → http://127.0.0.1:4170/teleharness/ (Temporal UI: http://127.0.0.1:8233)
Includes Claude Code CLI, Codex CLI, bundled OpenCode 2.x server, Git/Worktrees, gh, offline Voice runtime (Piper TTS + GigaAM v2 STT), and Temporal durable pipelines with PostgreSQL ledger. Engine logins (claude login, codex login, gh auth login) persist in /data/home. Optional: --profile voice-init (download voice models), --profile tls (Caddy HTTPS), INSTALL_RENDER=1 (LibreOffice + Chromium). Full guide: docs/docker.md.
Note
The portal is served under `/teleharness/`; all options are `TELEHARNESS_*` environment variables ([`.env.example`](.env.example)). macOS launchd notes: [`docs/macos.md`](https://github.com/al3x4kov/teleharness/blob/main/docs/macos.md). Linux systemd unit: [`ops/linux/teleharness.service`](ops/linux/teleharness.service).
| macOS | Linux | Windows | |
|---|---|---|---|
| Portal, opencode, Claude, Codex, ACP, diff review, worktrees, push | yes | yes | yes |
| Temporal pipelines & GitHub Background Agents (optional) | yes | yes | — |
| Obsidian active cache, local CPU voice | yes | yes | yes |
| Multi-user non-admin shell sandbox | disabled (fail-closed) | optional per-user runner | AppContainer sandbox |
localhost / Tailscale: Teleharness runs under your own OS user over your local CLIs. No tenant sandbox is needed, and all engines work the same on macOS, Linux, and Windows.ops/sandbox/linux) or Windows AppContainer. See SECURITY.md.curl|sh / base64 remote exec, secret harvesting, insecure MCP transports), atomic 0600 SHA-256 lockfile rug-pull detection, fail-closed MCP sync gate, and mandatory human approval before command / pull_request steps run on tainted external GitHub triggers.npm audit, Gitleaks, and OpenSSF Scorecard (Scorecard report), with weekly Dependabot updates and SHA-pinned workflows/Docker base images.
server.js, lib/, routes/): zero-dependency Node.js stdlib (node:http, SSE with replay, built-in node:sqlite FTS5, attention board, costs, Multi-Repo Workspace Registry, Dev Services Radar, Skill & MCP Firewall, Git/Worktrees) and one adapter per engine family (lib/oc-client.js, claude CLI runner, codex-shim.mjs, lib/acp-chat.js).src/ → public/): Preact + Signals bundled with esbuild, light/dark themes, 11 UI languages with Arabic RTL (English default, lazy-loaded public/locales/*.json), optional mobile PWA.docs/temporal.md).Layer diagram and search pipeline: docs/tour.md#architecture-diagrams. Architecture notes: docs/architecture.md, specs: openspec/specs/.
Settings are schema-validated in lib/config.js; template in .env.example.
| Variable | Default | Purpose |
|---|---|---|
PORT | 4170 (4180 via CLI) | portal port |
TELEHARNESS_DEMO | 0 | set 1 to run instant synthetic demo mode |
TELEHARNESS_UPSTREAM | http://127.0.0.1:4196 | opencode serve 2.x URL |
TELEHARNESS_OC_API | v1 | v2 for opencode 2.x |
TELEHARNESS_OC_PASSWORD | — | HTTP Basic password for opencode 2.x |
CLAUDE_CODE_OAUTH_TOKEN | — | Claude subscription token (claude setup-token) |
TELEHARNESS_ADMIN_TOKEN | generated | admin login token |
TELEHARNESS_PUBLIC_URL | — | HTTPS URL for optional phone QR pairing |
TELEHARNESS_KB_ROOT | off | Obsidian vault path for active cache |
Example agent configs (Claude Code + opencode): config/ (./config/install.sh / ./config/install.ps1).
npm test # unit, UI components (happy-dom), server and edge tests
npm run build # esbuild → public/app.js, public/app.css
npm run demo # synthetic demo on fixtures-demo/
See CONTRIBUTING.md and CHANGELOG.md.
opencode · Claude Code · Codex CLI · Temporal · Preact · esbuild · marked · DOMPurify · highlight.js
MIT. Bundled third-party files keep their licenses: openspec-* / opsx-* — MIT (OpenSpec), dogfood — Apache-2.0.
docker pull al3x4kov/teleharness:latest