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.
Architecture
10-Layer System Overview
Specifications
Kernel RFCs
Formal specifications governing the RCT Ecosystem kernel.
JITNA Protocol v2.0
Intent specification, negotiation lifecycle, wire schema
Process Model
Process lifecycle, state management, resource allocation
Scheduler
Priority scheduling, preemption, fairness guarantees
IPC
Inter-process communication, message passing, shared memory
Syscall Interface
System call specification, error handling, permissions
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.
| Method | Endpoint | Description |
|---|---|---|
| POST | /rctlabs/assistant/chat | Main chat with SignedAI consensus |
| POST | /rctlabs/assistant/chat/stream | SSE streaming for real-time tokens |
| GET | /health | Health check with model chain info |
| GET | /metrics | Analytics + cache statistics |
| GET | /algorithms | 41 algorithm registry + tier breakdown |
| GET | /algorithms/status | Live service health check |
| GET | /models | LLM configuration + client stats |
| GET | /cache/stats | Cache hit/miss rates |
| POST | /cache/clear | Cache invalidation |
| GET | /context | Dynamic LLM context builder |
Deployment
Infrastructure Guide
Docker Compose
33 containers31+ services, health checks, 736-line config. Run with docker-compose up.
Kubernetes
57 resources57 resources: HPA, PDB, NetworkPolicy, ArgoCD GitOps, Backup CronJobs.
API Gateway
10 routesBun + Hono TypeScript gateway: JWT RS256 auth, RBAC, rate limiting, 10 routes.
Monitoring
Real-timePrometheus scrape configs + Grafana dashboards: health, RPS, latency, errors.
Testing
4849 verified testsLocust + k6 load testing, OWASP security, Chaos (9 scenarios), E2E (7 flows).
Documentation
14 endpointsC4 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.