Skip to content
New — orchestrate a team of Mel agents from your terminal. Learn more about orchestrating Mel agents
Mel

Mel – the agentic terminal
The AI terminal for teams.

Mel Red Team · beta

A red team of models that reviews your code.

Run mel redteam in a project. Models from different companies each review a snapshot of your code, check one another's points, and Mel writes one plain report. On Linux, Mel also runs your project's checks and each suggested command in a sandbox it proves first, and marks which points were reproduced.

In Mel v0.1.64 or newer, from the command line. The proof step runs on Linux.

How it works

What happens when you run it

  1. 01
    Run it in your project

    Mel copies the committed code into a snapshot, with no git history, links or submodules. Your working copy is not touched. Add --base to review only the change since a branch. The program is inside the Mel app; on a Mac it is /Applications/Mel.app/Contents/MacOS/mel.

    mel redteam
    mel redteam --base main
  2. 02
    Each model reviews alone

    Each model on the panel reviews the snapshot on its own, with reading tools only. No model sees another model's words.

  3. 03
    The models check one another

    Each model then sees the points it did not raise, with no author named, and answers confirm, reject or unsure, with a line of evidence. This step has no tools.

  4. 04
    One report

    Mel merges the points that match and writes report.md and report.json.

Proof step · Linux

On Linux, the checks and commands run in a sandbox.

Your checks and each suggested command

Mel runs your project's own checks, such as its tests and linter, and the command each point suggests. They run in a fresh copy of your code held in memory. Your files are not touched, and there is no network.

A sandbox Mel proves first

Before anything runs, Mel tests the sandbox itself. It needs bubblewrap 0.8 or newer. If Mel cannot prove a sandbox, nothing runs and the report says why.

Reproduced means the failure printed

A point is marked Reproduced only when the command printed the failure its author named. An exit code alone is not counted. A command that did not print it is marked Not reproduced, and a point with no command is an Opinion.

macOS and Windows: nothing runs yet

On a Mac or a Windows PC the review and the report work, but no check and no command runs yet, and the report says so.

--review-only runs nothing

Add --review-only and nothing runs on any system. A command a model suggests is shown as text, marked "Not run (review only)".

Your account stays clean

The review is not filed in your conversation list or uploaded to your account. Its temporary files are removed when the run ends.

The panel

One model per company

Cheap panel

The default: three low-cost models, one each from Anthropic, OpenAI and Google.

Premium panel

Four top models, one each from Anthropic, OpenAI, Google and xAI.

Your own panel

Pick 2 to 6 models with --models. Mel refuses two models from the same company.

A credit limit

A run starts no new step once 300 credits are spent. Set your own with --max-credits.

Get started

Have several models review your code.

Mel Red Team is in Mel v0.1.64 or newer. The terminal is free to download.