Documentation Menu
Architecture

System Architecture

SingularCore's signal-driven architecture enforces the Golden Rule: every signal flows through the Nervous System. Cognition (Brain), execution (Muscle), memory, and interfaces are physically isolated—no component can directly import or call another. This guarantees fault containment, complete auditability, and defense-in-depth security where even AI hallucinations cannot compromise your infrastructure.

Architecture Overview

SINGULAR
AUTONOMOUS CORE
60s
PULSE
Health monitoring & telemetry
NIGHTLY
DREAM CYCLE
Pattern extraction & fine-tuning
EVENT
MICRO-DREAMS
Immediate self-repair
2X/DAY
RED TEAM
Adversarial testing

Built With

SingularCore is built with modern, high-performance technologies. All communication uses Unix sockets and Protobuf via the Nervous System.

Go 1.21+Python 3.11+RustC++Next.js 14RedisPostgreSQLpgvectorKuzuProtobufUnix SocketsgRPCPodmanFirecracker

Core Components

Nervous System

Go — Central Signal Router
Core

The central hub through which all signals flow. Enforces the Golden Rule: no component may directly import, call, or connect to another.

HTTP/WebSocket Gateway
Port 8080
Signal Router
Unix socket mesh
Circuit Breakers
Fault isolation
Security Tiers
Tier 0-3 enforcement
Rate Limiters
Leaky bucket
Interceptors
Telemetry + Audit

Brain

Python — Cognition & Planning
Core

Handles orchestration, intent classification, and task planning. All memory access through NervousMemoryAdapter—zero direct database imports.

Intent Classifier
Task-based routing
DAGPlanner
Task decomposition
NervousMemoryAdapter
Signal-based memory
Heartbeat Orchestrator
Pulse, Dream, Red Team
Executive Agent
Goal planning
Communication Bots
Multi-platform

Muscle

Rust + C++ — Execution & Inference
Core

High-performance execution layer with memory-safe sandboxing. Handles dangerous work in isolated Firecracker micro-VMs.

C++ Indexer Engine
AVX2/AVX512 + LMDB
C++ Inference Engine
CUDA/Vulkan/Metal
Rust Sandbox Engine
Firecracker VMs
Speculative Decoding
2-3x speedup
Continuous Batching
GPU optimization
Nervous Client
Signal routing

Memory Service

Go — 4-Tier Storage
Core

Unified memory system with tiered storage. All access via memory.proto signals through Nervous System.

L1: Redis Handler
Hot cache
L2: PostgreSQL Handler
Episodic + pgvector
L3: Kuzu Handler
Graph memory
L4: File Handler
Cold storage
Signal Handler
Memory operations
Connection Pools
DB management

Command Center

Next.js — Web Dashboard
Interface

Web-based control panel for system monitoring, task visualization, and approval workflows.

Nervous Client
WebSocket client
Real-Time Telemetry
System metrics
Approval Workflow
Tier 3 approvals
Task Visualization
DAG progress
Health Dashboard
Component status
Config Management
Settings UI

Chat Channels

Multi-Platform Integration
Interface

Unified interface for all communication channels. All messages route through Nervous System to Brain's Communication Bots.

Telegram Bot
Mobile commands
Discord Bot
Community integration
Slack Bot
Team workflows
WhatsApp
Business messaging
iMessage
macOS native
Web Dashboard
Browser interface

Skills Hub

Part of Brain Architecture
Extension

Zero-trust plugin system with strict validation. Skills execute within Brain's sandboxed environment with tier-based permissions.

Built-in Skills
30+ pre-installed
Custom Skills
User-created plugins
Skill Registry
Zero-trust validation
Zero-Trust Verify
Security checks
Downloaded Skills
Community plugins
Staging Area
Pending verification

Security Model

Security Tiers (0-3)

T0
OBSERVE
Read-only — no approval
T1
SANDBOX
Containerized execution
T2
LOCAL
NAS write — agent approval
T3
EXTERNAL
External APIs — human approval

Network Security

Internet access is physically restricted via Squid Proxy whitelist:

-GitHub (code retrieval)
-PyPI (package downloads)
-All other traffic blocked
-Internal systems unreachable

Even if compromised, the AI cannot reach internal systems.

Self-Improvement Cycles

The Pulse

Every 60s

Health checks, telemetry, scheduled tasks

Dream Cycle

2:00 AM

Pattern extraction, LoRA training

Micro-Dreams

Real-time

Instant repair on critical events

Red Team

2× Daily

Self-penetration testing

Want to Contribute?

SingularCore is open source (AGPL-3.0). We welcome contributions from developers who want to help build the future of sovereign AI infrastructure. We follow a simple philosophy: one file at a time, zero test failures.