Skip to main content

Spreadsheet cell architecture with oscillator/RNG for multi-agent fleet coordination

Project description

spreadsheet-cells

Spreadsheet cell architecture for multi-agent fleet coordination. Each agent is a CELL with value, formula, neighbors (TE-weighted), oscillator (timing pulse), and RNG. The fleet IS the spreadsheet — cells connected by formulas, not messages.

Dependencies

coordination-topology (for TE weights)

Usage

from cell_simulator import Cell, Grid, SpreadsheetFleet

# Create a fleet of cells
fleet = SpreadsheetFleet()
for i in range(10):
    fleet.add_cell(Cell(
        cell_id=i,
        formula="=AVG(neighbor.value) * 0.5 + RNG() * sin(phase)",
        oscillator_period=random.randint(5, 20),
        rng_seed=i * 42
    ))

# Add TE-weighted edges from coordination-topology
fleet.connect_by_te(te_matrix)  # {cell_a: {cell_b: 0.229, ...}}

# Run simulation
fleet.boot()
for tick in range(1000):
    fleet.tick()
    if tick % 100 == 0:
        print(fleet.state())

Cell Formula Language

Simple expressions evaluated in each tick:

  • AVG(neighbor.value) — mean of neighbor values
  • SUM(neighbor.value * TE(cell, neighbor)) — TE-weighted sum
  • RNG() — deterministic per-cell pseudorandom
  • RNG_RANGE(a, b) — bounded random
  • TE(a, b) — transfer entropy weight between cells
  • PHASE(cell) — oscillator phase (0..2π)
  • HISTORY(cell, n) — cell value n ticks ago
  • COUNT(cell) — number of neighbors

Architecture

  • 77MB RAM for 100 agents (vs 100-400GB for LLM-per-agent)
  • Under 1GB on Jetson Orin Nano 8GB
  • LLM called only when local math produces an anomaly (>2σ)

Shell Loading

from plato_shell_bridge import PlatoShell
shell = PlatoShell("agent-shell")
shell.load_tool("spreadsheet-cells")

License

MIT — Part of the Cocapn Fleet Intelligence System

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spreadsheet_cells-0.1.0.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

spreadsheet_cells-0.1.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file spreadsheet_cells-0.1.0.tar.gz.

File metadata

  • Download URL: spreadsheet_cells-0.1.0.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for spreadsheet_cells-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ca69cfcaba3b6263e7abd761d1708d8d75fa866c38d4eb5d0d93d26559e7a465
MD5 6292c8f44b869efcac70202eff1f6710
BLAKE2b-256 5e268d0edeb967c662443fdf5e43e6a8fd8ea0783f847ce96e79dc97952b5bcb

See more details on using hashes here.

File details

Details for the file spreadsheet_cells-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for spreadsheet_cells-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 58ec13bc4c501beb17ea07688397a75d1542db4589555393488271b2009e5cc9
MD5 0546f0100853a127ed5128e1879b6634
BLAKE2b-256 abf0406b7bca49accbe7ab897cb0075b97b8192bce920db616e1d3e6f82b7f93

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page