跪拜 Guibai
← All articles
Frontend · Testing · Agent

ego-lite: A Browser Where AI Agents Share Your Chrome Login Without Stealing Your Tabs

By 狂师 ·
Read original on juejin.cn ↗ Google Translate ↗ Alt translation

Login state has always been the first and hardest blocker in web automation, whether you're testing internal tools or evaluating AI agents. ego-lite removes that wall by handing agents a real, authenticated session inside your own browser, so they can work alongside you instead of in a separate, sandboxed process that trips risk controls.

Summary

ego-lite, from Citro Labs, is a desktop browser built for human-AI agent collaboration. It runs on macOS (Apple Silicon and Intel) and Windows, with Linux on the roadmap. The browser imports your entire Chrome profile, including passwords, cookies, login sessions, extensions, and bookmarks, so agents get a real, trusted session instead of a blank headless context.

Agents execute tasks in separate 'Spaces' — isolated workspaces that don't interfere with your own browsing tabs. You can watch or take over at any time to handle CAPTCHAs or sliders. The built-in ego-browser skill lets you issue natural-language commands like '/ego-browser open the issues page and extract the last 10 titles', and the agent opens its own Space, does the work, and returns results.

The project has 18,373 stars since April, with v2.1.0 released October 16. It's free, MIT-licensed, and stores all data locally. The developers claim it's 47–63% faster than playwright-cli on 31 real-world tasks, though that benchmark isn't independently verified.

Takeaways
— ego-lite is a Chromium-based browser from Citro Labs, MIT-licensed, free, no subscription.
— It imports your entire Chrome profile: passwords, cookies, login sessions, extensions, bookmarks, via one click.
— Agents run in isolated Spaces, multiple parallel tasks without touching your tabs.
— The ego-browser skill accepts natural-language commands; no CDP or webdriver scripts required.
— Uses Chromium native snapshotting to handle Shadow DOM, cross-origin iframes, and third-party components.
— All data stays local; no cloud upload; no account needed; you bring your own model API key.
— Current platforms: macOS (Apple Silicon and Intel) and Windows; Linux is on the roadmap.
— As of writing: 18,373 stars, repo opened April, v2.1.0 released October 16.
— Claims 47–63% faster than playwright-cli on 31 real website tasks (unverified).
— Install via DMG/exe, npx skills add citrolabs/ego-lite, or let Claude Code install directly.
— For Claude Code: use Code mode, enable bypass permissions, or launch with --dangerously-skip-permissions.
— Complements Playwright: good for exploratory testing, background page checks, agent evaluation; Playwright for CI regression.
Conclusions

The core win is not a new automation syntax but the decision to reuse a human's real, trusted session instead of spinning up clean headless instances that risk controls flag.

Two mental models from the article generalize: login state is a test asset, and letting an agent execute a whole program in one shot costs far less than step-by-step prompts.

If the speed claim holds, it likely stems from reducing LLM tool calls via batch page operations and native snapshots, not from faster browser internals.

The tool positions itself as complementary to Playwright, targeting exploratory and human-in-the-loop testing, where maintaining selectors and session state is the real cost.

Concepts & terms
Space
An isolated workspace inside ego-lite where an AI agent runs a web automation task. Each task gets its own Space, separate from your main browsing tabs, so agents can run in parallel without interfering with your work.
ego-browser skill
A skill installed into agent toolkits (like Claude Code's ~/.claude/skills) that lets you command the browser via natural language. It translates requests into browser operations and exposes functions like useOrCreateTaskSpace and snapshotText.
Semantic snapshot
A page snapshot generated at the Chromium kernel level, reading the DOM directly rather than via JavaScript selector injection. This lets ego-lite reliably recognize Shadow DOM, cross-origin iframes, and complex third-party components.
Source: juejin.cn ↗ Google Translate ↗ Backup ↗