An open API service indexing awesome lists of open source software.

https://github.com/plasmate-labs/replit-template

Try Plasmate in your browser. Replit template for the browser engine for AI agents.
https://github.com/plasmate-labs/replit-template

ai-agents browser-engine demo plasmate replit som template

Last synced: 9 days ago
JSON representation

Try Plasmate in your browser. Replit template for the browser engine for AI agents.

Awesome Lists containing this project

README

          

# Plasmate on Replit

Try [Plasmate](https://plasmate.app) - the browser engine for AI agents - right in your browser!

[![Run on Replit](https://replit.com/badge/github/plasmate-labs/replit-template)](https://replit.com/github/plasmate-labs/replit-template)

## Run It

1. Click the **Run on Replit** badge above (or fork this Repl)
2. Hit the **Run** button
3. See the SOM output for Hacker News
4. Change the `URL` variable in `main.py` to any website
5. Run again!

## What's Here

- `main.py` - Fetch a single page and explore the SOM structure
- `compare_tokens.py` - Compare HTML vs SOM token counts (uses tiktoken)
- `batch_demo.py` - Fetch multiple URLs and compare compression ratios

## What is Plasmate?

Plasmate is a browser engine that outputs semantics instead of pixels. It compiles HTML into a Semantic Object Model (SOM) that AI agents can understand directly.

- 16.6x fewer tokens than raw HTML
- 50x faster than Chrome headless
- 30MB memory vs Chrome's 300MB+
- Apache 2.0 open source

## Links

- [Website](https://plasmate.app)
- [GitHub](https://github.com/plasmate-labs/plasmate)
- [Documentation](https://docs.plasmate.app)
- [W3C Community Group](https://www.w3.org/community/web-content-browser-ai/)