Get the latest tech news

WASM Agents: AI agents running in the browser


One of the main barriers to a wider adoption of open-source agents is the dependency on extra tools and frameworks that need to be installed before the agents can be run. In this post, we show how to write agents as HTML files, which can just be opened and run in a browser.

In both cases, the main advantage was that people could run code directly on their devices, more precisely inside their own browsers, thanks to the possibility of exporting marimo notebooks as standalone HTML files powered by WebAssembly and Pyodide. WebAssembly(Wasm) is a binary instruction format that allows code written in languages like C, C++, Rust, and Python to run at near-native speed in web browsers. ollama_local.html: An agent which relies on local models served via Ollama, good for offline tasks or when you don’t want your information to leak to external AI services.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of browser

browser

Photo of AI agents

AI agents

Photo of WASM Agents

WASM Agents

Related news:

News photo

Dust hits $6M ARR helping enterprises build AI agents that actually do stuff instead of just talking

News photo

From chatbots to collaborators: How AI agents are reshaping enterprise work

News photo

Hackers don’t need your employees anymore, AI agents are now doing the dirty work for them