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.
Or read this on Hacker News