เอกสารประกอบ
เอกสารประกอบ RCT Ecosystem
เอกสารประกอบทางเทคนิคสำหรับ Constitutional AI Operating System — สถาปัตยกรรม, APIs, RFCs, คู่มือการ Deploy และข้อมูลสาธารณะ สอดคล้องกับภาพรวมวิศวกรรมเดือนมีนาคม 2026
สถาปัตยกรรม
ภาพรวมสถาปัตยกรรม 10 ชั้น
ข้อกำหนด
Kernel RFCs
ข้อกำหนดทางเทคนิคสำหรับ kernel ของ RCT Ecosystem
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
OpenAPI 3.1.0 — 14 Endpoints
RESTful API พร้อม JWT RS256 และการอนุญาต RBAC
| Method | Endpoint | คำอธิบาย |
|---|---|---|
| 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 |
การติดตั้ง
คู่มือโครงสร้างพื้นฐาน
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.
เริ่มต้น
เริ่มต้นใช้งาน
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 หรือติดต่อทีมงานของเราสำหรับการสนับสนุนระดับองค์กร