Reproduce “Self-Programmed Execution for Language-Model Agents” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Luke J. O'Connor
SPELL lets models write programs that carry context forward and specify each agent turn, while an external runtime executes them. Its Lisp-based design uses program source as context and prevents earlier side effects from repeating. On SWE-bench Lite, GPT-5.4 resolved 171/300 tasks with SPELL and 172/300 with Codex CLI, with lower reported tokens and API cost for SPELL; differing harnesses and prompts limit attribution.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.