Where Scala meets AI
Session Abstract
The AI revolution raises questions about the utility of various technologies, especially programming languages. And when it comes to developer experience, Scala might have just the right answers. We’ll take a tour of how to use Scala efficiently for and with AI.
Session Description
The AI revolution raises questions about the utility of various technologies, especially programming languages. And when it comes to developer experience, Scala might have just the right answers.
We’ll take a tour of how to use Scala efficiently for and with AI. We’ll start by augmenting existing Scala development workflows with AI, leveraging Metals MCP and Cellar.
Next, we’ll teach AIs to write better Scala and more functional code. A short Scala skill makes a whole lot of difference in the quality of the generated code. Here we’ll focus on the direct-style-Scala skill we’ve been developing, highlighting the main challenges that AI faced in our experiments.
We’ll finish by looking at applications: using Scala to orchestrate coding agents and to orchestrate arbitrary business workflows. These are two broad categories. First, we’ll take a hands-on look at Orca, which offers an API for setting up deterministic, AI-driven development flows.
For the second, we’ll see how sttp-ai and chimp work together to provide the necessary Scala tooling to use AI models in your applications: talking to OpenAI/Claude APIs, running an agentic loop, using structured inputs & outputs. One theme will be constant: leaning on type safety and Scala’s toolchain to deliver business value not only faster, but also with more reliability.
In each case, we’ll show where Scala is better suited than alternatives for the problem at hand – and where it loses to the competition. Our goal will be to answer the question: in the age of AI, where does Scala have the upper hand