A small coding agent that builds a single-page web app from one prompt, using a model on Modular Cloud's shared endpoints through its OpenAI-compatible API. It's one loop: call the model, run any tool calls it asks for (write_file, read_file), send the results back, and stop when it's done.
# optionally, set up your virtual environment first
pip install openai
export MODULAR_API_KEY=your-key-here