Live code-as-policy runs¶
Source
Reproduction record from hylo-harness: adapters/hylo-code-agents/examples/README.md. Every number on this page was measured by the scripts next to it; run them to reproduce.
All program and tool experiments
code.llm writes one Python block per turn against robot, sees the printed output and images, and calls
finish() when it thinks the task is done. The task's score is never shown to it. Six mujoco/manip-v0 tasks,
validation seeds 10000 to 10004; full details in RESULTS.md.
uv run python harness/adapters/hylo-code-agents/examples/llm/run_code_llm.py run --out runs/code-llm \
--model ollama:gpt-oss:20b --modes zero one --episodes 5
| Task | gpt-oss:20b zero-shot | gpt-oss:20b one-shot | qwen3.5:35b-a3b zero-shot | Claude Sonnet 5.5 zero-shot |
|---|---|---|---|---|
| pick_place | 5/5 | 5/5 | 1/1 | 1/1 |
| stack | 4/5 | 3/5 | 1/1 | 1/1 |
| put_in_bowl | 5/5 | 3/5 | 0/1 | 1/1 |
| push_to_zone | 0/5 | 0/5 | 0/1 | 1/1 |
| press_by_number | 0/5 | 0/5 | 0/1 | 1/1 |
| sort_by_colour | 0/5 | 1/5 | 0/1 | 0/1 |
| Total | 14/30 | 12/30 | 2/6 | 5/6 |
gpt-oss took 1 to 3 turns on the tasks it solved; 60 episodes in 4.1 h at $0. The six Claude episodes took 9 min and cost $0.98 in total. The one-shot demonstration comes from a different task family.
Skill reuse¶
The program promoted by the campaign is stored as the verified skill stack@1. When an
episode's instruction matches it, code.llm is told the skill exists and can import it. gpt-oss:20b then called
skills.stack(robot) in its first turn in 10 of 10 fresh stack episodes, all successful, with 49 output tokens per
episode (zero-shot without the skill: 4/5). qwen3.5 called it in 2 of 3 episodes, both successful. Before the skill
was retrieved by the episode's own instruction and named in the first message, no model called it (0 of 12).
Left: gpt-oss:20b with the promoted skill, "stack the purple block on the green block": one turn,
out = skills.stack(robot), 48 output tokens, success. Right: gpt-oss:20b zero-shot on put_in_bowl, written from
scratch in the episode (Blender Cycles).
Limitations.
- No local model solved push_to_zone or press_by_number (0/30 for gpt-oss): it builds push and press goals with the hand pointing sideways and loops on "unreachable". Claude solved both.
- Models often call
finish()without checking; on sort_by_colour, 0 to 2 of 3 or 4 blocks end in the right tray. - From scratch, six 30-turn research sessions (gpt-oss and qwen3.5, on stack, press_by_number and sort_by_colour) froze no program. Research worked when it improved an existing program.
- qwen3.5 ran one episode per task only, because the shared CPU model server queued its turns for 20 to 30 min.