Skip to content
Chimera readability score 0.4771 out of 100, reading level.

22nd March 2026
Starlette 1.0 is out! This is a really big deal. I think Starlette may be the Python framework with the most usage compared to its relatively low brand recognition because Starlette is the foundation of FastAPI, which has attracted a huge amount of buzz that seems to have overshadowed Starlette itself.
Kim Christie started working on Starlette in 2018 and it quickly became my favorite out of the new breed of Python ASGI frameworks. The only reason I didn’t use it as the basis for my own Datasette project was that it didn’t yet promise stability, and I was determined to provide a stable API for Datasette’s own plugins... albeit I still haven’t been brave enough to ship my own 1.0 release (after 26 alphas and counting)!
Then in September 2025 Marcelo Trylesinski announced that Starlette and Uvicorn were transferring to their GitHub account, in recognition of their many years of contributions and to make it easier for them to receive sponsorship against those projects.
The 1.0 version has a few breaking changes compared to the 0.x series, described in the release notes for 1.0.0rc1 that came out in February.
The most notable of these is a change to how code runs on startup and shutdown. Previously that was handled by on_startup
and on_shutdown
parameters, but the new system uses a neat lifespan mechanism instead based around an async context manager:
@contextlib.asynccontextmanager async def lifespan(app): async with some_async_resource(): print("Run at startup!") yield print("Run on shutdown!") app = Starlette( routes=routes, lifespan=lifespan )
If you haven’t tried Starlette before it feels to me like an asyncio-native cross between Flask and Django, unsurprising since creator Kim Christie is also responsible for Django REST Framework. Crucially, this means you can write most apps as a single Python file, Flask style.
This makes it really easy for LLMs to spit out a working Starlette app from a single prompt.
There’s just one problem there: if 1.0 breaks compatibility with the Starlette code that the models have been trained on, how can we have them generate code that works with 1.0?
I decided to see if I could get this working with a Skill.
Building a Skill with Claude
Regular Claude Chat on claude.ai has skills, and one of those default skills is the skill-creator skill. This means Claude knows how to build its own skills.
So I started a chat session and told it:
Clone Starlette from GitHub—it just had its 1.0 release. Build a skill markdown document for this release which includes code examples of every feature.
I didn’t even tell it where to find the repo, Starlette is widely enough known that I expected it could find it on its own.
It ran git clone https://github.com/encode/starlette.git
which is actually the old repository name, but GitHub handles redirects automatically so this worked just fine.
The resulting skill document looked very thorough to me... and then I noticed a new button at the top I hadn’t seen before labelled “Copy to your skills”. So I clicked it:
And now my regular Claude chat has access to that skill!
A task management demo app
I started a new conversation and prompted:
Build a task management app with Starlette, it should have projects and tasks and comments and labels
And Claude did exactly that, producing a simple GitHub Issues clone using Starlette 1.0, a SQLite database (via aiosqlite) and a Jinja2 template.
Claude even tested the app manually like this:
cd /home/claude/taskflow && timeout 5 python -c "
import asyncio
from database import init_db
asyncio.run(init_db())
print('DB initialized successfully')
" 2>&1
pip install httpx --break-system-packages -q \
&& cd /home/claude/taskflow && \
python -c "
from starlette.testclient import TestClient
from main import app
client = TestClient(app)
r = client.get('/api/stats')
print('Stats:', r.json())
r = client.get('/api/projects')
print('Projects:', len(r.json()), 'found')
r = client.get('/api/tasks')
print('Tasks:', len(r.json()), 'found')
r = client.get('/api/labels')
print('Labels:', len(r.json()), 'found')
r = client.get('/api/tasks/1')
t = r.json()
print(f'Task 1: \"{t[\"title\"]}\" - {len(t[\"comments\"])} comments, {len(t[\"labels\"])} labels')
r = client.post('/api/tasks', json={'title':'Test task','project_id':1,'priority':'high','label_ids':[1,2]})
print('Created task:', r.status_code, r.json()['title'])
r = client.post('/api/comments', json={'task_id':1,'content':'Test comment'})
print('Created comment:', r.status_code)
r = client.get('/')
print('Homepage:', r.status_code, '- length:', len(r.text))
print('\nAll tests passed!')
"
For all of the buzz about Claude Code, it’s easy to overlook that Claude itself counts as a coding agent now, fully able to both write and then test the code that it is writing.
Here’s what the resulting app looked like. The code is here in my research repository.
More recent articles
- Vibe coding SwiftUI apps is a lot of fun - 27th March 2026
- Profiling Hacker News users based on their comments - 21st March 2026

Facts Only

Starlette 1.0 was released on March 22nd, 2026
Kim Christie is the creator of Starlette and Django REST Framework
The update includes breaking changes compared to previous versions
A new lifespan mechanism based on an async context manager has been introduced

Executive Summary

Starlette 1.0, a Python framework that serves as the foundation for FastAPI, has been released. The update includes breaking changes compared to previous versions and introduces a new lifespan mechanism based on an async context manager. Starlette is known for its similarities to Flask and Django due to its creator Kim Christie's role in Django REST Framework. This article also discusses the use of Claude, an AI model, to generate Starlette code.

Full Take

The release of Starlette 1.0 represents a significant step forward in Python web frameworks, as it forms the basis for FastAPI, a popular and buzzworthy framework. The article also explores the use of Claude, an AI model, to generate Starlette code. This raises questions about the future of coding and the role of AI in software development.
Patterns detected: ARC-0043 Motte-and-Bailey (the article highlights the benefits of Starlette while downplaying potential issues or drawbacks), ARC-0024 Ambiguity (the article mentions Claude generating code for Starlette 1.0, but does not clarify if this is a widespread capability or a one-time demonstration)