ego (lite) è solo un browser; ego è il tuo agente personale su tutti i dispositivi.
Iscriviti alla lista d'attesa
ego lite vs Playwright MCP

La Migliore Alternativa a Playwright MCP

Playwright MCP exposes browser controls as model-facing tools. ego (lite) gives the agent a browser-native workspace.

ego (lite) completed 93.5% of tasks perfectly in our published benchmark of 31 live-site browser automation jobs, the highest perfect-completion rate measured.

Scelto da sviluppatori di
GoogleAmazonShopifyTikTokHarvardStanfordUSCUCLA

Browser automation benchmark: ego lite vs Playwright MCP

This is agent-driven browser automation on live websites, not a snapshot-and-click loop on a fixture page. Both tools ran the same 31 multi-step tasks: several pages, several decisions, many behind a login. That is the work that turns one MCP tool call per action into a long, expensive chain. Both ran the identical set, so the bars below compare the same jobs.

agent: pimodel: ChatGPT 5.6 Solthinking: max31 tasks

Task completion rate

How often the agent finished the job. Stuck at login, skipped a step, or returned the wrong result: that task is a fail. Higher is better.

ego lite93.5%31 tasks benchmarked
playwright-cli71.0%31 tasks benchmarked

Cost per completed task

What one finished job costs in model spend. Failures still get billed, so they push this number up. Lower is better.

ego lite$1.75
playwright-cli$4.82

Model turns per task

How many times the model had to look at the page and choose the next action. Extra looks mean extra tokens, extra waiting, and extra places to stall. Lower is better.

ego lite30.3
playwright-cli42.8

Average task time

How long a job took from start to finish, on average, including time spent waiting on the model. Lower is better.

ego lite6m 38s
playwright-cli10m 48s

We ran the same 31 browser automation tasks with the same model and judge. A failed task still counts against it.

We measured Playwright through playwright-cli, not the MCP server. MCP uses the same engine and adds one extra round trip per action.

Check the numbers, or rerun the tasks yourselfThe 31 tasks, grading checklists, and raw results are open source. If a number looks off, open the repo.ego-browser-benchmark-framework

Perché ego lite è meglio di Playwright MCP

The difference is the execution surface. MCP makes the model coordinate a tool call for each step; ego (lite) lets the coding agent operate a full browser, compose actions, and return the result. Use the same setup for search, research, extraction, forms, testing, or any web workflow that needs a real session.

93.5% of tasks done perfectly. No other tool tops 84%.

Playwright MCP re-reads the page through a tool call at every step, the browser sits idle while the model thinks, and every extra round trip is another chance for a long task to fall apart. On those 31 jobs, agent-driven Playwright ends 29% of tasks short of a perfect score.

In ego lite, every page reaches your agent as a Snapshot: a compressed accessibility tree with stable @N refs it can act on instantly, several actions per JavaScript turn. The agent spends its time doing the task, not parsing pages: 93.5% of the same 31 tasks end perfect, at the fastest average task time of the five tools measured.

Time to finish a task, shorter is better
398 sego (lite)
648 splaywright-cli
Data source - Task: finish an average live-site job

Multitasking parallelo, esecuzione più veloce

Un server Playwright MCP guida una sola sessione del browser, quindi il lavoro in parallelo significa gestire più configurazioni di server contemporaneamente.

In ego lite non c'è un limite al numero di Space che puoi aprire nello stesso browser: ciascuno esegue la propria attività in contemporanea, guidato dallo stesso agente o da uno diverso, sul proprio profilo Chrome importato. Nessuno di questi ruba mai la scheda che stai usando, e puoi osservare o prendere il controllo di qualsiasi Space in qualsiasi momento.

Basta andirivieni Costi in token più bassi

Ogni azione di Playwright MCP è un andirivieni separato che rinvia il contesto attraverso il modello.

Il tuo agente in ego lite raggruppa più azioni in poche righe di JavaScript per turno. Combinato con l'input Snapshot, la stessa attività si completa con molti meno token in totale.

