
The full-stack Python framework designed for humans and agents. Follow for development updates. Follow @davegaeddert for more background.
Kansas
Joined July 2024
- Tweets128
- Following1
- Followers79
- Likes3
Plain retweeted
What’s the markdown version of your homepage?
I did this for plainframework.com last week — don’t limit your thinking to docs pages at this point
LLMs.txt is dead and you should still be optimizing content for agents.
cra.mr/optimizing-content-fo…
Plain retweeted
Plain dev used to modify your etc/hosts so you could use myapp.localhost for local dev... turns out this isn't always necessary anymore?!
Importantly, this gets rid of a sudo prompt which agents can get hung up on...
Plain retweeted
I ripped async out of Plain very early on. I'm finally starting to consider how to bring it back...
How about, purely for SSE and websockets?
The plain server is completely vertically integrated now, and you can opt-in to async python *just* for these specific kinds of views 🤔
Plain retweeted
Plain is going postgres-only! I've debated this for a while and, frankly, the only way to really find out is to try it. I think there's a lot to gain.
If I change my mind, it's probably one prompt to successfully bring back mysql and sqlite
Plain retweeted
The plain docs CLI has some new agent tools.
`plain docs --search <term>` finds which module has what you need.
`plain docs <module> --outline` shows all sections.
`plain docs <module> --section <name>` loads just that section.
`plain docs <module> --api` shows the public API surface.
AI agents can discover and read exactly the docs they need, on demand.
Plain retweeted
New healthcheck view built in to Plain!
In settings py:
HEALTHCHECK_PATH = "/up/"
This is mostly intended for deploy tooling, so it skips host validation and most middleware (which can get in the way with internal hostnames etc.)
Plain retweeted
`plain fix` runs linters and formatters for JS in addition to Python
I was using biome, but honestly the ux wasn't feeling quite right for the no-config experience I want... Just switched it to oxc!
Both have a binary version so you don't need node deps
teapawt.org/OxcProject/status/2026…
Announcing Oxfmt Beta
* 100% Prettier Compatibility
* Additional File Formats
* Tailwind CSS Integration
* Import Sorting
* package.json Sorting
* Embedded Language Formatting
* Node.js API
* `--migrate prettier`
* config overrides
* Full IDE support
oxc.rs/blog/2026-02-24-oxfmt…
Plain retweeted
Removed backwards migrations in @plainframework a while ago and haven't looked back
Plain retweeted
Starting to clarify the three tiers of agent & human docs for plain:
1) RULES - applied automatically
2) DOCS - read selectively
3) SKILLS - multi-step agentic workflows
Here's how each works...
Plain retweeted
Been meaning to do this for a while... coming to a @plainframework admin near you
teapawt.org/RhysSullivan/status/20…
Plain retweeted
Trying a new `plain code annotations` check (included in `plain pre-commit`) that enforces type annotations on all function signatures — return types and params, nothing else.
I think this is the 80/20 of missing type coverage and IMO makes for a better IDE/dev experience also. Claude is more than happy to do this work for you, and then type checking with ty is that much better!
Plain retweeted
Added TimeZoneField to Plain Models and the app starter kit.
Stores timezone strings in the DB but gives you ZoneInfo objects in Python. Automatically normalizes legacy names (US/Central → America/Chicago) and includes built-in form choices.
Plain retweeted
Trying to hone in on the Plain brand a bit more. I'm no designer, but I can tell Claude what I like if it gives me some options...
Plain retweeted
Reverse db migrations were removed in @plainframework, so we rely on dev db backup/restore instead. Those backups now track which git branch you were on so it's easier to roll back to specific points in time, like the first backup created on your feature branch.
Plain retweeted
In plain-htmx we now enable @htmx_org reportValidityOfForms by default. Honestly I was reading the docs for something else when it caught my eye, and it basically says you should always use it!
Plain retweeted
I added @mermaidjs_ to the @plainframework docs recently for this reason. Helpful for people and I've found the agent referring to it sometimes which seems like a quick way to refresh its own memory of how things work.
Custom styles help a lot with the end product!
Plain retweeted
As this React2Shell thing is going around, I was a little surprised to get some Sentry errors for FormFieldMissingError in @plainframework.
I think we're going to start catching FormFieldMissingError and return an HTTP 400 (and a warning log) instead of an uncaught exception 500
Plain retweeted
I've spent quite a bit of time making things more type-friendly. The ORM has the most questions remaining (as you'd expect), but in general I think this has led to better APIs in many places.
Ty is still pre-release but I added it to plain-code anyway so apps can get some of the downstream benefits of a more typed framework (catching mistakes!)





















