Skip to main content

Documentation

RCT Ecosystem Documentation

Technical documentation for the Constitutional AI Operating System. Architecture, APIs, RFCs, deployment guides, and public-safe references aligned to the March 2026 engineering snapshot.

2026.03 Snapshot4849 verified backend tests10-Layer Architecture

Architecture

10-Layer System Overview

L10
Enterprise HardeningSecurity, Validation, Performance, Resilience
L9
Control PlaneJITNA Wire, ED25519 Signing, Replay Engine
L8
Regional Language8 markets, compliance frameworks
L7
Universal Adapters13 adapters: Home Assistant, Terraform, n8n...
L6
JITNA ProtocolRFC-001 v2.0, AI-to-AI communication
L5
SignedAIMulti-LLM consensus, 0.3% hallucination
L4
RCTDB v2.08D memory, Registry/Vault/Governance
L3
41 Algorithms9 tiers: Foundation, Intelligence, Consciousness
L2
OS PrimitivesProcess Model, Scheduler, IPC, 6 RFCs
L1
7 Genome SystemArchitect, ARTENT, JITNA, Codex, SignedAI, Vault, RCT-7

Specifications

Kernel RFCs

Formal specifications governing the RCT Ecosystem kernel.

RFC-001

JITNA Protocol v2.0

Intent specification, negotiation lifecycle, wire schema

RFC-002

Process Model

Process lifecycle, state management, resource allocation

RFC-003

Scheduler

Priority scheduling, preemption, fairness guarantees

RFC-004

IPC

Inter-process communication, message passing, shared memory

RFC-005

Syscall Interface

System call specification, error handling, permissions

RFC-006

Fault Isolation

Process isolation, error boundaries, recovery protocols

API Reference

OpenAPI 3.1.0 — 14 Endpoints

RESTful API with JWT RS256 authentication and RBAC authorization.

MethodEndpointDescription
POST/rctlabs/assistant/chatMain chat with SignedAI consensus
POST/rctlabs/assistant/chat/streamSSE streaming for real-time tokens
GET/healthHealth check with model chain info
GET/metricsAnalytics + cache statistics
GET/algorithms41 algorithm registry + tier breakdown
GET/algorithms/statusLive service health check
GET/modelsLLM configuration + client stats
GET/cache/statsCache hit/miss rates
POST/cache/clearCache invalidation
GET/contextDynamic LLM context builder

Deployment

Infrastructure Guide

Docker Compose

33 containers

31+ services, health checks, 736-line config. Run with docker-compose up.

Kubernetes

57 resources

57 resources: HPA, PDB, NetworkPolicy, ArgoCD GitOps, Backup CronJobs.

API Gateway

10 routes

Bun + Hono TypeScript gateway: JWT RS256 auth, RBAC, rate limiting, 10 routes.

Monitoring

Real-time

Prometheus scrape configs + Grafana dashboards: health, RPS, latency, errors.

Testing

4849 verified tests

Locust + k6 load testing, OWASP security, Chaos (9 scenarios), E2E (7 flows).

Documentation

14 endpoints

C4 Architecture diagrams, Deployment Guide, Runbooks, OpenAPI spec.

Getting Started

Quick Start

1. Docker Deployment

# Clone the repository
git clone https://github.com/rctlabs/ecosystem.git
cd ecosystem

# Start all services
docker-compose up -d

# Verify health
curl http://localhost:8003/health

2. SDK Usage

import { RCT } from '@rctlabs/sdk';

const client = new RCT({
  apiKey: process.env.RCT_API_KEY
});

// JITNA Protocol: I/D/Delta/A/R/M
const result = await client.execute({
  I: "analyze",
  D: data,
  A: "summarize",
  verify: true  // SignedAI consensus
});

Need Help?

Explore the full architecture, review the RFCs, or contact our team for enterprise support.