Frameworks and runtimes
Each page here puts LLM4S into a runtime your application already has.
- Pick your stack - One program in plain
Result, cats-effect, ZIO and Pekko side by side: the semantics every bridge shares, and the differences - cats-effect -
LLMClientIOandAgentIOfor cats-effectIOand fs2 streaming - ZIO -
LLMClientZandAgentZfor ZIO 2 and ZIO Streams - Apache Pekko -
LLMClientPekkoandAgentPekkofor Pekko Streams - Direct Style and Ox - Plain
Resultcode on virtual threads, andllm4s-oxfor streamed completions as an OxFlow, fan-out, races and retries - Jupyter Notebooks - Run LLM4S in Jupyter with the Almond Scala kernel
Elsewhere: Spring Boot, Quarkus, Micronaut and Helidon are under Java and Kotlin; Spark, Flink and Kafka are under RAG and Data; http4s, ZIO HTTP, Tapir and Play servers are in Serving an Agent over HTTP.