strataos Documentation

Complete technical reference for building on Roxy Systems substrate

The 50ms Guarantee

strataos provides sub-50ms p99 latency for all substrate operations. This isn't a target—it's a contractual guarantee. Every operation you build inherits this performance baseline.

Getting Started

strataos provides four computational primitives that make Time and Truth infrastructure. Before diving into implementation, understand the substrate architecture:

Witness

Byzantine fault-tolerant attestation layer. Truth verified through cryptographic quorum, not consensus.

ChronosLedger

Immutable temporal anchoring with guaranteed sub-50ms latency. Time becomes infrastructure.

Harmonics

Perceptual sensing layer. Detects tension, drift, and strain before they become failures.

Accord

Coordination primitive. Where perception becomes operational response.

Core Concepts

Temporal Integrity

Every event in strataos is anchored to an immutable timestamp with cryptographic proof. This creates a linearizable history where causality is preserved and provable.

JavaScript
// Temporal anchoring example const event = await strataos.witness.attest({ type: 'user.action', payload: { action: 'transfer', amount: 1000 }, attestors: ['node-1', 'node-2', 'node-3'] }); // Returns immutable proof: { timestamp: 1704067200000, // Unix ms hash: '0x7f9fade1c0d57a7af66ab4ead79fade1c0d57a7af', quorum: '3/3', latency_ms: 42, proof: { /* cryptographic attestation */ } }

Quorum Attestation

Unlike consensus systems, Witness uses Byzantine fault-tolerant quorum attestation. This achieves finality in one round trip while maintaining security.

Property Traditional Consensus Witness Quorum
Finality Multiple rounds Single round
Latency (p99) 200-500ms <50ms
Security Model 51% honest ⅔ quorum BFT
Scalability Degrades with nodes Horizontal

Substrate Architecture

Witness: Presence as Primitive

Witness provides cryptographic attestation of presence and action. It answers the question: "Did this happen, and can we prove it?"

POST /v1/witness/attest

Submit an event for quorum attestation

JSON
{ "event": { "type": "string", "payload": "object", "metadata": "object" }, "quorum_requirement": "integer (default: 3)", "timeout_ms": "integer (max: 5000)" }

ChronosLedger: Persistence as Primitive

ChronosLedger provides immutable temporal anchoring. Every event gets a cryptographically signed timestamp that can never be altered or deleted.

POST /v1/chronos/anchor

Create immutable temporal anchor

JSON
{ "data": "object", "anchor_type": "event | state | proof", "retention": "permanent | ttl_seconds" }

Harmonics: Perception as Primitive

Harmonics monitors system health and detects anomalies before they become failures. It's the substrate's nervous system.

GET /v1/harmonics/health

Query system health metrics

Accord: Coordination as Primitive

Accord enables multi-party coordination without central authority. It's how independent nodes agree on actions.

POST /v1/accord/propose

Propose coordinated action

API Reference

Authentication

All API requests require authentication using Roxy Identity tokens:

HTTP
Authorization: Bearer roxy_sk_live_abc123xyz789

Core Endpoints

POST /v1/witness/attest

Create cryptographic attestation with quorum verification

GET /v1/witness/verify/:hash

Verify attestation proof

POST /v1/chronos/anchor

Anchor data with immutable timestamp

GET /v1/chronos/query

Query temporal history with causal ordering

GET /v1/harmonics/metrics

Real-time system health metrics

POST /v1/accord/propose

Propose multi-party coordinated action

Rate Limits

Tier Requests/Second Burst Limit
Development 100 200
Production 10,000 50,000
Enterprise Custom Custom

Integration Patterns

Event-Driven Architecture

strataos naturally supports event-driven patterns. Use Witness + ChronosLedger for guaranteed delivery and temporal ordering:

JavaScript
// Emit event with guaranteed persistence await strataos.emit({ type: 'order.created', payload: order, persistence: 'guaranteed' }); // Subscribe to events with causal ordering strataos.subscribe('order.*', async (event) => { // Process with guaranteed ordering await processOrder(event); });

Performance Characteristics

Contractual Guarantees

  • ✓ p99 latency: <50ms
  • ✓ p95 latency: <30ms
  • ✓ p50 latency: <15ms
  • ✓ Availability: 99.99%
  • ✓ Durability: 11 nines

Error Handling

All API errors follow a consistent format:

JSON
{ "error": { "code": "QUORUM_TIMEOUT", "message": "Failed to achieve quorum within timeout", "details": { "required": 3, "achieved": 2, "timeout_ms": 5000 }, "request_id": "req_abc123", "timestamp": 1704067200000 } }

Next Steps

Ready to Build?

Official SDKs (Python, JavaScript, Rust, Go) releasing 2027

Join SDK Waitlist

Foundry partners get priority access · Apply to Foundry