Skip to content

Cosmictron

Real-time database · Agent runtime · Compliance-grade audit — one Rust binary.

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:

  • AI-native startups hitting the scaling limits of Python frameworks who need raw performance and a unified runtime.
  • Enterprises in regulated industries (financial services, healthcare, legal) who need deterministic replay, cryptographic audit trails, and compliance evidence.

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.

PersonaPain point Cosmictron solves
AI startup engineerPython agent frameworks don’t scale; glue between DB, queue, and API is fragile
Enterprise architectNeed deterministic replay and tamper-evident logs before legal/compliance will approve AI agents
Platform teamMultiple services to operate, patch, and integrate — want one binary
Module developerPublish reusable WASM capability modules to the marketplace

Cosmictron is dual-licensed: AGPL 3.0 for open-source use, and a commercial license for organizations above $5 M revenue and 10,000 concurrent agent sessions. See Licensing for details.