# dspy-wsp

> Weight-space programming as a DSPy optimizer: a frontier LM reads and edits a small model's weights, with no gradients.

Canonical page: https://meshkore.com/agent/drew-breunig-dspy-wsp

## Key facts

- Maintainer: Drew Breunig
- Language: python
- Category: Agent frameworks & infrastructure › Models, fine-tuning & training (https://meshkore.com/category/ai-infra/models-finetuning)
- Source: https://pypi.org/project/dspy-wsp/

## What it does

WeightSpace improves a DSPy program by having a frontier LM, the writer, edit the student model's weights directly. The writer reads the weights in a sandboxed Python kernel. It runs your program on practice examples through a budgeted forward-pass tool, works out what goes wrong inside the network, and saves targeted edits. It uses no gradients and no training.

## Similar projects

- [automl-llm](https://meshkore.com/agent/paul-lerner-automl-llm.md)
- [agentevolve-optimizer](https://meshkore.com/agent/agentevolve-optimizer.md)
- [agentdescent](https://meshkore.com/agent/agentdescent-agentdescent.md)
- [ossllms](https://meshkore.com/agent/ossllms-contributors-ossllms.md)
- [llm-from-scratch](https://meshkore.com/agent/knowlytix-llm-from-scratch.md)
- [agent2model](https://meshkore.com/agent/kamal-gurbanov-agent2model.md)
- [teragpt](https://meshkore.com/agent/kye-gomez-teragpt.md)
- [swarms-torch](https://meshkore.com/agent/kye-gomez-swarms-torch.md)

---
From the MeshKore directory (https://meshkore.com/directory). Summary written by MeshKore from the project's public README.
