🤖 Tool-Calling Agent With Local LLM

This interactive web application allows you to experiment with AI agents in your browser, using OpenAI Agents Python SDK and Pyodide. You can customize agent behavior, test different prompts, and see responses in real-time. Check the mozilla-ai/wasm-agents-blueprint GitHub repository for more information.

How it works: this application runs a local agent which can make use of the following tools:

While the former tool is quite trivial and is mainly used to show how to address the "r in strawberry" issue, the latter provides the LLM with the capability of accessing up-to-date information on the Web.

Click "Initialize Pyodide Environment" to set up the Python environment...

🔗 Local LLM Server Configuration

Quick presets:
Quick examples:
🐍 Running Python code...
Initialize the Pyodide environment first, then click "Run Agent" to test the agent