Aubergine

The aubergine command

Everything the page does for terminals, a shell can do too. The command talks to the running server over HTTP, takes a terminal by its name or its ID, and is on the PATH of every terminal Aubergine starts.

Run Aubergine

  • aubergine start --open starts the server in the foreground and opens your browser, signed in. aubergine open opens the browser when the server already runs.
  • aubergine doctor checks everything Aubergine needs, one line per check. aubergine version says the version and where the code and your data are.
  • Updating, starting at login and uninstalling are on Run the server.

Terminals and canvases

  • aubergine list lists every terminal with its state, command and folder (--json gives the same as JSON for a script); aubergine canvas list lists the canvases with how many terminals are on each and how many wait for you.
  • aubergine new [name] starts a terminal on a canvas (--canvas <name> says which; --copy starts it in a working copy of its own).
  • aubergine here puts the terminal you are typing in on the canvas, and aubergine attach <name> shows one of the canvas's terminals in this window of your own terminal app. Both views show the very same shell.
  • aubergine scan lists open terminals that are not on the canvas yet, and aubergine import gives them a terminal there in the same folder.

Read a terminal, type into it, run and wait

  • aubergine screen <terminal> prints what it shows now, as text; aubergine output <terminal> --lines 500 prints what it printed recently. Reading attaches nothing and resizes nothing.
  • aubergine send <terminal> "git status" --enter types text exactly as given; without --enter nothing is pressed. Whatever has the keyboard there receives it: a shell runs it, an agent reads it as a prompt.
  • aubergine run <terminal> --timeout 120 -- pnpm test types one command at a shell's prompt, waits until the shell says it finished, prints the output and exits with the command's exit code. It is refused while a program or an agent has the keyboard, and it needs a shell that reports when commands finish, which today means zsh.
  • aubergine wait <terminal> waits until that terminal needs you: its agent waits for you or has finished. --for waiting, --for done or --for idle (its shell is back at the prompt; the command then exits with the last command's exit code) waits for one thing, and --timeout 600 gives up after that many seconds with exit code 124. It changes nothing in the terminal.
  • aubergine events prints what happens, one line a change, until you stop it: the time, the kind of change and the terminal's name, never what a terminal showed. aubergine events <terminal> follows one terminal, and --json prints each change as the server sent it.

These act as you, not as a token, and each is recorded in the activity log as done from the command line.

Inside a terminal: a program says what it is doing

Typed inside a terminal Aubergine started, these act on that terminal alone, with the terminal's own narrow credential. This is how any agent or script reports what Claude Code reports by itself.

  • aubergine attention waiting "what is needed", working, done or none: whether you are needed there.
  • aubergine note "…" adds a line to the terminal's note log; aubergine recap --write hands in a recap of where the work stands.
  • aubergine describe --name "…" --summary "…", aubergine link add <address> and aubergine field set <label> <value>: what the terminal says about itself. What you wrote yourself stays yours, and the agent's is offered to you.
  • aubergine ask "…" asks you for something only a person can do; aubergine inbox, reply and tell are messages between terminals, where you allowed them.
  • aubergine workflow status says where the terminal's run stands and what to do now; aubergine workflow done finishes the current step.
  • aubergine guide prints all of this for an agent, cut to what it may do; aubergine guide --snippet prints five lines to paste into your project's instructions for agents.

Every terminal has AUBERGINE_URL, AUBERGINE_SESSION_ID and AUBERGINE_TOKEN in its environment, so a program can make the same calls over HTTP without the command.

Work for agents

  • aubergine workflow list | new | run | approve: workflows, their runs, and the approvals that are yours. aubergine board shows every run that is going.
  • aubergine task, todo, rule and schedule: the queue of tasks, what waits on you, what happens when something happens, and what runs at a time of day.
  • aubergine copies lists the working copies and ends one the way you choose; aubergine where, inside a terminal, says whether it works in one.
  • aubergine library list | show | install: workflows and steps others published.

What is yours alone

aubergine token makes and revokes API tokens, aubergine device pairs and revokes other devices, aubergine project manages projects, and aubergine settings, theme, css and plugin are about your own setup. No token and no agent's credential can do these. An agent that types them in a terminal still acts as you: the guide tells it not to, which is advice and not a lock.

Every command

The whole list, with every option, is under Command line in the README. For programs, the same things are routes of the API.

Up and running in five minutes

You need macOS with tmux 3.2 or newer and Node.js 22 or newer. brew install tmux node gets both.

npm install -g @meatgarden/aubergine

InstallAPI and automation