HarnessRouter Community Edition: the self-hosted, Apache-2.0 edition of the unified interface for agent harnesses. Run Codex, Claude Code, Hermes, PI, DSH, and more through one API, with sessions, streaming, files, cancellation, and failure handling. Implements the Unified Harness Protocol (UHP), an open standard. Your keys, your infrastructure.
Python agent-apiagent-frameworkagent-harnessai-agentsai-infrastructurecoding-agentconformance-testingdeepseek-harnessharness-engineeringhermesllmopen-protocolopen-sourceopen-standardpi-coding-agentself-hosteduhpunified-apiunified-harness-protocolunified-interface
The Gemini CLI harness has its mark, and its default model is the newest flash (#113)
github-actions[bot]bfe1c1d6e0fc
diff --git a/docs/support-matrix-notes.md b/docs/support-matrix-notes.mdindex ce465129..5dcc6ab0 100644--- a/docs/support-matrix-notes.md+++ b/docs/support-matrix-notes.md@@ -64,7 +64,7 @@ must be emptied). Measured on the pinned 0.58.0 with those settings, all elevenAnd a turn the CLI ran on another model than the one asked for now fails with the reason on therecord ("the CLI ran X instead of Y"), never completes: the matrix's served-model rule, enforced forthe user. The backend lists all eleven; the instance column on 0.14.0 with the served-model rule as-judge is below.+judge is below. The backend's default is gemini-3.8-flash, the newest flash, since 0.14.1.## The Gemini family, one provider at a time (2026-09-06)diff --git a/gateway/app.py b/gateway/app.pyindex 1ccceefe..400982a1 100644--- a/gateway/app.py+++ b/gateway/app.py@@ -5554,7 +5554,8 @@ _MODEL_CATALOG: dict[str, dict] = {# turn the CLI ran on another model than the one asked for fails with the reason on the record,# never completes. Measured 2026-09-06 on the pinned 0.58.0 with those settings: all eleven# served as themselves; the instance column with the served-model rule as judge is in the notes.- "gemini": {"default": "gemini-3.5-flash",+ # The default is the newest flash, honest like the rest.+ "gemini": {"default": "gemini-3.8-flash","models": ["gemini-3.5-flash", "gemini-3.8-flash", "gemini-3.7-flash", "gemini-3.6-flash","gemini-3.5-flash-lite", "gemini-3.1-flash-lite", "gemini-3.1-pro-preview","gemini-3-flash-preview", "gemini-2.5-pro", "gemini-2.5-flash", "gemini-2.5-flash-lite"]},diff --git a/gateway/tests/test_gemini_backend.py b/gateway/tests/test_gemini_backend.pyindex 45489b96..2603e110 100644--- a/gateway/tests/test_gemini_backend.py+++ b/gateway/tests/test_gemini_backend.py@@ -11,6 +11,7 @@ def test_the_gemini_backend_is_wired_into_the_one_google_provider():assert gw._INTEGRATION_WIRING[("google", "gemini")] == "google"assert gw._PROVIDER_CATALOG["google"]["base_url"] == "https://generativelanguage.googleapis.com/v1beta/openai"assert set(gw._MODEL_CATALOG["gemini"]["models"]) <= set(gw._VENDOR_MODELS["google"])+ assert gw._MODEL_CATALOG["gemini"]["default"] == "gemini-3.8-flash"assert gw._MODEL_CATALOG["gemini"]["default"] in gw._MODEL_CATALOG["gemini"]["models"]assert gw._BASE_CATALOG["gemini"]["backend"] == "gemini"diff --git a/runner/server.py b/runner/server.pyindex ace078b0..47236c6b 100644--- a/runner/server.py+++ b/runner/server.py@@ -360,7 +360,7 @@ HERMES_DEFAULT_MODEL = os.environ.get("HERMES_DEFAULT_MODEL", "gpt-5.4")PI_DEFAULT_MODEL = os.environ.get("PI_DEFAULT_MODEL", "gpt-5.4")OPENCODE_DEFAULT_MODEL = os.environ.get("OPENCODE_DEFAULT_MODEL", "gpt-5.4")QWEN_DEFAULT_MODEL = os.environ.get("QWEN_DEFAULT_MODEL", "qwen3.7-max")-GEMINI_DEFAULT_MODEL = os.environ.get("GEMINI_DEFAULT_MODEL", "gemini-3.6-flash")+GEMINI_DEFAULT_MODEL = os.environ.get("GEMINI_DEFAULT_MODEL", "gemini-3.8-flash")CLINE_DEFAULT_MODEL = os.environ.get("CLINE_DEFAULT_MODEL", "gpt-5.4")DSH_DEFAULT_MODEL = os.environ.get("DSH_DEFAULT_MODEL", "deepseek-v4-pro")CODEX_REASONING_EFFORT = os.environ.get("CODEX_REASONING_EFFORT", "medium")diff --git a/runner/tests/test_gemini_build.py b/runner/tests/test_gemini_build.pyindex 22cf69b6..bbd7401f 100644--- a/runner/tests/test_gemini_build.py+++ b/runner/tests/test_gemini_build.py@@ -228,3 +228,7 @@ def test_a_served_model_other_than_the_one_asked_for_fails_the_turn():assert out[0]["model"] == "gemini-3.5-flash"ok = _gemini_to_claude({"type": "result", "status": "success", "stats": {**stats, "models": {"gemini-3.8-flash": {}}}}, {"model": "gemini-3.8-flash", "final": "PONG"})assert ok[0]["is_error"] is False and ok[0]["result"] == "PONG"+++def test_the_default_model_is_the_newest_flash():+ assert BACKENDS["gemini"]["default_model"] == "gemini-3.8-flash"diff --git a/ui/public/logos/gemini.png b/ui/public/logos/gemini.pngnew file mode 100644index 00000000..a3320255Binary files /dev/null and b/ui/public/logos/gemini.png differdiff --git a/ui/src/components/HarnessLogo.tsx b/ui/src/components/HarnessLogo.tsxindex 1d412997..861059b0 100644--- a/ui/src/components/HarnessLogo.tsx+++ b/ui/src/components/HarnessLogo.tsx@@ -13,9 +13,8 @@ const LOGO: Record<string, string> = {opencode: '/logos/opencode.png',qwen: '/logos/qwen.png',cline: '/logos/cline.png',- // gemini: deliberately absent. No brand asset has been added to /public/logos yet — Google's- // mark isn't ours to fetch and drop in without checking its usage terms, so this backend falls- // back to the generic glyph below until a properly sourced asset lands.+ gemini: '/logos/gemini.png',+};export function HarnessLogo({ id, size = 26 }: { id: string; size?: number }) {diff --git a/ui/src/lib/harness.ts b/ui/src/lib/harness.tsindex b4828ab8..3e3b1e01 100644--- a/ui/src/lib/harness.ts+++ b/ui/src/lib/harness.ts@@ -94,7 +94,7 @@ export const OOB: OobHarness[] = [// /v1/models catalog for this backend is populated (see gateway's _MODEL_CATALOG["gemini"]).// Google's own ids, each served as itself: the runner pins every id in gemini-cli's resolution table (the CLI// otherwise rewrites every "-flash" id to gemini-3.5-flash), and a substituted turn fails rather than completes- models: ['gemini-3.5-flash', 'gemini-3.8-flash', 'gemini-3.7-flash', 'gemini-3.6-flash', 'gemini-3.5-flash-lite', 'gemini-3.1-flash-lite', 'gemini-3.1-pro-preview', 'gemini-3-flash-preview', 'gemini-2.5-pro', 'gemini-2.5-flash', 'gemini-2.5-flash-lite'], defaultModel: 'gemini-3.5-flash', moreModels: 0,+ models: ['gemini-3.5-flash', 'gemini-3.8-flash', 'gemini-3.7-flash', 'gemini-3.6-flash', 'gemini-3.5-flash-lite', 'gemini-3.1-flash-lite', 'gemini-3.1-pro-preview', 'gemini-3-flash-preview', 'gemini-2.5-pro', 'gemini-2.5-flash', 'gemini-2.5-flash-lite'], defaultModel: 'gemini-3.8-flash', moreModels: 0,systemPrompt: 'You are Gemini CLI, an autonomous coding agent. You work on a real git workspace with shell and file access, reading and editing files and running commands to complete the task end to end.',tools: [], skills: [] },{ id: 'cline', name: 'Cline', version: 'v3.0.60', backend: 'cline', status: 'ready',