url: "https://research.superradiant.ai/abs/sia-rust/" title: "A Native Rust Re-implementation of the Self-Improving Agent Harness: Architecture, Fidelity, and Extensions — Superradiant Research" description: "A self-improving agent changes its own harness, and eventually its own weights, in response to feedback on what it did. In one well-specified design, a Meta-Agent writes and improves a Target-Agent, the Target-Agent executes a task, and a Feedback-Agent analyzes the resulting trajectory to propose t" updated: 2026-11-26 sections[7]: - heading: "" level: 0 blocks[2]{type,content}: Para,"[superradiant:sia-rust](https://research.superradiant.ai/abs/sia-rust/)" Para,System report - heading: "A Native Rust Re-implementation of the Self-Improving Agent Harness: Architecture, Fidelity, and Extensions" level: 1 blocks[2]{type,content}: Para,"[Micah Stubbs](https://superradiant.ai/team#member-micah-stubbs), [Will Stark](https://superradiant.ai/team#member-will-stark)" Para,"June 6, 2026" - heading: In plain language level: 2 blocks[2]{type,content}: Para,"A self-improving agent changes its own harness, and eventually its own weights, in response to feedback on what it did. In one well-specified design, a Meta-Agent writes and improves a Target-Agent, the Target-Agent executes a task, and a Feedback-Agent analyzes the resulting trajectory to propose the next improvement (the self-improving agent harness, Hebbar et al., arXiv:2605.27276). This paper is a system and experience report on sia_rust, a native Rust implementation of that self-improving-agent loop plus a set of safety, observability, and scheduling extensions." Para,"We describe a faithful, byte-parity port of the deterministic self-improvement core; a native multi-provider LLM agent-runner layer built on injectable transports and tested offline; and a set of extensions scoped honestly as engineering primitives: a capability allow-list and threat model, a native verifier trait, per-generation telemetry, a dashboard, an adaptive scheduler, and a tested pure-CPU LoRA reference. The Rust core runs roughly 5.8× faster by geometric mean across nine operations. We are explicit about what is not yet evaluated and what remains future work." - heading: Abstract level: 2 blocks[3]{type,content}: Para,"The self-improving agent harness described in Self-Improving AI with Harness & Weight Updates is a framework in which a Meta-Agent writes and improves a Target-Agent, the Target-Agent executes a task, and a Feedback-Agent analyzes the resulting trajectory to propose the next improvement \\[1\\]. This paper is a system and experience report on sia_rust, a native Rust re-implementation of the self-improving agent harness plus a set of safety, observability, and scheduling extensions." Para,"We describe three bodies of work. First, a faithful port of the deterministic self-improving agent harness core (orchestrator, context/trajectory management, prompt system, run-directory format, and web visualizer) that reproduces the reference Python implementation's prompt, context, and execution-log outputs byte-for-byte, verified by a differential-parity harness over an ASCII + CJK + emoji + control-character matrix. Second, a native multi-provider LLM agent-runner layer built on rig-core and injectable HTTP transports, comprising three runners (a Claude /v1/messages tool-use loop, an OpenHands-style OpenAI-compatible loop, and a PydanticAI-style loop), with trajectory-capture middleware, a provider/profile mapping layer, retry/resilience decorators, and a structured-output parity harness. The entire LLM layer is feature-gated and driven through injectable transports so its full tool-use loops are tested offline with scripted responses. Third, a set of extensions scoped honestly as engineering primitives and seams: a pure-std capability allow-list and a formal threat model for self-modifying agents; a native Verifier trait with adversarial-robustness hooks; per-generation telemetry; an Axum-based dashboard for the self-improving agent harness; a heuristic adaptive harness-vs-weight-update scheduler; and a native weight-update abstraction with a tested pure-CPU LoRA reference implementation." Para,"We evaluate the port via differential parity, deterministic microbenchmarks (the Rust core runs roughly 5.8× faster by geometric mean across nine operations, up to ~25× on prompt building and ~18× on execution-log loading), and offline test coverage including mocked tool-loop tests and golden-master trajectory round-trips. We are explicit about what is not evaluated and what remains future work: a full meta-RL scheduler (only a heuristic exists; UCB/contextual-bandit stages are not implemented), GPU LoRA / real weight-update training (only a CPU reference plus an abstraction; Candle is not integrated), OS-level sandbox enforcement (only an advisory capability allow-list plus a roadmap; landlock/seccomp/WASI are not wired in), and any live end-to-end self-improvement accuracy study." - heading: Cite this paper level: 2 blocks[4]{type,content}: CodeBlock,"@techreport{stubbs2026siarust,\n title = {A Native Rust Re-implementation of the Self-Improving Agent Harness: Architecture, Fidelity, and Extensions},\n author = {Stubbs, Micah and Stark, Will},\n institution = {Superradiant Research},\n year = {2026},\n month = jun,\n url = {https://research.superradiant.ai/abs/sia-rust/}\n }" Para,"Copy BibTeX [Download .bib](https://research.superradiant.ai/abs/sia-rust.bib)" Para,"[![First page of A Native Rust Re-implementation of the Self-Improving Agent Harness: Architecture, Fidelity, and Extensions](https://research.superradiant.ai/thumbs/sia-rust.png)](https://research.superradiant.ai/sia/sia_rust.pdf)" Para,"[Download PDF (v1)](https://research.superradiant.ai/sia/sia_rust.pdf) [Overview page](https://research.superradiant.ai/sia/)" - heading: Subjects level: 3 blocks[1]{type,content}: BulletList,"- cs.AI\n- cs.SE" - heading: Versions level: 3 blocks[5]{type,content}: BulletList,"- [v1](https://research.superradiant.ai/sia/sia_rust.pdf) Jun 6, 2026 Initial release" Para,SUPERRADIANT Para,"[\\[ hello@superradiant.ai \\]](mailto:hello@superradiant.ai)" Para,coherent collective intelligence Para,© 2026 Superradiant links[9]{text,url}: "superradiant:sia-rust","https://research.superradiant.ai/abs/sia-rust/" Micah Stubbs,"https://superradiant.ai/team#member-micah-stubbs" Will Stark,"https://superradiant.ai/team#member-will-stark" Download .bib,"https://research.superradiant.ai/abs/sia-rust.bib" "","https://research.superradiant.ai/sia/sia_rust.pdf" Download PDF (v1),"https://research.superradiant.ai/sia/sia_rust.pdf" Overview page,"https://research.superradiant.ai/sia/" v1,"https://research.superradiant.ai/sia/sia_rust.pdf" hello@superradiant.ai,"mailto:hello@superradiant.ai"