{"repo":"feldroy/air","free":true,"listed":false,"github":"https://github.com/feldroy/air","clone":"git clone https://github.com/feldroy/air.git","description":"The first web framework designed for AI to write. Built on Python, FastAPI, Pydantic, and HTMX. By the authors of Two Scoops of Django.","language":"Python","stars":912,"topics":["fastapi","python","web","starlette","pydantic","ai"],"license":"MIT","category":"ai-agents","readme_excerpt":"The first web framework designed for AI to write. Built on FastAPI, Pydantic, and HTMX. --- Why use Air? - Designed for AI to write - No magic, no implicit behavior. Comprehensive types and docstrings mean AI agents and editors understand the API without external docs - Powered by FastAPI - Your FastAPI knowledge and routes carry over. Serve your API and web pages from one project - Fast to code - Tons of intuitive shortcuts and optimizations designed to expedite coding HTML with FastAPI - Air Tags - Easy to write and performant HTML content generation using Python classes to render HTML - Jinja Friendly - No need to write response class=HtmlResponse and templates.TemplateResponse for every HTML view - Mix Jinja and Air Tags - Jinja and Air Tags both are first class citizens. Use either or both in the same view! - HTMX friendly - We love HTMX and provide utilities to use it with Air - HTML form validation powered by pydantic - We love using pydantic to validate incoming data. Air Forms provide two ways to use pydantic with HTML forms (dependency injection or from within views) - Easy to learn yet well documented - Hopefully Air is so intuitive and well-typed you'll barely need to use the documentation. In case you do need to look something up we're taking our experience writing technical books and using it to make documentation worth boasting about --- Website : Documentation : Source Code : [!CAUTION] Air is in alpha. APIs may change between releases. Installation Install Ai","default_branch":null,"files":null,"tree":[],"storefront":"/r/feldroy","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/feldroy/air/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}