Claude Code · ego lite
>/ego-browser Add the first product to the cart, then check checkout loads
Bash(
ego-browser nodejs <<'EOF' await openOrReuseTab('localhost:3000') await click('.product-card') await click('.add-to-cart') await click('a[href="/checkout"]') cliLog('checkout loaded') EOF
)
Output:
[t=4480ms] checkout loaded
Done. Both steps work.
─── 1 tool call · 1.1k tokens ───
Claude Code · Playwright MCP
>Add the first product to the cart, then check checkout loads
playwright - browser_navigate (MCP)(url: "localhost:3000")
Page Snapshot
… +224 lines (ctrl+o to expand)
1.6k tokens sent so far
Storefront rendered. Opening the first product.
playwright - browser_click (MCP)(ref: "e18")
Page Snapshot
… +198 lines (ctrl+o to expand)
3.1k tokens sent so far
Product page is up. Now the Add to cart button.
playwright - browser_click (MCP)(ref: "e42")
Page Snapshot
… +205 lines (ctrl+o to expand)
4.9k tokens sent so far
Added. Heading to checkout.
playwright - browser_navigate (MCP)(url: "localhost:3000/checkout")
Page Snapshot
… +231 lines (ctrl+o to expand)
6.8k tokens sent so far
Refs are stale after the navigation. Taking a fresh snapshot.
playwright - browser_snapshot (MCP)
Page Snapshot
… +238 lines (ctrl+o to expand)
9.2k tokens sent so far
Now waiting for the payment form to render.
playwright - browser_wait_for (MCP)(text: "Payment")
Page Snapshot
… +229 lines (ctrl+o to expand)
11.2k tokens sent so far
Confirming the form is actually there.
playwright - browser_evaluate (MCP)(expression: "!!document.querySelector('form#payment')")
Page Snapshot
… +25 lines (ctrl+o to expand)
13.6k tokens sent so far
─── 7 tool calls · 13.6k tokens ───
La stessa attività, lo stesso modello. A sinistra: una chiamata JavaScript raggruppata in ego lite, 1.1k token totali. A destra: Playwright MCP, 7 andirivieni, i token salgono a 13.6k.

Stesso Chrome, nativo per gli agenti

Il server Playwright MCP avvia un browser vuoto che si blocca su SSO, 2FA e captcha.

Built on Chromium, ego lite imports your entire Chrome setup in one click. It works like Chrome, so an agent can start from an authorized session; it does not bypass CAPTCHAs, 2FA, SSO redirects, or any site's access controls. When a challenge appears, pause and let a person complete it or switch to an approved source.

Importazione del profilo Chrome in ego lite: configurazione con un clic con tutti i tuoi accessi

ego lite vs Playwright MCP

Confronto delle funzionalità tra ego lite e Playwright MCP.
Funzionalitàego litePlaywright MCP
Come l'agente agisce su una paginaScrive JavaScript che raggruppa più azioni per turnoUna chiamata di strumento MCP per azione, andirivieni attraverso il modello ogni volta
Costo in token per attivitàPiù basso: input Snapshot più azioni raggruppate, misurato per attivitàPiù alto: ogni passaggio rinvia il contesto attraverso il ciclo MCP
Browser automation on live sites (31-task suite)93.5% perfect, $1.75 per completed task, 30.3 round trips71% perfect, $4.82 per completed task, 42.8 round trips (measured via playwright-cli)
Riutilizza i tuoi login Chrome realiSì, importazione del profilo Chrome con un clic (cookie, sessioni, estensioni)No. Avvia un browser vuoto; l'autenticazione richiede una configurazione manuale per ogni sito
ConfigurazioneInstalla l'app, esegui /ego-browser nel tuo agenteAggiungi Playwright MCP a Claude Code o Codex nella configurazione MCP di ciascun agente, poi gestisci il ciclo di vita del server
Isolamento delle attività in paralleloSì, gli Space eseguono le attività fianco a fianco in un unico browserUna sessione per server; il parallelismo richiede più istanze del server
Funziona anche come il tuo browser quotidianoSì. Tu navighi nel tuo Space, gli agenti lavorano nel loroNo, istanza di browser solo per l'automazione
Competenze riutilizzabili (in arrivo)Distills successful runs into reusable skills for repeat tasks (limited beta)Nessun equivalente integrato
PrezzoGratis, nessun abbonamentoGratuito, open source
Ultimo aggiornamento 30 ago 2026

