Typebulb
Typebulb runs apps in markdown files called bulbs. Bulbs are quick to make & share, run online or locally, and can call an LLM at runtime.
A bulb is a single markdown file with fenced code blocks: TypeScript/TSX code, styles, notes, data, and config. LLMs find the format intuitive — given an example bulb, an AI agent can effortlessly create a new one. You can create and edit bulbs with the AI assistant on typebulb.com, or locally with the typebulb CLI and your own coding agent.
- Runs in the browser: TypeScript/TSX and npm dependencies, nothing to install
- Runtime AI: bulb code calls
tb.ai() or tb.infer() to use an LLM at runtime
- Share a bulb as a link, or run it full-screen at its
/full URL
- Bring your own API keys (OpenAI, Anthropic, Gemini, OpenRouter), or use the rate-limited free models
- View agent conversations with bulbs rendered live inline:
npx typebulb agent (Claude Code and Pi)
Featured bulbs
- Bach — AI composer that creates original music in any style
- Plot — plot an equation you describe in plain English
- Earth — CO2 emissions by country on a globe
- Rocket Balancer — balance an inverted rod with LQR control
- Transformer — watch a transformer learn 2-digit addition in your browser
- Chess Arena — two AI models play a full game of chess
- Invoice Generator — create professional invoices as PDF
All sample bulbs · FAQ · llms.txt