Skip to content

plasmate-labs/replit-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Plasmate on Replit

Try Plasmate - the browser engine for AI agents - right in your browser!

Run on Replit

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

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors