Skip to content

Cogworks

The works, without the work. Database, APIs, realtime, hooks, search, auth, and AI in one self-hosted binary.

Cogworks ships fully assembled — a single self-hosted binary with every subsystem wired together. No Redis, no external workers, no black boxes.

Real SQL tables

Every collection is a native SQLite table — fast queries, real indexes, no JSON-blob soup. Data model →

Auto-generated REST

Typed endpoints the moment you define a collection: filter, sort, paginate, expand, project. REST API →

Batteries-included auth

Password, TOTP, passkeys, OAuth2, email OTP, anonymous, API tokens, operator roles. Authentication →

Realtime

WebSocket + SSE with per-record rule filtering, reconnect resume, and presence. Realtime →

Queues, cron & workflows

Durable background jobs, UTC cron + one-off schedules, and code-first durable workflows. Extensibility →

AI via MCP

A first-party Model Context Protocol server — scope-gated, audited agent access to your data. MCP →

one line, signature-verified
curl -fsSL https://get.cogworks.dev | sh
cogworks start # → http://localhost:8090/_/ (setup wizard)

New here? Start with the Introduction, then the Quick start.