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.
Matches names, descriptions and categories, name matches first. Enter opens the first card; Esc clears.
Web & APIs4 libraries · 9 blocks
A purely functional library for creating GraphQL servers and clients in Scala.
Typed Datastar attribute and signal DSL, plus the SSE events that patch a live page
Type-safe HTTP endpoint descriptors with composable codecs and typed auth
A library for writing purely functional gRPC servers and clients with ZIO.
Type-safe HTML templating with XSS protection
Typed HTMX DSL for compile-time-checked HTMX attributes
A type-safe, composable, and feature-rich HTTP library built on top of ZIO.
Pure HTTP data model with URL parsing, headers, cookies, and forms
Schema-based typed access to the HTTP model
Zero-dependency JWT signing and verification with HMAC, RSA, ECDSA and EdDSA support
Type-safe IANA media types with 2,600+ predefined types
Type-safe OpenAPI 3.1 specification generation and rendering
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
Typed, online database schema migrations in three execution models, with no hand-written SQL
A library for declarative programming using relations between data, with automatic batching, parallelization, and caching.
Simple, type-safe, and efficient access to AWS DynamoDB.
A type-safe and streaming-friendly ZIO-native Elasticsearch client.
ZIO integration with
ZIO.attemptBlockingandZLayerAn embedded, ACID, key-value database for ZIO, stored in a single file.
A functional and idiomatic interface for MongoDB, with a dedicated ZIO 2 module.
A ZIO wrapper around the official MongoDB Java driver, with compile-time codecs and a type-safe query DSL.
Event-sourced projections with per-entity SQLite storage
A library for writing optimized queries to data sources in a compositional style, with batching, pipelining, and caching.
A quoted domain-specific language for expressing queries in Scala and executing them as SQL or CQL.
A type-safe and performant ZIO-native Redis client.
A ZIO-based interface to RocksDB.
Type-safe JDBC wrapper with schema-derived codecs and a CRUD repository
A ZIO wrapper for database access libraries, currently Doobie and Anorm.
Streaming & Messaging6 libraries · 1 block
A ZIO-based wrapper around the RabbitMQ client with a streaming interface to AMQP queues.
A purely functional, streams-based Kafka client for ZIO.
A ZIO-based AWS Kinesis client for consuming and producing data.
A functional wrapper around Spark that makes it work with ZIO and improves error management.
A ZIO-powered client for AWS SQS, built on top of ZIO AWS.
Pull-based streaming with typed errors, zero boxing, and synchronous or asynchronous execution
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.
Apache Avro binary serialization with automatic schema generation
A BSON library with tight ZIO integration and native support for BSON types.
MongoDB-compatible BSON serialization with native type support
RFC 4180-compliant CSV serialization
A fast and secure JSON library with tight ZIO integration.
Compact binary serialization with optimized streaming
A library for constructing parsers and pretty printers from invertible syntax descriptions.
A library for modeling the schema of data structures as first-class values, enabling serialization, deserialization, and data migration.
Type-safe schemas with automatic codec, optic, and validator derivation
A library that integrates compression algorithms and archive formats with ZIO Streams.
Apache Thrift binary serialization with TBinaryProtocol
Token-oriented notation 30–60% smaller than JSON, tuned for LLM prompts
Zero-dependency XML serialization with fluent navigation and patching
Human-readable YAML serialization with JSON interop
Observability6 libraries · 2 blocks
Simple logging for ZIO applications, with correlation, context, and pluggable backends.
A zero-cost structural logging framework for Scala and Scala.js.
Integrations between ZIO metrics and monitoring systems such as Prometheus and Datadog.
OTLP exporters bridging telemetry signals to an OpenTelemetry collector
A collection of profilers for understanding the runtime behavior of ZIO programs.
Purely functional and type-safe clients for OpenTracing, OpenCensus, and OpenTelemetry.
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
A library for rapidly building powerful command-line applications powered by ZIO.
A ZIO-based library that extends ZIO's
Configwith support for various sources and automatic derivation.HOCON source adapter for
ConfigSourceJSON source adapter for
ConfigSourceYAML source adapter for
ConfigSourceTyped configuration loading, feature flags, and rollout rules
A library for interacting with external processes and command-line programs, backed by ZIO Streams.
Resource Management6 blocks
Handle returned by
Scope.deferfor cancelling a registered finalizerResult of running a scope's finalizers, including any cleanup errors
Minimal capability interface for registering cleanup actions
Lazy recipes that pair acquisition with finalization, composable with
map,flatMap, andzipCompile-time safe resource boundaries that keep values from escaping their lifetime
Marker typeclass for plain data that can safely leave a scope
Dependency Injection1 library · 2 blocks
Type-indexed heterogeneous collections
A compile-time safe, transparent, and debuggable dependency injection framework for pure FP Scala.
Compile-time safe recipes for constructing a service and its dependencies
Concurrency & Resilience3 libraries · 3 blocks
Zero-allocation asynchronous effect type with direct-style
awaitA library for optimizing the performance of an application by caching values.
Thread-safe multiplexer for HTTP/2, QUIC, and WebSocket-style protocols
A ZIO-native fault tolerance library with policies for making asynchronous systems more resilient to failures.
Lock-free bounded ring buffers (SPSC, SPMC, MPSC, MPMC)
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
High-performance immutable indexed sequences with zero-boxing builders
Compile-time composition and decomposition of tuples, eithers, and unions
A library for building programs as descriptions with maximum polymorphism and modularity, and zero abstraction leakage.
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.
A fast, lightweight, portable and efficient alternative to
TypeTagfromscala-reflect.Optional values that store a present reference as is, without a wrapper object (Scala 3)
A friendly newtype library for Scala 3 with compile-time validation and integrations with ZIO JSON, ZIO Quill, ZIO Config, and ZIO Schema.
A lightweight, distinctly Scala take on functional abstractions, with tight ZIO integration.
Compile-time type identity with rich metadata
Cloud & Infrastructure6 libraries
A ZIO wrapper for all AWS services, built on the AWS Java SDK v2.
A thin wrapper over (s)FTP clients for ZIO.
An idiomatic ZIO client for the Kubernetes API, with code generation for custom resources and operators.
A ZIO-based AWS Custom Runtime compatible with GraalVM Native Image.
A thin wrapper over the S3 async client for ZIO.
A Kubernetes client, data models, and typesafe manifest generation for Scala, Scala.js, and Scala Native.
Tooling & Testing4 libraries · 3 blocks
Generic Scala code generation IR and emitter
GitHub Flavored Markdown parsing, rendering, and programmatic construction
A plugin for IntelliJ IDEA that brings enhancements when using ZIO in your projects.
An integration library between MUnit and ZIO.
A collection of sbt plugins that simplify the development of ZIO projects.
Smithy IDL parser and AST library for API modeling
An Akka HTTP route test kit for ZIO Test.
ZIO Compatible libraries14 libraries
RPC in a few lines of Scala code
"Dynamo DB Database done Scala way". A library that allows accessing the DynamoDB in a purely functional way
Functional JDBC layer for Scala.
Production ready event-driven automata for Scala, Scala.js and scala native
Elasticsearch Scala Client - Reactive, Non Blocking, Type Safe, HTTP Client
Compositional, streaming I/O library for Scala
A minimal, idiomatic Scala interface for HTTP
Strong type constraints for Scala 3, with the
iron-zio,iron-zio-json, andiron-zio-blocks-schemamodules for ZIOPure functional JDBC layer for Scala 3 built on Cats Effect, usable with ZIO through the
ldbc-zio-interopmoduleYour principled, purely functional, non-blocking RabbitMQ client for scala, scala js and scala native built on top of fs2
A Scala lightweight, type-safe & asynchronous driver for neo4j
Simpler DynamoDB access for Scala
The Scala HTTP client you always wanted!
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.