Last updated
7/2/2025
Get started
WASM Agents
This Blueprint demonstrates how to run AI agents directly in the browser using WebAssembly (WASM) through Pyodide, and the OpenAI Agents Python SDK. Experience the power of Python-based AI agents by writing agents as HTML files which can just be opened and run in your browser, without the need to manually install extra libraries or development frameworks.
Preview this Blueprint in action
Hosted demo
Drag the corner to resize
Step by step walkthrough
Tools used to create
Trusted open source tools used for this Blueprint

WebAssembly
WebAssembly allows you to run code written in several languages to run at near-native speed in web browsers and other environments.
Choices
Insights into our motivations and key technical decisions throughout the development process.
No items found.
Ready? Try it yourself!
System Requirements
OS: Windows, macOS, or Linux. Python 3.10 or higher. Min RAM: 16 GB. Disk space: 32 GB min
Learn MoreHelp Documentation
Detailed guidance on GitHub walking you through this project installation.
View MoreDiscussion Points
Get involved in improving the Blueprint by visiting the GitHub Blueprint issues.
Join inExplore Blueprints Extensions
See examples of extended blueprints unlocking new capabilities and adjusted configurations enabling tailored solutions—or try it yourself.
Load more
Want to build your own Blueprints?
See our guidelines for building a top-notch Blueprint.
Must-haves
Open-source models and tools usage
README, pyproject.toml, and organized folder structure
Demo app (Streamlit or Gradio) or jupyter notebook
Config file for easy customization
CLI support
Nice-to-haves
CPU compatibility for most local setups
Google Colab notebook option
PyPI package availability
Dockerfile for the demo app
Diagram of the Blueprint in the README
Setup and guidance docs using mkdocs