Run OpenAI-style Python in your browser.
Model Coder is an educational sandbox for learning basic OpenAI-style Python coding syntax. It lets you experiment with prompts, responses, streaming, and async patterns in a safe environment.
The app runs entirely in your browser using PyScript for Python execution and a local LLM through wllama. No prompts, code, or output are sent to external services while you use this sandbox.
Use the following parameters to connect to your local model:
http://localwllamakey123smollm2
Prompts are filtered locally using a moderation word list. If a blocked term is detected,
the app returns: I'm sorry. I can't help with that..
To get started, select a sample from the dropdown or write your own code in the editor pane, then click the run button. Check the model status in the top left to see when the model is ready to use. Happy coding!