Credentials. Training uses a Tinker key (TM_API_KEY), so store it in .env only and avoid sharing it with agents.
Who it is forAn agent engineer who wants a deployable model that keeps the gains of an optimized harness without shipping the harness itself.
The problemAn optimized harness lifts performance only while it is attached, which makes deployment depend on extra infrastructure.
The outcomeA LoRA-tuned Qwen3.5-9B checkpoint trained through the Tinker recipe, ready to run under the minimal mini-SWE-agent-style harness.
What you need first
- Python 3.12 to 3.13 and uv installed
- Docker running, since rollouts run in local Docker sandboxes via Harbor
- API key for your model route (OpenAI, Azure AI Foundry, or OpenRouter) in a .env file copied from .env.example
- A Tinker key (TM_API_KEY) if you plan to run training
Steps
- Run
uv sync --group tinkerto add the training dependencies. - Make sure sft.jsonl exists from a reviewed rollout and build step.
- Run
harness-zero train-sft --data sft.jsonl --base-model Qwen/Qwen3.5-9B --renderer qwen3_5 --rank 32 --peak-learning-rate 2e-4 --final-learning-rate 1e-6 --warmup-ratio 0.05 --epochs 2 --batch-size 8 --max-length 65536 --seed 42 --run-name hz-demo --output-dir runs/train. (inferred, check the README) - Confirm the submission prompt after checking the run settings, or pass
--yesto skip the prompt.
Prompt for your agent
Using the repo metaevo-ai/harness-zero, train a LoRA SFT run from sft.jsonl on Qwen/Qwen3.5-9B with run name hz-demo. Expected output: a training run under runs/train. Verify the confirmation prompt shows the intended dataset and settings before you approve the submission.
Caveat. Training runs through Tinker, and the README does not describe its costs, so confirm the job before you approve it.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for metaevo-ai/harness-zero and "Distill a harness into Qwen3.5-9B weights"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer