softwaremill/sttp-ai
Scala Client for AI models
What's novel
Scala Client for AI models
Code Analysis
1 files read · 2 roundsA Scala library providing typed HTTP clients for OpenAI and Claude AI APIs with support for streaming via multiple reactive backends (fs2, ZIO, Akka, Pekko, Ox) and structured output/tool calling features.
Strengths
Excellent modularity with clear separation between core types, API-specific implementations, and streaming backends. Strong ecosystem integration using sttp client family and uPickle. Comprehensive documentation with examples for various use cases. Good Scala version support (2.13 and 3).
Weaknesses
Novelty is limited as it's essentially a typed wrapper around existing APIs rather than introducing new paradigms. Test coverage appears moderate based on file counts. Some boilerplate likely exists in streaming adapters.
Score Breakdown
Signal breakdown
Innovation
Craft
Traction
Scope
Evidence
Commits
151
Contributors
26
Files
240
Active weeks
39
Repository
Language
Scala
Stars
88
Forks
16
License
Apache-2.0