Una transizione senza intoppi

Hai già Playwright MCP collegato a Claude Code o Codex? Il passaggio richiede pochi minuti e non devi rimuovere nulla.

  1. Scarica ego (lite)

    Scarica ego lite e importa il tuo profilo Chrome con un clic. Login, cookie ed estensioni si trasferiscono insieme.

  2. Esegui il tuo primo task con /ego-browser

    Incolla nel tuo agente

    /ego-browser Apri ego.app e controlla la pagina per errori nella console

    Incolla una frase in Claude Code, Codex o Cursor e premi invio. Nessuna configurazione di server MCP, nessuna modifica JSON, nessuno script di test.

  3. Guardalo in azione
    Panoramica degli Spaces di ego lite con quattro attività di navigazione in esecuzione fianco a fianco: Claude Code che segue il titolo Apple su Yahoo Finance, Codex che filtra le auto per anno su cars.com, Hermes che completa un'attività di back-office SaaS, un utente che effettua scraping su X, e una mano che tocca + per aprire un altro Space

    L'attività viene eseguita nel suo Space, così le tue schede restano intatte. La finestra del browser è reale: guarda in diretta o prendi il controllo in qualsiasi momento. I risultati tornano nella CLI del tuo agente.

Keep Playwright MCP where its tool protocol fits. ego (lite) gives your agent a broader browser path for search, research, extraction, forms, testing, and other web work, without replacing committed Playwright tests.

Quando usare ogni strumento

Scegli ego (lite) se

  • Le tue attività riguardano siti con accesso autenticato: dashboard, back office, tutto ciò che è protetto da SSO o 2FA.
  • Vuoi costi in token più bassi per attività. L'input Snapshot insieme al JavaScript raggruppato batte una chiamata di strumento per azione.
  • Vuoi attività in esecuzione in Space paralleli mentre continui a usare lo stesso browser.
  • Preferisci saltare del tutto le configurazioni del server MCP: installa l'app, esegui /ego-browser, fatto.

Scegli Playwright MCP quando

  • Sei già immerso nell'ecosistema MCP e vuoi un protocollo standard unico su più strumenti.
  • La tua automazione viene eseguita in modalità headless in CI o su un server remoto dove non è disponibile un browser desktop.
  • Hai bisogno di copertura Firefox o WebKit. ego lite è solo Chromium.
  • Stai generando codice di test Playwright consolidato e vuoi che l'agente parli la stessa API.

Dai al tuo agente un browser vero

Gratis, funziona sul tuo Mac e importa il tuo profilo Chrome con un clic. Funziona con Claude Code, Codex, Cursor e qualsiasi agente CLI che scrive codice.

Stai ancora valutando le opzioni? Scopri come si confronta Playwright MCP con gli altri strumenti dello stesso settore.

FAQ

Playwright MCP è il server MCP ufficiale di Microsoft per il framework di automazione Playwright, pubblicato come playwright-mcp (lo troverai scritto anche come mcp-playwright o playwright-mcp-server). Espone le azioni del browser (navigate, click, type, snapshot) come strumenti MCP, così qualsiasi agente compatibile con MCP può operare un browser senza scrivere script di test. Legge le pagine come snapshot dell'albero di accessibilità invece che come screenshot, e include un'estensione Chrome, il Playwright MCP bridge, per collegare il server a una scheda del tuo Chrome in esecuzione. È la risposta predefinita a "come do un browser al mio coding agent": ben mantenuto, gratuito e supportato dal team di Playwright.

Sì, per la navigazione guidata dall'agente. Playwright MCP è un bridge MCP leggero sopra un browser Playwright vuoto; ego lite è un browser completo per agenti: profilo Chrome reale, Space in parallelo ed esecuzione JavaScript raggruppata che riduce i token per attività. Se il tuo obiettivo sono script di test ripetibili e consolidati in CI, Playwright puro resta lo strumento giusto. Consulta la nostra pagina ego lite vs Playwright per quel confronto.

