Quickstart in 60 seconds →
Install @chimp-labs/keel, declare your first resources, and run
locally in memory or SQLite with zero containers.
Plain TypeScript SDK →
Use k.* builders, plain async/await, Zod/Valibot/ArkType,
and the zero-overhead keel.runEffect(...) escape hatch.
# Core platform, Effect v4 & PostgreSQL
pnpm add @chimp-labs/keel effect pg
# Optional: Workflows, Alchemy IaC & NestJS
pnpm add @chimp-labs/keel-workflow @chimp-labs/keel-alchemy @chimp-labs/keel-nestjs# Core platform, Effect v4 & PostgreSQL
npm install @chimp-labs/keel effect pg
# Optional: Workflows, Alchemy IaC & NestJS
npm install @chimp-labs/keel-workflow @chimp-labs/keel-alchemy @chimp-labs/keel-nestjs# Core platform, Effect v4 & PostgreSQL
bun add @chimp-labs/keel effect pg
# Optional: Workflows, Alchemy IaC & NestJS
bun add @chimp-labs/keel-workflow @chimp-labs/keel-alchemy @chimp-labs/keel-nestjs Getting Started
Core Concepts
Plain TypeScript SDK
Async/await client, k.* builders, Standard Schema v1, and direct Effect access.
Read guide →Bounded-Context Services
Define resources, dependencies, and closed error boundaries on a service.
Read guide →Architecture
3-layer runtime design, transactional outbox, durable replay, and saga rollbacks.
Read guide →Event Versioning
Additive Topic schema evolution, chained read-time upcasters, and Expand-Contract without downtime.
Read guide →Primitives
Bucket
Object storage with upload guards, streaming reads, and presigned URLs.
Read guide →Cache
Read-through caching with singleflight and tag invalidation.
Read guide →Cron
Distributed schedules with overlap guards and leader locks.
Read guide →DurableStream
Durable append-only streams with live tailing and replay.
Read guide →ExternalSystem
Typed third-party API clients with timeouts, retries, and mocks.
Read guide →Flag
Typed feature flags evaluated against request context.
Read guide →Idempotency
Deduplicate repeat requests and reuse successful results.
Read guide →JobQueue
Background jobs with delays, retries, and dead-letter queues.
Read guide →KV
Typed key-value storage with TTL and atomic operations.
Read guide →Lock
Distributed leases with automatic renewal and release.
Read guide →Modulith
Compose services in a modular monolith with a shared database.
Read guide →RateLimit
Sliding-window quotas with weighted costs and retry timing.
Read guide →Secret
Boot-verified, redacted credentials from env vars, files, or cloud bindings.
Read guide →Service
Define service boundaries, resource ownership, and typed errors.
Read guide →Signal
Wake suspended workflows with typed external events.
Read guide →Table
Typed SQL and JSONB tables with transactions, joins, and change streams.
Read guide →Topic
Typed pub/sub with durable replay, upcasting, and a transactional outbox.
Read guide →Topology
Define isolated deployable services with Rust and Go codegen.
Read guide →Workflow
Durable steps with crash replay and saga compensation.
Read guide →Backends & Operations
Storage & Messaging Backends
Memory, SQLite, PostgreSQL 17, SurrealDB 4, Garage S3, and Cloudflare R2.
Read guide →Alchemy IaC & Workers
Infer Cloudflare Workers, R2, KV, Queues, Service Bindings, and self-hosted Docker topologies.
Read guide →NestJS Integration
Use Keel in NestJS 10/11 with TC39 Stage 3 decorators (no experimentalDecorators), @Transactional, and static AppModule topology inference.
Read guide →Testing & Local Docker
10ms in-memory suites, SQLite tests, and a local PostgreSQL 17, SurrealDB 4, and Garage S3 stack.
Read guide →