Help & Reference

The command-line tool

mirepoix lets you read and update a kitchen from a terminal using an agent access token.

Find an operation

Run mirepoix ops to list operations, then mirepoix describe groceries.list to see an operation’s inputs and results. Use mirepoix briefing for instructions to give an agent.

Call an operation with mirepoix call groceries.list. Your token’s permissions determine whether you can make changes; What a token can do explains the limits.

Install it

You need Ruby 3.2 or newer (ruby -v). On a Mac, the system Ruby is too old: install one with Homebrew (brew install ruby) and put it first on your PATH.

mkdir -p ~/.local/bin
curl -fsSLo ~/.local/bin/mirepoix https://mirepoix.recipes/cli/mirepoix
chmod +x ~/.local/bin/mirepoix
~/.local/bin/mirepoix version

The last line prints the tool’s version as a line of JSON. A page of syntax error lines means the ruby it found is too old. Add ~/.local/bin to your PATH to type mirepoix on its own.

To check the download, compare shasum -a 256 ~/.local/bin/mirepoix (sha256sum on Linux) with https://mirepoix.recipes/cli/mirepoix.sha256.

Connect it to a kitchen

There are two ways. Either way, the tool saves the token for next time, and mirepoix auth status says which kitchen it’s for and whether it can make changes.

Approve it in a browser

  1. Run mirepoix auth login. It shows an address and a short code, then waits.
  2. Open the address in a browser where you’re signed in to Mirepoix, and type the code.
  3. Check what’s asking, choose the kitchen and how much it can do, and select Approve. Approve it only if you started this yourself, just now.

Paste a token

  1. Create a token on your Account page.
  2. Run mirepoix auth add-token and paste the token when asked.

Disconnect it

Run mirepoix auth logout. It revokes the token on Mirepoix, then forgets the saved copy. If it can’t confirm the revoke, it keeps the token and tells you to revoke it on your Account page; add --forget-anyway to forget it regardless.

Good to know

Last updated November 10, 2026