Montana State University bobcat logo

catatui

A command line agent harness for MSU students

catatui running in a terminal with the /mode panel open

catatui is a coding agent that runs in your terminal and uses the MSU CatChat models, which are free for MSU students & faculty.

catatui is built as an extension on top of the excellent pi harness.

Install

macOS or Linux:

curl -fsSL https://raw.githubusercontent.com/msu/catatui/master/install.sh | sh

Windows (in PowerShell):

irm https://raw.githubusercontent.com/msu/catatui/master/install.ps1 | iex

Open a new terminal, go to your project and run:

catatui

The first time you run it, catatui walks you through creating a CatChat API key. The key page only works on the MSU network, so if you are off campus connect to the VPN first.

Docs

Modes

Run /mode to change the mode or flip an option. By default catatui runs in ask mode.

ModeWhat it does
askAsks before each file change, command and http request
planWrites a plan to PLAN.md and changes nothing else
yoloDoesn't ask. Good luck.

Options

OptionWhat it doesDefault
taThe agent teaches and offers hints rather than writing code for you. We suggest you use this frequently.off
sandboxKeeps the agent in the directory you started it in. This is very simple and a determined agent can get around it, so read commands before you allow them.on
steUses Simplified Technical English, which keeps the annoying chattiness of many AI models down. Turn it off if you don't like the clipped responses.on

Commands

CommandWhat it does
/modeChange the mode and options
/undoPut back the files the agent changed in your last request
/modelPick a CatChat model
/catchatShow your sign-in status and reload the models
/catchat resetSign out and quit
/hotkeysShow the keyboard shortcuts

Press Escape to stop the agent while it is working.

/undo only covers the agent's file edits in the current session. It can't undo what a command did, so use git.

Updating

catatui --version tells you if there is a newer version and catatui --update installs it. On Windows, --update prints the install command for you to run after you close catatui.

More

See the README for the full docs and troubleshooting.