Build faster. Understand what ships. Foldkit is a TypeScript frontend framework built on @EffectTS_. Created by @devinjameson.foldkit.dev USAJoined May 2026
Goal is to get the preview release I’ve been teasing out tomorrow (Saturday). Posting for accountability :)
The new APIs will be good. The docs (for the preview release) will be unreviewed slop. Better to get it out though!
Quick overview:
The architecture will stay the same. The way you compose the pieces (Model, Message, update, view, Commands, Subscriptions, etc.) will change.
The new Block primitive replaces Submodel. Think of a Block as a mini Foldkit program. Parent Blocks bind child Blocks and define how they connect, like a socket and plug.
This streamlines a lot of the boilerplate you see in larger Foldkit applications. Block provides more explicit structure for how your application fits together, which feels very “Foldkit” to me!
Type inference is a lot better. Instead of repeatedly annotating Model and Message types, you define a Block in one place with its Model and Message Schemas, then use that to create the other pieces of the Block (update, view, etc.). It reads quite nicely!
Sharing the counter example here to give you a sense of the new APIs. This doesn’t show off all the cool new Block stuff, but it does (I hope) show how things have been streamlined.
There’s a lot more, but this message is already long and it’s nearly 2 AM, so I’ll leave it there for now. Thanks!
I think “clean code” is just a bad term. Overloaded, subjective, and purity-coded. One person’s clean code is another person’s slop.
What matters today is standardized, highly constrained architecture, where strong conventions enable agent productivity.
Your agent should never be deciding between several state management solutions, several UI libraries, several observability tools.
For a web application, just use @EffectTS_. Just use @alchemy_run. Just use @foldkit. I think this is the future. Let your agent run wild within a system that ensures architectural sanity and offers powerful, built-in observability, inspectability, and testing capabilities.
And there’s no reason agents can’t write code that’s inspectable and understandable by humans. We can have our cake and eat it, too.
In fact, verifiability is a requirement in many domains. I’ve worked in security and healthcare, and there’s no way I’m shipping code I can’t verify. I’m responsible if someone gets the wrong medication, or someone with a knife gets through a security checkpoint, because of my code.
it's very interesting how many replies i've gotten about maintainability and clean code being still important. i would argue that that is no longer true and we all need to update our priors on what Good Code really means in 2026.
clean code has always come at a cost -
🎛️ Foldkit Dials: a lil port of @joshpuckett's Dialkit to align with Foldkit/TEA
I made this a few days ago, but after making Pleat today everything is making sense: your tweakable params are centralized in your Model, and can be Styles themselves, or can be safely transformed into Styles downstream 🪄
github.com/Manzanita-Rese…
Benefits of the CAFE stack (@Cloudflare + @alchemy_run + @foldkit + @EffectTS_) for building software with coding agents:
1. Agents invent less architecture. They focus on product-level execution within a well-defined architecture. You build faster, with more confidence. You focus on what makes your product unique.
2. Your codebase becomes semantically rich. Intent and meaning are explicit rather than left for future agents to infer. Each new agent spends fewer tokens reconstructing intent.
3. Tests read like executable behavioral specs. Expected behavior is easy to inspect, and both humans and agents can verify implementations against it.
4. Strong conventions result in remarkably legible AI-generated code. Agents do what you expect more often, with less steering. The codebase feels consistent and predictable.
5. Explicitness makes behavior clear. Unexpected magic has fewer places to hide. Diffs are easier to review. Yes, it’s more LoC, but who cares when you’re not writing it by hand?
.@alchemy_run + @Cloudflare is undefeated for iteration speed
like you don't even need a dev server (though of course alchemy has one) just deploy straight to the cloud it's so fast
Streaming today at 2:30 PM ET with @maxwellbrown of @EffectTS_ and @samgoodwin89 of @alchemy_run.
We’ll be having some fun building with the CAFE stack and probably getting distracted. Come hang out!
(will repost with the link)
Foldkit 0.167.0 is now available on everyone’s favorite JavaScript package registry!
- SSR without HTML templates
- New @foldkit/node adapter for SSR
- VirtualList improvements for chats and feeds
- Update keyed Submodels with foldChildAt
- Browser Stream helpers moved to the Dom module
Details and VirtualList chat demo:
foldkit.dev/blog/foldkit-0…
Tardigrades survive space, boiling, and freezing.
This one survives `ctx.abort()`
Kill it N times while it works, and it comes back and ships the commit anyway..
@pidotdev durable + @EffectTS_ v4 + @foldkit on @Cloudflare Durable Objects
github.com/acoyfellow/tar…
@EffectTS_ Boston meetup?!!?!
Would love to make it happen.
If you’re in Greater Boston and would come (or know of companies in Boston using Effect I can reach out to), reply or DM me so I can get a sense of whether there’s enough interest.
Foldkit 0.164.0 is out!
- New Meter and Progress components in Foldkit UI
- Automatic DevTools MCP discovery
- Simpler hydration setup
- More Scene queries
- Foldkit UI fixes
Thanks to everyone who contributed code, ideas, and bug reports!
foldkit.dev/blog/foldkit-0…
388 Followers 4K FollowingBuilding stuff 🏡 🗺 🚀 I like cars, coding, art, design, photography, music, architecture, ferroequinology and a good old lol. lol.
75 Followers 181 FollowingHighly passionate about applying high performance, highly scalable and secure systems to solve real problems and innovate. CTO, senior developer, adventurer.
36 Followers 60 FollowingProduct focused software developer
Team Lead at @thoughtbot
Host of the Trying to Build Good Things podcast https://t.co/JY9bK7f7Wo
77K Followers 1K FollowingArmin's handler at https://t.co/B05ybKGkzx. Old man yelling at Claudes.
https://t.co/Q1wG57v1yc
https://t.co/mnOoWUr0TO
https://t.co/8i5vIRE0Wn
7K Followers 1K FollowingI make open source dev tools at https://t.co/lrm2L4SCse like mise, aube, fnox, hk, mbx, pitchfork. Previously I wrote the heroku cli and oclif. ex-amazon/meta.
74K Followers 248 FollowingDysfunctional Programming account #1. Senior SWE. I still write C++ for money. ex-Haskell, ex-OCaml. All opinions are my own.
167K Followers 840 FollowingI help dev teams be insanely productive with AI.
Courses: https://t.co/D5emROQHUh & https://t.co/6L1fD89GbP
Consulting: https://t.co/Qfp4TfpB8N ⚛️
305K Followers 3K FollowingArea Tech Lead, AI & Web Ecosystem @chrome, Formerly Sr. Director of Core Infra @google • O'Reilly Author • https://t.co/HhzYWwxYAH • Opinions my own
2K Followers 5K FollowingProgrammer into FP, Haskell, Rust, PureScript, OCaml, TypeScript and music (prog rock/metal, jazz fusion), mountains, hiking, grassroots motorsports, etc.
6K Followers 5K FollowingAI made speed common. Craft is the edge.
Founder & CEO / Design Engineer, @GProductionsJP
Built OpenSTF (13k+ stars)
元サイバーエージェント(15年間)
署名できる仕事だけを。日本の創造力を、世界へ。
91K Followers 2K Followingopen source code | @neovim core | @terminaldotshop btw | ✝️
father of 3, dad jokes my own
https://t.co/jKpcjsTqBE | https://t.co/zb8zDKmSwG