Skip to main content

เอกสารประกอบ

เอกสารประกอบ RCT Ecosystem

เอกสารประกอบทางเทคนิคสำหรับ Constitutional AI Operating System — สถาปัตยกรรม, APIs, RFCs, คู่มือการ Deploy และข้อมูลสาธารณะ สอดคล้องกับภาพรวมวิศวกรรมเดือนมีนาคม 2026

2026.03 Snapshot4849 ผลการทดสอบ backend ที่ผ่านสถาปัตยกรรม 10 ชั้น

สถาปัตยกรรม

ภาพรวมสถาปัตยกรรม 10 ชั้น

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

ข้อกำหนด

Kernel RFCs

ข้อกำหนดทางเทคนิคสำหรับ kernel ของ RCT Ecosystem

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

OpenAPI 3.1.0 — 14 Endpoints

RESTful API พร้อม JWT RS256 และการอนุญาต RBAC

MethodEndpointคำอธิบาย
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

การติดตั้ง

คู่มือโครงสร้างพื้นฐาน

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.

เริ่มต้น

เริ่มต้นใช้งาน

1. ติดตั้งด้วย Docker

# 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

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
});

ต้องการความช่วยเหลือ?

สำรวจสถาปัตยกรรมเต็ม ตรวจสอบ RFCs หรือติดต่อทีมงานของเราสำหรับการสนับสนุนระดับองค์กร