
Building AI agents the functional way: typed effects, errors and capabilities. Fractional CTO, eng manager in fintech. Scala/ZIO · TypeScript/Effect.
Reggio Emilia, Italy
Joined September 2009
- Tweets516
- Following4.9K
- Followers351
- Likes412
Riccardo Merolla retweeted
sorry this took so long (I've been a little busy)
effect.institute is open source now. feel free to fork it, create your own lessons, or finish the ones I never got around to 😅
there's a bunch of tooling/skills for recording/editing audio + sync'd code animations.
Riccardo Merolla retweeted
Effect Oriented Programming is winning! Long ago John and others (many in the Scala community) had a vision for a future of better software. This is being realized with different foundations, but as offshoots of the work John began. I'm grateful that @EffectTS_ and @foldkit are enabling a whole new generation of better software. In the AI era, the traditional hurdles are gone. Everyone can now quickly build better software. Exciting times!
You have no idea how good @foldkit is.
But the below should give you a little hint. 👇
Riccardo Merolla retweeted
You have no idea how good @foldkit is.
But the below should give you a little hint. 👇
Hello friends,
I have some super exciting and probably not-all-that-surprising news to share!
I'm joining Effectful Technologies full time as a core maintainer of Effect, and I'm bringing Foldkit with me. Foldkit will live under the Effect organization.
I started Foldkit in June 2025 to explore what an Effect-native frontend framework could look like. Since then, Foldkit has found production users, grown a community of developers, and reached 1,200+ GitHub stars and around 180k weekly npm downloads.
It's a great start. Now, we're putting the full power of the Effect team behind the project and setting our sights on something much bigger.
Foldkit will move beyond frontend to become Effect's full-stack application framework: a composable, opinionated, agent-friendly stack from browser to database, built directly on Effect primitives.
A few more things I'm particularly excited about:
On the frontend, we're rebuilding Foldkit's foundation from the ground up, and I couldn't be happier about how it's going. We're building composable, Elm-inspired primitives directly into Effect so you can build UIs across different rendering environments. We're taking what we've learned building Foldkit and using it to create something better suited to production applications at scale.
Beyond the frontend, we're bringing that same opinionated, Effect-native approach to data access, auth, email, background work, sync and local-first, and deployment. The pieces will be composable and testable, with observability built in.
The goal is to make building a whole product with Effect feel as cohesive and powerful as writing a single Effect program.
Personally, I'm thrilled to work as part of the Effect team. It's been a dream of mine.
Q&A
What happens to the current Foldkit frontend framework?
Feature development will pause as we shift that work to the new frontend foundation. We'll keep fixing critical bugs at least until it ships with an upgrade guide.
Should I keep building with Foldkit or start a new project with it?
Yes. If you build a Foldkit app today, we'll give you an upgrade path to the new frontend foundation.
What is the new frontend foundation?
The new frontend foundation will be part of Effect itself and the basis for Foldkit's full-stack framework. It will provide composable, host-agnostic, Elm-inspired primitives for building user interfaces with Effect. It keeps what people like about Foldkit today while addressing the rough edges.
Will existing applications need to be migrated or rewritten?
Migrated, yes. Rewritten, no. Moving to the new frontend foundation should feel like a major Foldkit upgrade, not like adopting a new framework. There will be API changes, some of them substantial, and we'll publish upgrade guides as they take shape.
What happens to the Blocks and Layers preview release?
The Blocks and Layers preview won't ship. That work will be absorbed into the new frontend foundation.
Thank you to everyone who's used Foldkit, contributed, shared feedback, or helped spread the word. You've helped shape what Foldkit is today, and I'm incredibly excited about what we'll build next.
We're just getting started.
foldkit.dev/blog/foldkit-joi…
Riccardo Merolla retweeted
zproj (easy tmux + worktrees) just got better:
- fork: branch off current state
- join: merge back with agent assistance
Great when you see a self-contained chunk of work that can be handled in parallel and merged back in later. 👇
github.com/jdegoes/zproj
Riccardo Merolla retweeted
If you're not yet fully immersed in agent-assisted programming, we've got some resources to get you up to speed!
First off, agent visualization: interact with a real LLM and see how and when are tools called virtuslab.com/agent-visualiz…
Second, you heard about MCP, but how does it work? Where are the tools invoked? Dive in: virtuslab.com/blog/ai/how-mc…
Third: deep dives the latest trending Github AI-related repositories, delivered every week on virtuslab.com/blog/ai
Riccardo Merolla retweeted
Just proved out the main design of ZIO HTTP 4.0.
Highlights:
- easier & more flexible request handlers
- easier middleware context for things like auth
- more zio optionality
- pluggable backends
Scala 2.13 and Scala 3.x only. Gonna be great!
Riccardo Merolla retweeted
☃️ It’s almost Advent of Code time again!
🧝 Exercise your brain, practice your Scala, help the elves
🧠 We will be posting solutions and explanations daily on our website
💌 You may share your own solutions there (and discuss on Discord)
details: scala-lang.org/blog/2025/11/…
Riccardo Merolla retweeted
Want to unlock Gemini 3 Pro in the CLI? 🚀
Here is the config you need to get it running:
1️⃣ Connect VPN to USA 🇺🇸
2️⃣ Set your Environment Variables:
export GOOGLE_GENAI_USE_VERTEXAI=true
export GOOGLE_CLOUD_LOCATION="us-central1"
export GEMINI_MODEL="gemini-3-pro-preview-11-2025"
3️⃣ Run gemini
It’s that simple. ✨
#Gemini3 #GenerativeAI #DevTips #GoogleCloud
Riccardo Merolla retweeted
Repeat after me.
Good abstractions:
✅ Semigroup
✅ Monoid
✅ Monad
✅ Applicative
✅ Functor
✅ Profunctor
Bad abstraction:
❌ Strategy
❌ Factory
❌ Builder
❌ Prototype
❌ Adapter
❌ Bridge
❌ Composite
Riccardo Merolla retweeted
Few people and companies understand this:
#Scala is that rare tool that makes everything easier:
- backend
- frontend (more than most JS libs, and I've used many)
- architecture
- domain modeling
- testing
- code reasoning (underappreciated and directly related to productivity)
Riccardo Merolla retweeted
The Euro kinda destroyed Southern Europe's economies
The reason is that if you have big differences in wealth/income between two areas like North/West Europe and South Europe
Then with separate currencies that would automatically stabilize each other
For example: imagine Italy did not have the Euro, and there is low demand for Italian goods, so there is low demand for the Italian currency, that means the Italian currency will decrease in value compared to other currencies, that makes Italy CHEAPER for non-Italian people and companies
That in turn can make Italian products/services cheaper and lower prices (for foreign companies/ppl) increases demand (eg increased demand for cheap products or tourism)
That in turn increases the demand for Italian currency long term and it stabilizes
None of that can happen with the Euro
Instead what happens is that Italy stays relatively expensive (they can't change their currency cuz it's Euro) and Germany stays relatively cheap (they benefit staying cheap)
Without the Euro, German products/services would be way more expensive internationally, and Italian would be cheap internationally
So North/West Europe benefits from South Europe suffering cause of the Euro, kinda
It's not the whole story why Southern Europe suffers economically but part of it
That's maybe also why EU sends so much money to Southern Europe to keep them in the EU cause they know the Euro is a bad deal for them but they don't want them to leave
P.S. I like the Euro but things like this are real but never discussed
Riccardo Merolla retweeted
The Play 2.9.0 Release Candidate is now available! 🎉
We are almost there!
Thank you to EVERYONE involved making this happen! 🙏🥳
github.com/playframework/pla…
Riccardo Merolla retweeted
Replying to @mjovanovictech
Need independent deployments?
Libraries+Plug-in framework.
Need to split work across teams?
Libraries.
Solved decades ago. Why spend all your time fighting issues with connectivity, versioning, debugging, deploying, compatibility, etc., across 20 repos. Microservices suck.
Riccardo Merolla retweeted
Principles of developing applications in #Scala - and contrasting to #Java in some cases
softwaremill.com/principles-…
Riccardo Merolla retweeted
Beautiful Scala.js app by heartai.net – they are building healthcare applications with Laminar, SAP UI5, d3, and TailwindCSS, and are kindly sponsoring Laminar development. Great to see enterprise adoption of Scala.js!
heartai.net/docs/platform/ap…
heartai.net/docs/projects/th…

























