asymptotic-ethics

v0.1.0
io.github.Toby-Self/asymptotic-ethics Checked 3 days ago Published 4 months ago

MCP server for an Asymptotic Ethics governance simulation with a verified compliance oracle.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

check_governance_compliance

Stateless compliance check: given a proposed action and the state needed to judge it (both supplied in action_json, nothing retained server-side between calls), returns whether the action is compliant with this framework's governance rules -- and why. Every rule here is a verified, faithful extraction of logic that already exists and is already tested in the underlying simulation, not a plausible-sounding reimplementation -- see governance_compliance.py's own verification block, which checks each rule against real captured votes/transfers from a live model run,…

ParameterTypeDescription
action_json *string
action_type *string

list_compliance_rules

List every available governance compliance rule, its required action_json schema, and the rationale behind it -- read this before calling check_governance_compliance() to construct valid requests.

run_simulation

Run a single Asymptotic Ethics Model simulation and return key outcome metrics as JSON. params_json: a JSON object of any opt-in model parameters, e.g. '{"coupled_governance": true, "post_scarcity_enabled": true, "automation_care_absorption": 1.0}'. Call list_parameters() first if unsure what's available -- there are ~132 opt-in parameters across 28 independently-toggleable subsystems, all defaulted off.

ParameterTypeDescription
n_citizensinteger
n_communitiesinteger
params_jsonstring
seedinteger
stepsinteger

compare_configurations

Run two model configurations across multiple seeds and return their averaged outcome metrics side by side. This is the actual pattern used throughout this project's development -- never trust a single seed; always compare configurations against each other directly rather than reasoning about one in isolation. Several real bugs in this codebase were only caught by exactly this kind of paired comparison.

ParameterTypeDescription
config_a_json *string
config_b_json *string
n_citizensinteger
n_communitiesinteger
n_seedsinteger
stepsinteger

wide_seed_sweep

Run a configuration across many seeds specifically checking for crashes, assertion failures, or resource blowups -- the exact adversarial-testing pattern that caught every real bug found in this project's development (a billions-scale payout blowup that only appeared in 3 of 10 seeds, a negotiation over-commitment bug, several calibration failures). Returns a report of any seed that failed, not just aggregate statistics that could hide a rare failure.

ParameterTypeDescription
n_citizensinteger
n_communitiesinteger
n_seedsinteger
params_jsonstring
stepsinteger

list_parameters

List every opt-in model parameter with its default value, and separately list the 28 independent '_enabled' master switches -- the top-level subsystems worth knowing about before diving into the full ~132-parameter surface.

get_findings

Return the full contents of FINDINGS.md -- the project's experimental record, including every bug found and how, and current known open issues. Read this before running new experiments to avoid re-discovering an already-established result.

get_readme

Return the full contents of README.md -- the project's quick-start map and condensed parameter reference.

run_test_suite

Run the persisted pytest regression suite and return a pass/fail summary. Run this before trusting results from a modified copy of the model file -- confirms the ~13 load-bearing findings this whole project depends on still hold, the same check that caught two real problems (a false regression alarm, an actual reversed finding) the one time this suite was itself first tested.