Skip to main content
Version: 2.x

ZIO Ecosystem

ZIO has a rich ecosystem of libraries and tools that enhance its capabilities and provide additional functionality, for web development, data processing, testing, and more.

Find a library by name or by purpose below. Official libraries are maintained by the ZIO team under the ZIO organization, and include the blocks of ZIO Blocks, which zioblocks.com/reference groups by the same categories. Community libraries are maintained by members of the ZIO community, and compatible libraries work with ZIO.

Web & APIs4 libraries · 9 blocks

  • CalibanCommunity

    A purely functional library for creating GraphQL servers and clients in Scala.

  • Datastar ↗Officialzioblocks.com

    Typed Datastar attribute and signal DSL, plus the SSE events that patch a live page

  • Endpoint ↗Officialzioblocks.com

    Type-safe HTTP endpoint descriptors with composable codecs and typed auth

  • ZIO gRPCCommunity

    A library for writing purely functional gRPC servers and clients with ZIO.

  • HTML ↗Officialzioblocks.com

    Type-safe HTML templating with XSS protection

  • HTMX ↗Officialzioblocks.com

    Typed HTMX DSL for compile-time-checked HTMX attributes

  • ZIO HTTP ↗Officialziohttp.com

    A type-safe, composable, and feature-rich HTTP library built on top of ZIO.

  • HTTP Model ↗Officialzioblocks.com

    Pure HTTP data model with URL parsing, headers, cookies, and forms

  • HTTP Model Schema ↗Officialzioblocks.com

    Schema-based typed access to the HTTP model

  • JWT ↗Officialzioblocks.com

    Zero-dependency JWT signing and verification with HMAC, RSA, ECDSA and EdDSA support

  • MediaType ↗Officialzioblocks.com

    Type-safe IANA media types with 2,600+ predefined types

  • OpenAPI ↗Officialzioblocks.com

    Type-safe OpenAPI 3.1 specification generation and rendering

  • TapirCommunity

    A library to describe HTTP APIs, expose them as a server, consume them as a client, and document them automatically, with first-class ZIO support.

Data Access11 libraries · 4 blocks

  • Data Migration ↗Officialzioblocks.com

    Typed, online database schema migrations in three execution models, with no hand-written SQL

  • DecrelCommunity

    A library for declarative programming using relations between data, with automatic batching, parallelization, and caching.

  • ZIO DynamoDBOfficialzio.dev

    Simple, type-safe, and efficient access to AWS DynamoDB.

  • A type-safe and streaming-friendly ZIO-native Elasticsearch client.

  • ZIO Integration ↗Officialzioblocks.com

    ZIO integration with ZIO.attemptBlocking and ZLayer

  • ZIO LMDBCommunity

    An embedded, ACID, key-value database for ZIO, stored in a single file.

  • Mongo4catsCommunity

    A functional and idiomatic interface for MongoDB, with a dedicated ZIO 2 module.

  • ZIO MongoDBCommunity

    A ZIO wrapper around the official MongoDB Java driver, with compile-time codecs and a type-safe query DSL.

  • Projection ↗Officialzioblocks.com

    Event-sourced projections with per-entity SQLite storage

  • ZIO QueryOfficialzio.dev

    A library for writing optimized queries to data sources in a compositional style, with batching, pipelining, and caching.

  • ZIO QuillOfficialzio.dev

    A quoted domain-specific language for expressing queries in Scala and executing them as SQL or CQL.

  • ZIO RedisOfficialzio.dev

    A type-safe and performant ZIO-native Redis client.

  • ZIO RocksdbOfficialzio.dev

    A ZIO-based interface to RocksDB.

  • SQL Module ↗Officialzioblocks.com

    Type-safe JDBC wrapper with schema-derived codecs and a CRUD repository

  • TranzactIOCommunity

    A ZIO wrapper for database access libraries, currently Doobie and Anorm.

