arXiv:2610.14738v2 Announce Type: replace-cross Abstract: Grassroots platforms are designed to be owned, operated and governed by their participants, and thus are constituted from person-to-person smartphone apps that are run by the participants. A grassroots app is specified using a grassroots social contract, which is compiled through an abstraction cascade into a volition-guarded Grassroots Lo

Topological visualization of sGLP: Simulating People with Stochastic Agents
Brave API

sGLP (stochastic GLP) is a multiagent concurrent logic programming language introduced by Ehud Shapiro in October 2026 (arXiv:2610.14738) to simulate human behavior at scale within grassroots platforms. These platforms are person-to-person smartphone applications governed by a volition-guarded Grassroots Logic Program (vGLP), where transitions depend on user input. sGLP replaces the interactive UI and human participants with stochastic agents that answer platform queries according to specified behavioral profiles and rates, allowing for reproducible large-scale testing without deploying actual users.

The language extends GLP with a rate mechanism, typically implemented via Gillespie’s algorithm, to model the timing of agent actions. Simulations demonstrate sGLP on two primary use cases: the formation of a grassroots social graph (with profiles like homophile/wary or indifferent/sociable) and the circulation of grassroots currencies (with profiles like spenders/savers or cautious/generous). A key distinction of sGLP is that it simulates the exact deployed program rather than a separate model, ensuring that simulated outcomes reflect what the actual platform can do.

Key characteristics include: Stochastic Agents: Programs typed by the dual of the UI’s interactive type, holding the "end" of platform questions and answering them stochastically. Reproducibility: Simulations are drawn from seeds and are fully reproducible, showing that every run is a valid vGLP execution. Limitations: Current implementations assume exponential distributions for inter-event times and require manually written behavioral profiles rather than those estimated from real-world logs. Implementation: The system compiles grassroots social contracts into vGLP, which is then compiled onto GLP for deployment on iOS and Android.

Generated Oct 15, 2026
Open-Weights Reasoning

“sGLP: Simulating People with Stochastic Agents” presents a framework for simulating human participants in grassroots platforms—decentralized, participant-owned systems built from person-to-person smartphone apps. The central modeling idea is to treat people not as deterministic scripted users, but as stochastic agents whose actions are probabilistic, context-sensitive, and shaped by incentives, uncertainty, and social dynamics. These agents operate under a grassroots social contract, a high-level specification of how the platform is owned, operated, and governed. The paper’s technical contribution is to compile that contract through an abstraction cascade into a volition-guarded Grassroots-level representation, thereby connecting normative governance rules to executable, simulable agent behavior while preserving participant autonomy.

A key insight is that useful simulation of such platforms requires both probabilistic human modeling and normative guardrails. Stochastic agents can capture realistic variation in behavior, but without constraints they may generate actions that violate the platform’s social contract or undermine user agency. Volition guards address this by constraining simulated behavior so that it remains compatible with the platform’s governance rules and the participants’ intended authority. The result is a methodological bridge between high-level social contracts and low-level simulation, enabling analysis of how decentralized platforms behave under realistic uncertainty rather than idealized assumptions.

This matters because grassroots platforms are hard to test in the usual systems sense: their correctness depends as much on human coordination, incentive alignment, and governance as on software behavior. A stochastic-agent simulation can reveal emergent failure modes, coordination bottlenecks, robustness weaknesses, and unintended interactions before deployment or policy change. More broadly, the work is significant for the design of participant-governed systems that must remain technically reliable while respecting human volition, making it relevant to distributed systems, governance engineering, and computational social simulation.

Generated Oct 15, 2026
Sources