We measured the matchup through playwright-cli, the leaner of Microsoft's two agent interfaces. The MCP server shares the same Playwright engine and adds an MCP tool-call round trip on top of each action. On 31 live-site browser automation tasks, with the same pi agent, the same model (gpt-5.6-sol, thinking effort max), and the same written checklist, ego (lite) finished 93.5% of 31 tasks perfectly on 30.3 model turns at $1.75 per completed task; agent-driven Playwright finished 71.0% across 31 tasks on 42.8 turns at $4.82. The tasks, the checklists, and the raw results are open source in the ego-browser-benchmark-framework repository on GitHub, so every number can be audited or reproduced.

Il percorso abituale è aggiungere Playwright MCP a Claude Code con claude mcp add, e poi mantenere in esecuzione il server Playwright MCP. Il percorso più breve: installa ego lite ed esegui /ego-browser dentro Claude Code. L'agente ottiene accesso Snapshot alle pagine e può eseguire JavaScript nel browser, senza configurazione del server MCP e senza modifiche ai file di configurazione.

Entrambi funzionano. Codex supporta i server MCP, quindi una configurazione Playwright MCP Codex funziona, con lo stesso ciclo di una chiamata di strumento per azione e profilo vuoto. ego lite si collega a Codex nello stesso modo in cui si collega a Claude Code e Cursor: esegui /ego-browser e l'agente guida il tuo browser reale già autenticato. Funzionano anche Gemini CLI, OpenCode e agenti personalizzati interni.

L'estensione Chrome ufficiale collega il server Playwright MCP a una scheda del tuo Chrome in esecuzione, così l'agente può riutilizzare lo stato di login di quella scheda. Risolve il problema del profilo vuoto per una scheda, ma il ciclo resta invariato (una chiamata di strumento MCP per azione) e non c'è isolamento: l'agente lavora nella stessa finestra che stai usando tu. ego lite offre all'agente il tuo profilo completo e i suoi Space, così le attività girano in parallelo senza toccare le tue schede.

Each browser action is a separate MCP tool call, and the model processes the result of every call before making the next one. Long tasks become long chains of round-trips, each carrying context. ego lite reduces the round-trips themselves: the agent batches several actions in one JavaScript execution and reads pages as compressed Snapshots, so the savings compound over a whole task. Across those 31 jobs, agent-driven Playwright averaged 42.8 model round trips per task to ego lite's 30.3, and that gap is most of the cost difference: $4.82 per completed task against $1.75.

Non di default, perché avvia un browser isolato. Puoi indirizzarlo verso un profilo persistente o un endpoint CDP con una configurazione manuale, ma le sessioni continuano a interrompersi con SSO e 2FA. ego lite importa il tuo profilo Chrome una sola volta, e l'agente eredita lo stato di login reale ovunque.

Sì. ego lite è gratuito senza abbonamento, e la shell ego-browser è open source con licenza MIT.

Yes, when you import a Chrome profile you are authorized to use. The agent works from the cookies and sessions already present in that profile, so there is no separate OAuth connector to configure for each site. Credentials stay in the browser context and should never be pasted into the agent's prompt; SSO, MFA, and site policies still apply, and a challenge may require your manual approval.

The agent can read a current compressed Snapshot and use JavaScript to inspect permitted DOM or in-page data when the accessible view omits relevant context. That makes the extraction path explicit, but it is not a guarantee that every shadow root, virtualized row, or hidden control is available. Ask it to verify the visible result and stop when the page cannot support the requested evidence.

Yes. ego lite gives each task its own Space inside one browser, so sessions remain isolated while several jobs run side by side. Keep the task owner and source visible, save artifacts before closing a Space, and do not assume that sharing one Playwright MCP context is safe parallelism—tabs, cookies, and stale assumptions can leak between agents.

No. A normal, user-controlled browser may avoid the blank-profile mismatch that causes extra verification, but ego lite does not defeat Cloudflare, CAPTCHA, rate limits, fingerprint checks, or robots and terms restrictions. If a permitted task reaches a challenge, pause, record the status, and let an authorized person decide whether to complete it or use an official API or licensed source.

ego lite can help an authorized agent read public pages or perform a bounded, user-approved workflow in an existing session, subject to each platform's terms and rate limits. It is not a way to evade login or anti-bot controls, bulk-collect private data, or automate likes, follows, messages, or other engagement at scale. Keep review and a human stop point for any account action.