Streaming & Messaging6 libraries · 1 block

  • ZIO AMQPOfficialzio.dev

    A ZIO-based wrapper around the RabbitMQ client with a streaming interface to AMQP queues.

  • ZIO KafkaOfficialzio.dev

    A purely functional, streams-based Kafka client for ZIO.

  • ZIO KinesisCommunity

    A ZIO-based AWS Kinesis client for consuming and producing data.

  • ZIO SparkCommunity

    A functional wrapper around Spark that makes it work with ZIO and improves error management.

  • ZIO SQSOfficialzio.dev

    A ZIO-powered client for AWS SQS, built on top of ZIO AWS.

  • Streams ↗Officialzioblocks.com

    Pull-based streaming with typed errors, zero boxing, and synchronous or asynchronous execution

  • tamerCommunity

    A multi-functional Kafka connector for producing data, based on ZIO Kafka.

Schemas & Serialization6 libraries · 9 blocks

  • A ZIO-powered library for reading and writing Parquet files without running a Spark cluster.

  • Avro Codec ↗Officialzioblocks.com

    Apache Avro binary serialization with automatic schema generation

  • ZIO BSONOfficialzio.dev

    A BSON library with tight ZIO integration and native support for BSON types.

  • BSON Codec ↗Officialzioblocks.com

    MongoDB-compatible BSON serialization with native type support

  • CSV Codec ↗Officialzioblocks.com

    RFC 4180-compliant CSV serialization

  • ZIO JSONOfficialzio.dev

    A fast and secure JSON library with tight ZIO integration.

  • MessagePack Codec ↗Officialzioblocks.com

    Compact binary serialization with optimized streaming

  • ZIO ParserOfficialzio.dev

    A library for constructing parsers and pretty printers from invertible syntax descriptions.

  • ZIO SchemaOfficialzio.dev

    A library for modeling the schema of data structures as first-class values, enabling serialization, deserialization, and data migration.

  • Schema ↗Officialzioblocks.com

    Type-safe schemas with automatic codec, optic, and validator derivation

  • ZIO Streams CompressOfficialzio.dev

    A library that integrates compression algorithms and archive formats with ZIO Streams.

  • Thrift Codec ↗Officialzioblocks.com

    Apache Thrift binary serialization with TBinaryProtocol

  • TOON Codec ↗Officialzioblocks.com

    Token-oriented notation 30–60% smaller than JSON, tuned for LLM prompts

  • XML Codec ↗Officialzioblocks.com

    Zero-dependency XML serialization with fluent navigation and patching

  • YAML Codec ↗Officialzioblocks.com

    Human-readable YAML serialization with JSON interop

Observability6 libraries · 2 blocks

  • ZIO LoggingOfficialzio.dev

    Simple logging for ZIO applications, with correlation, context, and pluggable backends.

  • LogStageCommunity

    A zero-cost structural logging framework for Scala and Scala.js.

  • ZIO Metrics ConnectorsOfficialzio.dev

    Integrations between ZIO metrics and monitoring systems such as Prometheus and Datadog.

  • OTLP Export ↗Officialzioblocks.com

    OTLP exporters bridging telemetry signals to an OpenTelemetry collector

  • ZIO ProfilingOfficialzio.dev

    A collection of profilers for understanding the runtime behavior of ZIO programs.

  • ZIO TelemetryOfficialzio.dev

    Purely functional and type-safe clients for OpenTracing, OpenCensus, and OpenTelemetry.

  • Telemetry ↗Officialzioblocks.com

    Zero-dependency OpenTelemetry-aligned tracing, logging, and metrics

  • Logging integration of Tofu, a functional toolkit based on the tagless-final approach, with ZIO 2.

Configuration & CLI3 libraries · 4 blocks

  • ZIO CliOfficialzio.dev

    A library for rapidly building powerful command-line applications powered by ZIO.

  • ZIO ConfigOfficialzio.dev

    A ZIO-based library that extends ZIO's Config with support for various sources and automatic derivation.

  • Config HOCON ↗Officialzioblocks.com

    HOCON source adapter for ConfigSource

  • Config JSON ↗Officialzioblocks.com

    JSON source adapter for ConfigSource

  • Config YAML ↗Officialzioblocks.com

    YAML source adapter for ConfigSource

  • Configuration ↗Officialzioblocks.com

    Typed configuration loading, feature flags, and rollout rules

  • ZIO ProcessOfficialzio.dev

    A library for interacting with external processes and command-line programs, backed by ZIO Streams.

