Six-Layer Deterministic Architecture

Three-layer unidirectional dependency, 52 Gate checks enforced at compile time. 45+ pure domain modules, zero side effects.
Click any layer to view details

L6L1Unidirectional dependency, irreversible

Dispatch Router Pipeline

1
Credential Preflight
Verify {{cred://...}} references are resolvable
2
Credential Inject
Inject secrets into request parameters
3
Execute
Execute via SYSTEM / API / INTERNAL channels
4
Normalize
Unified output format (tool_name, outputs, error_code, retryable)
5
Outcome Feedback
Feed results back to Bayesian belief store

52 Gate Check System

6
Architecture Purity
purity, skeleton, no_io, determinism
5
API Compliance
public_api_surface, ports_completeness
8
Contract Freeze
linkage_spec, rpc_spec, freeze_lock
8
Memory Safety
append_only, write_audited, app_isolation
5
Knowledge Compliance
kb_ref_in_evidence, observability
15
Domain Foundation
Core domain validations
5
Policy Resilience
queue_foundation, cache_audit

One Backend, Five Interfaces

Unified HTTP REST backend with 546 endpoints. Full-channel coverage from CLI to native apps.

>_

CLI

Python / argparse

  • REPL Interactive Chat
  • SSE Streaming Output
  • Pipe Mode
  • Tab Completion
[ ]

TUI

Python / Textual

  • 5-Screen Dashboard
  • F1-F5 Shortcuts
  • 10s Auto-Refresh
  • Rich Text Panels
{ }

Web

React 18 / Vite 5

  • 9-Page SPA
  • Rich Output Renderer
  • Keyboard Shortcuts
  • Preference Learning
[ ]

Desktop

Tauri 2 / Rust

  • Native Window
  • System Tray
  • macOS/Win/Linux
  • Web Reuse
( )

Mobile

Expo / React Native

  • iOS + Android
  • 7 Tab Layout
  • Responsive
  • Phone/Tablet
OctopusOS
How can we help?