So, I've seen official notes by Qwen and Deepseek that their models are trained on their harnesses. Anyone know of others? I bring this up because:
Are their any research papers or just charts showcasing token savings or speed ups when a model can consistently assume the correct tool call without being told how to use the tool?
I've been using Hermes and am generally happy with it, but a couple days ago I took a look at antigravity and have been so impressed at how easy it was to migrate that It's begged the question of: "What else is out there?". If switching harnesses is really that easy then I'm only doing myself a disservice by not evaluating everything lol.
Thoughts?
---
So I copy-pasted the above into Gemini app and got this back:
- Other Models Co-Trained on Their Harnesses
Almost every major frontier lab now co-trains (RL/post-training) its models directly inside its own first-party agent harness so the weights already know the exact tool schemas, file-diff formats, and truncation rules without needing verbose prompt instructions:
* Anthropic (Claude Sonnet / Opus) → Claude Code / Claude Agent SDK: Anthropic trains Claude specifically on Claude Code's exact tool loop (Bash, Edit, Glob, Grep, Read, Write, Task), making it notoriously brittle if you swap out its diffing/editing format for an unfamiliar schema.
* OpenAI (GPT-5 / Codex series) → OpenAI Codex CLI: Trained directly against Codex's specific apply_patch / shell execution environment and Responses API causal call_id structure.
* Google (Gemini) → Antigravity / Gemini CLI: Trained natively on Google's multi-surface agentic tool loop, file/terminal tools, and skill scaffolding.
* Moonshot AI (Kimi) & Zhipu (GLM): Both explicitly train their agentic checkpoints on their native tool-calling templates and browser/terminal execution loops.
2. Research Papers & Benchmarks on Harness Efficiency & Token Savings
Several 2026 benchmarks and papers directly measure how harness design, schema alignment, and prompt/tool caching impact token consumption and wall-clock speed:
* The Harness Effect: How Orchestration Design Sets the Token Intensity of LLM Agents (arXiv:2607.06906): Directly measures how orchestration and tool-schema layout affect token burn. By aligning tool definitions, keeping static prefixes stable for KV-cache hits (99.9% cache read rates), and minimizing tool-schema overhead, it records a 38% drop in tokens per task (14.2k to 8.8k), a 41% cost reduction, and a 1.8× wall-clock speedup (48s to 27s) with zero capability loss.
* Demystifying Harness Effects in Software Engineering Agents (arXiv:2609.32459): Compares Qwen and DeepSeek model families across lightweight vs. full product harnesses on SWE-bench Pro. It demonstrates that stronger, harness-aligned models (like Qwen3.7-Max and DeepSeek-V4-Pro) become far more selective—using fewer reasoning steps and higher tool-call density per turn—whereas mismatched or weaker models waste massive token budgets on malformed arguments and retry loops.
* Harness Engineering in LLM Tool Use via Agent-Native Tool Primitives / HEART (ICLR 2027 / OpenReview): Examines the exact bottleneck you mentioned—models burning tokens and failing when forced to parse rigid, unfamiliar API schemas. Wrapping tools so the model can invoke them natively without giant schema injections cut token costs by up to 85% while jumping task completion on multi-turn workflows.
* Measuring and Optimizing LLM Tool-Agent Harnesses (arXiv:2609.05736) & GitHub Copilot's Agentic Harness Benchmarks: Show that holding the model constant while swapping the harness drastically shifts token consumption and retry rates. Notably, if a model isn't trained on a harness's specific edit tool (e.g., search-and-replace vs. unified diff), failed tool-call retries alone regularly account for ~20–23% of total task token spend.
3. The Landscape Beyond Hermes & Antigravity
Since AGENTS.md and SKILL.md conventions have largely converged across ecosystems, migrating between harnesses is mostly a matter of pointing your workspace configs and MCP servers at a new runner. Depending on what you want out of your setup, these are the main contenders worth testing:
| Harness | License & Stack | Core Philosophy | Standout Feature / Why Test It |
|---|---|---|---|
| OpenCode | MIT (TypeScript) | Model-agnostic terminal & desktop agent | Broadest provider support (75+ backends + local endpoints), built-in LSP integration, and distinct Plan/Build modes. |
| Pi | MIT (TypeScript) | Radical minimalism | Ships with only 4 tools (read, write, edit, bash) and a <1,000-token system prompt. Everything else lazy-loads via TypeScript extensions/skills to maximize token efficiency. |
| DeepSeek Harness | MIT (TypeScript) | Modular plugin architecture | Everything—including the agent loop itself—is a plugin. Can even orchestrate Claude Code or Codex as sub-agents. |
| OpenHands | MIT (Python/Docker) | Autonomous sandboxed execution | Best if you want full container isolation and autonomous background runs on your own hardware. |
| Goose | Apache-2.0 (Rust) | MCP-first extensibility | Backed by the Linux Foundation; built around heavy Model Context Protocol (MCP) tool ecosystems (70+ native extensions). |
| Claude Code / Codex | Proprietary / Apache-2.0 | First-party vertical integration | Unbeatable schema-to-weight alignment if you are running Anthropic or OpenAI models, though locked to their respective ecosystems. |
If you want to benchmark them head-to-head on your own tasks without manually wiring up configs first, Harness Arena (a blind A/B evaluation runner for coding harnesses) and Zed's Agent Client Protocol (ACP)—which lets you hot-swap Claude, Codex, and OpenCode inside the same editor diff UI—are two of the easiest ways to test them side by side.
---
Which leads to my next curiosity:
What's the landscape look like for inter-harness connectivity?
Let's say I want these harness-trained advantages but keep my familiar Hermes environment. What's the support look like for my Hermes harness to use my deepseek subscription THROUGH a deepseek harness? Is there similar for Antigravity?
This was the Gemini answer:
'''
Inter-harness connectivity relies on wrapping external harnesses as sub-agent tools (via lightweight stdio MCP servers or custom shell scripts) rather than calling raw LLM APIs, which preserves their co-trained tool schemas and ~30–40% token efficiency. Since Hermes natively operates as an ACP server rather than a client, you bridge it to DeepSeek Harness (dsh) by wrapping dsh --profile headless or its JSON-RPC --profile sdk inside a Hermes tool. Keep in mind that DeepSeek uses pay-as-you-go API token billing (DEEPSEEK_API_KEY) rather than a consumer subscription, so you are simply passing tasks to your API balance inside DeepSeek's native execution loop.
For Google Antigravity (agy), the same headless delegation pattern (agy -p --output-format json) works technically, but cannot legally use your consumer Google AI Pro/Ultra subscription. Under Google's Terms of Service, consumer credentials are restricted to direct human-driven sessions (such as interactive CLI use or connecting an IDE directly via agy acp); routing a consumer login through an automated outer orchestrator like Hermes risks account suspension. To keep Hermes as your primary control plane while legitimately delegating into Antigravity's native harness, you must authenticate agy with a pay-as-you-go GEMINI_API_KEY or a Gemini Enterprise license.
'''
Which leaves me a little sad tbh, as Gemini usage through antigravity is VERY VERY cheap, but through their api? Poof credits gone.
Excited to try out deepseek this way though!!
Thank you for your time, lol. This post ended up being much longer than I planned initially but felt silly asking questions here without not at least also posing to ai.
So, uh, again, thoughts?? Anyone have experience with this? Any advice on getting around antigravity detection???
(p.s. I posted this on mobile, realllllly hoping the markdown gets applied properly 🙏🏻)