Architecture
47 knowledge sources. 38 simulation engine bridges. One Z₃³ topology. O₀→O₁→O₂ observer. 23 core metaprograms.
High-Level Layers
TUI
Go TUI v9 feed cockpit (blast tui) — command palette, sim surface, agenda, models, API keys, social overlays.
CLI
Command-line interface — blast commands, batch processing, CI/CD integration.
ClickAPI
REST + Python API — Programmatic access to all cognitive operations.
FastAPISimulation
38 engines — From thermodynamics to neural networks to game theory.
38 EnginesKnowledge
47 sources — arXiv, PubMed, Semantic Scholar, OpenAlex, Crossref, Zenodo, ClinicalTrials.gov, GBIF, NASA Earthdata, Materials Project, Kaggle, OpenFDA, ORCID, and other configured sources.
47 SourcesCognitive
UCOS 4-layer cognitive pipeline — C4/ℤ₃³ topology engine, QZRF operators, CDI contradiction resolution, Theorem 9/11 validation.
C4-METACognitive Pipeline
The C4-META theory is not just mathematics — it is the engine that drives every discovery. The cognitive layer runs the UCOS 4-layer pipeline:
Layer 1 — Process
IMPACT / COMPASS / TOTE execution loops. When thinking happens.
ProcessLayer 2 — Statics
23 core metaprograms profiled into 3 agent perspectives. Perceptual filters that shape cognition.
23 MPsLayer 3 — Dynamics
14 QZRF operators transform states across the 27-state cognitive space.
14 OperatorsLayer 4 — Topology
C4 = ℤ₃³ — 27 states. Coordinate system for navigation, pathfinding, and Theorem 9/11 validation.
ℤ₃³CDI (Creative & Destructive Insights) operates across all 4 layers to resolve contradictions and drive paradigm shifts. See the Theory page for mathematical details, formal proofs, and the 6 C4-META theorems.
Knowledge Layer — 47 Sources
The Knowledge Layer aggregates information from 51 diverse sources, categorized into scientific, technical, commercial, and creative domains.
Scientific
arXiv, PubMed, Nature, Science, IEEE, ACM, Springer, Elsevier, JSTOR, PLOS, bioRxiv, medRxiv
Technical
GitHub, Stack Overflow, GitLab, Bitbucket, PyPI, npm, crates.io, Maven Central
Commercial
Google Patents, USPTO, EPO, Crunchbase, PitchBook, MarketWatch
Creative & General
Wikipedia, Wolfram Alpha, Semantic Scholar, Crossref, OpenAlex, Internet Archive, Library of Congress
Simulation Layer — 38 Engines
Each engine models a different physical, mathematical, or social system. Problems are dispatched to the most appropriate engine based on their Z₃³ classification.
| Category | Engines | Use Case |
|---|---|---|
| Physics | Thermodynamics, Electromagnetism, Quantum, Relativity, Fluid Dynamics | Physical system modeling |
| Biology | Evolution, Epidemiology, Ecology, Neuroscience, Genetics | Life science simulation |
| Economics | Game Theory, Market Dynamics, Auction Theory, Behavioral Econ | Strategic interaction modeling |
| Computing | Graph Theory, Optimization, Cryptography, Distributed Systems | Algorithmic problem solving |
| Social | Network Analysis, Opinion Dynamics, Crowd Behavior, Linguistics | Human system modeling |
| Creative | Music Theory, Visual Arts, Narrative Structure, Design Patterns | Creative domain exploration |
Data Flow
User Query
↓
Z₃³ Classification (Cognitive Layer)
↓
Knowledge Retrieval (47 Sources × Relevance Score)
↓
Engine Selection (38 Engines)
↓
Simulation Execution
↓
Result Synthesis & Verification
↓
Output (TUI / CLI / API / MCP)
Extension Points
- New Engine: Implement
BaseEngineinterface, register inengine_registry.yaml - New Source: Add adapter in
sources/, implementsearch()andfetch() - New Operator: Extend QZRF in
cognitive/operators.py - Custom TUI Theme: Override CSS variables in
~/.c4reqber/theme.css
Security & Resilience
- Sandboxed engine execution (restricted filesystem + network)
- Input validation at every layer (Pydantic v2)
- Rate limiting per API key
- Audit logging for all cognitive transitions
- Graceful degradation: if source fails, continue with remaining 50
Performance
| Metric | Value |
|---|---|
| Median query latency | < 2s (cached) / < 8s (cold) |
| Throughput | 120 requests/minute |
| Memory footprint | ~400 MB base + ~150 MB per engine |
| Cold start | < 3s |
Further Reading
- C4-META Theory — The mathematics behind the cognitive topology
- Documentation — Install and run your first discovery
- API Reference — Programmatic access to all operations