BUILD AND IMPROVE HARNESSES

Optimize and evidence

Measure, then improve. Candidates stay reviewable, release decisions are written down, and every stage emits the same event graph. CodeGem brings six coding tools to Gemini and local Gemma.

OPTIMIZATION

Measure, then improve

Optimization never edits the live spec.

Candidates stay reviewable artifacts gated by repository tasks. You promote explicitly.

GEPA Omni · HarnessBench · SkillOpt
bench, compare, promote
$ superqode harness bench --spec harness.yaml --tasks tasks.yaml
$ superqode harness eval --candidate gepa-omni
$ superqode harness promote --candidate gepa-omni
$ superqode harness drift --spec harness.yaml
GEPA Omni
Generate candidates, mine failures, select on the Pareto frontier.
HarnessBench
Repeatable packs with manifest, scorecard and drift checks.
SkillOpt
Improve reusable skills and recipes under the same gates.

RELEASE EVIDENCE

Write the decision down

Evaluation measures performance. A record captures the release decision.

`sq gauge` emits an Agent Quality Record: what was measured, which conditions had to hold, whether they held, who accepted the result, and the version to revert to. It computes nothing new, projecting the eval result, execution policy, governance decisions and promotion ledger SuperQode already holds.

SuperGauge · open specification
inspect a record, then check recorded approval
# inspect an existing quality record
$ sq gauge show record.yaml
# check recorded conditions and ship approval
$ sq gauge gate record.yaml --level L2 --require-ship
# compare the recorded harness with a local spec
$ sq gauge verify record.yaml --spec harness.yaml
L1
Schema-valid record, digest fields and a recorded authority grant
L2
Deterministic gates enforced, held-out split sealed, probes present
L3
Reliability across repeated runs, judge pinned, grader independent
L4
Draft spec: defines records that are signed and reproducible by an independent party

These are levels defined by the draft specification, not certification of this build. The current checker inspects recorded fields and conditions. It does not authenticate signatures, enforce evaluator isolation or replay evidence. The format is open for any tool to implement. github.com/SuperagenticAI/supergauge

LIFECYCLE

One event graph

Build, run, evaluate, govern, optimize, record.

01
SPEC
Choose coding, no tool, or custom behavior
02
MODEL
Apply policy, local hints, fallbacks
03
RUNTIME
builtin, Codex SDK, ACP, ADK, PydanticAI
04
TOOLS
File, search, shell, MCP, or no tools
05
SESSION
Persist, compact, fork, handoff, resume
06
OUTPUT
Text, diffs, typed data, evidence

CAPABILITIES

The full surface

Everything needed to run the factory.

Interactive TUI
Switch models, pick harnesses, inspect sessions without leaving the terminal.
HarnessSpec
Portable YAML contract for tools, permissions, model policy, memory, and workflows.
WorkOrders
Dependency aware tasks with isolated workers, recovery, and delivery gates.
Sandboxed execution
Local OS, Docker, Podman, or hosted E2B, Daytona, Modal, Vercel.
Headless and CI
Same specs, policies, and evidence noninteractively in pipelines.
Local and open models
Ollama, MLX, LM Studio, vLLM, SGLang, TGI, llama.cpp, offline.

Native RLM + A2A. The recursive harness now supports optional A2A delegation: local recursive children, plus independent A2A peers you configure. Off by default. RLM A2A guide → Read the Super Post →

Remote control, sessions, safety policy, recursive models and the rest are documented in full. CLI reference →

CODEGEM

Built for Gemini.
Run Gemma locally.

CodeGem is our native Python coding harness for Google's model families. Connect Gemini with your Google API key, including Gemini 4 Argon where your account has access, or run local Gemma through Ollama, LM Studio and llama.cpp. Inspect the project, make focused changes and run its tests.

Optional local EmbeddingGemma search finds source by meaning. Resumable sessions, bounded local context budgets and terminal cancellation keep the workflow usable as tasks grow.

CodeGem now supports Harness² task refinement (experimental). Watch the demo ↗

readwriteeditsearchpythonbash

YOUR FIRST CODEGEM TASK

Find the defect. Preserve the tests.

Ask CodeGem to locate the implementation, inspect the failing test, make a focused edit and run the project checks. Review the diff alongside the test result.

  1. 01Find the relevant code with search and read.
  2. 02Apply a precise change with edit or write.
  3. 03Run the checks with Python or Bash.

OPEN CODEGEM IN THE TERMINAL

:connect harness-codegem

Choose Local for Gemma or BYOK for Gemini. CodeGem sits beside Core, RLM, PiPy, Workbench, SystemOne, Apple on-device and No Tool.

Tools use the host process's permissions. The CodeGem guide explains its execution boundary and supported image routes.

Native Gemini history

Preserve signed response parts and tool-call identities across coding turns and disk resume.

Local Gemma budgets

Default to at most 32K context tokens, with output and compaction budgets that scale to the model.

EmbeddingGemma retrieval

Git-aware local search with source references and embedding inference outside the terminal event loop.

Harness² refinement (experimental)

CodeGem refines its own task instructions with Google Research's Propose, Probe, Compose method, then applies the patch only after your checks pass. Blog post ↗ Docs ↗