boxer

Gemini CLI

Route Gemini CLI's shell commands into the sandbox with a project hook.

boxer adds a hook to Gemini CLI that rewrites each intercepted command to boxer run.

Set up

boxer install gemini-cli
git add .gemini GEMINI.md
git commit -m "Run Gemini CLI's commands in boxer"

What it writes

FileWhat it is
.gemini/settings.jsonthe hook, and the boxer MCP server
GEMINI.mda section telling Gemini how commands run here

Check it

boxer doctor

Then ask Gemini to run node -p process.platform. It prints linux.

Options

  • Run Gemini itself in the sandbox: boxer shell gemini. See Inside mode.
  • Block the shell instead: set [harness.gemini-cli] mode = "tool".

Gemini CLI is not in the evaluation matrix, because the runs need a Gemini API key. The integration is covered by the scripted-model tier only.

On this page