Resource Management6 blocks

  • DeferHandle ↗Officialzioblocks.com

    Handle returned by Scope.defer for cancelling a registered finalizer

  • Finalization ↗Officialzioblocks.com

    Result of running a scope's finalizers, including any cleanup errors

  • Finalizer ↗Officialzioblocks.com

    Minimal capability interface for registering cleanup actions

  • Resource ↗Officialzioblocks.com

    Lazy recipes that pair acquisition with finalization, composable with map, flatMap, and zip

  • Scope ↗Officialzioblocks.com

    Compile-time safe resource boundaries that keep values from escaping their lifetime

  • Unscoped ↗Officialzioblocks.com

    Marker typeclass for plain data that can safely leave a scope

Dependency Injection1 library · 2 blocks

  • Context ↗Officialzioblocks.com

    Type-indexed heterogeneous collections

  • DistageCommunity

    A compile-time safe, transparent, and debuggable dependency injection framework for pure FP Scala.

  • Wire ↗Officialzioblocks.com

    Compile-time safe recipes for constructing a service and its dependencies

Concurrency & Resilience3 libraries · 3 blocks

  • Async ↗Officialzioblocks.com

    Zero-allocation asynchronous effect type with direct-style await

  • ZIO CacheOfficialzio.dev

    A library for optimizing the performance of an application by caching values.

  • Mux ↗Officialzioblocks.com

    Thread-safe multiplexer for HTTP/2, QUIC, and WebSocket-style protocols

  • RezilienceCommunity

    A ZIO-native fault tolerance library with policies for making asynchronous systems more resilient to failures.

  • RingBuffer ↗Officialzioblocks.com

    Lock-free bounded ring buffers (SPSC, SPMC, MPSC, MPMC)

  • ShardCommunity

    A library for distributing entities across multiple servers and sending them messages by ID, without knowing their location. It is the successor of Shardcake.

Types & Abstractions7 libraries · 4 blocks

  • Chunk ↗Officialzioblocks.com

    High-performance immutable indexed sequences with zero-boxing builders

  • Combinators ↗Officialzioblocks.com

    Compile-time composition and decomposition of tuples, eithers, and unions

  • ZIO ConstraintlessOfficialzio.dev

    A library for building programs as descriptions with maximum polymorphism and modularity, and zero abstraction leakage.

  • ZIO Direct StyleOfficialzio.dev

    A library for writing ZIO programs in a direct, imperative style, based on the Monadless paradigm.

  • Legacy interoperability layer for ZIO 2 and Cats Effect 2. No longer maintained; use interop-cats for Cats Effect 3.

  • An interoperability layer that lets ZIO 2 work with Cats Effect 3 and its ecosystem, including fs2, doobie and http4s.

  • Izumi ReflectOfficialzio.dev

    A fast, lightweight, portable and efficient alternative to TypeTag from scala-reflect.

  • Maybe ↗Officialzioblocks.com

    Optional values that store a present reference as is, without a wrapper object (Scala 3)

  • NeotypeCommunity

    A friendly newtype library for Scala 3 with compile-time validation and integrations with ZIO JSON, ZIO Quill, ZIO Config, and ZIO Schema.

  • ZIO PreludeOfficialzio.dev

    A lightweight, distinctly Scala take on functional abstractions, with tight ZIO integration.

  • TypeId ↗Officialzioblocks.com

    Compile-time type identity with rich metadata

Cloud & Infrastructure6 libraries

  • ZIO AWSOfficialzio.dev

    A ZIO wrapper for all AWS services, built on the AWS Java SDK v2.

  • ZIO FtpOfficialzio.dev

    A thin wrapper over (s)FTP clients for ZIO.

  • ZIO K8sCommunity

    An idiomatic ZIO client for the Kubernetes API, with code generation for custom resources and operators.

  • ZIO LambdaOfficialzio.dev

    A ZIO-based AWS Custom Runtime compatible with GraalVM Native Image.

  • ZIO S3Officialzio.dev

    A thin wrapper over the S3 async client for ZIO.

  • Scala k8sCommunity

    A Kubernetes client, data models, and typesafe manifest generation for Scala, Scala.js, and Scala Native.

