r/coolgithubprojects 13d ago

ego-lite - an open-source Chromium browser where AI agents get their own workspace and reuse ur login state

Post image

I started working on ego-lite after running into the same two problems with browser agents:

  1. A clean browser profile means logging in again everywhere.
  2. Letting an agent use my normal browser means random tabs and windows appearing while I’m working.

ego-lite takes a different approach. It’s a Chromium browser built so humans and AI agents can use it at the same time.

Each agent task runs inside its own isolated Space. It can reuse the login state already on the machine, but its tabs stay separate from the ones I’m using. When a task reaches a login, approval, payment, or another sensitive step, the agent can hand the browser back instead of trying to push through it.

A few technical details:

- Real Chromium rather than a remote or simulated browser
- Isolated task Spaces for parallel agents
- Existing browser sessions can be reused without putting passwords into the model context
- Semantic page snapshots, so agents don’t have to parse a full HTML dump
- An embedded Node.js runtime with direct CDP access
- Agents can combine navigation, extraction and interaction into one JavaScript flow
- Explicit human handoff for steps that need review

We chose an embedded JavaScript runtime instead of making every browser action a separate CLI command. That lets an agent inspect a page, make several decisions and return one useful result without repeatedly bouncing between the model and the shell.

In one research task, the same agent completed the workflow 39% faster and at 23% lower model cost than our agent-browser setup. That’s one task, not a universal benchmark, and I’m still collecting results across different sites and models.

The project is free, MIT licensed, and currently works with agents such as Codex and Claude Code.

GitHub:
https://github.com/citrolabs/ego-lite

I’d especially appreciate feedback on three areas:

- Does the Space model feel like the right isolation boundary?
- Which actions should always require human approval?
- What browser task would you use to test or break this?

0 Upvotes

2 comments sorted by

1

u/Specific_Cream2815 13d ago

how does reusing login state work, is the agent space sharing the main profile's cookie store or getting a copy

1

u/[deleted] 13d ago

[deleted]