Riccardo Merolla (@rickydjit) header
Riccardo Merolla (@rickydjit) profile picture

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
Photo by Riccardo Merolla (@rickydjit)Photo by Riccardo Merolla (@rickydjit)Photo by Riccardo Merolla (@rickydjit)Photo by Riccardo Merolla (@rickydjit)Photo by Riccardo Merolla (@rickydjit)Photo by Riccardo Merolla (@rickydjit)Photo by Riccardo Merolla (@rickydjit)Photo by Riccardo Merolla (@rickydjit)Photo by Riccardo Merolla (@rickydjit)Photo by Riccardo Merolla (@rickydjit)
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.
30
37
6
941
28,006
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. 👇
2
14
118
5,385
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…
3
4
1
88
11,036
Riccardo Merolla retweeted
If your agent writes slop, that is your fault.
19
14
3
115
5,868
Riccardo Merolla retweeted
dating history of Billie Eilish
169
156
161
3,322
5,289,722
Riccardo Merolla retweeted
The future of software
"I'm clearly living in the future of software world now because my operating system is entirely and 100% malleable." That's @tobi talking about @dhh's Omarchy.
49
69
5
1,096
140,970
Riccardo Merolla retweeted
Scala is the best backend language out there. I need to tell you this again, now that the algo is fixed. In case you might have missed this
1
6
33
2,434
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
3
28
2,279
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
3
10
1,124
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!
4
11
1
94
5,681
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/…
12
1
35
3,357
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
2
2
243
Riccardo Merolla retweeted
Repeat after me. Good abstractions: ✅ Semigroup ✅ Monoid ✅ Monad ✅ Applicative ✅ Functor ✅ Profunctor Bad abstraction: ❌ Strategy ❌ Factory ❌ Builder ❌ Prototype ❌ Adapter ❌ Bridge ❌ Composite
87
74
21
1,313
597,590
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)
5
35
180
6,936
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
The timeline might be off but it is one of the agreements we made when joining the EU However the change is very hard on an economy and a good example is Italy Many people feel the economy was better when they had their lira
369
235
78
1,829
1,008,316
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.
1
2
163
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…
4
39
3
155
17,990