AgentScript

AgentScript is a minimalist Agent-Based Modeling (ABM) framework for JavaScript, inspired by NetLogo. It brings the power of agent-based modeling to the browser and Node.js environments.

## Core Primitives | Primitive | Description | |-----------|-------------| | **Turtles** | Mobile agents with state and behavior | | **Patches** | The environment grid that agents move through | | **Links** | Connections between agents | | **Observer** | Global model control and data collection |

## Features - Pure JavaScript/ES6+ implementation - Runs in browser or Node.js - WebGL and Canvas rendering - Compatible with Three.js for 3D visualization - Minimal dependencies, small footprint

## Design Philosophy AgentScript follows NetLogo's conceptual model but embraces JavaScript idioms: - Functional programming patterns - ES6 classes for agent types - Async/await for model stepping - Observable patterns for UI integration

## Applications AgentScript powers simulations in: - AnyHazard - Wildfire spread modeling - Geo Camera - Camera network as agent system - Research and education in complex systems

## Related - Redfish Group - The organization developing AgentScript