Keel by ChimpLabs
Jump to page or section Esc
Documentation

Keel Documentation

Reference guides for all 19 typed backend primitives, plus setup, SDK, and backend documentation.

Node.js >= 22.14
# 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

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