Skip to content

UniEssential Scala Utilities

Refined for Scala 3 with minimal dependencies

Uni

Getting Started

scala
libraryDependencies += "org.wvlet.uni" %% "uni" % "2026.1.0"
scala
//> using dep org.wvlet.uni::uni:2026.1.0

Quick Example

scala
import wvlet.uni.log.LogSupport

class MyService extends LogSupport:
  def greet(name: String): String =
    info(s"Greeting ${name}")
    s"Hello, ${name}!"

@main def hello =
  val service = MyService()
  println(service.greet("World"))

Modules

ModuleDescription
uniCore utilities: Design, logging, JSON, MessagePack, Rx, HTTP client
uni-agentLLM agent framework with tool integration
uni-bedrockAWS Bedrock chat model integration

Cross-Platform Support

uni is designed for cross-platform Scala development:

  • JVM - Full feature support
  • Scala.js - Browser and Node.js environments
  • Scala Native - Native binary compilation

Released under the Apache 2.0 License.