Morphic Lattice AI is a browser-native AI computation lab for discovering unusual engineering interventions. Instead of behaving like a normal chatbot, it turns a problem brief into a living causal lattice and runs a local evolutionary search over possible counterfactual actions.
The result is an interactive instrument that helps engineers explore hidden pressure points, unstable dependencies, novelty pockets, and risk-aware system maneuvers.
Most AI products summarize text, answer questions, classify data, or generate content. Morphic Lattice AI is different: it simulates a problem as a dynamic system and searches for interventions inside that system.
The product combines:
- Dynamic causal graph simulation
- Local evolutionary search
- Multi-objective scoring
- Real-time canvas visualization
- Web Worker based computation
- Exportable AI-generated intervention hypotheses
It does not require an API key, cloud model, database, or external dependency. The intelligence comes from the local simulation and search engine.
- Live causal lattice with nodes, links, pressure, signal, entropy, trust, and novelty
- Search modes for balanced, high-novelty, or conservative exploration
- Adjustable compute budget, population size, risk aversion, and novelty bias
- Ranked intervention ideas with utility, novelty, stability, and risk scores
- Web Worker execution so the UI remains responsive during computation
- Export button for saving experiment results as JSON
- Built-in local static server
- Node test suite for the simulation kernel
The default scenario asks the engine to explore:
Design a self-repairing autonomous data center that reduces thermal failures, power spikes, and operator blind spots during extreme load.
You can replace the brief with any complex engineering problem, reset the lattice, and run a fresh search.
- HTML
- CSS
- JavaScript ES modules
- Canvas API
- Web Workers
- Node.js local server
- Node test runner
morphic-lattice-ai/
index.html
package.json
server.js
src/
kernel.js
main.js
styles.css
worker.js
tests/
kernel.test.js
Clone or download the repository, then run:
npm run devOpen the app in your browser:
http://localhost:5173
On Windows PowerShell, if npm is blocked by execution policy, use:
npm.cmd run devnpm testOn Windows PowerShell:
npm.cmd test- The app creates a seeded causal lattice with different node roles such as sensors, actuators, constraints, memory, operators, and shadow states.
- A Web Worker evolves candidate interventions in the background.
- Each candidate is scored across utility, novelty, stability, and risk.
- The best candidates influence the lattice state over time.
- The UI renders the changing graph and displays ranked intervention hypotheses.
The engine produces ideas such as:
- Phase Braid on Sensor
- Constraint Bloom on Operator
- Entropy Clamp on Memory
- Thermal Mirror on Actuator
Each intervention includes a short action description and normalized scoring rationale.
Complex engineering systems often fail because teams optimize the visible parts of the system while missing hidden dependencies. Morphic Lattice AI gives engineers a way to explore strange but plausible system changes before committing to real-world experiments.
It is designed for:
- Systems engineering
- Infrastructure design
- Reliability research
- Autonomous operations planning
- AI-assisted product ideation
- Experimental decision support
If this folder is not already a Git repository:
git init
git add .
git commit -m "Build Morphic Lattice AI prototype"
git branch -M mainCreate a new empty repository on GitHub, then connect and push:
git remote add origin https://github.com/YOUR_USERNAME/morphic-lattice-ai.git
git push -u origin main- Add WebGPU acceleration for larger graph relaxation
- Add a WASM simulation kernel for faster rollouts
- Add saved experiments and replayable traces
- Add CSV/JSON imports for real system maps
- Add scenario templates for data centers, robotics, supply chains, and cyber defense
- Add optional LLM explanations for top-ranked interventions
MIT License. See LICENSE.