cd /news/ai-agents/hexo-labs-open-sources-sia-a-self-im… · home topics ai-agents article
[ARTICLE · art-17348] src=marktechpost.com pub= topic=ai-agents verified=true sentiment=↑ positive

Hexo Labs Open-Sources SIA: A Self-Improving Agent That Updates Both the Harness and the Model Weights

Hexo Labs released SIA (Self-Improving AI) as an open-source framework under an MIT license this week, enabling an AI agent to edit both its scaffold and model weights within a single self-improving loop. The system achieved a 20.1 percentage-point accuracy gain on LawBench and a 91.9% runtime reduction on a CUDA kernel task by combining harness updates with weight updates via LoRA and PPO. The release marks the first system to simultaneously modify both components, outperforming previous state-of-the-art results across three benchmark domains.

read4 min publishedMay 29, 2026

Most AI agents stop improving once a human stops tuning them. The model is fixed. The scaffold around it is fixed. Hexo Labs wants to move both at once. It released SIA (Self-Improving AI) this week as an open-source framework under an MIT license.

The core claim of this research is narrow but concrete. SIA edits both the agent’s scaffold and the model’s weights inside one self-improving loop.

What is SIA (Self-Improving AI) SIA splits a task-specific agent into two parts. The first is the harness, also called the scaffold. That covers the system prompt, tool-dispatch logic, retry policy, and answer-extraction code. The second part is the model weights themselves.

Three LLM components drive the loop. A Meta-Agent writes the initial scaffold from a task specification and any reference code. A Task-Specific Agent runs the task and logs every step. A Feedback-Agent then reads that full trajectory and decides what to change.

That decision is the key idea. After each run, the Feedback-Agent picks one of two actions. It can rewrite the scaffold while weights stay fixed. Or it can trigger a weight update while the scaffold stays fixed.

The base model is openai/gpt-oss-120b. Weight updates use LoRA, a low-rank adapter, at rank 32. The Meta-Agent and Feedback-Agent both run on Claude Sonnet 4.6. Training runs on H100 GPUs through Modal, the team’s RL platform.

The research team labels its two operating points SIA-H and SIA-W+H. SIA-H uses harness updates only. SIA-W+H adds weight updates on top.

The Benchmark Case

The research team tested SIA on three deliberately different domains. The pattern held across all three. Weight updates added gains beyond what scaffold editing alone reached. “Initial” is the base model through the Meta-Agent’s first scaffold, before any feedback.

| Task | Initial | Prev. SOTA | SIA-H (harness only) | SIA-W+H (harness + weights) |
|---|---|---|---|---|
| LawBench (top-1 acc) | 13.5% | 45.0% | 50.0% | 70.1% |

| AlphaEvolve TriMul (reward) | 0.105 | 1.292 | 0.120 | 1.475 | | Denoising (mse_norm) | 0.048 | 0.240 | 0.241 | 0.289 |

On LawBench, the task is 191-class Chinese criminal charge classification. Harness iteration built a TF-IDF plus LinearSVC pipeline and plateaued at 50.0%. Weight updates via PPO then pushed accuracy to 70.1%. That is a 20.1 percentage-point gain over the harness-only best.

The TriMul task asks for a custom CUDA kernel on an H100 GPU. The kernel computes a core operation in AlphaFold2’s Evoformer module. Scaffold edits reached a 1.14× speedup over baseline. Weight updates then drove runtime from 12,483 to 1,017 microseconds. That is a 91.9% reduction from the harness-only peak.

One honest caveat appears in the same chart. The coding agent Claude Code reached 1.50× on TriMul unaided, beating SIA-H’s 1.14×. SIA-W+H still led overall at 14.02×.

For denoising, the agent tunes MAGIC, a single-cell RNA imputation method. Harness sweeps over its hyperparameters settled at 0.241 mse_norm. The first weight-update checkpoint added a two-line step that no scaffold produced. It rounded imputed counts to non-negative integers, lifting the score to 0.289. How the Feedback-Agent Picks Its Move

SIA does not run one fixed RL recipe. The Feedback-Agent selects a training algorithm based on the reward signal it observes.

On LawBench, the reward was a clean outcome-based scalar, so it used PPO with GAE. On TriMul, most kernels failed to compile, so it used entropic advantage weighting. That method up-weights rare high-reward rollouts. On denoising, it used GRPO, which eliminates the value network entirely.

The research team also lists REINFORCE with KL-to-base, DPO, and best-of-N behavioural cloning. Each maps to a different reward shape and failure risk.

**Strengths **and What to Watch

and What to Watch

Strengths:

  • First system to edit both scaffold and weights in one loop, per the authors’ comparison table.
  • Consistent gains over prior SOTA across three unrelated domains.
  • Open source under MIT, installable as sia-agent, with four bundled tasks.
  • Algorithm choice is conditioned on observed rewards, not a fixed schedule.

What to Watch:

  • The research reports three tasks; broader algorithm-selection results are deferred.
  • Both levers optimise the same fixed verifier, risking coupled Goodhart effects.
  • The research warn the joint fixed point may be fragile under perturbation.

Marktechpost’s Visual Explainer

*SIA: Self Improving AI with Harness & Weight Updates*(arXiv:2605.27276)

[github.com/hexo-ai/sia](https://github.com/hexo-ai/sia)

Key Takeaways

  • SIA is the first self-improving loop that edits both an agent's scaffold and its model weights.

  • A Feedback-Agent reads each run's full trajectory, then picks a harness rewrite or weight update.

  • Combining both levers beat scaffold-only on all three tasks: LawBench, TriMul kernels, scRNA-seq denoising.

  • Harness edits add software-engineering hygiene; weight updates surface domain knowledge no prompt reaches.

  • Open source under MIT (hexo-ai/sia), built on gpt-oss-120b with LoRA rank 32. Check out the ** Repo **and

Also, feel free to follow us on

Research Paper.and don’t forget to join ourTwitter and Subscribe to

[150k+ ML SubReddit](https://www.reddit.com/r/machinelearningnews/)**. Wait! are you on telegram?**

[our Newsletter](https://www.aidevsignals.com/)

now you can join us on telegram as well.Need to partner with us for promoting your GitHub Repo OR Hugging Face Page OR Product Release OR Webinar etc.? Connect with us

── more in #ai-agents 4 stories · sorted by recency
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/hexo-labs-open-sourc…] indexed:0 read:4min 2026-05-29 ·