Real-time by default
Clients subscribe to SQL queries and receive incremental deltas via DBSP circuits — only changed rows, not full re-scans.
Cosmictron is a real-time database and agent runtime that replaces the traditional application server + database + pub/sub stack with a single Rust binary. Your business logic runs inside the database as sandboxed WASM or V8 modules, co-located with data — eliminating network round-trips and keeping state consistent by construction.
It is built for two audiences:
Real-time by default
Clients subscribe to SQL queries and receive incremental deltas via DBSP circuits — only changed rows, not full re-scans.
Logic inside the database
Reducers (state-mutating functions) execute co-located with data in sandboxed WASM (Wasmtime) or JavaScript (V8) runtimes.
Declarative security
Row-level security policies are SQL predicates attached to tables, automatically injected into every query.
Compliance-grade audit
Per-event Ed25519 signatures, SHA-256 hash chains, RFC 3161 timestamps, FROST threshold signing, and signed bundle export.
Stateful agents
Durable sessions, tool authorization, idempotency protection, supervisor handoff hooks, and MCP/A2A protocol support.
One binary
Replaces app server + PostgreSQL + Redis/Kafka + audit logging. Speaks WebSocket, PgWire, and HTTP REST.
| Persona | Pain point Cosmictron solves |
|---|---|
| AI startup engineer | Python agent frameworks don’t scale; glue between DB, queue, and API is fragile |
| Enterprise architect | Need deterministic replay and tamper-evident logs before legal/compliance will approve AI agents |
| Platform team | Multiple services to operate, patch, and integrate — want one binary |
| Module developer | Publish reusable WASM capability modules to the marketplace |
Cosmictron is commercial software with a predictable, compute-based licensing model. A free Developer tier covers local development and small-scale projects; production deployments use the Team, Business, or Enterprise plans.
The Cosmictron marketplace, plugin SDK, and connector integrations are public on GitHub under a permissive license — fork them, extend them, publish your own.
For commercial terms, see Commercial License or email sales@cosmictron.dev.