HubCloneHubClone
← Back to Articles

A curriculum for post-training small agents

Published11 min read▲ 412

Small models can be surprisingly capable agents when they are trained in the right order. In this post we describe a four-stage curriculum that takes a base model from following instructions to completing multi-step tasks with tools.

Stage 1: format before skill

The first stage only teaches the model the shape of a tool call. We use short synthetic traces where the right answer is always a single call, which makes the reward signal clean and the training fast.

Stage 2–3: planning and recovery

Next we introduce tasks that need two to five calls and, crucially, traces where a tool returns an error. Models that never see failures in training tend to repeat the same broken call forever.

Mixing in about 15% recovery traces was enough to cut infinite loops by more than half in our evaluation suite.

Results

The final checkpoint solves 61% of the held-out tasks, up from 23% for the instruction-tuned starting point. All datasets and the training recipe are public on HubClone.

ResearchOpen Source