{"slug": "air-a-python-web-framework-designed-for-ai-to-write", "title": "Air: A Python web framework designed for AI to write", "summary": "Air, a Python web framework built so that AI coding assistants generate less code, has launched with a design centered on single-file apps, explicit behavior, and full compatibility with formatters, linters, and type checkers. The project's first sprint in Davao, Philippines drew 50 developers contributing to Air and Pandas, and Air's creators say the framework will remain free and open-source software with no hosting platform of its own, contrasting it with Next.js's tie to Vercel and Gatsby's absorption by Netlify. Air runs anywhere Python runs, from a $2.50 VPS to a Raspberry Pi, and its organizers plan paid local workshops and coding-sprint conferences priced for local economies.", "body_md": "AI-First · Human-Writable · Python\n\nEvery framework claims AI compatibility. Air was architected for it. Semantic, minimalist, readable enough to write by hand.\n\nYou prompt your AI: \"Build me a web app with a contact form.\"\n\n                It generates React. Now you're reviewing webpack configs, npm dependencies, hydration logic, state management. **For a contact form.**\n\nAir is different. One file in, one file out. The AI generates less, you review less, and it runs in minutes.\n\nPick your style.\n\n``` python\nimport air\n\napp = air.Air()\n\n@app.page\ndef index():\n    return air.H1(\"Hello, Air\")\npython\n# main.py\nimport air\nfrom air.requests import Request\n\napp = air.Air()\njinja = air.JinjaRenderer(directory=\"templates\")\n\n@app.get(\"/\")\ndef index(request: Request):\n    return jinja(request, name=\"index.html\")\nphp\n<!-- templates/index.html -->\n<h1>Hello, Air</h1>\n```\n\nRun it: `air run`\n\nOur engineering decisions center around making AI generate better code.\n\nEvery function has clear parameter descriptions and working examples. LLMs understand Air without external documentation lookups.\n\nFormatters, linters, and type checkers work completely. AI produces substantially better code when tooling catches errors in real-time.\n\nWrite HTML as Python with Air Tags—or have AI generate beautiful HTML and drop it in as a Jinja template. Both integrate seamlessly.\n\nNo magic. No implicit behavior. `air.H1(\"text\")` does exactly what it looks like. The AI doesn't have to guess.\n\nWeb apps in as few files as possible. Less code means less potential for generated code that doesn't work.\n\nThe best framework for **AI** to understand is also the best framework for **humans** to understand.\n\nHere's what you get.\n\nWe didn't build Air in San Francisco and hope it reaches the rest of the world. We started where web frameworks' creators don't normally go, to ensure Air is built for global use cases from the beginning.\n\nOur first sprint in Davao, Philippines was packed to max capacity. 50 developers contributing to Air and Pandas. Almost everyone stayed to the end. The pull requests they submitted were technically stronger than what we've seen at PyCon US sprints.\n\n**Air is proudly Filipino and American, like us. With more countries becoming part of its global DNA as we raise the funds to travel.**\n\nSprints running\n\n600 miles from the capital\n\n5 hours by bus into the mountains\n\nSponsor a sprint\n\nAir is truly free software. You can run it anywhere Python runs. A $2.50 VPS. A Raspberry Pi. Your company's existing infrastructure. You'll never be locked into a hosting platform because we're never building one. It's fundamental to Air's vision for it to run everywhere.\n\n                The sad state of today's popular web frameworks is that they've become hosting funnels. **Next.js funnels you to Vercel. Gatsby got absorbed by Netlify.** That's the venture-scale business model VC's want, and it's turning the internet into something many communities can't afford.\n            \n\nAir is committed to staying FOSS (Free and Open Source Software). Now and forever. And we're building more than just code. Volunteer-run communities collapse from burnout. We're designing Air to sustain itself.\n\nOpen curriculum anyone can teach. Organizers run paid workshops and keep their local programs alive—no more depending on volunteers who eventually exhaust themselves.\n\nDeveloper conferences with actual coding sprints, not just talks. Priced for local economies. Designed so the people who attend can run the next one.\n\nThe best way to shape a framework is to build with it.", "url": "https://wpnews.pro/news/air-a-python-web-framework-designed-for-ai-to-write", "canonical_source": "https://airwebframework.org/", "published_at": "2026-10-19 05:05:22+00:00", "updated_at": "2026-10-19 05:18:57.284816+00:00", "lang": "en", "topics": ["developer-tools", "ai-tools", "ai-products"], "entities": ["Air", "Python", "Pandas", "Vercel", "Next.js", "Gatsby", "Netlify", "Davao"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/air-a-python-web-framework-designed-for-ai-to-write", "markdown": "https://wpnews.pro/news/air-a-python-web-framework-designed-for-ai-to-write.md", "text": "https://wpnews.pro/news/air-a-python-web-framework-designed-for-ai-to-write.txt", "jsonld": "https://wpnews.pro/news/air-a-python-web-framework-designed-for-ai-to-write.jsonld"}}