AIToday

LLM browser generates webpages instead of fetching them

Hacker News1h agoSend on LINE
LLM browser generates webpages instead of fetching them

Key takeaway

A new browser application generates webpages using an LLM instead of fetching them over HTTP, allowing users to explore coherent simulated web environments with working links, search, and navigation. The app requires you to configure an LLM provider (such as OpenAI or Anthropic) and stores your API key locally, and it supports customizable "universe rules" so you can change the premises underlying all generated sites.

Summaries like this, in your inbox every morning.

Sign up free →

3 Key Points

  • What happened

    A new browser application uses an LLM (AI language model) to generate webpages on the fly when you enter a URL, rather than retrieving them over the internet. Links, search boxes, and tabs work normally — each navigation generates the next page while maintaining session context like referrer and history to keep the simulated experience coherent.

  • Why it matters

    This demonstrates a novel use of LLMs to create a fully functional browsing experience without real network requests, only connecting to your configured LLM endpoint. For developers and researchers, it opens a way to explore how LLMs can simulate entire web environments and test how coherent and contextually consistent they remain across multiple interactions.

  • What to watch

    The app lets you configure which LLM provider to use (OpenAI's gpt-4o or Anthropic's claude-sonnet-5 are listed examples) and includes an E2E test suite (Playwright + mock LLM). You can also customize "universe rules" in Settings — for instance, rewriting the default rules to generate sites where the Soviet Union still exists — to see how the LLM adapts all generated content to follow new premises.

In Depth

The LLM browser is a desktop application that inverts the traditional web browsing model. When you type an address (for example, google.com), instead of making an HTTP request to a remote server, the app sends a prompt to an LLM endpoint you have configured, and the LLM generates the webpage content as if that site existed. All standard browser features work: you can click links, use search boxes, open multiple tabs, and navigate freely. Each new page is generated with knowledge of the previous page's URL, referrer, and browsing history, allowing the LLM to maintain narrative coherence across an entire browsing session.

To use the app, you open Settings and configure your LLM provider. The available options include OpenAI (with default endpoint https://api.openai.com/v1 and example model gpt-4o) and Anthropic (endpoint https://api.anthropic.com, example model claude-sonnet-5). You then enter your API key, which is stored locally in the app and never exposed in the UI again. Once configured, you can begin typing addresses and exploring the LLM-generated web.

A distinctive feature is the "Universe rules" setting, accessible via Settings → Universe rules. By default, the app generates sites that correspond to the real world. However, you can rewrite these rules to change the entire premise of the generated universe. The documentation provides an example: a universe where the Soviet Union still exists and humanity grows stronger and happier. Once you save custom rules and navigate to any site, the LLM will generate all subsequent pages — including sites, brands, news articles, and search results — consistent with your new universe's premises. Clearing the field restores the default real-world rules.

The project includes a test suite (npm run test:e2e) powered by Playwright and a mock LLM, so developers can run tests without requiring actual API keys or network access. This engineering foundation suggests the creator intended the tool for exploration and experimentation with how LLMs can sustain large-scale, rule-governed simulated environments.

Context & Analysis

This project reimagines web browsing by replacing HTTP requests with LLM-driven generation. Rather than the browser fetching real webpages, it instructs an LLM to produce coherent HTML/content for each URL and interaction, maintaining session state (referrer, history) so that navigation feels natural and the simulated web environment remains internally consistent across multiple clicks and searches. The architecture is minimal — only the LLM endpoint receives requests; the app itself stores the API key locally. This approach sidesteps traditional server-client networking entirely, which may appeal to developers exploring how LLMs can simulate complex, rule-based environments. The "universe rules" feature is particularly notable: by allowing users to redefine the foundational premises (e.g., alternate history scenarios), it demonstrates how LLM-generated content can scale from a single page to an entire coherent world-model that respects user-specified constraints across all subsequent interactions.

FAQ

Which LLM providers does the browser support?
The app supports OpenAI (default endpoint https://api.openai.com/v1, example model gpt-4o) and Anthropic (endpoint https://api.anthropic.com, example model claude-sonnet-5). You configure your choice and API key in the app's Settings.
Can I change how the generated websites behave?
Yes. In Settings under "Universe rules", you can rewrite the default rules to change everything the LLM generates. For example, you can set a universe where the Soviet Union still exists, and all generated sites, brands, news, and search results will follow that new premise.

Get the latest Large Language Models news every morning

AI-summarized, only the topics you pick — one digest a day via Email, Slack, or Discord.

Free · takes 30 seconds · unsubscribe anytime

Discussion

No comments yet. Be the first to share your thoughts!

Log in to join the discussion

Related Articles

Stay ahead with AI news

Get curated AI news from 200+ sources delivered daily to your inbox. Free to use.

Get Started Free

Free · takes 30 seconds · unsubscribe anytime