Non-von Neumann runtime with thermodynamic execution physics
Project description
Thermodynamic Computing Substrate (TCS)
A non-von Neumann runtime abstraction where execution behavior emerges from simulated thermodynamic laws rather than boolean logic.
Overview
TCS introduces computational physics to AI runtime systems. Every entity (file, process, operation) has temperature, entropy, and phase state that mathematically couple to execution parameters.
Key Features
- Mathematical Coupling: Phase coefficients directly modify execution (not if/else)
- Heat Transfer: Inter-entity thermal conductivity for autonomous workload distribution
- Self-Regulation: System maintains equilibrium without external control
- Thermal Reflection: AI adapts behavior based on environment it creates
- Phase Transitions: Execution characteristics change with thermal state
Quick Start
from thermal_substrate import ThermalSubstrate
# Initialize
tcs = ThermalSubstrate('thermal.db')
# Register entity
tcs.register_entity('my_process', 'operation', initial_temp=300)
# Execute with thermal coupling
result = tcs.execute_with_coupling('compute', 'my_process')
# Heat transfers automatically between interacting entities
tcs.heat_transfer('process_a', 'process_b')
# Get thermal state for AI reflection
state = tcs.get_system_state_prompt()
Installation
pip install thermodynamic-substrate
Or from source:
git clone https://github.com/prettybusysolutions-eng/thermodynamic-substrate
cd thermodynamic-substrate
pip install -e .
Use Cases
Autonomous Cost Control
Hot operations (>1000K) automatically throttle, preventing runaway compute costs.
Load Balancing
Heat transfer naturally distributes workload across entities.
Agent Coordination
Multi-agent systems self-regulate through shared thermal environment.
Resource Management
Frozen entities (<100K) automatically prune, freeing resources.
Documentation
Architecture
┌─────────────────────────────────────┐
│ AI Agent / Runtime │
└──────────────┬──────────────────────┘
│ Operations
▼
┌─────────────────────────────────────┐
│ Thermodynamic Substrate (DB) │
│ ┌─────────┐ ┌─────────┐ │
│ │Entity A │──────│Entity B │ │
│ │ 800K │ Heat │ 300K │ │
│ └─────────┘Transfer└────────┘ │
└──────────────┬──────────────────────┘
│ Phase Changes
▼
┌─────────────────────────────────────┐
│ Emergent System Behavior │
│ (Throttling / Pruning / Balance) │
└─────────────────────────────────────┘
Performance
This is currently best framed as an experimental runtime and research prototype.
Stress test highlights:
- Initial: 397K average
- Peak: 968K (stayed below 1000K throttle)
- Final: 548K (self-regulated)
- Zero manual intervention required
Current benchmark tradeoffs for small operations:
- Overhead: +950.8%
- Total time: +532.5%
That overhead is expected at small scales where thermal bookkeeping dominates. TCS is not claiming production performance superiority yet; it is exploring whether physics-inspired coupling can unlock better load management under more realistic agent workloads.
License
MIT License - see LICENSE file
Citation
@software{thermodynamic_substrate_2026,
title={Thermodynamic Computing Substrate: A Non-Von Neumann Runtime for AI Systems},
author={[Authors]},
year={2026},
url={https://github.com/prettybusysolutions-eng/thermodynamic-substrate}
}
Contributing
Contributions welcome! Please:
- Open an issue for bugs or feature requests
- Submit PRs for improvements
- Add tests for new features
- Follow existing code style
Status
✅ Working implementation
✅ Tested and validated
✅ Experimental / research-stage
✅ Open source
A new kind of computer. One that runs on computational friction.
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 thermodynamic_substrate-1.0.1.tar.gz.
File metadata
- Download URL: thermodynamic_substrate-1.0.1.tar.gz
- Upload date:
- Size: 9.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b8479124751980ef52fe41da32e9a29a30f06e1648602485b9055a9b0f041eee
|
|
| MD5 |
9b6dfca5a81f7d0914fadec3b0dd30fb
|
|
| BLAKE2b-256 |
1faa946c9cd2b6940fc10df8869fdf32f2cec557696d80de1ed5f6e196aff534
|
File details
Details for the file thermodynamic_substrate-1.0.1-py3-none-any.whl.
File metadata
- Download URL: thermodynamic_substrate-1.0.1-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
150fd8be47fbda698cc250d87bbd95e9cea063293662eb5a1f2dde0bd5637603
|
|
| MD5 |
365950b884597c7d9fc568d593685347
|
|
| BLAKE2b-256 |
2421adc3c57ba3d11b429e85eb008bafa861d88602df40b75bfbb0e5a1034aea
|