#374·ego-lite

[Feature]: Support Windows-hosted ego lite from WSL2 agents

Author: dongmucatCreated Sep 8, 2026Updated Oct 1, 2026

Component

ego-browser runtime or CLI

Problem to solve

I run Codex and Claude Code inside WSL2, while desktop applications and the daily browser run on the Windows host.

The existing Windows request (#203) covers a native Windows app, but that alone does not guarantee that an agent process inside WSL can discover or invoke ego-browser, connect to the Windows-hosted ego lite runtime, or use its authenticated browser state and Spaces.

Today, installing the skill inside WSL only installs the agent instructions; the browser/runtime is still unavailable there. The Linux host proposals (#202 and #291) run a separate Chrome/Chromium instance inside WSL, so they do not provide the main ego lite benefit of controlling the Windows desktop browser and reusing its state.

This affects Windows developers who intentionally keep their coding tools, repositories, Codex, and Claude Code inside WSL2.

Proposed solution

Please support WSL2 as a documented, first-class client environment for the Windows version of ego lite.

The smallest useful outcome would be:

  • ego lite runs normally on the Windows host.
  • ego-browser is available from Ubuntu on WSL2, either through a Linux shim or supported Windows executable interop.
  • The WSL command connects to the Windows-hosted ego lite runtime through a local-only transport without requiring users to expose raw CDP to the network.
  • Task Spaces, snapshots, clicks, screenshots, and the Windows browser's existing login state work from the WSL agent.
  • Installation documentation and a --doctor check explain whether the Windows app and WSL bridge are reachable.

A full Linux GUI build is not required for this use case if the WSL CLI can securely control the Windows-hosted app.

A minimal acceptance test could be:

bash
# Run inside WSL2 while ego lite is open on Windows
command -v ego-browser
ego-browser nodejs <<'JS'
const task = await useOrCreateTaskSpace('wsl smoke')
await openOrReuseTab('https://example.com', { wait: true })
console.log(await pageInfo())
console.log((await snapshotText()).slice(0, 200))
await completeTaskSpace(task.id, { keep: false })
JS

Alternatives considered

  • Run the agent natively in PowerShell: works around WSL, but gives up the Linux development environment where the repository and toolchain live.
  • Run a separate Linux Chromium inside WSL using #202 or #291: useful as a fallback, but it does not share the Windows ego lite app, UI, profile, or login state.
  • Adapt the Windows preview host in #228 and call it through WSL interop: possible experimentally, but currently unsupported and requires users to assemble and maintain the cross-OS bridge themselves.

Examples or references

Before submitting

  • I searched existing issues and discussions for a similar request.
  • This request describes one focused problem.