Compose APIs
Every API is a request/response pair. Translate between them with dependent lenses (container morphisms) and pipe whole programs together.
A library for API programming in Idris 2. Build interactive programs declaratively by composing APIs — HTTP, databases, RPC, the file system and more — with dependent types.
Every API is a request/response pair. Translate between them with dependent lenses (container morphisms) and pipe whole programs together.
HTTP (Node & Scheme), SQL, the file system, optics, a browser backend and an MCP server all share the same API abstraction.
Dependent types describe exactly which responses a request admits, catching mismatches at compile time instead of at runtime.
Learn the core idea, explore the modules, and see how Stellar composes APIs into a single pipeline.