frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

I built an Android-like OS that runs in the browser

1•haozaz•45m ago
After burning through tens of billions of tokens, I built an Android-like OS that runs entirely in the browser

The title is a bit clickbaity, but it is not that far from what actually happened.

Over the past few months, we built MobileGym: a fully browser-based, Android-like simulation environment implemented in TypeScript + React.

It currently includes 28 simulated apps, including WeChat, Alipay, Xiaohongshu/RED, bilibili, X, Reddit, WeChat Read, China Railway 12306, Tencent Meeting, Spotify, and eBay, plus system apps such as Home, Settings, Contacts, Messages, Photos, Calendar, Files, and Browser.

The system supports Xiaomi theme packs and custom widgets. We also reimplemented a number of Android-like system mechanisms directly in the browser, including the Activity stack, Intents, gesture navigation, back handling, and soft keyboard behavior.

MobileGym was originally built for GUI agent research, but it is also open for anyone who wants to play with it, study Android-like UI/system mechanisms, or fork the code and build something else on top of it.

Online demo: https://mobilegym.dev GitHub: https://github.com/Purewhiter/mobilegym

Features

Lightweight and highly concurrent A single MobileGym instance uses only around 400 MB of memory, compared with roughly 4–10 GB for a typical Android emulator. A single server can run hundreds or even thousands of environment instances in parallel.

416 task templates The task templates are parameterized, so they can generate an effectively unlimited number of task instances. Evaluation is deterministic and finishes in milliseconds, without relying on LLM-as-a-judge.

Sim-to-real transfer that actually works In our tests, models trained with GRPO-style reinforcement learning in the simulated environment transferred more than 95% of their gains to real devices.

Easy to extend MobileGym is designed to be extensible. Adding a new app only requires creating a folder and a manifest file. Adding a new task only requires writing a Python class, and the shortest tasks can be implemented in as little as three lines of code.

Fully sandboxed, with no real-world consequences MobileGym does not connect to real services, transfer real money, or send real messages. You can safely click around without worrying about side effects.

Although the project started as infrastructure for GUI agent training and evaluation, it ended up becoming a fairly complete browser-based Android-like playground. Would love to hear feedback from anyone who finds this useful, interesting, or just fun to play with.

Comments

functionmouse•23m ago
least likely to exist in 2 years award

Hold on for Dear Life

https://pluralistic.net/2026/05/28/we-live-in-a-society/
2•hn_acker•51s ago•0 comments

St Louis FED president: Risky to rely on AI productivity to ease inflation

https://www.reuters.com/markets/us/feds-musalem-says-its-risky-bet-that-ai-will-ease-inflation-20...
1•root-parent•2m ago•0 comments

Show HN: Free client-side territory planner for sales engineering teams

https://www.jasonlanders.com/field-ready/se-coverage-planner/
1•3DdataViz•3m ago•0 comments

The Unsolved Lollipop Problem [video]

https://www.youtube.com/watch?v=v8e-tYey7ts
1•fuglede_•5m ago•0 comments

Elixir and Phoenix Context for Claude Code, Codex, OpenCode and Pi

https://phxagents.dev/
1•jamiecurle•6m ago•0 comments

Luddite Lab

https://labor.dair-institute.org/
1•cratermoon•7m ago•0 comments

Bitburner, programming-based incremental game

https://bitburner-official.github.io/
2•agmater•8m ago•1 comments

Moving from Bitwarden to Proton Pass

https://rewiring.bearblog.dev/moving-from-bitwarden-to-proton-pass/
1•Mossy9•8m ago•0 comments

Visa invests in Replit to power agentic payments for developers

https://techcrunch.com/2026/05/28/visa-invests-in-replit-to-power-agentic-payments-for-developers/
1•kunalsin9h•10m ago•0 comments

Code review should be fast

https://linear.app/now/code-review-should-be-fast
1•Master_Odin•11m ago•0 comments

Singaporean turns disposable chopsticks into furniture (2022)

https://cnalifestyle.channelnewsasia.com/women/women-sustainability-chopvalue-evelyn-hew-recycled...
1•NaOH•12m ago•0 comments

I hated writing–until I learned there's a science to it(2024)

https://www.science.org/content/article/i-hated-writing-until-i-learned-there-s-science-it
2•o4c•15m ago•0 comments

Renewable energy is overtaking traditional power projects across Africa

https://apnews.com/article/solar-battery-renewable-africa-hydro-6bdcc8449fd19fe0108eac827e0bd170
1•epistasis•15m ago•0 comments

Show HN: Flet Studio – build cross-platform Python apps in the browser

https://flet.app
1•appveyor•15m ago•0 comments

One year of Ruby on Rails configuration

https://island94.org/2026/05/one-year-of-ruby-on-rails-configuration
1•thunderbong•16m ago•0 comments

Big Subsidies for Google, Limited Water for Locals: The Dilemma of AI in India

https://www.wsj.com/tech/ai/big-subsidies-for-google-limited-water-for-locals-the-dilemma-of-ai-i...
3•1vuio0pswjnm7•18m ago•0 comments

Show HN: I let 10 LLMs hire each other in USDC to stress-test my protocol

https://tournament.swarmwage.com
2•lucianocccc•18m ago•1 comments

Robinhood's bet on agentic trading and purchasing is 'wake-up call' for banks

https://www.americanbanker.com/payments/news/robinhood-launches-agentic-trading-and-an-agentic-cr...
1•paulpauper•20m ago•0 comments

Cybersecurity challenge: be nice to each other [IMPOSSIBLE]

https://sdomi.pl/weblog/29-please-do-better-thanks/
1•caminanteblanco•21m ago•0 comments

I made my phone slow on purpose

https://vinewallapp.com/notes/i-made-my-phone-slow-on-purpose/
2•gcampos•21m ago•0 comments

Where is AI in GDP statistics?

https://www.piie.com/publications/policy-briefs/2026/where-ai-gdp-statistics
3•paulpauper•21m ago•0 comments

Show HN: Py-SQL-cleaner – format SQL embedded in Python strings

https://github.com/enumura1/py-sql-cleaner
1•enumura•21m ago•0 comments

Attention Spans Aren't Shrinking

https://cognitivewonderland.substack.com/p/attention-spans-arent-shrinking
1•paulpauper•22m ago•1 comments

The Architectural Transvestism of the Cupertino Fruit Company

https://aermia.com/u/NancySadkov/p/on-the-architectural-transvestism-of-the-cupertino-fruit-company
1•NancySadkov•22m ago•1 comments

Fatou Bensouda on Israeli threats against her and the ICC

https://www.aljazeera.com/video/talk-to-al-jazeera/2026/5/24/fatou-bensouda-on-israeli-threats-ag...
1•root-parent•22m ago•0 comments

Interviewing in the Age of AI

https://www.dein.fr/posts/2026-05-28-interviewing-in-the-age-of-ai
2•gregdoesit•24m ago•0 comments

Psychopathy: Some experts now say it doesn't exist – may be looking at it wrong

https://theconversation.com/psychopathy-some-experts-now-say-it-doesnt-exist-heres-why-we-may-be-...
1•choult•24m ago•0 comments

Chrome extension for walk-friendly Google Meet

https://chromewebstore.google.com/detail/walkr/pnhgbbbhapdjhcjffkfbogfpeknehlkp
1•vincouvert•24m ago•0 comments

Ask HN: What Is an "AI Engineer"?

2•seattle_spring•25m ago•1 comments

MySQL Time-Travel Queries Using Indexed Binlogs

https://www.infoq.com/news/2026/05/bintrail-mysql-timetravel/
2•nethalo•27m ago•0 comments