r/scala • u/eed3si9n • 6h ago
r/scala • u/petrzapletal • 23h ago
This week in #Scala (Nov 16, 2026)
r/scala • u/llm4s_foundation • 1d ago
Singapore meetup, 17 Nov: LLM4S 1.0, building production AI in Scala/JVM (live demos)
We are excited to announce an upcoming deep dive into LLM4S—an MIT-licensed, open-source framework designed for building robust, type-safe Large Language Model (LLM) applications in Scala 3.
Core Architectural Features
Multi-Provider Clients: Unified abstractions for seamlessly integrating diverse LLM providers.
Typed Error Handling: Leveraging Scala 3’s advanced type system for compile-time safety and deterministic failure recovery.
Agent Orchestration: First-class support for autonomous agents equipped with custom tools, rigorous guardrails, and Model Context Protocol (MCP) compliance.
Advanced RAG & Tracing: Native pipelines for Retrieval-Augmented Generation and end-to-end observability.
🗓️ Featured Event: Open Source Singapore Meetup
Catch co-founder Kannupriya Kalra presenting "Building Trusted AI Engineering"—hosted by BlackDuck.

Date: Tuesday, 17 November
Time: 6:30 PM – 8:30 PM SGT
Location: 5 Temasek Blvd, Level 17, Singapore
Registration: In-person attendance requires host approval via Luma Registration.
Agenda & Technical Sessions
The LLM4S Journey: From the initial commit to the stable 1.0 release.
Type-Driven AI: Why Scala's type system is a game-changer for reliable, production-grade AI systems.
Live Technical Demos: Real-time walkthroughs covering LLM integration, tool calling, MCP implementation, agent execution flow, and telemetry.
Additional Speakers:
Ilya Verbitskiy on building and scaling AI-native engineering teams.
Matthew Alex sharing practical insights and lessons learned from benchmarking LLMs.
🛠️ Resources & Community
Source Code: Explore the repository and preview the implementation ahead of the session on the LLM4S GitHub Repository.
Community Engagement:
Join our global developer community of over 400 members on the Global AI Discord Server.
Track upcoming weekly sessions via the LLM4S Dev Hours Luma Calendar.
Connect With Us
r/scala • u/ColOfAbRiX • 2d ago
Thanks for all the work!
I wanted to give a massive thank you to all the community people that, at least for me, finally made tooling fast and reliable. In particular the scala 3 compiler, Metals 2 and SBT 2 have been game changers for me!
It's become a pleasure to develop with these tools, Windows and Linux, with and without coding agents.
r/scala • u/ColOfAbRiX • 2d ago
Figlet4s 0.4.0
It's with great pleasure that, after 4 years, I annouce the next release of Figlet4s, a small fun library that ports FIGlet to the Scala world, to enhance your logs and CLI utilities!
https://github.com/ColOfAbRiX/figlet4s
The main highlights of the release are:
Support for Scala 3 (releasing under 3.3.9 LTS)
Complete clean split between vanilla and effectful API to remove all dependencies
Upgraded to Cats Effect 3
More built-in fonts, more figlet features!
This project is an old puppy of mine, developed with the only reason of having fun and learn about how to release and maintain an OSS project. Hope you guys enjoy it! Any feedback is welcome, I'm sure I missed few bits here and there.
r/scala • u/pdsminer • 2d ago
SMILE 7.2.0 on Java 25: Replacing JNI with Project Panama FFM (OpenBLAS/LAPACK/ONNX), Compact Object Headers, and in-process TreeSHAP
chanterelle 0.1.7 - `.hoist`-ing and other interop goodies
chanterelle just got the capability to .hoist fields in a wrapper type of your choice up to the very top of the transformation, for example:
import chanterelle.*
val tup = (field1 = 1, field2 = (nested = Some(1)))
Mode.FailFast.option {
// evaluates to Some((field1 = 1, field2 = (nested = 1)))
tup.transform(_.hoist(_.field2.nested))
}...or if you'd like to hoist a lot of fields at once:
import chanterelle.*
val tup = (field1 = Some(1), field2 = Some(2), field3 = Some(3), nested = (nestedField1 = Some(1)))
Mode.FailFast.option {
// evaluates to Some(field1 = 1, field2 = 2, field3 = 3, nested = (nestedField1 = 1))
tup.transform(_.hoist.regional)
}If you're familiar with the concept of traversing or sequencing from cats - this is kinda like that but for arbitrarily nested named tuples/positional tuples (also I deliberately strayed away from this naming because it is not strictly THAT).
Apart from hoisting there's also additional stuff for interop with custom collections (including NonEmpty* ones!) and 'mappable' types.
Go on and read the release notes (linked in the post) if you're interested.
r/scala • u/BidMaleficent5544 • 3d ago
I made a Scala to Go compiler
Hello, just wanted to share an experiment I'm working on to compile Scala down to Go IR. I've been working on it on and off for the last year. But last week I sat down and made this latest iteration. It's very early. But I thought I'd share anyways :D
Purpose: It's cool.
r/scala • u/roach8071 • 4d ago
Micronaut Scala 1.0.0 milestone released
A first milestone of support for Scala in Micronaut has shipped https://github.com/micronaut-projects/micronaut-scala
The docs can be found at https://micronaut-projects.github.io/micronaut-scala/1.0.x/guide/
If anyone is willing to try it out and provide feedback it would be appreciated.
fp-effects NixOs scripts in scala: comparison in effect systems
I got tired of my NixOs scripts from being bash, so I asked Claude Opus 5.5 to rewrite it to Scala.
Which it did just fine. And I always wanted to see how the same thing would look like with different effect systems. So I asked Opus to port it.
Here's the comparison between cats-effect EitherT / cats-effect + cats-mtl / zio / zio + cats / kyo: https://github.com/arturaz/nixos-conf-scala-scripts-comparison
At the end, I kind of am still unhappy :)) Typelevel seems to have the best ecosystem, but both EitherT (boilerplate) and MTL (silent failure cases) are annoying.
Anyone has other approaches to suggest?
After 12 years of Scala projects, I open-sourced the backend starter I kept rebuilding
I've been writing Scala for about 12 years, and almost every new project started with the same month or two of work: authentication, refresh tokens, background jobs, a transactional outbox, feature flags, caching, observability, and so on. None of it is particularly exciting, but sooner or later you need it.
In 2024, I started pulling all of that into one repo, modernizing it around the Scala stack I'd choose today. It's now open source: https://github.com/madrileno-dev/madrileno
It's a template, not a framework. You run ./scripts/init-project.scala myapp, it renames the packages, removes the example domain, and leaves you with your own code. There's no Madrileño runtime dependency, and you're free to replace whatever you don't like.
The stack is mostly Typelevel: http4s on Ember, Skunk with Postgres, cats-effect, otel4s, Flyway, and Testcontainers. Routing uses http4s-stir, domain types use kebs, and service logic uses sealed-monad. Full disclosure: those three libraries, plus baklava, come from Iterators, where I'm a partner. I'm obviously biased, but this is also where these libraries have to work together in practice.
There's also a React frontend and a React Native mobile starter. The part I'm particularly happy with is how they connect to the backend: router specs are baklava tests, and sbt test generates OpenAPI and a typed oRPC contract. The frontend and mobile apps sync that contract, so changes to the backend API can show up as TypeScript compilation errors instead of runtime surprises.
I also added instructions for coding agents and a dedicated MCP server. I use AI-assisted development myself, and wanted the template to work well with it. But none of that is required, and there's documentation for working with the code directly.
It's deliberately opinionated and probably overkill for a small service. I built it for small teams shipping actual products, where I'd rather remove something I don't need than spend the first weeks rebuilding the same infrastructure again.
Resources:
Frontend: https://github.com/madrileno-dev/madrileno-frontend
Landing: https://madrileno.dev
Manifesto (reasoning behind the choices): https://madrileno.dev/manifesto/
Short intro post: https://www.iteratorshq.com/blog/scala-backend-template-madrileno/
I'd genuinely like to hear where it doesn't fit your setup, what you think is missing, and what you'd rip out first.
r/scala • u/littlenag • 5d ago
Scala Hangout - Nov 12th
Join us for another evening of Scala-centric conversation Thursday November 12th at 6:30pm CT!
r/scala • u/zagor_69 • 5d ago
We rewrote an 8-years-old Scala service in Go in 10 days
NamedArguments: a WartRemover wart that flags same-typed positional arguments
While coding with AI, I was in the situation where it frequently invoked methods with positional args when I'd use named-args,
I have previously maintained wartremover plugins to catch these kind of issues but this is tricky and time consuming to get right. I experimented with AI to push the fix which is decent enough to share now.
In short, enabling this plugin flags calls that pass two or more arguments of the same type positionally:
def merge(a: String, b: String): Unit = ???
merge(a, b) // flagged
merge(survivorId = a, loserId = b) // okA swap there compiles fine and does the wrong thing. With names, the swap shows up in the diff.
It skips cases where naming isn't possible or idiomatic like stdlib combinators, operators, Java methods, and compiler-generated code.
Feedback welcome, especially false positives.
Link: https://github.com/wiringbits/wiringbits-scala-newbie-warts
r/scala • u/petrzapletal • 8d ago
This week in #Scala (Nov 9, 2026)
r/scala • u/makingthematrix • 9d ago
IntelliJ Scala Plugin 2026.3 is out
Scala Plugin 2026.3 is out.
Highlights:
Scala 3.10 support and more accurate code analysis.
Reworked Twirl support for Play framework, including completion, formatting, Find Usages, and template renaming.
More efficient compiler-based highlighting, with fewer unnecessary recompilations.
Faster and more reliable sbt 2.x imports and restored dependency-coordinate completion in sbt and Scala CLI.
Fixes for skipped breakpoints and UI freezes during debugging.
Improvements to Scala CLI scripts, X-Ray mode, and formatting.
r/scala • u/CompetitiveKoala8876 • 10d ago
AnselIQ - A financial reconciliation platform https://anseliq.com/
I created this project over the past few months after it was clear I would be laid off. It was my plan B to generate some income selling licenses but since I've found a new job, I decided to just open source it. Both the front and back end are written in Scala. I coded most of the back end while AI coded the front end. Its fairly feature complete but I never got the chance to run it in production so consider it alpha quality.
GitHub - vic/srs: Experimental bootstrapped Scala3-inspired compiler into portable C with memory management via algebraic effects with handlers and protocols.
Hello, sharing my experimental (llm-assisted) Scala3-like compiler into C. Yeah, I know about ScalaNative, but this is not Scala, you will see in the README (read about type-level state machines and telescopes), it is not seeking scala stdlib compatibility. Anyways, hopes someone finds it interesting, it is very, very young and unstable, aka. -O fun optimized for fun :D.