This repository holds only the LoRA adapter (about 40 MB). Load it on top of Qwen/Qwen3-0.6B with PEFT, or use the merged model in the sibling repository.
otto-0.6b (LoRA adapter)
A small terminal agent: Qwen3-0.6B post-trained with
reinforcement learning (GRPO) on tasks where the reward comes from actually running the model's shell
commands in a Docker sandbox and checking the resulting filesystem, not from matching text.
You describe a task in plain English; the model replies with one shell command per turn inside
<command>...</command> tags and says <done></done> when finished.
Source code, the otto CLI (copy -> sandbox -> diff -> you approve), training and evaluation code:
https://github.com/jaipack17/otto
Status: read this first
This is an early, small-scale experiment. It is published so the pipeline can be inspected and reproduced, not because it is a strong agent. It often repeats commands, works in the wrong directory, or declares itself done too early. Never run its commands outside a sandbox, and always review what it would change before applying.
Training
- Method: GRPO via TRL 1.7.1 / AlignTune 0.1.28,
dapoloss, no KL term, LoRA (r=16, alpha=32, all 7 projection layers), bf16, learning rate 2e-5 with linear decay, 40 steps, 8 episodes per step (2 prompts x 4 samples), on a single Apple-silicon machine (MPS). - Tasks: 34 declarative filesystem task templates (26 for training, 8 held out), with a verifier that snapshots and diffs the filesystem and a screening suite of cheat attempts that must all score 0. Training used a 6-template curriculum.
- Thinking budget: at most 256 thinking tokens per turn, then a forced "stop deliberating" sentence and
</think>, then a 96-token answer. Serve it the same way (seesrc/deploy/policy.pyin the repo). - System prompt: the model was trained with a specific system prompt (
SYSTEM_PROMPTinsrc/harness/episode.py) and behaves as trained only under it.
Limits
- 0.6B parameters; unreliable on multi-step tasks. 40 training steps is a small amount.
- Not safety-trained for adversarial use. Run commands only in a sandbox on a copy of your data.
License
Apache-2.0, as the base model Qwen/Qwen3-0.6B.