Hugging Face harness-hub published Inkling-2-Mini-codex-adapted on December 3, 2026, a LoRA trained with reinforcement learning inside Codex CLI on Thinking Machines Inkling-2-Mini. The model card reports SWE-bench Pro hard pass@3 rising from 66.0% to 74.0%, Terminal-Bench 2.1 accuracy holding near 65.8% versus 64.6%, and one-third fewer output tokens on tasks both models solve.
This is a harness adapter, not a new foundation checkpoint. The same base weights behave differently in Pi, OpenCode, and Codex because each agent exposes different tools, prompts, and compaction rules—a pattern harness adapters at scale documented for Qwen3.8-27B.
What the model card measures
SWE-bench Pro hard pass at 3 comparison between Inkling 2 Mini base and Codex adapter per harness-hub card
Image: Hugging Face harness-hub
All numbers below come from the December 3, 2026 model card. Settings: Codex CLI 0.172.0, reasoning effort high, temperature 1.0, 131k-token context, up to 32k output tokens per turn, HF Sandboxes, three attempts per task, base and adapter paired per task.
| Benchmark | Base Inkling-2-Mini | With codex adapter | Card notes |
|---|---|---|---|
| SWE-bench Pro (hard 51), pass@3 | 66.0% | 74.0% (+8.0 ± 12.3 pts) | 7 tasks gained, 3 lost |
| SWE-bench Pro, avg@3 | 46.7% | 60.7% (+14.0 ± 9.9) | Same time limit (2 h) |
| Terminal-Bench 2.1, pass@3 | 64.6% | 65.8% | Accuracy within noise |
| Output tokens (solved tasks) | baseline | −33% SWE, −44% Terminal | Paired comparisons |
| Reasoning tokens | baseline | −42% SWE, −50% Terminal | On solved tasks |
| Tool calls / model turns | baseline | ~−16% | Fewer actions per solve |
| Minutes per solved task | 22.7 | 17.7 (−22%, 95% CI −30% to −15%) | Wall-clock in sandboxes |
The card stresses compare base and adapter only within this card—different CLI versions, effort knobs, or sandbox images can move numbers. That cautions fits what we saw when Qwen3.8-27B OpenCode adapters launched with harness-specific tables instead of one global leaderboard score.
Why Codex gets its own adapter
Inkling-2-Mini is small enough for local labs yet strong enough to chase agent benchmarks when the harness matches. Cognition SWE-2 and Devin showed that mid-training inside a product harness can beat raw parameter scale on merge tasks.
harness-hub generalizes that idea for open weights: train a rank-32 LoRA with AsyncGRPO on Harbor tasks from UltraTerminal environments, but inside the unmodified agent binary. You keep Thinking Machines base weights and swap adapters when you switch from Pi to Codex.
The Pi adapter (November 2026) emphasized Terminal-Bench at high effort with 40% token savings at none effort on the preview card. The Codex adapter emphasizes SWE-bench Pro hard—closer to maintainer-merge workflows FrontierCode tracks.
How to try Inkling-2-Mini-codex-adapted
- Pull weights: harness-hub/Inkling-2-Mini-codex-adapted plus the GGUF companion if you serve through llama.cpp.
- Pin Codex CLI to 0.172.0 or document your drift if you upgrade.
- Set reasoning effort to high to match the card; the Pi preview card used none effort for a different trade-off curve.
- Run paired evals on your repos; public SWE subsets do not include private CI quirks.
- Watch spend: fewer tokens per solve help, but pass@3 retries still multiply calls.
For OpenCode or Hermes paths on the same base model, use the harness-hub collections rather than forcing the Codex LoRA into the wrong tool schema.
Token economics and the “harness tax”
Wall-clock minutes per solved SWE-bench Pro task for Inkling 2 Mini base versus Codex adapter
Image: Hugging Face harness-hub
Our What Does a Coding-Agent Harness Buy? piece argued most harness gains show up as token and turn counts, not mysterious IQ jumps. This adapter fits that story: +8 points pass@3 on SWE-bench Pro arrives with ~33% fewer output tokens and 16% fewer tool calls on solved work.
Teams paying per-token API tariffs should model adapter plus base serving cost. Teams on flat-rate Codex plans should still care about latency—17.7 versus 22.7 minutes per solved task in the sandbox metric is a wall-clock argument for iterative product teams.
Safety and governance
Adapter training used harness-hub sandboxes. Your production repo is not sandboxed the same way. Pair rollout with branch protections, secret scanners, and policies from Anthropic ship PR steward-style reviews if agents open pull requests.
For MCP-heavy stacks, audit servers before agents gain shell—see MCP security guide on explainx.ai and green CI warnings swallowed by agents for CI blind spots.
What UltraTerminal and Harbor add to training
Training rollouts show Inkling Codex adapter using fewer tool calls and tokens while solve rate rises
Image: Hugging Face harness-hub
harness-hub trains adapters on UltraTerminal, 2,597 runnable Harbor bundles spanning coding, authorization, knowledge work, and business automation sandboxes. Each bundle ships a grader and sandbox image, so RL rewards come from pass/fail outcomes instead of hand-written rubrics.
That setup mirrors simulated terminals in NL2Repo-Pro and agent safety benches like AgentDog2—but harness-hub optimizes tool trajectories already compatible with Codex CLI tool schemas.
When you read +8 pass@3 points, ask which Harbor tasks overlap your monorepo. SWE-bench Pro hard 51 is a public slice; your internal legacy code may behave differently.
Effort knobs: high versus preview settings
The Codex adapter card trains and evaluates at reasoning effort high. The Inkling Pi preview adapter focused on effort none for token savings with accuracy within noise.
| Knob | Codex adapter card | Pi preview card (Nov 2026) |
|---|---|---|
| Reasoning effort | high | none |
| Primary benchmark lift | SWE-bench Pro | Token reduction on Terminal-Bench |
| CLI / harness | Codex 0.172.0 | Pi |
Do not assume the Codex LoRA inherits Pi preview latency profiles. Load the adapter that matches your agent binary.
Organizational context: Thinking Machines and open harness science
Inkling-2-Mini comes from Thinking Machines, which positions small open models for agent control rather than chat-only use. Hugging Face harness-hub sits in the open tooling camp with TRL AsyncGRPO Harbor examples and safeagents guard plugins.
That split matters for procurement: closed Codex plus open LoRA is a hybrid stack. Legal review should cover Thinking Machines, Hugging Face, and OpenAI terms together.
When not to use this adapter
Skip the Codex adapter if:
- You run Claude Code, Pi, or OpenCode only—use the matching harness-hub collection entry instead.
- You need multimodal repos; Inkling-2-Mini is coding-first in public cards.
- Your compliance regime forbids RL checkpoints without internal retraining logs.
- You cannot pin Codex CLI 0.172.0; breaking changes in tool definitions erase benchmark meaning.
For enterprise training, explainx.ai runs AI builder workshops that cover agent harness evaluation without endorsing a single vendor stack.
December 2026 adapter timeline (context)
November 17–20, 2026: Qwen3.8-27B adapters for Pi, OpenCode, and Hermes, plus the super-adapter merge.
November 30, 2026: UltraTerminal dataset release explaining 2,597 tasks.
December 1, 2026: Inkling-2-Mini-pi-adapted at high effort with +12.7 Terminal-Bench points on the org profile.
December 3, 2026: Inkling-2-Mini-codex-adapted with 74% SWE-bench Pro pass@3.
If you are building a model picker spreadsheet, track harness version beside model name—our Arena alignment index posts show how harness choice reorders leaders.
Confidence intervals and honest uncertainty
The card lists ±12.3 points on the pass@3 delta with seven tasks gained and three lost. That is a reminder small suites move with single flaky tests. Run your own pass@k on private forks before claiming production readiness.
avg@3 jumping 14 points is stronger evidence of consistent partial credit, but still sandbox-bound. Pair quantitative runs with logic-bug finding agents on critical modules.
Related releases in the adapter wave
| Release | Harness | Headline from org |
|---|---|---|
| Qwen3.8-27B-pi-adapted | Pi | Large Terminal-Bench gains, Nov 2026 |
| Qwen3.8-27B-opencode-adapted | OpenCode | 51% SWE-bench Pro cited in our coverage |
| Inkling-2-Mini-pi-adapted | Pi | +12.7 Terminal-Bench points at high effort |
| Inkling-2-Mini-codex-adapted | Codex | 74% SWE-bench Pro pass@3, Dec 3, 2026 |
Follow harness-hub community adapters Space if you want side-by-side harness picks for Liquid LFM-class small models next.
Serving stack notes for platform teams
Most teams will serve Inkling-2-Mini through vLLM or Hugging Face Inference Endpoints and inject the LoRA at load time. The GGUF companion exists for llama.cpp shops that cannot run full fine-tunes. Document which revision you pinned—harness-hub may ship silent card edits as eval harnesses update.
Context window on the card is 131k tokens with 32k output cap per turn. Long monorepo prompts can still truncate if your Codex wrapper compacts history aggressively. Compare with 1M-context MiniMax M4 beta if repository-scale context is the bottleneck instead of harness fit.
Temperature 1.0 on the card is high for production merges. Some teams lower temperature after reproducing benchmarks to reduce creative diffs. Any change voids apples-to-apples comparison with the published 74% figure—run your own A/B and store trajectory logs.
Questions teams should ask in procurement
- Who owns harness upgrades? If Codex CLI moves from 0.172.0, who revalidates the adapter?
- Are secrets in sandbox logs? Harbor tasks should not echo production keys; mirror Varlock env schema patterns.
- Do we need pass@3 in CI? Flaky tests multiply cost; sometimes pass@1 with human review is cheaper.
- Can we fork UltraTerminal tasks? Open Harbor bundles enable private graduators aligned with internal libraries.
These questions align with corporate AI training ROI work—adapters save tokens only when developers trust the agent enough to delegate merge paths.
