Work

Projects

A template is a tab you open by a project’s name. Set up its panes, their commands and the machine once, then open any project into that layout with one key.

Accurate for hup Mac 0.1.483iPad and iPhone 1.1.3

Make a template

Open Settings () and choose Templates. A template has:

NameWhat you’ll pick it by, such as “Agents”.
Runs onThis Mac, or one of your hosts.
DirectoryWhere its panes start. Write {project} where the project’s name goes, as in ~/code/{project}.
Make the directoryCreate it when it isn’t there yet, for a project you’re starting.
NonoRun agents in a Nono sandbox boxes the template’s agents in to the project. Profile is for a Nono profile of your own; leave it empty to use Nono’s pack for each agent. More about sandboxes.
PanesEach has a name, a command to run, and whether it splits right or below. Leave the command empty for a plain shell.

Commands are typed into your login shell, so your PATH and version managers are set up as in any terminal.

A template named Agents on devbox in hup’s Settings. It runs on devbox in ~/code/{project}, starts its agents in a Nono sandbox, has an empty Profile field, and has three panes: claude, codex to its right, and a shell under codex.
A template on a Mac: two agents side by side and a shell under them.

Open a project

Press for Open Project…, pick the template, and type the project’s name. Its panes open as one tab named after the project, each already running its command.

iPadiPhone Hold + in the tab bar and choose Open Project, or press on a keyboard.

Open it again, from anywhere

hup names each session after the project’s directory and the pane. Open the same project again and you get the sessions that are already running, where you left them, instead of new ones. That works from every device: start a project on your Mac, and open it by name on your iPad.

In a file

Mac Hosts and templates are also in ~/.config/hup/config.json, which you can edit by hand. Comments and trailing commas are fine, and hup picks up a change when you save.

{
  hosts: [
    { name: "devbox", address: "devbox" },
  ],
  templates: [{
    name: "Agents",
    host: "devbox",                   // leave it out to run on this Mac
    directory: "~/code/{project}",
    create_directory: true,
    panes: [
      { name: "claude", command: "claude" },
      { name: "codex",  command: "codex", split: "right" },
      { name: "shell",  split: "down" },
    ],
  }],
}