Skip to content

Admin Dashboard

The admin dashboard is served at http://localhost:3000/admin (or your configured server address).

Default credentials are set by the COSMICTRON_ADMIN_PASSWORD environment variable. Change the password on first login.

The Modules tab shows all deployed WASM/JS modules:

ColumnDescription
NameModule identifier
VersionDeployed version hash
Statusactive, paused, error
ReducersCount of registered reducers
TablesCount of owned tables
Fuel usageAverage fuel consumption per call (last 5 min)

Actions:

  • Deploy — upload and activate a new .wasm or .js module
  • Pause / Resume — suspend execution without undeploying
  • Rollback — restore previous version
  • Logs — tail reducer invocation logs

The Sessions tab lists active and recent agent sessions:

  • Filter by session ID, status, module, or date range
  • View the full message history for a session
  • Inspect tool call records with status and result
  • Export a session’s event history as an audit bundle

The Subscriptions tab shows active WebSocket subscriptions:

  • Client identity and connection time
  • Subscribed SQL query
  • Delta delivery rate (rows/s)
  • Disconnect a misbehaving client

The Audit tab provides compliance controls:

  • Event log viewer — browse events with filtering by reducer, identity, date
  • Signature verification — run on-demand verification of the hash chain and signatures
  • Bundle export — create signed audit bundles for date ranges or sessions
  • Key registry — view active and retired signing keys
  • TSA status — verify TSA connectivity and token storage

The Users tab manages identities:

  • List all identities (email, passkey, magic link)
  • Revoke access tokens
  • View per-identity access logs
  • Assign capabilities (e.g., pii:read)

The Metrics tab shows:

  • Request rate (reducer calls/s, query executions/s)
  • Active WebSocket connections
  • WAL write rate (events/s, bytes/s)
  • Storage usage (pages, WAL segments, snapshot size)
  • Fuel consumption per module
  • Error rates by module and reducer