No description
Find a file
2025-12-28 06:25:29 +01:00
rhai_examples/my_simulator init 2025-12-27 20:37:54 +01:00
src init 2025-12-27 20:37:54 +01:00
.gitignore Initial commit 2025-12-27 19:18:26 +00:00
Cargo.toml init 2025-12-27 20:37:54 +01:00
docs.sh init 2025-12-27 20:37:54 +01:00
LICENSE Initial commit 2025-12-27 19:18:26 +00:00
README.md init 2025-12-28 06:25:29 +01:00

Mycelium Grid Simulator

This repository introduces a new simulator for the Mycelium Grid. Its purpose is simple: help farmers understand how value and profit are created in the grid.

The simulator is both a learning tool and the foundation for a transparent calculator that shows how real economics emerge from shared compute infrastructure and AI workloads.


What the Simulator Models

The Mycelium Grid has two clearly separated layers, and the simulator makes this explicit.

1. Infrastructure Layer — Cloud Slices

At the bottom layer, physical machines are sliced into small, usable units we call cloud slices.

A cloud slice represents:

  • A portion of CPU or accelerator time
  • A defined amount of memory
  • Storage capacity
  • Network bandwidth
  • Energy consumption

Think of this as:

One physical computer → many independent, sellable micro-resources

The simulator models:

  • How many slices a machine can produce
  • The cost of running those slices (energy, depreciation, maintenance)
  • The base revenue generated per slice
  • Utilization over time (idle vs active capacity)

This is the ground truth economics of the grid.


2. Intelligence Layer — Models & Agents

On top of the cloud slices lives the intelligence layer:

  • Large Language Models
  • Smaller task-specific models
  • Agentic systems that run continuously

These workloads consume cloud slices.

The simulator shows:

  • How AI workloads translate into slice demand
  • How different models consume different resources
  • How higher-value workloads generate higher returns
  • How coordination and orchestration increase efficiency

This layer is where raw compute turns into economic value.


How the Economic Model Works

The simulator connects both layers into a single economic flow:

  1. Farmers provide machines

  2. Machines are split into cloud slices

  3. Cloud slices are consumed by models and agents

  4. Models generate useful work

  5. Useful work generates revenue

  6. Revenue is distributed back to:

    • Farmers
    • Operators
    • The grid itself

The key insight the simulator makes visible:

Profit is not created by hardware alone, but by how intelligently slices are used.


The Calculator Vision

This repo is the foundation for a visual, interactive calculator that lets farmers answer questions like:

  • How many machines should I run?
  • What happens if utilization goes from 40% to 70%?
  • What kind of workloads generate the best returns?
  • How does AI demand affect my monthly income?
  • Where are the break-even points?

The goal is clarity, not hype:

  • Transparent assumptions
  • Simple inputs
  • Honest outputs

Why This Matters

Most cloud and AI systems hide their economics behind complexity. This simulator does the opposite.

It shows:

  • How decentralised infrastructure actually makes money
  • Why two layers are essential
  • Where risk and upside really sit
  • How farmers can make informed decisions

This is not a black box. Its a map of the economic engine of the Mycelium Grid.