Asks for Foldkit's aha moment; replies cite explicit reducer transitions, agent devtools for state inspection, Scene tests, and the Elm Architecture in TypeScript.
@MichaelArnaldi: @mattpocockuk Work on it with agents, connect them to the devtools to inspect state, do scene testing, you won鈥檛 have many aha moments but you鈥檒l have no wtf moment 104 likes
@elianiva_: @mattpocockuk the elm architecture, but with typescript and effect
there's not that many aha moments, for me it's more like damn why didn't i do this sooner
it feels correctly designed for agents end to end, everything is visible to them including state transitions 20 likes
@RelevantElement: @mattpocockuk Imagine DDD on the app level. And every state transition is explicit, semantic, traceable.
Imagine useReducer was the core of your app/framework.
It just makes everything more predictable. More domain-shaped. More about the semantics of your application, and less about where 9 likes
@makisuo: @natebirdman @foldkit Oh yeah for sure would be 10x faster, was even surprised foldkit was faster at all.
Mostly wanted to do this migration since Foldkit fits my philosophy of building software and my stack a lot better and already build some other things on it and just knew it would make building 11 likes
@natebirdman: @makisuo @foldkit If you spent 3 days with Claude optimizing React don鈥檛 you think you鈥檇 be a lot faster than this? 5 likes
Open-source pixel zombie shooter built with Foldkit and Effect on Cloudflare: seed-replayable games, server-run co-op on Durable Objects, art drawn in code.
effect-harness adds a Cloudflare example deployed with Alchemy: the agent loop runs remotely, clients message it from another machine, and each tool runs separately.
@ozyman42: @JuliaScript @alchemy_run @EffectTS_ Thanks for effect-harness!!
I really want to bring effect stuff into convex more. I'm going to see if i can combine your work and confect.
convex as the runtime and storage and having it init compute on the fly to run the agents would have some nice properties. 1 likes
Canary packages preview Block composition and handler Layers: apps compose Blocks and pass the root ApplicationBlock to Program.make. APIs may change before stable.
Cloudflare's Workers docs now cover Foldkit: start with create-foldkit-app, then configure Wrangler for single-page, static or server-rendered apps on Workers Assets.
Puts agents in Slack, GitHub and Linear without losing a message: durable, ordered webhook mailboxes on Effect 4, with Durable Objects storage through Alchemy.