QUIMERIA-HYPERION is a Python/FastAPI application with an optional Rust subproject (Documentation Index
Fetch the complete documentation index at: https://mintlify.com/deskiziarecords/QUIMERIA-HYPERION/llms.txt
Use this file to discover all available pages before exploring further.
hyperion/) for high-performance execution. The Python backend is the active production system and runs fully without the Rust crate. This page covers the complete installation, from Python version requirements through optional GPU packages to the Rust build.
Prerequisites
| Requirement | Minimum | Recommended |
|---|---|---|
| Python | 3.10 | 3.12 |
| pip | Any current | Latest |
| Node.js | — | 18+ (frontend dev only) |
| Rust / Cargo | — | Latest stable (hyperion/ only) |
Install core dependencies
Clone the repository and installrequirements.txt. This installs all packages needed to run the full SMK pipeline.
fastapi>=0.104+uvicorn[standard]>=0.24— API server and ASGI runnernumpy>=1.24,pandas>=2.0,scipy>=1.10— numerical foundationscikit-learn>=1.3— ML utilitiesstatsmodels>=0.14— statistical models (shim available if import fails)ccxt>=4.0— Bitget and exchange connectivitypython-multipart— file upload support for CSV endpoints
Optional dependencies
These packages unlock specific subsystems. The kernel loads each via atry_load() wrapper and falls back to numpy stubs when they are absent — the server never crashes on a missing optional import.
| Package | Subsystem | Install command |
|---|---|---|
jax, jaxlib | Mandra kernels, Lambda Fusion (GPU acceleration) | pip install jax jaxlib |
faiss-cpu | SMART-EXE pattern memory (FAISS vector search) | pip install faiss-cpu |
ripser>=0.6 | Topological Fracture Detector (persistent homology) | pip install ripser |
When JAX is not installed, the system logs a warning and substitutes a numpy shim (
backend/jax_shim.py). Mandra kernel computations run correctly but are slower. The warning JAX not installed — using numpy shim is expected in this mode.Platform launchers
The launcher scripts setSMK_DIR, PYTHONPATH, create required directories, verify modules, and start uvicorn. Use them for the fastest path to a running system.
--host HOST to bind to a specific interface and --restart to stop then restart all services cleanly.
SMK_DIR environment variable
SMK_DIR points to the project root so the kernel can resolve cross-package imports at runtime. Without it, smk_pipeline._find_smk_root() falls back to walking up from backend/, which may fail in some environments.
Verify the installation
After settingSMK_DIR, confirm the core modules load correctly:
Rust hyperion subproject
Thehyperion/ directory contains a Rust crate compiled as a pyo3 cdylib. It implements the high-performance SentinelEngine and is accessed from Python via backend/hyperion_client.py. The Rust crate is not yet wired into the main pipeline — the Python backend operates independently.
scripts/start.sh) handles the Rust build automatically using maturin if cargo is detected. It checks a build hash against Cargo.lock to skip unnecessary rebuilds:
backend/hyperion_client.py falls back to Python mock mode automatically.