Run AI Agents Directly in Your Browser with Wasm-agents

Wasm-agents aims to revolutionize open-source agent accessibility by packaging them as HTML files runnable directly in your browser, eliminating the need for external tools or frameworks. Leveraging WebAssembly and Pyodide, this project enables near-native speed execution of Python-based AI agents within a browser sandbox. Currently supporting OpenAI APIs and self-hosted models (like those served via Ollama), Wasm-agents provides example HTML files demonstrating simple conversational agents, multi-agent systems, and advanced agents with built-in tools. While limitations exist, such as reliance on the openai-agents framework and CORS considerations, this project offers a novel approach to AI agent development and sharing, ripe for exploration.