01
Python developers can use type hints alone to get request validation, serialization, and auto-generated interactive API docs, cutting boilerplate versus Flask-style manual setup.
FastAPI is a free, open-source Python framework for building the behind-the-scenes 'APIs' that let apps talk to each other. Instead of developers manually checking incoming data and writing separate documentation, the framework reads the type labels already written in their code and does both automatically. It also runs faster than older Python tools like Flask. It is used in production by Uber, Netflix, and Microsoft.
FastAPI is an established, production-proven open-source Python framework (adopted by Uber, Netflix, and Microsoft) that reduces the engineering cost of building web APIs. By deriving validation and documentation from type annotations, it cuts maintenance work, most notably eliminating outdated API docs. Teams choosing a framework for new Python services face little risk, though no migration cost figures or benchmark timings are given.
FastAPI is an ASGI framework layering Starlette (routing) and Pydantic (validation, Cython-accelerated) on standard Python type hints, which drive 422 responses, serialization, and auto-generated OpenAPI docs at /docs (Swagger UI) and /redoc. Async (async def) and sync (def) routes are both supported, with built-in dependency injection. Performance claims are qualitative: uvloop/httptools via Uvicorn is said to rival Node's Express and Go's Gin, but no benchmark numbers are given.
02
Anyone running Datasette with datasette-gzip can now serve Server-Sent Events in production without the gzip middleware silently breaking the event stream.
Simon Willison released version 0.3 of asgi-gzip, a small open-source Python library that compresses web traffic to speed it up. It previously broke a technology called Server-Sent Events, which lets a web page receive live updates from a server, by compressing them incorrectly. The fix matters to people running Datasette, his data-exploration tool, whose gzip add-on depends on this library.
This is a minor bugfix release (asgi-gzip 0.3), not a strategic development. The bug broke Server-Sent Events on production Datasette instances using the datasette-gzip plugin, so operators deploying streaming features hit failures. The root cause was a maintenance gap: an automated workflow that syncs fixes from the upstream Starlette project had silently stopped running. Operators can update today; the cost of not doing so is broken streaming endpoints.
asgi-gzip, an ASGI middleware extracted from Starlette, was compressing text/event-stream SSE responses incorrectly; Starlette had fixed the same bug upstream but asgi-gzip's GitHub Actions scheduled workflow that checks for updates had stopped running and missed the port. Version 0.3 integrates that fix, so datasette-gzip and asgi-gzip now handle text/event-stream correctly. No benchmarks or other changes are documented.
03
This article is about testing a new version of Starlette, a tool for building websites, with Claude, an AI system. It shows how these technologies can work together to create smarter and more efficient web applications.
This article discusses experimentation with Starlette 1.0, a Python web framework, in conjunction with Claude skills. The research explores potential applications and integrations of these technologies, highlighting opportunities for enhanced web development capabilities.
The research focuses on Starlette 1.0, a high-performance ASGI web framework for Python, and its integration with Claude skills. It involves testing and implementing AI-driven functionalities within the Starlette framework to enhance web application development.
04
Starlette 1.0 breaks compatibility with training data, but Simon Willison shows Claude can self-generate a Skill from the new release notes to write working 1.0 code.
Starlette, the Python web framework that quietly powers the popular FastAPI, just reached version 1.0. The update changes how apps handle startup and shutdown tasks, so older example code may not work. Because AI assistants learn from older code, Simon Willison taught Claude the new version by having Claude itself build a reference guide, then used it to generate a working task-management app.
Starlette 1.0 shipped in February 2026 with breaking changes, notably replacing on_startup/on_shutdown parameters with an async context manager 'lifespan' mechanism. Since FastAPI runs on Starlette, teams relying on AI-generated code face a training-data gap. Willison's workaround, having Claude build its own Skill document from the repo, offers a repeatable pattern for keeping AI coding current with new framework releases.
Starlette 1.0 (release candidate February 23, 2026) deprecates on_startup/on_shutdown in favor of a lifespan asynccontextmanager. Willison used claude.ai's skill-creator to clone the repo and generate a SKILL.md covering every feature, then prompted a separate chat to build a working app (Starlette 1.0 + aiosqlite + Jinja2), which Claude self-tested via TestClient and httpx against its own API endpoints.
05
Simon Willison's practices, red-green TDD, templates, sandboxing, trusting Opus 4.5 output, give working developers a concrete playbook for safely delegating more code to agents.
Simon Willison spoke at the Pragmatic Summit about how he works with AI coding agents, programs that write code for developers. He says he started letting the AI write most of his code only six months ago, and that Anthropic's Opus 4.5 was the first model he trusts without reading every line. He recommends asking agents to write tests first and says tests are now 'effectively free' and no longer optional. The talk also covers security risks like prompt injection, where tricked AI systems leak private data.
This fireside chat from the Pragmatic Summit offers a benchmark for how experienced engineering teams should run AI coding agents. Willison's core claims: tests are no longer optional because agents can write them cheaply, code quality only matters for long-term maintained projects, and sandboxing is the main safety control since agents can be manipulated via prompt injection. Companies adopting a 'nobody reads the code' approach, like security firm StrongDM, draw his criticism as irresponsible. Teams ignoring these practices risk shipping unverified, insecure code.
Willison describes running every agent session with 'uv run pytest' and a five-token instruction to use red-green TDD, dramatically improving code correctness. He endorses conformance-driven development: for Datasette file uploads, he had Claude build a test suite passing on Go, Node.js, Django and Starlette, then implemented against it. He introduces Showboat, a tool generating markdown records of manual curl-based API testing agents perform. On security he explains the 'lethal trifecta': private data access, exposure to malicious instructions, and an exfiltration vector.