Tooling & Testing4 libraries · 3 blocks

  • Code Generation ↗Officialzioblocks.com

    Generic Scala code generation IR and emitter

  • Docs ↗Officialzioblocks.com

    GitHub Flavored Markdown parsing, rendering, and programmatic construction

  • A plugin for IntelliJ IDEA that brings enhancements when using ZIO in your projects.

  • MUnit ZIOCommunity

    An integration library between MUnit and ZIO.

  • ZIO SBTOfficialzio.dev

    A collection of sbt plugins that simplify the development of ZIO projects.

  • Smithy ↗Officialzioblocks.com

    Smithy IDL parser and AST library for API modeling

  • An Akka HTTP route test kit for ZIO Test.

ZIO Compatible libraries14 libraries

  • Automorph ↗ZIO Compatible

    RPC in a few lines of Scala code

  • d4s ↗ZIO Compatible

    "Dynamo DB Database done Scala way". A library that allows accessing the DynamoDB in a purely functional way

  • doobie ↗ZIO Compatible

    Functional JDBC layer for Scala.

  • Edomata ↗ZIO Compatible

    Production ready event-driven automata for Scala, Scala.js and scala native

  • elastic4s ↗ZIO Compatible

    Elasticsearch Scala Client - Reactive, Non Blocking, Type Safe, HTTP Client

  • fs2 ↗ZIO Compatible

    Compositional, streaming I/O library for Scala

  • http4s ↗ZIO Compatible

    A minimal, idiomatic Scala interface for HTTP

  • Iron ↗ZIO Compatible

    Strong type constraints for Scala 3, with the iron-zio, iron-zio-json, and iron-zio-blocks-schema modules for ZIO

  • ldbc ↗ZIO Compatible

    Pure functional JDBC layer for Scala 3 built on Cats Effect, usable with ZIO through the ldbc-zio-interop module

  • Lepus ↗ZIO Compatible

    Your principled, purely functional, non-blocking RabbitMQ client for scala, scala js and scala native built on top of fs2

  • neotypes ↗ZIO Compatible

    A Scala lightweight, type-safe & asynchronous driver for neo4j

  • scanamo ↗ZIO Compatible

    Simpler DynamoDB access for Scala

  • sttp ↗ZIO Compatible

    The Scala HTTP client you always wanted!

  • sttp-ai ↗ZIO Compatible

    A Scala toolkit for working with third-party LLMs such as OpenAI and Claude, with a ZIO backend

Official Libraries​

Official ZIO libraries are hosted in the ZIO organization on GitHub, and are generally maintained by core contributors to ZIO.

Development Status​

Each project in the ZIO organization namespace has a Stage Badge which indicates the current status of that project:

  • Production Ready — The project is stable and already used in production. We can expect reliability for the implemented use cases.
  • Development — The project already has RC or milestone releases, but is still under active development. We should not expect full stability yet.
  • Experimental — The project is not yet released, but an important part of the work is already done.
  • Research — The project is at the design stage, with some sketches of work but nothing usable yet.
  • Concept — The project is just an idea, development hasn't started yet.
  • Deprecated — The project is not maintained anymore, and we don't recommend its usage.

Community Libraries​

In this section we are going to introduce some of the most important libraries that have first-class ZIO support from the community.

If you know a useful library that has first-class ZIO support, please consider submitting a pull request to add it to the ecosystem.

ZIO Compatible Libraries​

Compatible libraries are maintained outside the ZIO organization, and work with ZIO. They are marked ZIO Compatible in the cards above.

ZIO Chat

🔥 Ignite your ZIO journey with ZIO Chat! 🔥 Ready to unravel the intricacies of ZIO? As your trusty sidekick, I'm here to light the way. No matter if you're wandering through functional forests or traversing effectful landscapes, I've got answers to keep you on track. Your ZIO adventure starts here – ask me anything and let's explore together!