Use Septena from the terminal
In Help
On this page
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.
- In Septena, open Settings ▸ Agents.
- Choose New Agent Key.
- Give it a name you will recognize, such as “Laptop terminal” or “Build server”.
- 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.
| Command | What it does |
|---|---|
septena add "Renew the domain" | Adds a task to the Inbox |
septena today | Lists Today, with the Inbox at its top |
septena inbox | Lists only the Inbox |
septena ls upcoming | Lists a view: today, inbox, review, upcoming, anytime, completed or faded |
septena search lease | Finds tasks by words in the title or notes |
septena done <id> | Completes a task. Lists show each task’s id first. |
septena login, septena logout | Stores or removes the key on this computer |
Add a task with its details
Options go after the title:
| Option | What it sets |
|---|---|
--today | Puts the task on Today |
--when 2026-12-01 | The When date |
--deadline 2026-12-15 | The deadline |
--project "Website" | Files it in an open project with that name |
--notes "…" | The notes. --notes - reads them from the input. |
--no-ref | Leaves 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?