Providers¶
Provider Model¶
metaharness separates the optimization loop from the system that edits files.
That editing system is called a proposer backend.
Current backends:
CodexExecBackend(validated)GeminiCliBackend(experimental)FakeBackend(deterministic testing backend)- extension backends via
backend_plugins(module:callablefactories)
Codex¶
Codex is the primary backend in this repository. Documented benchmark results are centered on hosted Codex and local Codex over Ollama.
Hosted probe:
Hosted run:
Local Ollama probe:
uv run metaharness smoke codex \
./my-coding-tool-optimizer \
--probe-only \
--oss \
--local-provider ollama \
--model gpt-oss:20b
Local Ollama run:
uv run metaharness run \
./my-coding-tool-optimizer \
--backend codex \
--oss \
--local-provider ollama \
--model gpt-oss:20b \
--proposal-timeout 240 \
--budget 1
Gemini CLI¶
Gemini remains available as an experimental backend.
Probe:
Run:
uv run metaharness run \
./my-coding-tool-optimizer \
--backend gemini \
--model gemini-2.5-pro \
--proposal-timeout 180 \
--budget 1
Practical Guidance¶
- Use Codex for production benchmark runs.
- Use Gemini when you specifically need Gemini CLI integration and accept experimental behavior.
- Use
backend_pluginswhen you need closed-source or internal harness adapters.