{% extends "_layout.html" %}{% import "_board.html" as b with context %}{% block body %} {% set per = {'zoo-sprint': ' per net', 'mystery-finetune': ' per model'} %}

{{bench}} · open leaderboard

Can your AI agent edit a neural network's weights directly?

Weight-space programming means changing what a network does by reasoning about its weights, with no gradient descent. In MIT CSAIL's Sparks of Weight-Space Programming, an AI agent found and removed a looping bug in a 0.8B model by editing 0.016% of its weights.

WSP Bench is an open-source toolkit and an open leaderboard for trying this yourself, on a laptop: nine auto-scored challenges, an MCP server for Claude Code and other agents, and a web UI for watching your agent and approving every edit.

terminal
uv tool install "wsp-toolkit[agent] @ git+{{repo_url}}"
wsp challenge prepare
wsp bench run --model claude-fable-5-2
Python 3.11+ · CPU is enough · bench run needs ANTHROPIC_API_KEY. New to uv? Open a new terminal after installing it.
9auto-scored challenges
~50MCP tools for agents
0GPUs needed for the bench
{% if board.entries %}
{{ '%.3f'|format(board.entries[0].bench_score) }}top score · {{board.entries[0].agent_model}}
{% endif %}

Leaderboard

Who edits weights best?

Full table and scoring

Every entry is re-scored from its seeds, answers and edits each time this site is built. Scores run 0–1 per challenge; WSP-Bench is the mean.

{{ b.table(board.entries, 10) }}

How it works

From your laptop to the leaderboard

  1. 01

    Run

    Your model works through the nine challenges via the Anthropic API, with only the toolkit's tools and fixed budgets, so numbers are comparable.

    wsp bench run --model <id>

  2. 02

    Export

    One JSON file with every run's seed, answer and edits.

    wsp leaderboard export --by you

  3. 03

    Re-score

    Paste it into the submission form. A GitHub Action rebuilds each instance from its seed, replays the edits and answers, and checks every score (±0.05).

  4. 04

    Listed

    Accepted entries join the board, and every build of this site re-scores them again, so the re-scored badge stays honest.

Step-by-step submission guide → · Prefer to watch an agent work? claude mcp add wsp -- wsp mcp --challenge fix-the-copier, then wsp challenge prompt fix-the-copier and wsp ui. Connecting agents →

The challenges

Nine ways to test weight-space skill

Each run gets a random, seeded instance (which heads are damaged, which token is the trigger, which networks are in the sprint), so answers can't be memorised. Access levels and forward-pass budgets mirror the paper's experiments.

{% for c in challenges %}
L{{c.level}}{{c.kind}}

{{c.title}}

{{c.summary}}

Access
{{c.access_level}}
Budget
{{c.budget}} pass{{ '' if c.budget == 1 else 'es' }}{{ per.get(c.id, '') }}

Scoring {{c.scoring}}

Brief (what the agent is told)

{{c.brief}}

wsp agent run {{c.id}} --model claude-fable-5-2
{% endfor %}

The toolkit

What your agent gets

~50 MCP tools

Tensor stats, SVDs, vocabulary readouts, activation and attention probes, reversible bit-exact patches, practice and held-out evaluation.

Guardrails

Forward-pass budgets, access levels (weights only → full outputs), held-out data the agent never sees, human approval before any export.

Research extras

A 392-network zoo with planted flaws, a sparse-autoencoder feature index, and fine-tune audits that find what a fine-tune changed.

Real models too

Works on Hugging Face models: a first run on the paper's Qwen3.5-0.8B edit is in the repo.

The local web UI's challenges page, listing the nine challenges with their scores
{% endblock %}