Thursday, December 3, 2026 | London 10°C · Drizzle
DailyGlimpse

AI

Hexo Labs Launches Open-Source AI Agent That Improves Both Its Own Code and Weights

Hexo Labs releases SIA, an open-source framework for AI agents that keep improving without human fine-tuning.

MarkTechPost 2 min read

Hexo Labs Launches Open-Source AI Agent That Improves Both Its Own Code and Weights

Most AI agents plateau once humans stop fine-tuning them. Hexo Labs aims to change that with SIA (Self-Improving AI), an open-source framework released this week under an MIT license.

SIA is built on a simple yet powerful idea: it allows an AI agent to update both its own scaffolding (the system prompt, tools, and logic) and its model weights in a continuous self-improvement loop.

How SIA Works

SIA divides an agent into two parts: the harness (scaffold) and the model weights. Three LLM components drive the loop:

  • Meta-Agent: Writes the initial scaffold from a task specification.
  • Task-Specific Agent: Executes the task and logs every step.
  • Feedback-Agent: Reads the full trajectory and decides what to change.

After each run, the Feedback-Agent can either rewrite the scaffold while keeping weights fixed, or trigger a weight update via LoRA (rank 32) while keeping the scaffold fixed. The base model is openai/gpt-oss-120b, with the Meta-Agent and Feedback-Agent running on Claude Sonnet 4.6.

Benchmark Performance

Hexo Labs tested SIA on three diverse tasks. The results show consistent gains when both levers are used:

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, harness iteration plateaued at 50.0%, but weight updates via PPO pushed accuracy to 70.1%. For TriMul, scaffold edits reached a 1.14× speedup, while weight updates drove runtime from 12,483 to 1,017 microseconds—a 91.9% reduction.

Adaptive Algorithm Selection

SIA doesn't rely on a fixed RL recipe. The Feedback-Agent selects a training algorithm based on the observed reward signal:

  • LawBench: Clean outcome-based reward → PPO with GAE.
  • TriMul: Most kernels failed to compile → entropic advantage weighting.
  • Denoising: Used GRPO, eliminating the value network.

Other available algorithms include REINFORCE with KL-to-base, DPO, and best-of-N behavioural cloning.

Strengths and Caveats

Strengths:

  • First system to edit both scaffold and weights in one loop.
  • Consistent gains over prior SOTA across three domains.
  • Open source under MIT, with four bundled tasks.

Caveats:

  • Only three tasks reported; broader validation is pending.
  • Both levers optimize the same fixed verifier, risking Goodhart effects.
  • The joint fixed point may be fragile under perturbation.

Getting Started

SIA is available on GitHub at hexo-ai/sia. To run it:

pip install 'sia-agent[claude]'
export ANTHROPIC_API_KEY="..."
sia --task lawbench --max_gen 5 --run_id 1

The framework ships with four tasks: gpqa, lawbench, longcot-chess, and spaceship-titanic.

React