ENTRO-ENGINE: Entropy Flow Regulator for Coupled Intelligence Systems
Project description
๐ด ENTRO-ENGINE โ Entropy Flow Regulator for Coupled Intelligence Systems
"A single engine regulates itself. A fleet of engines requires a coordinator." โ Samir Baladi, April 2026
ENTRO-ENGINE is the fourth project of the EntropyLab research program (E-LAB-04).
It advances from single-system entropy control to multi-system entropy coordination โ distributing thermodynamic pressure across coupled subsystems under a shared global budget constraint.
๐ DOI & Badges
๐ Official Website
https://entro-engine.netlify.app
๐ฏ Vision
Build a coordination layer for AI pipelines in which multiple entropy-generating subsystems share a common thermodynamic budget โ ensuring that no single subsystem collapses under load while others operate at idle, and that corrective pressure is distributed in proportion to each subsystem's entropy contribution.
The Core Shift
| Architecture | Scope | Objective |
|---|---|---|
| ENTROPIA (E-LAB-01) | Definition | Establish ฮจ vocabulary |
| ENTRO-AI (E-LAB-02) | Measurement | Monitor & detect collapse |
| ENTRO-CORE (E-LAB-03) | Local Control | Stabilize single ฮจ field |
| ENTRO-ENGINE (E-LAB-04) | Coordination | Distribute pressure across coupled systems |
๐ฌ Key Innovation
Instead of: Each subsystem independently minimizes its own entropy
ENTRO-ENGINE does: Enforce a global entropy budget across all coupled subsystems
ฮจ_total(t) = ฮจ_scraper + ฮจ_llm โค ฮจ_budget โt
The engine computes corrective signals proportional to each subsystem's entropy fraction:
u_i(t) = โฮฑ ยท ฯ_i(t) ยท tanh(ฮฒ ยท ฮ(t))
Where:
ฯ_i= fractional entropy ratio (fairness principle)ฮ(t)= global entropy pressure above budgettanh= saturation (prevents overcorrection)
๐ Architecture
entro-engine/
โ
โโโ engine/ # Core coordination engine
โ โโโ controller.py # ENTRO-ENGINE control law (Eq. 14)
โ โโโ budget.py # Entropy budget constraint (Eq. 9โ11)
โ โโโ allocator.py # Proportional allocation ratios (Eq. 12โ13)
โ
โโโ subsystems/ # Coupled subsystem models
โ โโโ scraper.py # Scraper entropy source (Eq. 1, 4, 6)
โ โโโ llm_queue.py # LLM processing queue (Eq. 2, 5, 7)
โ โโโ base.py # Abstract subsystem interface
โ
โโโ entropy/ # Entropy formulation layer
โ โโโ proxy.py # Log-proxy functions: ฮจ = log(1 + x)
โ โโโ aggregator.py # Global ฮจ_total computation (Eq. 8)
โ โโโ normalizer.py # Logistic normalization
โ
โโโ pipeline/ # Realistic pipeline simulation
โ โโโ simulator.py # Three-phase pipeline (warmup / surge / recovery)
โ โโโ simulator_v9.py # Balanced regime engine
โ โโโ simulator_v10.py # Recursive attractor engine
โ
โโโ reports/ # Daily/Weekly/Monthly reports
โ โโโ daily/ # Daily .txt reports
โ โโโ weekly/ # Weekly summaries
โ โโโ monthly/ # Monthly analyses
โ โโโ alerts/ # Alert logs
โ
โโโ tests/ # Unit & integration tests
โ โโโ test_controller.py # Controller tests (9/9 passed)
โ โโโ test_allocator.py # Allocator tests
โ โโโ test_integration.py # Integration tests
โ
โโโ data/ # Simulation output datasets
โ โโโ simulation_runs/ # CSV trajectory files
โ
โโโ docs/ # Documentation
โโโ paper/ # Research paper assets
โโโ AUTHORS.md
โโโ CHANGELOG.md
โโโ LICENSE
โโโ README.md
โโโ pyproject.toml
โ๏ธ Core Equations
| Eq. | Expression | Description |
|---|---|---|
| 6 | ฮจ_s(t) = log(1 + r_s(t)) |
Scraper entropy proxy |
| 7 | ฮจ_l(t) = log(1 + q_l(t)) |
LLM entropy proxy |
| 8 | ฮจ_total(t) = ฮจ_s + ฮจ_l |
Global entropy aggregate |
| 9 | ฮจ_total(t) โค ฮจ_budget โt |
Budget constraint |
| 11 | ฮ(t) = ฮจ_total(t) โ ฮจ_budget |
Entropy pressure |
| 12โ13 | ฯ_i = ฮจ_i / ฮจ_total |
Proportional allocation ratios |
| 14 | u_i(t) = โฮฑ ยท ฯ_i ยท tanh(ฮฒ ยท ฮ) |
ENTRO-ENGINE control law |
๐ฆ Installation
pip install entro-engine
From source:
git clone https://gitlab.com/gitdeeper10/entro-engine.git
cd entro-engine
pip install -e .
๐ Quick Start
from entro_engine import ENTROEngineController
# Initialize controller
controller = ENTROEngineController(alpha=0.5, beta=2.0, psi_budget=3.0)
# Compute control signal
signal = controller.compute_control(psi_i=1.5, psi_total=4.0)
print(f"u = {signal.u:.3f}")
print(f"ฯ = {signal.rho:.3f}")
print(f"ฮ = {signal.delta:.3f}")
๐ Simulation Results
Validated on a three-phase realistic pipeline (warmup โ surge โ recovery):
Metric Uncontrolled ENTRO-ENGINE Improvement Budget violations 312 / 1000 12 / 1000 96.2% reduction Peak ฮจ_total 5.84 3.31 43.3% reduction Peak LLM queue 87.6 req 23.4 req 73.3% reduction
Regime Distribution (v9 Final Run)
Regime Count Percentage ๐ข Stable 24 30.0% ๐ก Stress 19 23.75% ๐ด Critical 37 46.25%
๐ Links
Resource URL ๐ Official Website https://entro-engine.netlify.app ๐ Dashboard https://entro-engine.netlify.app/dashboard ๐ Documentation https://entro-engine.netlify.app/documentation ๐ Reports https://entro-engine.netlify.app/reports ๐ฆ GitLab (Primary) https://gitlab.com/gitdeeper10/entro-engine ๐ป GitHub (Mirror) https://github.com/gitdeeper10/entro-engine ๐ฆ PyPI https://pypi.org/project/entro-engine ๐ DOI https://doi.org/10.5281/zenodo.19441032 ๐ด ENTROPIA (E-LAB-01) https://doi.org/10.5281/zenodo.19416737 โ๏ธ ENTRO-AI (E-LAB-02) https://doi.org/10.5281/zenodo.19284086 ๐ง ENTRO-CORE (E-LAB-03) https://doi.org/10.5281/zenodo.19431029 ๐ค ORCID https://orcid.org/0009-0003-8903-0029
๐บ๏ธ EntropyLab Research Program
Project Title Status DOI E-LAB-01 ENTROPIA: Thermodynamic-Information Unification โ Published 10.5281/zenodo.19416737 E-LAB-02 ENTRO-AI: Entropy-Resistant AI Architectures โ Published 10.5281/zenodo.19284086 E-LAB-03 ENTRO-CORE: Self-Regulated Intelligence โ Published 10.5281/zenodo.19431029 E-LAB-04 ENTRO-ENGINE: Entropy Flow Regulator โ Published 10.5281/zenodo.19441032 E-LAB-05 ENTRO-FIN: Financial Market Entropic Signatures ๐ Planned โ E-LAB-06 ENTRO-SOCIAL: Social Network Information Cascades ๐ Planned โ E-LAB-07 ENTRO-QUANTUM: Quantum Extension ๐ Planned โ E-LAB-08 ENTRO-BIO: Biological Neural Networks ๐ Planned โ E-LAB-09 ENTRO-MANIFESTO: Unified Research Manifesto ๐ Planned โ
๐ Citation
@software{baladi2026entroengine,
author = {Baladi, Samir},
title = {ENTRO-ENGINE: Entropy Flow Regulator for Coupled Intelligence Systems},
year = {2026},
version = {1.0.0},
doi = {10.5281/zenodo.19441032},
url = {https://gitlab.com/gitdeeper10/entro-engine},
note = {E-LAB-04. Builds on E-LAB-01, E-LAB-02, E-LAB-03}
}
๐ License
MIT License โ Copyright ยฉ 2026 Samir Baladi
Part of the EntropyLab ten-project research program "Intelligence by Design, Stability by Physics"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file entro_engine-1.0.0.tar.gz.
File metadata
- Download URL: entro_engine-1.0.0.tar.gz
- Upload date:
- Size: 20.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: ENTRO-ENGINE-Uploader/1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
34443d7f25158090332a666be918f5004be7e204b7b66d345785394387666f6f
|
|
| MD5 |
e24e03668b98b097cb94c1f7ac026406
|
|
| BLAKE2b-256 |
0a66ecd74777ac1038d27a9498ed21853a9db349de0ee818ab6f5809b6a50531
|
File details
Details for the file entro_engine-1.0.0-py3-none-any.whl.
File metadata
- Download URL: entro_engine-1.0.0-py3-none-any.whl
- Upload date:
- Size: 8.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: ENTRO-ENGINE-Uploader/1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
319260710b74b9d985dddeaaf55c09da680c38b10a02fc1c3834fb14bfb20963
|
|
| MD5 |
81cf96f740e87c108c857c9dc6c167e2
|
|
| BLAKE2b-256 |
1ffcaafecba08d8f042c8258867c02fc9df0fb81a9bfcbbb408a68151b798164
|