Use Septena from the terminal

The septena command adds tasks, lists them and completes them from a terminal. It works the same in a script, a scheduled job or a build pipeline. It signs in with an agent key, so it follows the same rules as any agent you connect. See how engineers pair it with coding agents in a task app for tech leads.

What you need

Node.js 20 or later, and a Septena account. npx septena --help runs the latest version without installing it. To keep the command, install it once: npm install -g septena.

Make an agent key

The key is how the command signs in.

Not in the 0.9.0 Mac beta. It comes with the next update.

  1. In Septena, open Settings ▸ Agents.
  2. Choose New Agent Key.
  3. Give it a name you will recognize, such as “Laptop terminal” or “Build server”.
  4. Septena shows the key once. Choose Copy Key.

Sign in

Run septena login and paste the key. On a Mac the key goes into the Keychain, and on Linux into the system keyring. It is never written to a file in your home folder.

On a server or in a build pipeline, set the key as the SEPTENA_KEY environment variable instead, from that system’s own secret store.

septena logout removes the key from this computer. The key itself keeps working until you disconnect it in Settings ▸ Agents.

Commands

Every command that reads accepts --json for scripts. A command that fails prints the reason and exits with an error.

CommandWhat it does
septena add "Renew the domain"Adds a task to the Inbox
septena todayLists Today, with the Inbox at its top
septena inboxLists only the Inbox
septena ls upcomingLists a view: today, inbox, review, upcoming, anytime, completed or faded
septena search leaseFinds tasks by words in the title or notes
septena done <id>Completes a task. Lists show each task’s id first.
septena login, septena logoutStores or removes the key on this computer

Add a task with its details

Options go after the title:

OptionWhat it sets
--todayPuts the task on Today
--when 2026-12-01The When date
--deadline 2026-12-15The deadline
--project "Website"Files it in an open project with that name
--notes "…"The notes. --notes - reads them from the input.
--no-refLeaves out the repository link

Add many at once

Pass - as the title and the command adds one task for each line it reads. For example, git log -5 --format=%s | septena add - makes a task from each of your last five commit messages.

Tasks know their repository

When you run septena add inside a git repository, the task gets a reference to the repository and the branch you are on, so you can open it from the task. Septena itself never connects to the repository. --no-ref leaves the link out.

Where your tasks land

A task you add with the command goes where you said: the Inbox, Today, its date or its project. It is not a suggestion with a dashed checkbox. The task shows the key’s name as who added it.

What a key can do

A key has the same rights as a connected agent, and the same limits:

  • Pause all agents and Stop on a task also stop the command.
  • It cannot accept work in Review, end a wait or delete an area or project.
  • It cannot make other keys. Only the app can.
  • A key does not expire. Disconnect it in Settings ▸ Agents when you no longer use it.

Use the key in your own code

The key works for any program that speaks MCP: send it as Authorization: Bearer <key> to https://api.septena.app/mcp. What agents can do lists every tool. The command’s source is in the Septena repository.

Did this answer your question?