TeaNode · Documentation · Source
TeaNode is two programs. teanode-server is the mail server, and the few
things only its own host can do. teanode is the client: it administers a
server over the API, from anywhere, and is what an operator has open.
Everything the client changes goes through the running server rather than
into the database directly, so that a change made from the shell behaves
exactly like the same change made in the dashboard — validated the same way,
with the same side effects. See
docs/decisions/20260818-the-cli-goes-through-the-api.md for why, and
docs/decisions/20260903-two-binaries.md for why there are two programs.
| Command | What it does |
|---|---|
teanode-server run |
run the server |
teanode-server config env |
write a starter environment file |
teanode-server config init |
migrate the database and store what the environment describes |
teanode-server config show|validate |
inspect and check the stored configuration |
teanode-server config rules import|show |
the built-in spam filter's pattern rules: import a set, or show what is stored |
teanode-server config import|export |
load a teanode.yaml into the database, or write one out |
teanode-server tls self-signed |
a certificate for local development |
teanode-server user list|add|password|remove|reset|rescue |
recover the accounts without going through the server |
teanode-server password |
hash a password for an exported configuration |
teanode-server evaluate scenario <file> |
feed a memory scenario through filing and dreams in a database of its own, and grade its questions at each checkpoint; see docs/evaluation/scenarios/ |
These read the environment the server reads (TEANODE_DATABASE_URL and the
rest), so they run where the server runs: in its container, or with its env
file in the shell. teanode-server user edits the stored configuration
directly and exists for a server that will not start or that nobody can log
into; day to day, accounts are managed with teanode user, through the
server.
From anywhere, sign in once:
teanode auth login --url https://mail.example.com
That opens the dashboard in a browser. Sign in there if you are not already,
press Authorize, and the token comes back to the command over a loopback
connection on your own machine — nothing passes through the clipboard or the
shell history. The token is saved as a profile in
~/.config/teanode/profiles.json, readable only by you, and becomes the one
every command talks to.
If the browser cannot reach the command — a remote desktop, a locked-down browser — the page shows the whole command to paste instead. A token issued some other way can be pasted directly:
teanode auth login --url https://mail.example.com --token -
Several servers are several profiles. auth list shows them, auth switch
changes which one is active, --profile NAME (or TEANODE_PROFILE) picks
another for one command, and auth logout revokes the profile's token on the
server and forgets it.
teanode auth login --url https://staging.example.com --name staging
teanode --profile staging domain list
teanode auth switch staging
teanode auth status
A script that would rather not have a file sets TEANODE_URL and
TEANODE_TOKEN, which bypass profiles. Given --url and no token, a saved
profile for that server lends its token.
A profile can be read-only: every change is refused on this machine, before anything is sent, and reads go through as they would otherwise. That is the profile to hand to a script or an agent that should be able to look but not touch. The token itself is unchanged — the server would accept the change, and this profile does not ask it to.
teanode auth login --url https://mail.example.com --read-only
teanode auth set-read-only mail.example.com true
teanode auth set-read-only mail.example.com false
--read-only on any command, or TEANODE_READ_ONLY=1 in the environment,
does the same for one command or one shell, whatever the profile says. There
is no flag in the other direction: something handed the variable cannot talk
its way out of it. A refused change exits with code 3 and says which of the
three switches to undo. auth logout still revokes the profile's token,
because forgetting a profile and leaving its token live is the worse outcome.
Signing in again to a saved profile — auth login with no --url, which
means the profile --profile names or else the active one, or with the
--url or --name of one — replaces its token and revokes the old one on
the server, and says so. It keeps the profile's read-only and certificate
settings unless told otherwise. On a read-only profile the old token is left
alone and named, for revoking by hand.
On the server itself, nothing has to be set up. With the server's environment in the shell — which a container already has — the client reads the server secret from the stored configuration, mints a token signed with it, and connects over the loopback interface:
docker compose exec teanode teanode user list
set -a; . /opt/teanode/.env; set +a
teanode domain list
This is the console: it is not an account, so the operations that belong to
one — tokens, sessions, passkeys — need --user where they take it, or a
real sign-in. --profile local reaches the console from a shell that also
has profiles.
Which server a command talks to is decided in this order: --url, then
--profile, then the active profile, then the console. Explicit beats saved,
and saved beats ambient, so a script that sets the variables is never
surprised by whatever somebody last logged in to.
One group per resource, each with list, get, create, update and
delete where the API has them, plus the verbs particular to the resource.
Tables by default; --json on every command prints the same thing as JSON,
so one command serves a person and a script.
| Group | What it covers |
|---|---|
auth |
signing in, and the saved profiles |
domain |
the domains this server accepts mail for, their DNS records, and the logo they publish |
alias |
where mail for a domain goes; alias match says what an address would hit |
credential |
SMTP credentials for sending through this server |
dkim |
the keys that sign outgoing mail, and the record to publish |
user |
the accounts on this server, and user avatar for a person's picture; user rescue on teanode-server makes one an administrator |
group |
who may do what, and over which domains: members, roles, domains |
role |
the named sets of permissions a group holds; role permissions lists what may be given |
circle |
the circles you are in and the invitations to join one; see below |
audit |
the log of administrative changes, with filters |
mailbox |
a mailbox and everything in it: message, invitation, folder, rule, subscription, device, autoreply, programs |
token |
API tokens: create, list, update (rename, or a new lifetime from now), revoke; token create --user on the console issues somebody's first |
app |
apps authorized to act as you: list, rename (the name stays when the app renews), disconnect (revokes every token it holds) |
session |
the browsers signed in to the dashboard |
passkey |
the passkeys registered to your account; registering one needs the dashboard |
settings |
the optional integrations; settings set <section> key=value |
server |
the running instance: status, restart, addresses, identity, and storage (what the database and the files hold, by area, kind or person with --by, the growth, and when a measured disk fills; --history lists each day's sample) |
services |
which hosted services this server offers: get, set, and assistant --kind openai, which starts the assistant in one step (the key is checked, a model chosen, agents offered and your own agent turned on; --base-url for a model server of your own, --restart to restart afterwards) |
upgrade |
the newest release, and installing it: status [--check], apply; app testflight|appstore|android says the newest TeaNode phone app on a channel, as the app asks this server |
mail |
handled mail: list with filters, get, content, download, opens, count, send |
delivery |
what happened on the way out, and delivery pending, the queue |
report |
DMARC aggregate reports received about your domains |
template |
a domain's message templates, with render |
layout |
the frames templates are rendered inside |
photo |
your library of photos and videos: list, read, describe, upload, download, favorite, set-date (correct when a photo was taken), search-places, set-location and remove-location (where it was taken), trash, restore, retry, save (keep a photo of a shared album, or a file of a conversation), delete, empty-trash, library, album for named sets of photos, with sharing, and people and faces for the people found in them; see below |
shopping |
your shopping lists: lists, show, create, add (items, or a list read from a file or pictures), check, store and shop for the store, receipt for what a receipt did, and the rest; see below |
journal |
a page for each day, with your words and mood and your agent's story of it, and the weeks, months and years above the days; see below |
finance |
linked institutions, transactions, trades, net worth, budgets and savings targets; see below |
search |
your words across chats, mail, contacts, photos, memory, documents, recordings, places and finance at once; see below |
link |
web links as the dashboard and the app show them: link preview --conversation <id> <url>...; see below |
api |
everything else, straight from the schema |
teanode mailbox is the dashboard's mailbox, without the dashboard. Most
people have one mailbox, so --mailbox is needed only when there are
several, and a folder is named rather than identified:
teanode mailbox folder create GitHub
teanode mailbox rule add GitHub --when from:contains:@github.com --move GitHub --stop
teanode mailbox rule apply
A condition is field:operator:value, repeatable, and every one must match.
The fields are from, to, subject, header, score, sender-known,
category, priority, needs-reply and any; the operators are
contains, equals, matches (a regular expression), above and below.
A header condition names the header: --when header:List-Id:contains:golang.
Three of the fields ask nothing of a value and are written alone: --when sender-known, --when needs-reply and --when any. sender-known is true
when the sender is in your address book — somebody you keep, not merely
somebody who has written before. category, priority
and needs-reply read what the agent decided about a message, so a rule
with one of them runs once the agent has sorted the message rather than at
delivery: --when category:equals:newsletter --move Reading. The categories
are personal, work, newsletter, notification, receipt, promotion,
social, invitation, phishing, junk and other, plus any the person
added. The last two are what a standing rule about unwanted mail is written
against, and matches takes both at once:
--when category:matches:^(phishing|junk)$ --move Junk --mark-read --stop. The actions are flags: --move,
--mark-read, --flag, --forward, --delete, and --stop ends the run
after this rule.
A rule files the mail that arrives after it is written. rule apply runs the
stored rules over what is already in a folder, moving, marking, flagging and
deleting as arrival would have; forwarding is not repeated, because old mail
is not sent again. It runs over every message of the folder, a batch of 500 after another, or over
only the newest --first N. rule test says what would happen and changes nothing.
Your own messages are mailbox message, through the same operations as the
dashboard's list, reader and composer; teanode mail is the operator's log of
mail the server handled, not these:
teanode mailbox message list --unread --from ann
teanode mailbox message show <id> --thread
teanode mailbox message move <id>... --folder Receipts
teanode mailbox message flag <id>... --read --flag
teanode mailbox message junk <id>... [--not-junk]
teanode mailbox message send --to ann@example.org --subject Lunch --text -
teanode mailbox message draft --subject Later --text notes.txt
list shows the Inbox unless --folder names another or --everywhere asks
for the whole mailbox; --unread, --flagged, --has-attachment, --from,
--to, --subject, --search, --since and --before narrow it, and
--first with --offset (or --after <id> within a folder) reads on. show
prints the headers and the text, --html the HTML part instead, --thread
the whole conversation oldest first, and --save-attachments <directory>
writes the files out under the names the sender gave them, never outside the
directory. A moved message gets a new identifier, which move prints. send
sends as the mailbox's only address, or --from when it has several;
--reply-to <id> keeps the conversation together and marks that message
answered, --forward <id> carries a message's attachments, and
--submission-id reuses an identifier so that a send whose answer was lost is
not sent twice. draft takes the same flags and saves to Drafts; --draft <id> replaces a draft saved before.
A message that carried a calendar invitation has mailbox invitation show <id>
(what, where, when, who is asked and what you have answered) and invitation answer <id> accept|tentative|decline, which marks your copy and mails the
organizer, so it needs the right to send as well as to use the calendar. The
agent does the same through mail_read with invitation and mail_act with
answer_invitation, which asks you first because it speaks for you.
The rest of the group is the rest of the mailbox. mailbox list names the
mailboxes you can open, and --all every mailbox on the server with its
owner (for the operator or an account manager, not a domain manager);
show and update read and change a mailbox's name and signature.
folder list|create|rename|move|pin|unpin|delete is the tree in the rail.
rule list|add|remove|enable|disable|test|apply is the filing.
subscription list|show|mail|unsubscribe the mailing lists it receives,
device list|add|remove the app passwords a mail program signs in with,
profile <device> a setup profile that adds the mailbox, its calendars and
contacts to an iPhone or a Mac with an app password of its own (it prints an
address to open on the device, once, within five minutes; --output saves it
instead, and is the way to make one on a server that has no name set),
autoreply show|set|off the out-of-office reply — set --same-domain-only
keeps it to people at the mailbox's own domains — and programs the hosts
and ports to type into a mail program.
A subscription is not a stored thing but a grouping of stored things: every
message that named the same list, keyed by the identifier the list publishes
for itself or the address it sends from. So there is nothing to create, and
the key is what subscription list prints:
teanode mailbox subscription list
teanode mailbox subscription mail <key>
teanode mailbox subscription unsubscribe <key>
Leaving is a request made to somebody else, and only one of the three ways finishes at the command line: a one-click request is sent, a message is sent to the address the sender named, and a sender offering only a page has the page printed for a person to open. Mail already in the mailbox stays either way; what stops is what has not been sent yet.
teanode domain logo show|publish|remove is the BIMI logo this server hosts
for one of its own domains:
teanode domain logo publish example.com mark.svg
teanode domain check example.com # prints the record to publish
teanode domain logo remove example.com
The file is checked before it is stored, against the restricted profile a
mark has to satisfy — no script, no animation, nothing fetched from
elsewhere, square — and a refusal names the rule that refused it, because a
receiver refuses the same file silently and the sender never learns why.
domain check prints the record to publish once there is a logo to point at,
and says underneath when something would stop a published record having any
effect, most often a DMARC policy of none.
Removing stops serving the file. Take the record down as well, or receivers keep fetching an address that answers nothing.
teanode user update robin --units metric|us|automatic chooses degrees Celsius and kilometers, degrees Fahrenheit and miles, or (the default) the units your language and region use. The dashboard's Profile page and the app's Profile screen set the same choice, and it decides how the Journal writes temperatures and distances, and Location its distances, on the dashboard, in the app, in teanode journal day and teanode location, and in the pages your agent writes; with automatic the command line reads the region of your shell's language (LANG), and a language with no region reads as metric. The agent sets it with the account tool's update and its measurement_system argument.
teanode user avatar set|remove is the picture shown beside a person's name
on the dashboard and in the app, and the initial on a
color of their own when there is none:
teanode user avatar set portrait.jpg
teanode user avatar remove
teanode user avatar set --user personb portrait.jpg # needs user:manage
It acts on the signed-in account; --user names another by username, which
needs user:manage, like changing anybody else's name. The file is a PNG or
JPEG of at most 8 MiB and 20 megapixels. The server crops it to the center
square, scales it to 512 pixels and stores it as a PNG, so everything else in
the file, including where a photo was taken, is dropped. A WebP or HEIC photo
is refused with the reason; convert it first. Setting a picture replaces the
one before it. The agent does the same when asked, through the account tool's
set_avatar action with a picture from the conversation.
teanode circle is the family, friends or colleagues on this server that you
belong to. A circle is named by its identifier, which circle list prints;
people are named by username.
teanode circle create --kind family "Home" # --kind is required: family, friends or colleagues
teanode circle invite <circle-id> personb # --admin to invite one as an admin
teanode circle invitations # as personb: what is waiting
teanode circle accept <invitation-id> # or: decline <invitation-id>
teanode circle show <circle-id> # members, roles, and for an admin who is still being waited for
teanode circle role <circle-id> personb admin # or member
teanode circle people # everybody you share a circle with, once each (the username where there is no name), and what each is to you
teanode circle person personb # personb's card: what they are to you, and a few items of everything of theirs you can see
teanode circle person --contact <address-book-id>/<contact-id> # or one of your contacts; --limit sets the items of each part, 3 to 10
teanode circle relate personb father # personb is your father; they are told and see you as their son or daughter
teanode circle unrelate personb # take it away, for both of you
create, rename, delete, invite, withdraw, role and remove change
the circle and need you to be one of its admins; a member who is not one is
told so. leave takes you out, and the last person to leave deletes the circle.
A circle always keeps an admin, so the last admin cannot leave or be made a
member while others remain; make somebody else an admin first, or delete it.
Leaving, being taken out with remove, and delete end what the person (or,
for delete, every member) shared with the circle and with anyone they then
share no other circle with, and it does not come back if they join again; what
others shared with the circle stops reaching them. delete also deletes the
circle's calendar, albums, chat and address book with every contact in it. Each
asks first, and says so.
accept and decline of an invitation that was already answered, or has
expired, say so. invite answers the same whether or not the username is an account, and
whether or not that person is in the circle already or may use circles, so it
is not a way to list who is on the server. An invitation lasts thirty days.
An operator with user:manage can put an account in a circle without an
invitation, for somebody who will not set it up themselves:
teanode circle add <circle-id> personb # --admin for an admin
The circle's admins are told, in the note and phone notification an invitation
gives, and the audit log (circle_member) records who was put in.
For an account that does not exist yet, teanode user create takes the circles
in the same breath, so the person is in them as soon as they have a password
(--circle is repeatable, and they join as members):
teanode user create --stdin --circle <circle-id> --circle <other-id> personb
A circle that refuses does not undo the account or stop the others; the
error names the circle and the circle add that finishes the job. Without
user:manage, circle add says it needs that permission; it does not answer
that the circle was not found.
person prints a person's card, by username or account id, or by one of your
contacts: your contact details for them, the circles you share, and a few items
from each part of the app that concerns them. It prints where they are (or
Location paused until 15:00 when they paused recording, with no position) and
their visits today, the health they share, photos of them and albums they
shared, recent mail with them, recordings they speak in, and memory pages about
them. A part says why it shows nothing: not shared with you when they have not
shared it, or that no contact of yours is linked to them (teanode contact link
links one), and a part you may not use is left out. Mail, photos of them,
recordings and memory pages are found through your contact for them, so they
need one. Somebody you share no circle with is not found, whoever they are.
relate says what somebody you share a circle with is to you, so that "ask my
father" or "where is my wife" reaches the right account. It prints what the two
of you now are to each other: Sam Lee is your father; they will see you as their son. The other person is told (at most once a day), sees you as the
opposite, and can change or remove it, for both of you. Only the two of you
see it, it ends if you stop sharing any circle, and your agent knows it. teanode circle relate --help lists the words: the neutral one
first, then the masculine and the feminine (spouse, husband, wife;
parent_in_law, father_in_law, mother_in_law; friend; colleague). The
word shown for the other person follows how they say they are described, and
until they say, the word you chose or the neutral one. You say how you are
described yourself with:
teanode user update robin --pronoun she # he, she, they, or none to clear it
It is refused for any account but your own, whoever asks, and the people who
share a circle with you see it, as they see your name. That is the word the
other side of a relationship uses for you (son rather than child) and how
your agent speaks of you; without it, you are spoken of as they and never
guessed at from a name. circle relate and circle unrelate need a circle in common with the person, and say that nobody by that
name shares one otherwise.
teanode sharing prints what you share and what is shared with you, across
calendar, location, Health, memory pages, photo albums, recordings, finance
accounts, skills and passwords. Each kind is still shared and stopped with its
own command (teanode calendar share and unshare, location, health,
agent memory share, photo album share, recording share, finance share,
agent skill share); this is the one list.
teanode sharing # two tables: shared by you, shared with you, each with the id of the share
teanode sharing --json # { sharesMade, sharesReceived }
teanode sharing decline calendar <share-id> # stop receiving a share that was made to you by name; --force to skip the question
A share to a circle names the circle, a share made to you by name says by name, and a share of passwords is counted ("3 items"), never named. A share of a
memory page that has since been deleted shows as page deleted (<path>), and
teanode agent memory unshare removes it. A calendar shared at busy shows the
owner's name where the calendar's title would be. A finance
account is named with the last digits of its number (Everyday Checking ••0001). The kinds are calendar, location, health, memory_page
(memory-page is read the same), photo_album, recording, finance, skill
and passwords. decline only ends a share that
was made to you by name: one through a circle ends when you leave the circle,
and passwords are removed by whoever shared them. The owner is not told, and
has to share again for you to have it back. The agent does the same with the
circle tool's sharing and decline_share actions, except that finance is not
the agent's to read: its list leaves finance accounts out and it cannot decline
one.
Who sees whom, and what a circle is for, is in docs/subsystems/circles.md.
The agent does the same through its circle tool, with an action for each
subcommand under the same word: list, show, people, person, relate, unrelate,
create, rename, delete, invite, accept, decline, withdraw, role,
remove and leave, and for somebody who manages accounts add. Deleting a
circle, removing a member and leaving are asked about as destructive, a role
change, accepting or declining an invitation and inviting as granting, and
relate and unrelate as outward, since the other person is told, and
renaming and taking back an invitation as an ordinary write. The agent relates people only on your word, never from mail or memory,
and sets your pronoun, with the account tool's update and its pronoun
argument, only on your word too. At the start of each of your turns it is told
how you are described and who in your life is what to you.
Because they are bytes rather than JSON. The
files of a draft go up as multipart/form-data, one file part each, to
PUT /api/v1/mailbox/drafts/{itemId}/attachments (or
POST /api/v1/mailbox/{mailboxId}/drafts/attachments for a draft that does
not exist yet), with the same bearer token. curl -F file=@report.pdf does
it; the reply is the draft as stored, with every part's index.
A domain's logo is the other: POST /api/v1/domains/{domainId}/logo with a
file part, which is what domain logo publish sends. Reading and removing
one are ordinary operations in the schema; only sending it is not.
Some examples:
teanode domain create example.com
teanode alias create example.com --pattern '^hello#39; --kind email --email me@example.org
teanode alias create example.com --pattern '^you#39; --kind mailbox --mailbox <mailbox id>
teanode api call ListMailboxItems folderId=01... first=10
teanode alias match example.com hello
teanode settings set antispam enabled=true host=127.0.0.1 port=783
teanode server status
teanode mail list --domain example.com --status rejected --first 20
teanode mail send example.com --from hello@example.com --to ann@example.org \
--template welcome --variable name=Ann
teanode template render example.com welcome --variable name=Ann
teanode delivery pending
Things are named the way a person names them: a domain by its name, a
template by its domain and name, an alias or a credential by the identifier
its list prints. Anything that cannot be undone asks first; --force skips
the question. The --status and --kind filters are checked before
anything is sent, so a typo is an error rather than an empty list; mail count --by is checked by the server, which knows every field. A list that
stopped at --first says so on standard error, so a page is never mistaken
for the whole.
mail send prints its submission identifier on standard error before sending.
If the response is lost, repeat the command with --submission-id set to that
identifier and the same content, attachments, template and variables. The server
returns the original acceptance instead of accepting another message. Reusing an
identifier with changed parameters is refused; use a new identifier for a new
message. Keep input files unchanged for the retry, including content originally
read from standard input. The identifier is scoped to the account or the local
console, so retry with the same identity. This protects local acceptance, not
exactly-once remote SMTP delivery. The identified command requires a server that
supports SendMail's submissionId argument.
Use mail submission <domain> <submission-id> to check acceptance without the
original files or template. It returns the accepted mail identifier even after
mail retention removes the stored copy. Run it as the same account or console
that sent the message. With --json, it returns the acceptance object or null.
A missing result means no acceptance is recorded yet; an in-flight request may
still commit, so retry with the same identifier and unchanged content.
The same commands serve a script, with three differences that matter when nobody is watching.
A question is only asked of somebody who can answer it. When standard input
is not a terminal, a command that would confirm refuses at once with a
--force hint instead of printing a prompt nobody sees. TEANODE_FORCE=1
answers every such question for a shell that has already decided.
--json applies to failure as well as success: the error goes to standard
error as {"error": "...", "exitCode": N}, so a caller parses both the same
way. teanode api always prints JSON, and so are its errors.
The exit code says what kind of thing went wrong:
| Code | Meaning |
|---|---|
0 |
it worked |
1 |
something else went wrong; the message says what |
2 |
the command was called wrongly: an argument missing, a flag that does not exist, a confirmation with nobody to ask, a value that is not one of the choices |
3 |
a change refused by a read-only profile, --read-only, or TEANODE_READ_ONLY; nothing was sent |
4 |
the server has no such thing |
5 |
the server refused the token; sign in again |
6 |
the server could not be reached at all |
Shell completion comes from the binary itself:
source <(teanode completion bash)
source <(teanode completion zsh)
settings set is generic: the keys and their types come from the server's
own schema, and settings describe <section> lists them. A value of - is
read from the terminal without echoing, for a secret.
The groups above cover what the server offers today. teanode api covers
every operation in the schema, including any added since, because it works
off the schema the server reports rather than a hand written list:
teanode api list # every operation
teanode api list domain # the ones about domains
teanode api describe CreateDomain # arguments, input shapes, return fields
teanode api call ListDomains
teanode api call GetDomain domainId=example.com
teanode api call CreateDomain domainParameters:='{"domain":"example.com","subdomain":"mail"}'
Arguments are name=value. Use name:=<json> for a number, boolean, list or
object. Values whose type the schema declares as a number or boolean are
converted for you, so first=10 arrives as 10.
The reply carries every field that can be asked for without arguments, three
levels deep. --depth changes that, and --select replaces the generated
selection entirely:
teanode api call ListDomains --select "{ id domain }"
For anything the generated query cannot express, write the query:
teanode api graphql '{ ListDomains { id domain records { records { type name verified } } } }'
teanode api graphql --file query.graphql --variables '{"domainId":"example.com"}'
teanode api always prints JSON.
On the console, reads fall back to the stored configuration when the server
is not running, because a read cannot lose anybody's change and the stored
configuration is current either way. This is what makes the first run work:
teanode dkim show example.com prints the DNS record to publish before the
server has ever started.
Writes do not fall back. When the server is down the command fails and says
so, rather than making a change the server would overwrite the next time
anything was saved from the dashboard. The exceptions live in the server's
own program: teanode-server user for accounts, and teanode-server config import for a whole configuration.
Your own agent, and — for an operator — everybody's. Every command goes through the API, so a change made here is the change the Agent page would have made.
| Command | What it does |
|---|---|
teanode agent ask <message | -> |
say something to your agent and print what it answers; --new starts a named conversation, --conversation continues one, --attach FILE (repeatable) hands it a file (a picture is shown to it, a text file read to it, anything else named), --recording RECORDING_ID (repeatable) points it at a recording, as Ask agent does on the recording's page, --photo PHOTO_ID (repeatable) points it at a photo of your library (a photo in the Trash too; one you may not read is refused, and that includes one that is not yours and is in no album shared with you or your circle; for a photo of a shared album the model is told no place unless the share includes places), --reply-to MESSAGE_ID answers a message of the conversation (ids from conversation show --json), --voice-message FILE sends a recording as a voice message in a chat (--conversation; half a second to two minutes, any common audio format, which the server makes a mono AAC file; it takes no message, --attach, --address, --mention or --ask-agent; the words appear under it when the server has written them, and conversation show prints it as (voice message 0:07) words, (transcribing) or (no transcript)), --json streams every event, --quiet prints the answer alone. A tool that needs your word asks on the terminal, y or n, never a flag |
teanode agent send-file <file> [file...] |
send yourself a file in your main chat, where the dashboard and the phone open, and have the phone tell you: --caption adds a line to it, --type names its type when the extension does not. A page or a PDF opens in place, a picture or a video plays. A file may be up to 100 MB |
teanode agent chat |
the same, turn by turn, until an empty line |
teanode agent react <message-id> <emoji> |
puts your reaction on a message of a conversation, as the drawer's picker does: one or two emoji, replacing the one you had there; --remove takes it away. Message ids come from conversation show --json, and conversation show prints the reactions under each message |
teanode agent conversation todo list |
the task list a conversation keeps: the agent's own, which it writes as it works through something in several steps and shows itself every round. todo list <conversation-id> prints it; only the agent changes it |
teanode agent conversation direct <username> |
open your chat with somebody you share a circle with (circle people lists them) and print conversation <id>: <title>, the id being your own for it; the same chat every time, but each person has an id of their own for the same chat, so one person's id is not found by the other. ask --conversation ID <text> then says something there and prints that it was sent (a message starts no agent unless it addresses one), ask --conversation ID --ask-agent <text> also asks your own agent there, --address <agent id or owner username> (repeatable) asks another member's agent there that its owner let the chat ask, --mention <username> (repeatable) mentions somebody in the chat and --mention-all everybody, which tells a person whose phone hears only of mentions and asks nothing of their agent, and --reply-to <message id> to an agent's message asks that agent, which answers everybody in the chat under its name while you follow the turn as you would an ordinary ask (what it did to answer stays yours), and chat --conversation ID shows what the others say, a couple of seconds after they say it, and sends each line you type (one that starts with @agent asks your agent, and an @ before a member's name or @all mentions them) |
teanode agent conversation group <title> --with <username>,... |
start a group chat with you as its admin; --with is repeatable or comma-separated and each must share a circle with you |
teanode agent conversation members <id> |
who is in a chat and who has left, their role, how far each has read, and what their agent does there (told for your own and for an agent its owner let the others ask) |
teanode agent conversation remember <id> on|off |
let your agent remember a chat from now on, as a knowledge source it reads with the rest of its sources, or stop; what it learned stays, and turning it on again reads from then |
teanode agent conversation others-may-ask <id> on|off |
let the others in a chat ask your agent there, which then answers them limited to the chat and the web and nothing of yours, or stop them. Leaving the chat turns both off |
teanode agent conversation add <id> <username>... |
put people in a group chat, who read it from then on; needs an admin of the chat, and each person must share a circle with you. Somebody already in the chat is not added again: the command says they already are, and adds nobody |
teanode agent conversation remove <id> <username> |
take a person out of a group chat; needs an admin; asks first |
teanode agent conversation leave <id> |
leave a group chat, which you can still read up to now; asks first. A circle's chat follows the circle: leave the circle instead |
teanode agent conversation notifications <id> all|mentions|off |
what your phone is told of in the chat: every message, only a message that mentions you or everybody, or nothing; it stays until you change it |
teanode agent conversation say <id> <text> |
say something in a chat under your own name, as if you typed it, for a script or an agent working for you: an @ before a member's name, as members shows it, mentions them and @all everybody, --reply-to <message id> answers a message, and it asks no agent (ask --conversation does). --as-agent says it under your agent's name instead, which needs your agent on. Prints the message id. Your agent's conversation tool, which a harness reaches over MCP, does the same with send (author_kind person or agent) |
teanode agent conversation read <id> |
say you have read the chat through its newest message; the mark never moves back |
teanode agent conversation edit <message-id> <text> |
change one of your messages in a chat; the others see it was edited |
teanode agent conversation transcribe <message-id> |
write the words of a voice message that has none, paid by your agent; everybody in the chat sees them |
teanode agent conversation delete-message <message-id> |
delete a message of yours in a chat, or any message in a group you are an admin of; asks first |
teanode agent conversation calls <id> |
the calls of a chat, newest first: who started each, how long it went or that it was missed or declined, and who was on it. Calls are made and answered in the dashboard and the app |
teanode agent conversation call <call-id> |
one call, with its transcript when somebody turned transcription on, each line under its speaker, and the recording it became (yours, or shared with you) |
teanode agent conversation list|show|new|rename|goal|main|archive|unarchive|delete |
the main conversation, the named ones and your chats with other people (a person whose agent is off lists only the chats); list --kind chat lists the chats alone, list --query finds one by words in its title or in what was said (a chat by its title and its people), and list --archived lists the ones put away instead of the open ones; show prints the goal above the messages when there is one and the task list under them (for a chat, who is in it, how many are unread and who wrote each message), rename also renames a group chat, the done ones ticked, and pages back through a long one with --first and --offset; main makes a named conversation the main one, or starts a fresh main one and keeps the old as a named one; archive <id> puts one away with everything in it and unarchive <id> brings it back, neither asking first because neither loses anything; delete asks first and takes the files that came with it |
teanode agent waiting [--first N] |
the questions and approvals the agent waits on in every conversation, newest first, with how many there are in all (calls other people's agents make through a skill you shared wait for you too and are not listed here: agent skill calls <share-id> --waiting lists them); waiting approve|deny <id> and waiting answer <id> <answer> answer one, as its card in the chat would (a request to take the browser tab over is answered in words this way too) |
teanode agent tab |
your browser as the agent reaches it through the extension: whether it is connected, its tabs (yours and the ones the agent opened, and which is in use), and whether you have taken the tab over on the dashboard's Browser page; tab hand-back [note] gives it back, with a note for the agent, and answers the agent's requests to take it over. Taking a tab over needs its picture, so it is the dashboard's |
teanode agent goal list [--state working|waiting|paused|met|dropped] |
what the agent keeps at in the background, the most recently active first: each goal's id, where it stands (tracking, needs you, paused, done, dropped), its title, when it runs (its times, the mail it waits for, or its own pace) and its one-line status; the same list as the Goals tab of the agent's page |
teanode agent goal show <goal-id> |
one goal: what it is for, its status, when it runs and when it looks again, what it made (background work, mail rules, reminders, alert mutes) and what happened on it, newest first |
teanode agent goal start <title> <description | -> |
start a goal in the background: a title of a few words, then what it is for and what done looks like. With --time (repeatable) its turns are at those times, a cron line in your zone (--time "30 7 * * 1-5"), a moment (--time "@at 2026-09-12 09:00") or a distance from now (--time "@in 20m", stored as the moment it means); with --on-mail from:contains:news@school.example it also takes a turn whenever such mail arrives; --notify sends one quiet notification when a turn's first card is posted; --emoji gives it the one emoji shown before its title (left out, one is chosen from its words). Without either it keeps its own pace, its first turn at once. It runs in its own conversation; what it finds is in your feed, and you hear from it in your main conversation when it needs you |
teanode agent goal tell <goal-id> <text> |
answer a goal that waits for you, or tell it something it should know; it goes on a minute later |
teanode agent goal set <goal-id> |
change a goal: --title, --emoji (empty chooses a fresh one from its words), --description (- reads it from stdin), --time (replaces its times) or --no-times, --on-mail (replaces its mail) or --no-mail, --notify; only what you give changes |
teanode agent goal run <goal-id> |
give a working goal a turn now, out of its times |
teanode agent goal pause|resume|done|drop <goal-id> |
switch a goal off for now, take one that is paused, done or dropped up again (at its next time), mark one met, or stop it |
teanode agent feed list [--all] [--limit N] [--after CURSOR] |
the cards the agent posted without being asked, newest first, with how many are unread; cards of one source are one line with "+N more", and --all includes the ones you dismissed |
teanode agent feed stack <stack-key> |
the cards of one stack, those with a position first and then newest first |
teanode agent feed show <card-id> |
one card: its text, facts, sources and buttons, and what came of the button chosen |
teanode agent feed choose <card-id> <choice-key> |
press a button of a card; a card is answered once. An action says your choice in your main conversation as your own message with the card attached; a dismiss only closes it; a coding session's option answers the session |
teanode agent feed like|unlike <card-id> |
tell the agent you want more like it, or take that back |
teanode agent feed less <card-id> |
show less like this: the agent remembers, and the card is dismissed |
teanode agent feed dismiss [<card-id>...] [--stack KEY] [--read] |
close cards: the ones named, every open card of a stack, or every read card (a decision still waiting for an answer is kept); give exactly one, and it prints how many were closed |
teanode agent feed restore <card-id>... |
bring dismissed cards back (one a choice settled stays closed), and print how many |
teanode agent feed resolve <card-id> [--note TEXT] |
mark a card resolved because its problem cleared: it stays where it is, drawn muted, with when it was resolved and the note (one line, at most 160 characters). A card is resolved once: a second resolve is refused and the first note stands |
teanode agent feed unresolve <card-id> |
take the resolved mark off a card, which clears its note |
teanode agent feed read <card-id>... |
mark cards read |
teanode agent feed discuss <card-id> |
print the id of the main conversation to talk about a card in |
teanode agent feed post --title ... [--body ...] [--kind ...] [--symbol ...] [--urgency now|today|whenever] [--coalesce-key ...] [--stack ...] [--stack-position N] [--stack-title ...] [--layout list|weather|agenda --layout-content JSON] [--fact label=value]... [--link url[=title]]... [--photo id[=caption]]... [--picture url[=caption]]... [--choice key=Label[:role]]... [--chart-blocks JSON] [--camera-still JSON] [--card ID] |
post a card of your own to your feed, or with --card change one where it stands, keeping every field you leave out; the same coalesce key replaces a card (and clears its resolved mark), and a page already in an open card of the last 30 days is refused. Em and en dashes in the text are rewritten, and a title, label or caption a little too long is cut, which is printed as a note. --chart-blocks is a JSON array of at most two charts, each {chartKind: series or bars, chartTitle, unit, provenance (required, where and when the numbers were read), xLabels, series: [{seriesName, seriesRole, values}], markers: [{markerAt, markerLabel}], bars: [{barLabel, barValue}]}; three or more --fact rows that are each a time or date and a number are refused, since they are a series. --camera-still is a JSON array of {attachmentId or photoId, cameraName, capturedAt, stillReason, playbackUrl, liveUrl, mediaCaption}, a still from one of your cameras (photoId is your own photo of that moment). --photo shows one of your photos or videos on the card and --picture the picture of a page, which the server fetches; without either, the card shows its first link's picture |
teanode agent phone pair |
draw a one-time code in the terminal for the TeaNode app on your phone to scan, connecting it to this server as you, with the link beside it for a phone that opens it instead. It works once, for ten minutes; it signs a phone in as you, so show it to nobody else. The same code as the dashboard's Connect page, except that a phone connected with a code drawn here cannot approve a call that spends your money or lend it: connect it from the Connect page for that |
teanode agent phone list|rename|notify|test|remove |
your phones, as the TeaNode app section of Devices in Settings shows them: list says whether this server can notify each and when it was last seen, rename <phone-id> <name>, notify <phone-id> <kind>... chooses what a phone is told about (message, approval, question, answer, circle, chat, skill_share_call, photo, or all), test <phone-id> sends one a notification, and remove <phone-id> signs it out, asking first unless --force |
teanode agent idea list|get|propose|start|done|dismiss|reopen |
what your agent offers to do for you, and what became of each offer: the same list as the Ideas section of the Goals tab and the agent's idea tool. list shows the open ones, --status dismissed or --all the others, and --limit with --offset a page of them; get <id> shows one whole, with what you would say to start it and what prompted it; start <id> opens a conversation named after the idea and prints what to say in it, and --send says it; done, dismiss and reopen say what became of one. propose keeps one you write, checked as the agent's are: it may only need tools your agent has, must say where it asks first when a tool acts toward somebody else, and names what prompted it with --evidence message:<item-id>:<what it is> |
teanode agent run list|show|stop |
what the agent did on its own: every model call is a run, and list pages through them with --first and --offset; --kind triage --kind reply, or --kind triage,reply, narrows it to some kinds of run and --query to what they were about; --all or --agent <id> lists everybody's conversations and runs, main and named too (--kind main, --kind named), for an operator with agent:observe or agent:act, and with --all the table names the owner and marks a turn in flight; --since and --until (a duration such as 24h or 7d, or a date) bound the last activity and --running keeps the ones with a turn running now; reading another person's conversation with conversation show or run show prints a header saying it is observed, read-only, and writes an audit row; stop <run-id> stops one where it is, keeping what it has already done |
teanode agent failed-turns [--since 7d] [--agent <id>] [--first N] [--offset N] |
the turns of every person's agent that ended in a failure, newest first, with the owner, the conversation and the error, for an operator with agent:observe or agent:act |
teanode agent tools |
the tools your agent has, as you may use them, with the risk class and whether it asks first |
teanode agent memory index|get|search|note|page|merge|link|unlink|move|forget|history|recall|learned |
what your agent knows about you, as pages with numbered facts: get people/alice-chen, with --link-limit and --link-offset to print a page's links a part at a time, note people/alice-chen "Does the books" --applies-to triage,reply, link people/alice-chen projects/portal --relation works_on, move notes/marigold things, move --number 3 people/alice-chen projects/portal puts one fact on another page instead of the whole page, keeping the words it came from, forget people/alice-chen --number 2; forget people/alice-chen with no number takes the page and everything under it and asks first, --force skips the question; history projects/portal. search "<words>" finds pages and facts by words, --first at a time (40 by default); a search that found more says how many more pages and facts, "at least" where it stopped counting, and the --offset that prints the next page |
teanode agent memory links <path>|backlinks --record <kind>:<id>|link <path> --record <kind>:<id> --relation <relation>|unlink <path> --record <kind>:<id>|confirm <path> --record <kind>:<id>|contact <path> <contact-id> |
a page's links to your own records, and the other way. A record is written kind:id, with kind one of contact, mail, calendar_event, reminder, conversation_message, finance_transaction, finance_receipt or recording_passage; a passage of a recording is recording_passage:<recording id>@<start ms>-<end ms> (add --transcript-run to link for the transcript the range is counted in). links people/alice-chen lists what the page is linked to, each with the record's title and date, a guess marked "perhaps", and a record that is gone marked as no longer available; --first and --offset read it a part at a time. backlinks --record mail:<item id> lists the pages linked to a record, and for a passage the pages whose passage overlaps the range. link ... --record states a link (what you do is yours to say; a link the agent made reads as a guess until you do), takes --relation (is_contact, wrote, received, attended, organized, spoke_in, mentioned_in, paid, paid_by, receipt_for or about, which has to fit the kind) and an optional --note, and only takes a record that is yours and exists. unlink ... --record takes every relation of that record away unless --relation names one. confirm states a guess the agent made, which is what Confirm does on the dashboard and the phone: of one record with --record (and --relation when it has several), or every guess on the page with --all. contact names the card a person's page is about, from your own address books, and links the page to it; --clear takes it away. It never makes a card. memory get says how many records a page is linked to |
teanode agent memory share <path> <username|circle-id>|shares|unshare <share-id>|shared |
pages of your memory shared with other people, read only. share people/alice-chen ben gives ben, who must be in a circle with you, the page and everything under it (people/alice-chen/..., never people/alice-chen-two); a circle by name or identifier shares it with everyone in it you are in (a username is that person even when a circle has the same name; a name two circles have is refused with their identifiers and sizes). The words each fact was read in (your mail, documents) stay private unless you add --with-quotes, and those from a chat or a recording never are shown; sharing again changes that. A fact whose evidence is all finance, recordings, location or a private calendar event is never shown either. --preview prints exactly what they would see, lists the pages it reaches (the first fifty, and a page added under it later is shared too) and how many facts stay private, and shares nothing. shares lists what you shared, with whom and whether the quotes are shown; unshare takes one back and the reader loses the page at once, because nothing was copied, as they do when one of you leaves the circle you share. shared lists the pages other people shared with you, by who shared them, and shared --query words [--first N] finds the words in their names, openings and facts, saying whose each hit is and, when more matched than it shows (the hits of every owner are taken in turn before it stops), that there may be more. memory get <path> --owner <username> reads one of those, with its facts numbered as its owner numbers them, where each was read ("from their mail") and the quotes only if they chose to share them (never those of a fact read in a chat or a recording), and no overview, which it says is not shared; a page not shared with you is not found |
teanode agent memory recall "<question>" |
what a question would carry into a turn: the pages recall would expand, each with the facts on it as the page numbers them, printed the way memory get prints a page. It is the same recall a turn does, so it answers "why did it not know that?" without asking it again — and it costs nothing: no model is asked anything and nothing is marked as used, so the same graph answers the same twice. --json for the pages and facts as they came. --search "<words>" (at most two) and --broad follow a retrieval plan, as a live turn follows its depth judgement's. --explain says why as well: the retrieval mode and plan, each query that ran (the message, each planned search, the linked-pages hop, the broad pass), how many each search of each query found, where each page and fact ranked in each search and once fused, and what carried it or kept it out (the page limit, the limit on pages no fact was found on, the token budget, a retired fact), with the overview section carried and why that one |
teanode agent memory checkout [directory] |
what a Claude Code or Codex session in a directory is shown by teanode hook: the pages of the checkout the directory is in, their liveliest facts, and where the last session there stopped. --prompt "<words>" prints what that prompt would recall instead, kept to the checkout's project and what links to it (--everywhere for all of memory). --computer names the computer when it is not this one's host name. Nothing is marked as used |
teanode agent memory capture <claude-code|codex> |
reads that tool's new sessions on a computer now, as the hooks do after each answer, so the latest answer is searchable within a minute and the next session knows where this stopped. --computer names the computer when it is not this one's host name. Says so when no enabled source of that tool reads sessions there |
teanode agent memory overview <path> |
how the thing a page is about works, as the dream last wrote it from the page and the pages under and beside it: what it is, its parts, how it relates to what it is linked to, what has been happening, what stands out. --rewrite asks the next dream to write it again; memory get prints it too, under the opening, with a theme's reflections. It ends with what the overview covers, counted by the server: how many of the pages under it, of a theme's pages and of its links its prompt shows of how many there are, how many of those had no overview of their own, and whether what it is written from has changed since |
teanode agent survey "<question>" |
answer a question about a whole from the overviews: one read-only run a page in scope, several at once, then one that combines them into a report with citations. --scope themes/<one> or any page narrows it; with none it covers every top-level theme. Runs of kind survey, a few minutes. It starts the survey on the server and asks every few seconds whether it has finished, so no request is held open that long. A read that fails for a passing reason (the server restarting behind its proxy, a dropped network, a timeout) is tried again, less often each time; after thirty minutes the command stops waiting. Whichever way it ends, it names the survey's id, for teanode agent background show <id>; --no-wait prints the id and returns, and stopping the command leaves it running. --json for the finished work, with the report and the runs |
teanode agent background list|show|stop |
the surveys and subagents your agent started without waiting for them, and the surveys agent survey started: list says what is queued, running or finished lately, newest first; show <id> prints one's report or answer, and on standard error how it stands and the runs it made; stop <id> stops one that is queued or running, which then wakes nothing |
teanode agent memory answers <file> |
answer each question of a set that has an expectedAnswer, from memory, from the sources or from both (--from memory,sources,both; memory@planned and both@planned follow each question's plan), and grade each answer against the expected one: a line a question and source — memory changed-01 stale gave the old address — then a score, the verdicts, the cost and the time an answer took, per source. Two model calls a question and source, as runs of kind evaluate; nothing is written to a conversation or the graph. --json for every answer. See docs/evaluation/ |
teanode agent memory plan <file> |
ask the depth judgement what retrieval plan a live turn would follow for each question, and with --output <file> write the question set back with each question's plan, for evaluate --mode planned and answers --from memory@planned. One call to the fast model a question, as runs of kind evaluate. --stored plans the memory check's confirmed and corrected questions instead of a file's |
teanode agent memory evaluate <file> |
replay a set of questions through recall and say, per question, whether the facts it needs would have been carried: one row a question — direct 03 hit, changed 12 miss: carried people/alice-chen saying "berlin" — then totals per kind and overall, and a non-zero exit when anything missed. No model is asked anything and nothing in the graph is marked as used, so the same graph answers the same twice and the set can be run before and after a dream to see what the dream was worth. --mode planned follows the plan each question carries (see memory plan), as a live turn would. The file's shape, and a starter set to replace with questions from your own graph, are in docs/evaluation/ |
teanode agent knowledge list|add|set|pause|resume|sync|remove |
the places your agent reads: add "work" ~/work --computer laptop --under work, set work --cron "0 4 * * *" --under projects changes a source that already exists — its name, its path, where what it finds is filed, how often it is read, the format, the mailbox, whether every checkout under it is read — leaving everything you do not give alone, so correcting the hour does not cost you what removing and adding it again would, --read-every-checkout reads the files of every checkout under the path — by default a checkout that is barely any of your work is kept to its profile, so the page says what it is and where it lives and its source is not indexed, and the source's row says how many checkouts that was and how many files, --own-commits-at-least says how many commits of your own a checkout needs before its files are read, however long its history (leave it alone and the program works it out: two commits, or a fiftieth of the log, whichever is more, up to twenty-five — and never more than the whole history, so a repository you committed to once and nobody else ever is yours; 1 is the older rule, any commit at all), --commits-per-pass says how much of the history one pass over the tree carries, shared among the checkouts in it, newest first (the program's own pace is two thousand), sync reads one again now, pause keeps what it found, and remove forgets everything it found and so asks first, --force skipping the question. --format says how to read what is there: files (a tree of files, git-aware), journal (dated notes), or records (a folder of JSON lines any script can write, with a refresh script beside them the daemon runs before each scan — ask your agent to write one) |
teanode agent knowledge search "<words>" |
find passages in what has been indexed — your code, your chat, your notes — without asking your agent to look for you. It is the same search your agent's knowledge tool runs, so what you see is what it sees: an identifier out of a log (ComputeShippingQuote) is looked up exactly and printed as the file and line that defines it, then the passages, each under the document it came from, with the identifier that reads that document back. --first how many, --offset how many of the ranking to pass over, --source <id-or-name> narrows it to one source, --json prints the rows as they came, each with its score. Where the deployment has no embedding model it says so — found by words alone, which misses a paraphrase that shares no word. A search that found more than it printed ends with how many more passages ("at least" where it stopped counting) and the --offset that prints the next page; pages read one after another show every passage once, in the order of the first. Over a tree of files it also says which directories the passages are in, the most first; --directory <one of them> (with --computer where several computers have that path) searches inside it, which is how a large tree is searched one part at a time |
teanode agent knowledge read <document-id> |
read one of those documents, by the identifier the search printed; the <id>#<passage> out of a citation is taken as well. --from is where in the text to start, counted in characters, and --first how many to print; a read that does not reach the end says how much is left and prints the command that carries on from where it stopped |
teanode agent dream log|runs|now|bootstrap|reread |
the dreams: the runs that read, file and rehearse; runs <id> lists every model call one dream made, each a run agent run show opens; now starts one within the minute, whatever the agent's hours; bootstrap on keeps it running with wider limits until nothing waits to be read, for a first ingest; reread --minutes 60 puts back what a night marked read in that window |
teanode agent feedback |
the corrections recorded from what you did, which the agent is shown as examples |
teanode agent channel list|set|unlink|remove |
the chat apps you talk to your agent from: your own Telegram or Discord bot. set telegram --token - reads the bot's token from standard input; list shows the code a chat sends the bot as /link CODE to become the linked one, and whether the bot runs; unlink draws a new code |
teanode contact list|show|add|edit|remove|remove-picture|link|unlink|suggestions|book |
your address book: the people you keep, which your phone and your computer synchronize over CardDAV. add --name "Ada Lovelace" --email ada@example.com keeps one; edit <id> --name "Ada King" changes only what you give and leaves the rest of the card alone, so correcting a name does not throw away the photograph a phone put there; --card - reads a whole vCard from standard input; remove-picture <id> takes only the picture off a contact (asks first, or --force), whoever put it there, and leaves the rest of the card. link <contact id> <username> links a contact to somebody you share a circle with (it looks in each of your address books for the contact, and with the id in more than one book it refuses until --address-book <id> chooses; it refuses your own account, someone outside your circles and someone another contact in that book already is); unlink <contact id> removes the link (also with --address-book); show and list then say in your circles as <username>. Only you see the link: that person is not told and sees nothing. suggestions lists your unlinked contacts that carry a mailbox address of someone in your circles, each with the link command that confirms it (and the address book it is in, when you have more than one), and never says which address matched. A link ends when you and that person stop sharing any circle. Your own address books are never shared. A circle has an address book of its own that everyone in it reads and edits, and your phone shows as another book: contact book create --circle <id or name> [--name <name>] makes it (anyone in the circle may, once), contact book list shows your books and your circles' with whose each is, contact book rename <book id> <name> renames one and contact book delete <book id> deletes a circle's with every contact in it (asks first, or --force); renaming or deleting a circle's is for an admin of the circle. list, add, edit, show, remove and remove-picture work in your own book unless --book <id> chooses a circle's; a contact id is unique only within its book, so name the circle's book to reach a contact in it (without --book, show, remove and remove-picture look in your own books first and never act on a circle's contact of the same id). A card in a circle's book is never linked to an account, is not known as a sender, and is not read by your agent. Leaving the circle ends your access at once |
teanode calendar list|show|add|edit|remove |
your calendar, which your phone and your computer synchronize over CalDAV. list --from 2026-09-14 --until 2026-09-21 prints one line for every time something happens, a repeating event once per occurrence; add --title Standup --starts 2026-09-14T09:30 --repeat FREQ=WEEKLY;BYDAY=MO puts something in it, --repeat taking an iCalendar rule as the dashboard and the TeaNode phone app write it (FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR is every weekday, FREQ=WEEKLY;INTERVAL=2;UNTIL=20261231T235959Z every other week until the end of that day in UTC, UNTIL=20261231 for an all-day event); --invite ada@example.com sends the invitation by mail, and moving or removing the event tells everybody invited; --all-day belongs to the day rather than to a time, and its --ends is the last day it is on, so the same date at both ends is one day; --private marks the event private (--private=false takes the mark off), so people your calendar is shared with see only that you are busy, and list and show say which events are private; --file - reads a whole iCalendar file from standard input. Times are read and written in the calendar's own zone unless they carry an offset |
teanode calendar request <request-id> |
check whether a calendar save completed, even after its event or calendar was deleted. add, edit and remove print a request ID before changing an event; after an uncertain response, look it up here or retry the same operation and fields with --request-id. A retried removal checks completion before loading the deleted event. An absent receipt may mean the original request is still in progress. Changed fields require a new ID |
teanode calendar stop <request-id> |
resolve an uncertain request before discarding its fields. An uncommitted request is durably stopped; an already completed change is reported and is not undone. A failed stop response is still uncertain, so retry the same request ID |
teanode calendar free |
when you are free: the stretches of the working day nothing is booked in, day by day. --earliest 08:00 --latest 18:00 moves the ends of the day; a whole-day entry does not make a day busy, and neither does anything cancelled. Worked out with the same two functions that answer a phone's free-busy request, so what this prints and what a colleague's client is told cannot disagree |
teanode calendar share <username|circle> --level busy|titles|details|edit [--calendar <id>], shares, unshare <share-id> |
who your calendar is shared with, and how much they see. share ben --level titles shares with a person you are in a circle with, share Home --level busy with everyone in a circle you are in (by name or identifier; a username is that person even when a circle has the same name, and a name two circles have is refused with their identifiers and sizes; the identifier is never ambiguous); sharing again changes the level, shares lists them with the identifiers unshare takes. busy is when you are busy and nothing else, titles adds the time, title and place of each event, details is everything including guests, edit lets them add, change and remove events that have no guests. An event you mark private (calendar add --private, written as CLASS:PRIVATE) is only ever shown as busy. Someone you share no circle with is refused as if they did not exist |
teanode calendar circle <circle-id> [--name <name>] |
make the calendar a circle keeps for itself, which everyone in the circle reads and writes (admins only; a circle has one). Its events cannot have guests |
teanode calendar circle-delete <circle-id> |
delete the calendar a circle keeps for itself, with every event in it, for everyone in the circle (admins only; asks first, or --force). The circle stays and may make a new one. teanode calendar set --calendar <id> renames a circle's calendar, for an admin |
teanode calendar list --owner <username|everyone> |
what other people shared with you, at the level each was shared at, each line saying whose it is: one person's, or everyone for all of them and your circles' own calendars. Time shared only as busy prints as busy |
teanode calendar free --with ada,ben |
when you and those people are all free: the same day-by-day stretches as free, from everybody's busy times, yours included. Each has to have shared their calendar with you at busy or more; it says who has not rather than leave them out |
teanode calendar calendars|set |
the calendars themselves, yours, your circles' and the ones shared with you, the last two with whose they are and the level you reach them at; for your own, what it is called, what a client paints them, the zone a new event is written in, and the day a week is drawn from: set --timezone Europe/Berlin, set --week-start monday. Weeks start on Sunday unless a calendar says otherwise; the five-day view is Monday to Friday either way, because that is what a working week is |
teanode location now|visits|places|path|nearby|search|addresses|save|forget|forget-visit|checkin|erase |
where you are and where you have been. The TeaNode app on your phone reports where you go (nothing on the command line reports a position); each visit is to a place, and place names come from OpenStreetMap unless you named the place: your server sends the position of each new place to the place provider to look up its name. now is your latest position and the visit in progress; visits --from 2026-10-10 --until 2026-10-12 lists visits newest first, with a photo count column counting the photos you took during each of your own visits (--json carries photoCount and the first four photos), and teanode photo list --after and --before at the arrival and departure list them (--place <id>, --label home, --first up to 200 and --offset to page); places lists your places, the ones with a label first (--label, --query), and place <place id> shows one of them by its id; path --day 2026-10-11 is one day's positions, oldest first. nearby is what OpenStreetMap calls the place at a position and your own places there (only your own while the server's place provider is switched off), and search playground --radius 5000 finds places by words near where you were last reported to be (--near-place <id>, or --latitude and --longitude; --first up to 50); searching needs the server's place provider to be switched on. addresses "6 Rue Example, Exampleton" lists the addresses matching the words, nearest first to one of your places (--near-place <id>), to a position (--latitude and --longitude), or to where you were last reported to be, with their latitude and longitude and how far each is from there (--first up to 20, 8 by default); it needs the place provider too, and the words you type are sent to it. save <place-id> --name "Grandma's" --label family --radius 100 names, labels and resizes a place (an empty --name goes back to OpenStreetMap's, --label none takes the label off, labels are home, work, school, family and gym), and without an id save --latitude 40.0 --longitude -75.0 --name Piano makes a place. save <place-id> --address "6 Rue Example, Exampleton" looks the words up, moves the place to the first match, the one nearest to the place, and keeps that address (the place keeps its label and any name you gave it, and OpenStreetMap does not rename it), then prints the address it chose and the other matches; if the first was wrong, rerun with --latitude, --longitude and --address-text copied from addresses. Without an id, save --address "..." --label home makes your home, or labels your own place that is already there. checkin --place <id> records that you are there now and ends the visit in progress (where you already are, nothing changes); checkin --latitude 40.0 --longitude -75.0 checks you in at your own place that holds the position, or makes a new place there that is called after its city until OpenStreetMap names it. forget <place-id> forgets a place and every visit to it. forget-visit <visit-id> forgets one of your visits that did not happen, such as a stop at a place you only drove past: the visit goes, the trips around it are built again, and the place stays with its other visits (visits lists your own visits with a visit id column). erase [--from <time>] [--until <time>] erases your positions and visits (in the range, or all of them), and the places left with no visit that you did not name or label; places you named or labeled stay, and anything your agent already learned from those days stays in its memory until you remove it. All three ask first, and cannot be undone (--force skips the question) |
teanode location mute <username> [--for 1h30m | --until 2026-10-23T08:00], unmute <username> |
stop being told on your phone when a person who shares their location with you arrives at or leaves a place, or be told again. mute ben --for 1h30m (or 2d) mutes for that long, mute ben --until 2026-10-23T08:00 until that moment, and mute ben alone until you unmute ben; the end must be in the future and at most 30 days ahead, --for and --until together are refused, and muting while muted changes when the mute ends. mute prints notifications muted until 15:00 or notifications muted; unmute says whether there was a mute. people lists a muted person with the same words in its last column. Unmuting is not asked about. The agent's location tool has mute (with person and muted_until) and unmute (with person), and shows a mute in people and now as notifications_muted |
teanode location pause [--for 1h30m | --until 2026-10-23T08:00], resume |
stop your location being recorded for a while, or start it again. pause --for 1h30m (or 2d) pauses for that long, pause --until 2026-10-23T08:00 until that moment, and pause alone until you resume; the end must be in the future and at most 30 days ahead, and --for and --until together are refused. Pausing while paused changes when the pause ends. While paused nothing new is recorded, whatever sends it (your phone's reports inside the pause are dropped, so it cannot fill the gap later), the visit in progress ends, and the people your location is shared with read "Location paused" (and until when) instead of where you are. resume ends the pause now and says whether there was one. now prints Paused until 15:00 or Paused until you resume with your own position, and for --person ben who paused, Location paused until 15:00 and no position; people lists them the same way. visits lists the pauses of its range among the visits, newest first, as paused 14:00 to 15:00 (not in a listing of --place or --label; --json carries them as pauses). erase erases the pauses that are over with the rest, and leaves the one in effect. The agent's location tool has pause (with ended_at) and resume, which waits for your confirmation |
teanode location trips [--day 2026-10-17 | --from <time> --until <time>] [--person ben], travel [--by day|week|month|year], travel-mode <leg id> <way> |
how you got from place to place. A trip is the travel between leaving one place and arriving at the next, made of legs, each with a way of travel: walk, run, bike, car, bus, train, boat or plane. The way is worked out from your phone's motion activity, or from speed and distance when there is none (past days too); bus, train and boat are never worked out, only set by you. trips lists today's trips by default, or --day, or a range with --from and --until, newest first (--first up to 200, --offset to page), as 2026-10-17 08:05 to 08:40, the route, distance, duration, the legs (walk 0.6 km, bus 11.8 km (corrected)) and a last column of leg identifiers; --json carries the trips with their legs. travel --by week (day, week, month or year; week by default, weeks starting Monday) lists the distance per way of travel for each period, newest first, with a total, for the last 12 periods unless --from and --until say otherwise; a leg counts in the period it started in, in the zone you last used. travel-mode <leg id> bus corrects a leg, which is then counted as bus, also after the trip is rebuilt; detected takes your correction off. trips and travel take --person ben for somebody who shares their history with you, and only you correct your own legs. Distances are in kilometers, or miles when your account reads US units (teanode user update --units), as on the dashboard and the iPhone; so are the distances nearby, search and addresses list. The agent's location tool has trips (with person, day, or from and until), travel_totals (with person, period, from and until) and travel_mode (with trip_leg_id and travel_mode, empty to take the correction off) |
teanode location people|shares|share|unshare |
who sees whose location. share ben --level current shares where you are now (they see where you are now and the place you are at) with a person you are in a circle with, and share Home --level history shares where you are and where you have been (they also see your visits and the places they were at) with a circle you are in; sharing again changes the level, shares lists them with the identifiers unshare takes. people lists who shares with you and where each is, and now takes --person ben to read theirs; visits, places and path take it too for somebody who shares their history, and say "ben shares only where they are now" for somebody who does not. Someone you share no circle with is refused as if they did not exist |
teanode health types|summary|samples|route |
your Health data (Apple Health, or Health Connect on Android), which the TeaNode app on your phone copies to this server (nothing on the command line reports it). A type is one kind of data, named as HealthKit names it without its prefix: stepCount, heartRate, sleepAnalysis, workout. types lists the ones you have with their Health category, unit, the days they cover, how many readings there are and the latest day, and then the facts about you that Health keeps, in words (date of birth with your age, Female, blood type O+, skin type, wheelchair use Yes, or Not set), and with nothing kept says where to start: Settings, then Health in the TeaNode app, and the data you allow on Apple's Health permissions screen (there is no command that sets Health up). summary stepCount --since 7d adds a type up by day, week or month (--period day|week|month, a week starts on Monday; --from, --to and --since 30d choose the days, the last 30 days by default): steps and energy are totals, heart rate and weight are averages with the lowest and highest, and sleep and workouts show the time covered in hours and minutes, sleep with the time asleep and in each stage (Deep, Core, REM, Awake). A week or a month also shows the days it holds data for and the average per day (per night for sleep) over those days, next to the total, as the dashboard does. Numbers carry the same words as the dashboard and the TeaNode phone app (the table is at the top of internal/health/words.go): 8,412 steps, 1 step, 74 bpm, 16 breaths/min, 36.6°C, 5.2 km, 42 mL/kg·min, and times as 7 h 12 min. A day counts the readings of an iPhone and a Watch for the same walk once, as the Health app does. samples heartRate --since 1d lists the individual readings, newest first, for whole days in this machine's time zone (--limit 50 by default and up to 200, and --offset to page; it says on standard error where the next page starts, and how many readings there are in all, or that there are more than 100,000), and route <health-sample-id> is the path of a workout that has one (--json has every point as seconds from the start, latitude, longitude and altitude). summary and types take --person ben for somebody who shares Health with you, for the categories they share; readings and routes are only ever your own |
teanode health settings|erase|shares|share |
what you choose about Health. settings shows whether your agent may read your Health data, when the last reading arrived and how many are kept, and the facts about you that Health keeps, and settings --agent-can-read off turns it off: it is off until you turn it on, it is separate from whether your phone sends Health to this server, and what your agent reads goes to its model provider, which the command names. Turning it on is refused from a command line, with a sentence saying where to do it (the Settings tab of the Health page on the dashboard, or Health in the TeaNode phone app's Settings), because commands run on your computer, by you or by an agent there, act with your own login. erase [<type>] erases the readings, day summaries and routes of one type, or of all of Health, which also tells your phone to stop sending until you turn Health on again; it asks first, and cannot be undone (--force skips the question), and what your agent said about your Health in conversations stays in those conversations. Erasing one type erases what the server keeps of it and does not stop the iPhone app: new readings of it keep arriving while Health is on. shares lists what you share and what is shared with you, and share family activity sleep shares those Health categories (activity, bodyMeasurements, cycleTracking, hearing, heart, mentalWellbeing, mobility, nutrition, respiratory, sleep, symptoms, vitals, other) with a person you are in a circle with or with a circle you are in. They see your day summaries of those categories, never your readings or routes. Sharing again replaces the categories, and share family with none stops sharing. Sharing a category the person or circle does not already have is refused from a command line, with a sentence saying where to do it (the dashboard or the TeaNode phone app); fewer categories, or none, works. Your agent's health tool has the actions types, summary and samples, which only read your own Health, and only in a conversation with you, never in a dream, a subagent, a background task or any other run nobody is watching (and never what others share with you: a person who shares Health shares it with people, not with their agents' model providers; what others share with you is on the Health page under Showing, on the dashboard and in the app), and set_up, which opens the Settings tab of the Health page where the switch is. The switch is also in Health in the TeaNode phone app's Settings. Turning its own access on, erasing, sharing and the route of a workout are yours to do, not the agent's: the tool has no action for them, and the server takes the first and new shares only from your tap on the dashboard or in the TeaNode phone app |
teanode passwords setup|unlock|lock|code|settings|change-passphrase|new-recovery-key|erase |
the keys behind your logins, cards and notes, which are encrypted on your devices so that this server keeps only what it cannot read. setup asks for a new passphrase twice (at least 12 characters; never an argument or an environment variable; --passphrase-stdin reads it from a line of standard input for scripts), makes the keys on this computer, sends only sealed values and prints the recovery key once, with words saying to keep it somewhere safe. The server asks for your tap to set up, which a command line cannot give, so with a token it is refused and the command says to set up on the Passwords page of the dashboard or in the TeaNode phone app and then unlock here; setup asks the server that before it asks for the passphrase, by sending an empty setup, which the server refuses for want of a tap before it looks at it, so nothing is typed for nothing. unlock asks for the passphrase (--recovery-key for the recovery key), checks it with the server and keeps the opened keys in passwords-unlock-<profile>.json, readable by you only, in $XDG_RUNTIME_DIR/teanode (a directory of your login that is emptied at logout and is not backed up), until the lock time passes (but at most 8 hours) or lock removes it, as gpg-agent keeps a passphrase; the keys in that file are not encrypted, so anyone who can read your files while it exists can open your passwords. Nothing removes the file at the moment the lock time passes: a later passwords command removes it when it finds it expired, and the logout does otherwise. A computer with no $XDG_RUNTIME_DIR (macOS, some Linux sessions) does not unlock: unlock refuses before it asks for the passphrase and says each passwords command will ask for it instead (a script passes it with --passphrase-stdin), because the keys would otherwise sit on a disk and in backups. A file an earlier version left beside the profiles file is deleted by the next passwords command that finds it. A file that other people could read or change, a link, or a file that belongs to somebody else is refused with a sentence saying so, and an expired one is removed. Every other command uses that file, and without it asks for the passphrase and keeps nothing. With --passphrase-stdin a command always takes the first line of standard input as the passphrase, even when it uses that file (the line is then dropped), so what follows it, such as --password-stdin, --text-stdin or import csv -, is the same for a script whether or not unlock ran. Every Passwords command prints JSON with --json, except copy and generate. code prints your own safety code (eight groups of four digits), worked out on this computer from the public key of the key pair that unlocking opened and from nothing else (SHA-256 of a fixed label and the 65 byte key, the first 16 bytes as eight numbers of four digits), never from what the server reports about your key and not from any user id, which a server could choose; it is the code the people who share with you compare with the one their device shows for you (--json gives username and safetyCode; the user name is only shown beside the code). settings says whether Passwords is set up, how many items it holds and whether this computer is unlocked, and --lock-after-minutes 60 sets the lock time on every device (1 to 10080). change-passphrase (--recovery-key to prove it with the recovery key when the passphrase is forgotten; with --passphrase-stdin the first line is the current one and the second the new one), new-recovery-key and erase (--force skips its question) are done on the Passwords page of the dashboard or in the TeaNode phone app and are refused from a command line, as setup is: each sends the same empty setup first, so with a token it says so in one sentence before it asks for a passphrase or a yes. After change-passphrase or new-recovery-key the old one no longer opens Passwords on this server, but neither makes a new account key, so a copy of the database from before still opens with the old one; both say so. erase asks first and cannot be undone: it is the only way out when both the passphrase and the recovery key are lost |
teanode passwords list|show|copy|add|edit|delete|restore|versions|generate |
your items. An item is named by its name, a word in its name, site or user name, or its id; a name that matches two items lists them and asks for the id. list [search] shows name, kind (login, card or note), user name, first site, folder and marks (shared, shared by <owner>, agent, needs a new key, sharing not checked, sharing changed back by the server), never a secret, and under the table says needs a new key: run teanode passwords rekey <item> (the new key goes to ben; the agent gets a copy), naming the same people rekey will ask about, for each item the server marks as needing one (show says it too; --json has needsNewKey). agent is shown, and isUsableByAgent is true in --json, only when the server's flag and the owner's signed record both say so, not on the server's flag alone. An item whose record of who may have it is missing, was not signed by your devices, or is an old one the server showed again says `sharing could not be checked: run teanode passwords share |
teanode passwords share|unshare|agent|trust|rekey |
who else, and what else, can use an item. share <item> <username|circle> seals the item's key on this computer for each person it reaches, with the public key they set up in Passwords, and asks nothing about that key: no question, no terminal and no --force (share takes no --force). This computer keeps one key for each person, the first it saw for them from any source (sharing with them, an item they shared with you, a person waiting for an item), in passwords-keys-<profile>.json beside the profiles file (readable by you only, keys kept by server so a profile pointed at another server does not lose them, written under a lock so two commands do not lose each other's), and seals for it. The first key for a person is recorded and one line says so (first key for ben recorded); an owner's key is recorded only after an item from them opened with it. When the server later gives another key for the same person, that key is used from then on, for sealing and for opening what they shared, and one line says ben's key changed (they set Passwords up again): compare codes with them; your code: teanode passwords code. A person has one key for all their devices, so a changed key means they erased Passwords and set it up again, or a server put a key of its own in their place, and only comparing safety codes (eight groups of four digits) with them, in person or on a call you trust, can tell which: ask them to open Passwords settings on their own device and read you their code (teanode passwords code prints yours). Nothing waits for that comparison. The lines go to the error output, so --json stays JSON. It seals only for people who do not have a key for the item yet. trust <username> <safety code> is the optional way to mark a key as compared, after you did: it reads that person's current Passwords public key from the server, works out its safety code, and marks the key as compared only if the code you gave matches (32 digits; spaces are optional); otherwise it says the codes do not match (the key the server gives for that person is not the one they read you: tell them, and do not rely on the item's sharing until you know why), records nothing, and does not say what code it expected. It also refuses when the server answers with another user id or user name than the one asked for, and it shows the user name you typed. --code-stdin reads the code from a line of standard input so it is not in the process list. It is a real comparison only if the code came from the person (off their own screen), not from this computer. The mark gates nothing, and a key that changes clears it. trust takes the user name of one person, not a circle, and the agent's shell is refused it as it is the other passwords commands. A file written by an earlier version, which kept a key you confirmed apart from one that was only seen, is read as one key for each person (the confirmed one, marked as compared, else the seen one). A person who has not set up Passwords yet is named and waits. A waiting share completes by itself only on a computer that sealed the item for that person before or where you named them in a share; every other case (a circle member who joins later, a computer that never saw the item) waits for you: share --waiting (all your items) or rekey <item> here, or "Finish sharing" on the dashboard and in the TeaNode phone app (one item, or all at once from the list). share --waiting seals your items for people who have set up since, if you named them in a share on this computer or it sealed for them before (anyone else the server lists as waiting is left to rekey, in one needs you line); it prints how many keys the server stored, names a person who has too much shared with them (the server keeps at most 64 MiB of sealed text shared with one person, 8 MiB of it from any one owner) and skips them, and says more are waiting: run this again when the server's waiting list (at most 2,000 entries, newest items first) was cut short (--json has sealedCount and hasMoreWaiting). share names such a person too. The server also bounds the pairs of an item and a person it reaches at 50,000 for an owner. A circle's members are the server's word: when share or rekey seals an item for a member of a circle this computer never sealed it for, one line says <name> got <item> through <circle>. The people it reaches can use the item and only you change it. Who may have an item is also written inside the item's sealed fields (an access record of people and circles, and whether the agent may use it), which only your devices write: a key is sealed (by share, share --waiting and every re-key) only for somebody that record reaches, never for somebody the server's list alone names, so a share or a waiting person the server made up gets nothing. That record is signed: it carries a recordVersion and a recordMac (HMAC-SHA256 under a key made from your account key, over the item id, the kind, the version, the agent permission and the sorted grantees), because anybody who holds an item key (a person it is shared with, the server through the agent's copy) could otherwise seal a record of their own. Every write of the record (share, agent on, unshare, agent off) signs it at one version above the highest this computer has seen for that item, which passwords-keys-<profile>.json keeps by server and item as the highest version with its signature (highestRecordVersion, highestRecordMac), together with the people this computer itself sealed the item key for (sealedForUserIds, which also holds a person you named in a share while they had no key yet), whether this computer itself made the agent's copy (hasMadeAgentCopy) and when the item was last re-keyed without being asked. Nothing of the last three is ever copied from the server's list of who holds a key or whether the agent has a copy, and the version and signature are written down only from an item that is neither marked as needing a new key nor deleted (the view where an old record is most likely to be shown) or from a record this computer signed. When this computer signs, the new version is the highest of what it remembers and the verified record the server showed, plus one. Opening an item checks the signature. A record with none, or a wrong one, reaches nobody and gives the agent no copy: the item says its sharing could not be checked, nothing is re-keyed or sealed for anybody from it, and rekey, edit, share --waiting and agent on leave it alone; share and agent on ask you to run unshare <item> first when the server lists people on it, because unshare then starts again from a record that shares with nobody and signs it, and share sets sharing again from there. A signed record with a lower version than this computer saw before, or with the same version and another signature, is an old one shown again (it could list somebody you took off): nothing is done with the item and it says the server changed its sharing back. A re-key you did not ask for (the one edit, share, agent on and share --waiting do first when the server marks the item as needing a new key) never widens, and is done only for an item this computer remembers from an earlier command of its own (a computer that has never seen the item cannot tell an old signed record from the newest, so it prints needs you: teanode passwords rekey <item> and leaves the item as it is): it seals only for people the signed record reaches whom this computer itself sealed the item key for before, and for the agent only if the signed record says so, the server agrees and this computer itself made the agent's copy; anyone else is left out with one line that begins needs you: teanode passwords rekey <item>, and share --waiting follows the same rule. The re-key after unshare and agent off is your own narrowing and is not limited this way: it seals for everyone the signed record still reaches whose key is known, even people another device shared the item with, and keeps the agent's copy when the record still lets it use the item and the server agrees (agent off ends it), as the dashboard and the TeaNode phone app do. A known limit: a computer that sees an item for the first time trusts the newest signed record the server shows it, so rekey there seals for what that record says; it is your own command, and the server can at most show an older signed record of yours, never write a new one. rekey, which you run on purpose, seals for everyone the record reaches, so before it seals anything it says who gets the new key, whether the agent gets a copy and who waits for having no Passwords set up yet (Giving <item> a new key: the new key goes to ben; the agent gets a copy.), and asks you to type yes; without a terminal to ask on it refuses and says to pass --yes (with --json the sentence goes to the error output, so standard output stays JSON). An item whose record cannot be believed is refused before the question. An item is given a new key without being asked at most once in 10 minutes, and a command does it for at most 20 items; after that it says to run rekey. No command ever narrows the record because the server said so, only your own unshare and agent off do. The keys that share sends to the server carry the item key they were sealed from, as share --waiting does, and the server refuses them if the item changed on another device in between. Sharing saves the fields with the wider record first and then asks the server. Adding somebody is done on the dashboard or in the TeaNode phone app and is refused from a token with a sentence saying so, before the passphrase is asked for (share <item> <username|circle> always asks the server first, as agent on does); unshare <item> [username|circle] (everyone when none is named) works from a token. After it narrows who the item is shared with, it gives the item a new item key (the old one opens nothing saved from then on): the server stops sharing first, then this computer opens the item with the old key, seals its fields (with the narrower access record) under a new random 32-byte key, and sends the new key sealed for your account, for each person your record still reaches, and for the agent key only when the opened record says the agent may use the item (and the server agrees), in one RekeyPasswordItem call that needs no tap. A person who still reaches the item but has not set up Passwords yet waits: the command says so, and share --waiting seals the new key for them when this computer sealed for them or you named them in share. When the file of known keys cannot be read (a mode other people can read, say) no key can be recorded or sealed for, though items shared with you still open, with a note that says how to fix the file: the narrowing still happens, the people still shared with wait, and the message says how to fix the file (chmod 600 <path>); lock removes only the keys unlock kept, never that file. If the new key cannot be made the command says Removed. The item could not be given a new key; run the command again, and running it again, even naming a person who is already off, gives the new key; if the item changed on another device in between, it is read again and tried once more. rekey <item> [--yes] gives an item you own a new key with the record as it is, after saying who gets it and asking for a yes; the server marks an item as needing one when access to it narrowed (a person taken off, a member leaving a circle, a recipient losing the Passwords permission, the item deleted), and edit, share, unshare and agent give it first on a computer that remembers the item, and otherwise stop with needs you: teanode passwords rekey <item>. agent on|off <item> lets your agent use one of your own items or stops it: on saves the fields with a record that lets the agent use the item, then seals the item's key for the server's agent key so the agent can sign in with the login in its browser, with TeaNode typing the password in only on the item's own sites, and asks first (--force); a card is refused before anything is sent, and turning it on is done on the Passwords page of the dashboard or in the TeaNode phone app, so agent on is refused from a command line before it asks for the passphrase or a yes, while agent off works here and gives the item a new item key in the same way as unshare, with the agent copy dropped and the people it is shared with kept (an item the agent could not use is left alone). It is off for every item until you turn it on |
teanode passwords import pass|import csv|export |
bring logins in, or take them out. import pass [--store ~/.password-store] [--dry-run] walks a pass store ($PASSWORD_STORE_DIR when --store is not given), decrypts each .gpg file with the gpg on this computer (one process per file, no shell, the path after --, so gpg asks for its own passphrase as pass does), and saves a login for each: the first line is the password, login:, user:, username: and email: lines the user name, url: lines the sites, an otpauth:// line the one-time code and the rest the notes; the path gives the folder and name. import csv <file> reads an export from Chrome, Apple Passwords or Bitwarden (- for standard input), found by its header row; Bitwarden cards and identities are left out and named. Both skip an item whose kind, name, folder, first site, user name and the password (or note text) are the same as one you have (the secret itself is compared, in this command's memory for that run only; no hash of it is made), so running one again adds nothing but a changed password or another folder is kept as a second item, and print counts and the names of the items they skipped (found, imported, already there, failed), never a secret; --dry-run saves nothing. export [file] [--format json|csv] writes the items you own in the clear, readable by you only, after asking (--force), and never over a file that exists; with no file it writes passwords-export-<time>.json (or .csv) in the current directory, a name the computer program's file tool for the agent refuses to read, as it refuses any file that begins as an export does, and it says so when a name you chose is not one of those; it is written to a private temporary file beside it and put in place only when complete, and the temporary file is removed if the export fails or is interrupted; JSON has everything (passkeys and cards too) as `{"version": 1, "exportedAt": "<RFC 3339 time>", "items": [{"id", "itemKind": "login |
teanode reminder list|add|edit|done|reopen|remove |
your reminders list, the one beside your calendar that the Reminders app on a phone synchronizes over CalDAV. add "Buy stamps" --due 2026-09-29 is due on that day, --due 2026-09-29T15:00 at that time in the calendar's zone; list --done shows the ones ticked off and list --all both; done ticks one off and reopen puts it back |
teanode note list|show|add|edit|remove |
your notes: the ones a phone's Notes app keeps in your mail account, which it syncs over IMAP. add "Packing list" writes one whose first line is its title, --file - reads the text from standard input, and edit <id> replaces a note's text; the phone shows the change at its next sync. --mailbox picks the mailbox when you have more than one |
teanode agent skill list|search|install|update|remove|enable|disable|scope|secret |
tools installed from the skill registry, for everyone on this server: list names each skill's tools and list <name> says what each of that skill's tools does, search says what there is, install weather checks the signature and the hash before keeping it, update with no name installs every newer version there is. `scope |
teanode agent skill share|shares|unshare|calls|decline |
share a skill's tools with somebody in a circle you share, and see what they ask. share <skill> <username> --tools pay --ask-every-time lets their agent ask to use those tools on your computer, as you, each use waiting for your approval. From a command line the server accepts only a share with --ask-every-time, or one that gives no more than the share it replaces (the same tools or fewer, the same currency, limits no higher); any other share, with limits (--payment-limit 100.00 --monthly-limit 400.00 --currency usd, in the currency's own units) or without, even of a tool that pays nothing, is made on the dashboard's agent page or in the TeaNode phone app, as is approving a call: the server refuses them to a command line token, and the command says so with the address. A payment limit above the monthly limit is refused everywhere. shares lists what you shared and what is shared with you, `calls |
teanode agent mcp list|connect|disconnect |
the connected servers the operator declared and your connections to them; connect tracker --credential - reads your credential from standard input, and an authorizing server prints the address to open; --loopback brings the authorization back to this terminal instead, for a service that answers only to a loopback address |
teanode agent settings show|set |
your agent: set enabled=true name=Bertie instructions=- reads the long value from standard input; keys are listed by set --help. set alerts=false stops it telling you about your mail unasked; feed-destination=main sends what it says unasked back to your main conversation instead of your feed (feed, the default); there are no quiet hours and no daily most, and the weekly look around your town is an ordinary goal (agent goal list shows it), so alert-quiet-start, alert-quiet-end, alert-daily-most, look-around-weekday and look-around-time are gone. unattended=outward,destructive lets it do those kinds of thing, which otherwise wait for your word, when you are not there (money, granting and listed are the others; empty allows none) |
teanode agent alert list|mute|mutes|unmute |
what your agent told you unasked, and what you asked it not to: the same list as the Alerts card on the agent page. list shows each alert with the messages it was about; mute <alert-id> stops alerts about what it covered (the burst, or the sender of a single message), --scope subjectKey, sender, domain or kind on its subject, its senders, their domains or its kind (a burst, or a category such as notification), and mute --target offers@shop.example.com names one yourself, its scope read from it unless --scope says; mutes lists them and unmute <mute-id> takes one back; the follow-up kinds (follow_up for all, bill, parcel, deadline, event) are kinds to mute too |
teanode agent follow list|add|stop|backfill |
the bills, parcels, deadlines and events your agent keeps track of from your mail: the Following list on the Alerts card. list shows what is still being watched, the nearest day first (--all adds the closed, expired and stopped); add --kind bill --title "Water bill" --payee "Example Water" --amount 84.20 --currency USD --due 2026-11-03 has it follow something you name (a bill needs --amount and --due, a deadline or event --due, a parcel --tracking or just a title, with --carrier and --place where they fit); stop <follow-up-id> stops following one and nothing more is said about it; backfill has your agent look back over the last 45 days of mail it already sorted and queue up to 150 messages that look like a bill, a parcel, a form or a dated notice to be read for follow-ups. It runs by itself once for an agent with alerts on after follow-ups ship, so run it yourself if you turned alerts on later or want it to look again; reading a message twice changes nothing, and what it finds shows in list as the messages are read, a few seconds apart |
teanode agent settings categories add|remove |
your own categories beside the fixed ones |
teanode agent settings forget |
delete the agent and everything it learned; asks first |
teanode agent source list|grant|revoke|set|allow|deny |
what the agent may reach and what it does in each: set --mailbox work triage=true auto-reply=true auto-reply.scope=known for a mailbox, alerts=false to hear nothing unasked about what arrives in it; allow calendar and deny addressbook for the other two kinds of source, which carry a switch and no policy (with no name, allow calendar means the calendar of events, not the reminders list, which is also a calendar and is switched by naming it; it asks for a name only when there are two calendars of events). Nothing from a source you have not granted is ever sent to a model |
teanode agent prices show|check |
the model prices checked against the provider's bill, needing server:manage: show lists, for each openai provider with a billing key, when it was last checked, the error if the bill could not be read, and every price compared (model, kind of token, configured, billed, days it rests on; a model with no entry is not compared); check does the check now instead of at the daily one, changes the prices that are missing or differ by more than five percent, tells the operators, and lists what it changed. The same as "Check prices now" on the provider in Manage > Agents > Models |
teanode settings agent model list|add|set|remove |
the models each provider offers, needing server:manage: list [--provider P] shows provider, name, id, context window (the override, or the provider's own figure marked as such), prices, on or off, and the roles that use it; add PROVIDER MODEL offers a model, with --name, --context-window, --input, --output, --cache-read, --cache-write, --audio-input, --provider-price (drop the model's own prices so it takes the provider's) and --enabled=false; giving any price sets the model's own, and 0 means free; set PROVIDER MODEL changes the ones given and keeps the rest; remove PROVIDER MODEL is refused while a role uses the model, and names the role. A role can name only a model listed here |
teanode agent usage [--since] [--by day|kind|mailbox|model] |
your tokens |
teanode agent draft <item-id> [--say "…"] |
have the agent write a reply to a message, printed for you to use; nothing is saved or sent |
teanode agent replies [--status held|sent|cancelled|refused|failed] [--mailbox] |
the replies the agent wrote for you and what became of each, with the reason when it left a message alone |
teanode agent replies cancel <reply-id> |
cancel a held reply; the draft goes and nothing is sent |
teanode agent admin usage|list|limit|disable|enable|dead-letters|retry |
everybody's agents, needing agent:audit: tokens by day, kind, mailbox, model or agent; each person's sources and today's spend; a per-person limit in tokens or, with --cost, in money; the switch-off; the jobs the worker gave up on |
Every command sends the shell's time zone and language with the request, the way the dashboard sends the browser's, so a person who lives in the terminal is placed as well as one who lives in the browser.
teanode search WORDS [--area AREA]... [--limit N] [--json] looks for the
words in everything of yours at once: the same operation as the dashboard's
search box and the agent's search tool (SearchEverything). It prints a
group for each area that found something, in a fixed order (chats, mail,
contacts, photos, memory, documents, recordings, places, finance), with each
result's id, when it happened, title and detail. A group that has more says so
and prints the command that searches that area by itself. An area that did not
answer in three seconds is named after the groups, and an area you may not use
is left out without a word.
--area narrows the search to an area and can be given again for more;
--limit is how many results from each area, 5 by default and 20 at most. The
words are matched as the areas match them, by the words alone, so try a name or
a distinctive word. --json prints words, areas (each with searchArea,
hasMore and results) and failedAreas. How it works, and who may search
what, is in docs/subsystems/search.md.
teanode link preview --conversation ID URL... [--json] prints, for each link
(at most 10), the link with its tracking parameters taken off, and what the
page behind it says about itself: its site, its title and its description. It
is the card under a message in the dashboard and the TeaNode phone app
(ReadLinkPreviews). --conversation is required: a link gets a preview only
if its exact text is in a message of that conversation that the agent did not
write (yours, another person's, or what a tool answered), and any other link
prints preview: none and is never fetched. A page the server could not read,
or a link that is not a web address, prints preview: none too. The server
fetches the page and keeps what it read for a day, or for an hour when the page
could not be read, so asking again is cheap. --json prints the answer as it
came: url, cleanedUrl, displayText, isAvailable, title,
description, siteName, imageUrl and the picture's size in pixels
(imageWidthPixels, imageHeightPixels). How it works is in
docs/subsystems/conversations.md.
Your retained meeting recordings: the same operations as the Recordings page
and the agent's recording tool, and named after them (the tool's
temporary-speaker-name is teanode recording temporary-speaker-name). Each
takes --json.
| Command | What it does |
|---|---|
teanode recording record [--input FILE|-] [--device NAME] [--no-live] |
record a meeting, the way the iPhone and the dashboard do: from the microphone (through ffmpeg, which must be installed), from a file, or from standard input when it is not a terminal. The audio is cut into pieces of up to a minute where somebody stops talking, each uploaded and verified while the recording goes on, and the words are printed as they are spoken unless --no-live. Ctrl-C stops it; the pieces still waiting are uploaded first. The recording is named once it is transcribed |
teanode recording watch RECORDING-ID |
print a recording's words as they are transcribed, the live words first and the speakers' passages as each piece is done, until its transcription is finished |
teanode recording timeline --recording-id ID |
the whole transcript in time order, the latest completed version of each piece of the recording. While a recording is still being captured the phone uploads it in pieces of up to a minute, and each piece shows up here once it is transcribed. A passage from a speaker nobody has named yet carries a label such as Speaker 1 (temporarySpeakerLabel), the same label in every piece of that recording, and the view lists these speakers under temporarySpeakers. While a capture goes on the server asks the transcription model whether a new label is a voice that already has one (a request is sent only four samples, so a fifth voice comes back under a fresh letter); when the model says it is, the passage reads as the earlier label, or its name, and carries its own label as mergedTemporarySpeakerLabel A sentence that crossed the cut between two pieces appears once, whole: the later piece's run records where it started reading (handoffStartMS) and the earlier piece's copy is left out |
teanode recording timeline --recording-id ID --unnamed-only |
only the passages whose speaker nobody has named yet, what is left to label: segmentCount is how many there are and --segment-offset pages through them. A passage given a name, or matched to a voice sample, leaves the list |
teanode recording temporary-speaker-name --recording-id ID --speaker-label "Speaker 1" --confirmed-name NAME |
name a speaker of a recording that is still being captured, by the label the timeline shows. The name applies to every piece heard so far and to the ones that follow, and a named speaker is recognized by voice in later recordings as any confirmed speaker is. It takes no generation, since the capture keeps going. --me says the speaker is you, and the name then defaults to your display name |
teanode recording speaker-separate --recording-id ID --speaker-label "Speaker 9" |
give a label that was merged into an earlier speaker's voice back to itself: the label is the passage's mergedTemporarySpeakerLabel. Its passages read as its own label again, and the names that naming the earlier speaker wrote for it are taken off; naming the earlier speaker meanwhile named both. It takes no generation, since the capture keeps going |
teanode recording speaker-confirm|speaker-rename|speaker-reset |
the same for a finished recording, by a passage or by a speaker of one transcription request; these check --expected-source-generation |
teanode recording speaker-contact --recording-id ID --speaker-identity-id ID --expected-source-generation N (--contact BOOK-ID/CONTACT-ID | --none) |
tie a confirmed speaker name to one of your contacts, so the contact's card lists the recordings that voice speaks in, or take it off its contact with --none. The contact has to be in one of your own address books (for your agent, one you gave it), and the name has to be on a passage of this recording. It changes nothing else: the name and its passages stay as they are. speaker-confirm and temporary-speaker-name take the same --contact to tie the name they give, replacing an earlier tie of that name; speaker-names shows addressBookId and contactId for a name that is a contact or is tied to one. Deleting the contact unties the name and keeps it |
teanode recording speaker-undo |
takes a naming back whole, given any one of its corrections: every passage it named goes back to the speaker's label (speaker-reset takes back one passage); checks --expected-source-generation |
teanode recording share RECORDING-ID USERNAME|CIRCLE --level summary|transcript [--force] |
share a recording with somebody you share a circle with, or with a whole circle (by its name or id; a name more than one circle has is refused with their ids and sizes). summary is the title, date, length, the generated summary and the speakers you named; transcript adds the words, with your corrections. Never the audio, a voice sample or a contact. It says first that the others who speak did not agree, and asks; --force goes past the question. Sharing again changes the level |
teanode recording shares RECORDING-ID |
who the recording is shared with, at what level, and the share's id |
teanode recording unshare SHARE-ID |
stop sharing it with that person or circle |
teanode recording shared [--before ID] [--limit N] |
the recordings others shared with you, newest first, with who shared each and the level |
teanode recording read-shared RECORDING-ID [--offset N] [--limit N] |
read one of them as far as its level goes: the title, who shared it, the summary and the speakers, and at transcript the words a page of passages at a time (more: --offset N says where the next begins) |
Your library of photos and videos: the same operations as the dashboard's
Photos page and the agent's photo tool, and named after them. It needs the
Photos service switched on and the photos:use permission. Each command that
prints data takes --json.
| Command | What it does |
|---|---|
teanode photo list [--favorites] [--trash] [--search WORDS] [--after DATE] [--before DATE] [--near LATITUDE,LONGITUDE,KILOMETERS] [--kind picture|video|livePhoto] [--album ID] [--face-group ID] [--contact ID] [--person USERNAME] [--limit N] [--continue-after ID] |
the library, newest first (with --trash, the photos newest moved to the trash first): id, date (when it was taken, on the clock where the camera was, by the photo's own offset: a photo with a date always has one once it is processed, and a photo not processed yet is shown on UTC), kind, place, size, length, state and file name. --search finds photos by words, best match first (at most 500): the place, the file name, the camera, the titles of the albums a photo is in and, for a photo that has been described, its description and the text in the picture; a photo nobody described is found only by the rest. --near 10.5,20.25,2 keeps the photos taken within 2 kilometers of that point (latitude from -90 to 90, longitude from -180 to 180, a distance above 0). With --search and --after or --before it also says on standard error, when there are some, how many photos in those dates have no description yet. A date is 2025-07-12 (that day in your zone) or an RFC 3339 time. A full page says on standard error how many photos match, and the id to continue after. --face-group keeps the photos with a face in one group of faces (the ids are in people list) and --contact the photos with a face in any group that contact names, so the photos of a person are found by whichever you have; --person <username> the photos of the contact you linked to that person in your circles (teanode contact link), nothing when there is none |
teanode photo read ID |
everything known about a photo: its date (with the offset where it was taken, when known), place, camera, size, files, the albums it is in, how its previews are going, and its description with the text in the picture (or that none was written yet, or is on its way). Its place reads the name of your own Location place when the photo was taken inside one, else the street address when the server looks addresses up, else the city; --json adds locationPlace and addressText. Each face found in it is a line person: the contact that names it, or that nobody has named its group yet, with the group and face ids to name or correct it |
teanode photo describe ID [--again] |
have your assistant look at a photo and write what is in it, so that a search finds it by that. It answers at once and the description arrives a few seconds later (read has it). A photo that has a description is left alone unless --again. It needs the assistant to be on and a model that reads pictures; nothing describes photos unasked except the assistant when it looks at one |
teanode photo upload FILE-OR-FOLDER... |
add pictures and videos. A folder is walked, leaving out names that start with a dot and files that are not pictures or videos; a file named on the command line is always sent. Each file is hashed (SHA-256, which is the name the library knows the photo by), the library is asked which of the first 200 it already has, and only the rest are sent. One line a file says uploaded, already there or failed, then a summary such as 12 uploaded, 3 already there, 1 failed; the command fails if any file did |
teanode photo download ID [--file original|edited|liveVideo] [--output PATH] [--force] |
save one of a photo's files, under its own name here by default, or at the path given, or in the folder given. It never replaces a file that is there unless --force says so, and a file that arrives short is not kept |
teanode photo favorite ID [--off] |
make a photo a favorite, or take it back |
teanode photo set-date ID TIME |
correct when a photo was taken. TIME is an RFC 3339 time whose offset is the offset of the place the photo was taken (2025-07-12T14:30:00+09:00, or Z for a place on UTC); the photo is shown on that clock from then on, as the dashboard's change of date does. A time with no offset, or a day alone, is refused, because it would be read on a clock that is not where the photo was taken. Processing never undoes a date you set |
teanode photo search-places WORDS [--near LATITUDE,LONGITUDE] [--limit N] |
find cities by name in the table that names every photo, to pick where photos were taken: place, latitude and longitude, and with --near the kilometers from that point. Case, accents and punctuation do not matter. A whole name comes first, then names that start with the words, then names with a word that starts with them, then the words anywhere in "City, Country"; within one kind the nearest to --near comes first, otherwise the largest. --limit is 1 to 50 (10 by default). Two numbers (35.0116, 135.7681) answer that one position, named after the nearest city. Street addresses are not searched |
teanode photo set-location ID... (--place WORDS | --at LATITUDE,LONGITUDE) |
say where photos were taken, at most 500 at once: --place uses the best match for the words (search-places shows the choices), --at a position such as 10.5,20.25; give exactly one. The photos are named after the nearest city, their date is not changed, and a location you set is not replaced when the file is read again. It says how many photos changed; photos that are not yours or are in the Trash are left alone |
teanode photo remove-location ID... |
remove the location from photos, at most 500 at once, after asking (--force skips the question). TeaNode keeps no copy of it, and it stays removed when the file is read again; the file itself is not changed, so a download of the original, or a copy already shared, still has what the camera wrote. Setting a location puts one back |
teanode photo trash ID... / restore ID... |
move photos to the Trash and restore them from it; the Trash is emptied after the days library shows |
teanode photo retry ID... |
make the thumbnails of photos again (the dashboard's and the iPhone's "Make thumbnails again"), at most 500 at once. A photo whose thumbnails failed is put back in line with a fresh count of attempts and no wait; a photo that is ready is done again, to replace thumbnails that look wrong. A photo that is waiting already, in the trash or not yours is left alone, and the command says how many it queued. The server tries a photo up to five times, waiting 1, 5, 15 and then 60 minutes after a failure that is the file's; a failure of the server's own store or database is not counted. read has how it is going |
teanode photo delete ID... / empty-trash |
delete forever the photos in the Trash, or all of them; both ask first, or take --force. The photos leave the trash at once and their files are deleted by the server within minutes. delete says how many went, and when some did not, that the others were not in the Trash and were left alone |
teanode photo library |
how many photos there are and how many of them are videos (photos: 120 (4 videos): a photo is any item, a picture, a Live Photo or a video, so the videos are among the photos and not a second count), the space used (with the account's limit, or No limit) the largest file and whether faces are being found (on, off by you, or not available and why), in the words of the dashboard's Photos page |
teanode photo album list |
the albums you reach, the most recently changed first: yours, your circles' and those shared with you. Each row has its id, title, how many photos are in it, the days they span, whose it is (you, a person's name, or circle and the circle's name) and your level (owner, contribute or view). A photo in the trash is not counted until it is restored. --circle <id or name> lists only that circle's albums, as its page shows them: the circle's own and those shared with everyone in it |
teanode photo album read ID [--limit N] [--continue-after ID] |
an album and its photos, newest first, in the same columns as photo list, with an owner column when other people's photos are in it; a full page says on standard error how to continue. A photo that is not yours comes without where it was taken unless the share includes places |
teanode photo album create TITLE [PHOTO-ID...] [--circle CIRCLE] |
make an album, empty or with photos in it (at most 500 at once). A title is from 1 to 255 characters once trimmed. --circle (an id or a name from teanode circle list; a name that two circles have is refused with their ids) makes it the album of a circle you are in: every member adds photos of their own to it, the photos stay theirs, and the circle's admins rename and delete it |
teanode photo album rename ID TITLE |
give an album another title |
teanode photo album delete ID |
delete an album. Its photos stay in your library. It asks first, or takes --force |
teanode photo album add ID PHOTO-ID... / remove ID PHOTO-ID... |
put photos in an album, or take them out; they stay in your library either way. add leaves alone photos already in the album and says how many it added; a photo that is not yours is not found, and then nothing is added |
teanode photo album share ID <username|circle> [--contribute] [--with-location] [--with-face-names] |
share one of your albums with somebody who shares a circle with you (teanode circle people), or with everyone in a circle you are in, as calendar share names its target: a username is that person even when a circle has the same name, and a circle name that two circles have is refused with their ids and sizes. They view it and save its photos; --contribute also lets them add photos of their own and take out the ones they added. Without --with-location they see no place and get the large preview where they download a photo, a picture made afresh that carries none; with it they see where the photos were taken and get the original files. Without --with-face-names they see the boxes round the faces in a photo and not the names you gave them. Sharing again with the same person or circle changes what they have. A circle's own album is not shared further: every member has it |
teanode photo album share-update ID SHARE-ID [--level view|contribute] [--with-location | --without-location] [--with-face-names | --without-face-names] |
change one share of an album (album shares gives the share id), as the dashboard's sheet of shares does. Only what you name changes: a setting you leave out stays as the share has it, so --level view stops somebody adding photos and leaves them seeing where the photos were taken. Name at least one of the settings. A change that would leave the share as it is sends nothing and says nothing changed. The agent's tool calls it album-share-update |
teanode photo album shares ID / unshare SHARE-ID |
who an album is shared with, at what level and whether places and face names are included, with the id share-update and unshare take. Taking a share back takes with it the photos its people put in the album. Both are for the album's owner, or for a circle's album an admin of the circle |
teanode photo save ID / save --attachment ATTACHMENT-ID |
save ID keeps a photo of a shared album, or a circle's, in your own library. save --attachment keeps a file of a conversation with your assistant as a photo (the attachment's id is in teanode conversation show --json), as the dashboard's Keep as a photo does; the photo is named by the digest of the file, so keeping it twice finds the photo that is there. Give an id or --attachment, not both. The copy of a shared photo is yours, counts against your space and is processed like any new photo. Where the share includes places it is made over the same bytes and stores nothing new; otherwise it is the large preview, which is all you are given. Saving the same photo twice finds the copy that is there |
teanode photo album cover ID PHOTO-ID |
choose which photo of the album stands for it. Until you do, and while that photo is in the trash, the album is shown by its newest photo |
teanode photo album suggest [--after DATE] [--before DATE] |
trips and events among the photos that are in no album, newest first: a run of at least 12 photos with no gap of more than 6 hours between them. Each shows its days, the places it covers (the one with most photos first), a proposed title in English and how many photos it has. Nothing is created: make the album with album create, giving it the photos photo list --after --before finds between the exact times --json gives |
teanode photo people list [--hidden] |
the people found in your photos: id, name, faces, photos and the contact that names the group. The group your own contact names (the card marked as you) has "(you)" after its name, a group whose contact you linked to someone in your circles has "[in your circles as --json carries isOwnContact, accountUserId and account on every group. Groups a contact names come first, by name, and then the groups of at least three faces (faces, not photos) nobody has named, the largest first; the groups you hid are left out unless --hidden. Faces are found by a program on the server as photos are processed, and a face has to be sure and large enough to be grouped, so a person can take a while to appear |
teanode photo people read GROUP-ID [--limit N] [--continue-after ID] |
one person and their photos, newest first, in the same columns as photo list |
teanode photo people name GROUP-ID CONTACT-ID |
say who a group of faces is, by choosing a contact from your address books (teanode contact list gives the ids; teanode contact add makes one first). It needs the Contacts service and contacts:use, and says to turn on Contacts when they are not there. A contact is the only way to name anybody, and photo list --contact then finds their photos in every group the contact names. A contact names one person: naming a group with a contact that already names another of your groups merges the two into the group already named (it keeps its cover) and prints merged with <name>; groups named with one contact before that was so were merged once by a migration. A contact with no picture is given one cut from the group's best face (the surest of the larger ones, from your own photos) and the command prints used a face as their picture; a picture a contact has is never replaced, and teanode contact remove-picture takes it off |
teanode photo people unname GROUP-ID |
take the contact off a group; its faces stay grouped |
teanode photo people merge GROUP-ID GROUP-ID... |
put groups into the first, for one person found as two (at most 50). The first keeps its own contact, or takes the contact of the first of the others that has one, and the others are deleted. Naming does this for you when the contact already names a group |
teanode photo people remove FACE-ID |
"this is not them": take a face out of its group into a group of its own, which stays as you put it and is not grouped again. The face ids are in photo read |
teanode photo people hide GROUP-ID / unhide GROUP-ID |
leave a group out of the list, or list it again. A hidden group goes on taking the faces of its person, so they stay hidden |
teanode photo reading on / off |
switch reading your new photos on (the default) or off: each picture taken in the last 30 days is described as it arrives, and a receipt, a statement or a tax document in one is recorded in finance. Off keeps what was read. teanode photo library says whether it is on, and teanode photo read says what a photo was read as |
teanode photo faces on / off |
switch finding faces in your photos on (the default) or off. Off deletes every face and group found so far, so it asks first, or takes --force; on has the photos read again, a few at a time |
Uploads speak the server's resumable upload endpoint, in parts of 8 MiB: a
photo that fits in one part is one request, and a larger one starts the
upload, then appends each part at the offset the server has. A part is tried
three times, asking the server how much it has stored (HEAD) after each
failure, so a dropped connection costs at most the part in flight and a
lost answer is not sent twice. When every byte is there and the server is
still reading the parts back to check the file and store it, which for a large
file takes minutes, the command does not send the last part again: it asks
(HEAD) every few seconds, and then every thirty, until the server says the
upload is complete (and which photo it made, or the photo is found by its
name), up to 35 minutes. Each time it also sends the end of the upload again:
an append with no bytes in it, at the offset the file ends at, marked as the
last. If the server's own attempt to complete the upload failed, this is what
completes it, so the command does not wait out the 35 minutes for nothing; if
the server is still busy completing it, it answers 409 and the command goes on
waiting. An upload the server lost starts over. The command
keeps nothing on disk. Run again
after it was interrupted, it starts the interrupted file over (the library
does not list a half-sent upload), and the server deletes the part it was left
with after a week of silence.
Your shopping lists: the same operations as the dashboard's Shopping page, the
iPhone app and the agent's shopping tool, and named after them (the tool's
not_needed is teanode shopping not-needed). It needs the shopping:use
permission. Each command that prints data takes --json. A list is named by
its name (case does not matter) or its id; a name more than one list has is
refused with their ids. Items are named by the id show and store print. The
live view of a list changing is the dashboard's and the app's; a command reads
once.
A list is a catalog: an item that was bought stays on it as not needed, with
its picture, store and prices, and need brings it back with a count. Everybody a
list is shared with can add, change and check off items, shop and
upload receipts; only the owner shares it further or deletes it. Store names
are compared without case or punctuation, so Example Market and
example-market are one store.
| Command | What it does |
|---|---|
teanode shopping lists |
the lists you reach, yours first: id, name, how many items are needed, in the cart and not needed, whose it is, whether it is shared and whether you are reminded on arriving at a store |
teanode shopping show LIST [--state needed|in_cart|not_needed]... [--search WORDS] [--limit N] [--offset N] |
one list and its items in the order the list keeps them (by aisle), and who is shopping it now. --state keeps the items in those states, every state by default. --search keeps the items whose description, details, store or aisle hold every word, without case. A page is 200 items, at most 500; a full page says on standard error where to continue |
teanode shopping item ITEM-ID |
one item: its details, count, store, aisle, state, latest price and where its picture came from |
teanode shopping similar LIST DESCRIPTION |
the items that read like what you are about to add, on the list and your other lists, nearest first and at most five: words in any order, plurals, a word only begun and small misspellings all match. It adds nothing |
teanode shopping create NAME / rename LIST NAME |
make a list, or give one another name |
teanode shopping delete LIST |
delete one of your own lists with its items and prices, for everybody it is shared with. It asks first, or takes --force; it cannot be undone |
teanode shopping share LIST USERNAME|CIRCLE |
share one of your lists with somebody who shares a circle with you (teanode circle people) or with everyone in a circle you are in, as calendar share names its target. It asks first, or takes --force. Sharing again changes nothing |
teanode shopping shares LIST / unshare SHARE-ID |
who one of your lists is shared with, with the id unshare takes. unshare asks first, or takes --force, and takes the list away from that person or circle |
teanode shopping remind LIST [--off] / store-remind STORE [--off] |
whether your phone tells you what a list needs, or what your lists need at one store, when you arrive at a store: on by default, --off stops it |
teanode shopping add LIST ITEM... [--store NAME] [--aisle NAME] [--quantity N] [--unit UNIT] [--details WORDS] [--store-brand] [--price AMOUNT] [--currency CODE] |
add items, each with the flags given. An item already on the list (the same description and store, compared loosely) is merged into: its count becomes the larger of the two and the new details are added, so adding the same list twice does not double it. A picture of each new item is searched for on its own |
teanode shopping add LIST (--from-file FILE|-) [--picture FILE]... |
read a list into items: the text in a file (- is standard input), or pictures and screenshots of a list. The server's model reads it, so it needs the assistant to be on and, for pictures, a model that reads them. It prints what was read, which items merge into items already on the list and what the section headings and the store became, then asks before adding, or takes --force |
teanode shopping import-preview [LIST] (--from-file FILE|-) [--picture FILE]... |
the reading alone: nothing is added. With a list it says which items would merge |
teanode shopping edit ITEM-ID [--description WORDS] [--details WORDS] [--store NAME] [--aisle NAME] [--quantity N] [--unit UNIT] [--store-brand | --not-store-brand] |
change an item; only what you name changes, and --store "" makes it an item for any store |
teanode shopping remove ITEM-ID... |
take items off their lists for good, with their prices and pictures, at most 100 at once. It asks first, or takes --force. To keep an item in the catalog use not-needed |
teanode shopping check ITEM-ID... [--store NAME] / uncheck ITEM-ID... |
put items in the cart, or back to needed. The first one starts your trip, at --store (the item's store by default), and tells the others the list reaches. An item stays in the cart until you are done, a receipt matches it, or a new trip starts on its list more than six hours later; then it is bought |
teanode shopping check-off ITEM-ID... / undo-check-off ITEM-ID... |
check items off a list without shopping: each is bought now, no trip starts and nobody is told. undo-check-off needs them again; a purchase made in the last three hours is taken back, so the item was last bought when it was before |
teanode shopping need ITEM-ID... [--quantity N] / not-needed ITEM-ID... |
need items again with a count (1 by default), or mark them bought or not wanted now |
teanode shopping out-of-stock ITEM-ID [--store NAME] [--in-stock] |
say a store had none of an item (the item's own store by default), or that it is in stock again |
teanode shopping price ITEM-ID PRICE [--store NAME] [--on DAY] [--currency CODE] / prices ITEM-ID |
remember the price of one that you saw, and list the prices remembered, newest first, from receipts and from people |
teanode shopping picture ITEM-ID / set-picture ITEM-ID FILE |
search the web for another picture of an item, which arrives in a minute or so; or give it a picture of your own, or take its picture away with --remove |
teanode shopping stores / store STORE [--list LIST]... [--this-store-only] |
the stores your items are for, with how many are needed at each; and the store screen: what to get at one store across your lists, by aisle, each item saying which list it is on, and who is shopping there. The items for any store are listed too unless --this-store-only |
teanode shopping watched-stores [--latitude LAT --longitude LON] |
the branches of the stores your lists need something from that the phone watches, near a position or where you were last reported to be: walking into one reminds you what your lists need there |
teanode shopping trips |
who is shopping now, on the lists you reach |
teanode shopping shop LIST... [--store NAME] / done [TRIP-ID] |
start shopping a store for some lists by hand, which tells the others the lists reach (checking an item does it too), and finish: what you put in the cart is bought, no receipt needed. done alone ends your own trip, or buys your cart when no trip is open |
teanode shopping resumable / resume TRIP-ID |
the trip you finished in the last three hours and how many items it bought; resume opens it again with those items back in your cart, for a Done made by mistake. Not while you are shopping another trip |
teanode shopping receipt FINANCE-RECEIPT-ID |
what a receipt did to your lists: each item line with the items it was matched to (applied, or proposed and waiting) and the match ids, and what is still needed at that store. Every Finance receipt is matched to your lists on its own, wherever it came from |
teanode shopping match-receipt FINANCE-RECEIPT-ID |
match a receipt again, for one read before the list had its items. It is queued, and receipt shows the result a minute later |
teanode shopping decide MATCH-ID apply|dismiss |
apply a match the matcher was unsure of, which checks the item off and remembers its price, or dismiss one; dismissing an applied match undoes it |
teanode shopping match-line ITEM-ID FINANCE-RECEIPT-LINE-ID / add-from-receipt FINANCE-RECEIPT-LINE-ID LIST |
tie a receipt line to an item by hand, or put a receipt line on a list as an item |
teanode shopping undo-receipt FINANCE-RECEIPT-ID |
put everything a receipt changed back as it was: items back to needed with their old counts, and the prices it wrote forgotten |
A page for each day of your life: the same operations as the Journal page on
the dashboard and in the TeaNode phone app, and named after them. A journal day links
to everything that happened in it, read from where it is kept (coding sessions,
mail, photos, places, events, money, Health and the rest; a section you have no
permission for is left out and named), and keeps what only the journal has: your
words, your mood, the weather, and the story your agent writes about the day
while it dreams. Your words are yours: your agent never changes them, the story
is written apart from them, and a touched-up version of your words never
replaces your original. Each takes --json. A day is written 2026-10-22, or
today or yesterday, and is today when left out; week, month and year
take any day in the period (weeks start as your calendar starts them, on Monday
when it says nothing). A journal is not written ahead: a day after today is
refused.
| Command | What it does |
|---|---|
teanode journal [list] [--from DAY] [--until DAY] [--page N] |
your days, the newest first, 14 to a page: the day, its mood, and its headline, or the start of your words when the story is not written. Only days with something in them are listed; it says on standard error where the next page starts |
teanode journal day [DAY] |
one day whole. The mood (marked when it came from Apple Health), the weather, the day's numbers, your words (when touching up is on, the touched-up version first and then Original), the headline and story with each mention replaced by the record's title (a record you can no longer see reads as such), your corrections numbered from 1, the records your agent chose with its reason and the ones you pinned (each with the link id unlink takes), then each source in a line or a few (work, documents, conversations, mail, recordings, photos, places, calendar, reminders, money, Health, shopping, notes, memory), and the day in the order it happened. A section you hold no permission for is named at the end |
teanode journal week|month|year [DAY] |
the period that holds the day: its story, your looking back, the records chosen, the totals and how many days had each mood, and its days (a year prints its months and chapters instead) |
teanode journal search TEXT [--page N] |
days and periods whose words, touched-up words, headline or story hold the text in any case, newest first, 20 to a page, each with the words around the match |
teanode journal write [DAY] (--text TEXT | --file FILE | -) [--append] |
write your words for a day: they replace the day's words, or with --append follow them after a blank line. The text comes from exactly one of --text, --file or standard input (-). The command reads the day first and sends the time its words were last saved, so a save made meanwhile on the dashboard or the phone is refused as a conflict instead of being lost; replacing words that were there says so on standard error. When touching up is on for the day, the touched-up version is made again from the new words |
teanode journal mood [DAY] awful|low|okay|good|great|none [--words WORDS] |
your mood for a day, five levels and a few words; none takes it away. A mood you choose replaces one that came from Apple Health, and one from Apple Health never replaces yours |
teanode journal look-back week|month|year [DAY] (--text TEXT | --file FILE | -) |
your own looking back on a week, month or year, with the same conflict check |
teanode journal touch-up [DAY] [--period week|month|year] [--how WHAT], touch-up [DAY] --off |
have your words, or your looking back, touched up. Your original stays and is the only text you change; the touched-up version is shown first and made again whenever the original changes, within a minute or so. --how says what to change (shorter, fix the grammar), and asking again without it keeps the last instruction. --off stops and deletes the touched-up text. Words that are empty are refused |
teanode journal correct [DAY] [--period ...] TEXT, uncorrect [DAY] [--period ...] N |
tell your agent what its story got wrong, in your words (It was Sam at lunch): the correction is kept with the day, given to every later telling as a fact to keep to, and the story is written again at once; uncorrect takes back the one numbered N in journal day, counting from 1, and writes the story again. The first word of a correction is a day only when words follow it |
teanode journal rewrite [DAY] [--period ...], forget-narrative [DAY] [--period ...] |
have the story written again now (also how to ask for a day older than the 92 days your agent writes back to on its own; it is then kept written like a recent one; today cannot be written), or delete the story and headline (a later dream writes it again, except for a day older than that; your corrections stay) |
teanode journal pin DAY KIND:ID [--reason WHY], unlink LINK-ID |
pin one of your records to a day, named as the day shows it (mail:3f9a, contact:81c2); it has to be a record you can read, and one that is not yours or is not there is not found. unlink takes a pin off, or hides one of your agent's choices, which stays hidden so that a later dream does not choose it again |
teanode journal settings [--weather on|off] [--evening-question on|off] [--evening-question-time HH:MM] |
whether the weather of your days is fetched (from a weather service, at the coordinates of the place you spent most of the day, rounded to about 11 km; a day with no place has none), and whether and when TeaNode asks How was today? in the evening (on by default, at 21:00). With no flag it shows them, the day your weeks start on, how far back stories are written on their own, and the provider your agent's model is run by: what it reads of your journal, your words included, goes there |
teanode journal erase --yes |
erase your whole journal: every day, week, month and year with your words, moods, weather, stories, corrections and pins, and the memory pages made from the month stories. Nothing they linked to is touched. It asks first, and cannot be undone (--yes or --force skips the question) |
What Claude Code and Codex run, so a coding session on this computer sees
what your agent knows about the checkout it is in. teanode hook install claude-code adds the hooks to ~/.claude/settings.json, and teanode hook install codex to ~/.codex/hooks.json, keeping every other hook in the
file; uninstall takes out only TeaNode's. The hooks run this program as it
was installed, naming the saved profile it signed in with (a server reached
with --url alone is refused: sign in first, so the hook does not depend on
a token in the tool's environment), and the --computer it was given. A
hook's own exit status is never passed on: one that fails shows nothing.
| Event | What the session gets |
|---|---|
| a session starts, resumes or is compacted | the checkout's page and its liveliest facts, and the last session held there: its title, the person's last requests and the start of its last answer |
| a prompt is typed | what the prompt recalls, and the lessons it brings up, kept to the checkout's project, the pages under it and linked to it, and lessons (--everywhere on install for all of memory); a page shown in the last five prompts is not shown again, and a prompt of fewer than three words, or a slash command, recalls nothing |
| an answer ends, the session is compacted or ends | the computer's claude-code or codex source is asked to read again now, so the session is searchable within a minute and the next one knows where this stopped |
A checkout this computer's sources never profiled is matched by its git
remote, not its path, and the session is told where and at which commit
memory read the project. A hook that cannot reach the server shows nothing
and never stops the tool;
what went wrong is in hook.log under the user's cache directory
(~/.cache/teanode/hooks on Linux). Codex runs hooks only with hooks = true
under [features] in ~/.codex/config.toml, and asks you to trust a new hook
before it first runs. teanode agent memory checkout prints what a session
would be shown without starting one, and teanode agent memory capture asks for
a computer's sessions to be read now without waiting for a hook.
The institutions you linked, their accounts and transactions, net worth,
spending categories, budgets and savings targets: the same operations as the
dashboard's Finance page (and its setup on the agent page's Finance tab) and
the agent's finance tool, and named after
them (the tool's spending_summary is teanode finance spending-summary).
Amounts are printed with their currency; --json keeps full precision.
docs/subsystems/finance.md says how it works.
| Command | What it does |
|---|---|
teanode finance providers |
which providers this server offers, and how to link through each |
teanode finance link-plaid |
prints the address of the page that opens Plaid's window, for a browser, and waits until the new finance source appears; --no-wait returns at once |
teanode finance link-simplefin [<setup-token> | -] |
claims a setup token from the SimpleFIN Bridge; - or no argument reads it without echoing. A token can be claimed once |
teanode finance import-credential --provider plaid|simplefin [--institution-name NAME] [- | <file>] |
brings a connection made elsewhere in as a finance source instead of linking again: a Plaid access token of a link made with this server's Plaid keys (which saves a Plaid slot), or a SimpleFIN access URL already claimed. The credential is read from the file, from standard input, or at a prompt without echoing, never from the command line; the provider is asked before anything is made, and the first sync starts within the minute |
teanode finance import-statement <file | -> |
imports an OFX statement (.ofx, .qfx or .qbo), such as a card's exported transactions, into the finance source of imported statements; a transaction already imported (same account, same FITID) is updated rather than added again, so overlapping files add nothing twice. Prints the account and how many were added, updated and already there |
teanode finance import-transactions [--dry-run] <file.json | -> |
imports one account's transactions from a JSON object of rows instead of a file, such as rows read off screenshots: financeAccountId (an imported account the rows are of, from teanode finance accounts; the number may then be left out), isNewAccount, institutionName, accountName, accountNumber (the digits shown, masked ones as ****1234), statementAccountKind (bank, card or other), currencyCode, bankCode, ledgerBalanceAmount, ledgerBalanceOn, ledgerBalanceTimeZone, monthlyTotals ([{totalMonth, totalAmount}]) and transactionRows ([{postedOn, description, amount, transactionKind, runningBalanceAmount, totalMonth}]), amounts signed with money out negative. Running balances must chain row by row and each month's rows must come to its total, or nothing is sent and the first row or month that does not add up is named. Without financeAccountId the rows go into the account their number keys, else the one account at the institution of that kind and currency whose last digits the number ends with; several such accounts, or an account at the institution whose digits do not match, are refused and named, unless isNewAccount is true. Only the rows the account does not hold already, matched by day and exact amount, are added. Prints what was imported and what was checked. --dry-run writes nothing and prints the account (existing with its id, and how it was found, or new), how many rows are new and how many already there, each new row, and what was checked |
teanode finance rename-statement-account [--account-number DIGITS] <finance-account-id> [name] |
gives an account of imported statements your own name, the last digits of its number, or both, which later imports keep; its asset takes the name too unless you renamed it. --account-number takes 4 to 8 digits, for statements that show a word or nothing in place of the number; it is shown as the account's number and matched against screenshots' digits, and --account-number "" takes yours back so the statement's shows again |
teanode finance delete-statement-account <finance-account-id> |
deletes an account of imported statements with its transactions and the assets that value it (asks first); a provider's account is refused, since its next sync would bring it back |
teanode finance statement-import |
your statement import address (mailing an OFX file to it imports it) and what the last import did |
teanode finance regenerate-statement-import-address |
gives the import address a new token; the old address stops taking mail at once (asks first) |
teanode finance repair <source-id> |
the Plaid page again, to sign in to the same finance source when the institution asks; waits until it syncs again |
teanode finance sources|sync|disable-source|enable-source|delete-source |
your finance sources, one synced now, switched off or on, or deleted with everything it brought in (asks first); each refuses a source that is not a finance source |
teanode finance accounts|transactions|spending-summary |
finance accounts with their balances (--person <username> on each shows what somebody shares with you instead: their accounts at the level each was shared at, then for transactions one account's day, amount, merchant and category and for spending-summary the months by spending category, with --finance-account to choose among several; at the spending level --from and --to are widened to whole months. When the person shares all their finance with you at a level that reaches the read, and --finance-account is not given, transactions and spending-summary read it as one view across all their accounts, with no account column, and accounts says that they share all of it); transactions with --from, --to, --since 30d, --month 2026-09, --text, --finance-account, --is-uncategorized (those that need a spending category, shown as (needs a category)), --duplicate-of <id> (the mirrored copies of one transaction), --is-duplicate-included (the mirrored copies are left out otherwise, and a note says how many), and --offset or --after for the next page, a note saying which rows of how many are shown; a mirrored copy is marked (duplicate of <id>, not counted); spending and income grouped by --group-by spendingCategory|merchant|month|financeAccount|providerCategory |
teanode finance share <finance-account> <username|circle> --level balance|spending|transactions |
shares one of your accounts, by its id or name, with a person you share a circle with or with a circle, at a level: balance (name, kind and balance, and a card's usage against its limit), spending (and your money out and in by month and spending category) or transactions (and each transaction's day, amount, merchant and category). Receipts, notes, the provider's data, paystubs, tax forms and budgets are never shared, and your agent cannot read what is shared with you. Sharing again changes the level. Starting a share or widening one is refused here, as for Health, and done on the Finance tab of the agent page or in the TeaNode phone app; a lower level and unshare work |
teanode finance share all <username|circle> --level spending|transactions |
shares all of your finance, every account you have now and every one you link later, with a person you share a circle with or with a circle, as one combined view with no account name, mask or balance: spending (your money out and in by month and spending category, across all your accounts, transfers between them left out as on your Spending page) or transactions (and each transaction's day, amount, merchant and category). There is no balance level for it. Sharing again changes the level, starting one or widening it is refused here and done on the Finance tab of the agent page or in the TeaNode phone app, and a lower level and unshare work. An account that is itself named all is shared by its id |
teanode finance shares|unshare <share-id> |
your finance shares (an all accounts row for a share of all of it), who each is with and the level, then the accounts and the people sharing all their finance that others share with you (--json has sharedByYou, allFinanceSharedByYou, sharedWithYou and allFinanceSharedWithYou); unshare ends either kind |
teanode finance credit-usage |
what your credit cards owe against their credit limits: the total and the share used in the reporting currency, then each card, highest usage first, with what it owes, its limit, where the limit comes from (provider, or derived as what is owed plus the credit available, or unknown) and its share; the cards left out for want of a limit are counted with what they owe; --currency to convert into another currency |
teanode finance trades |
buys, sells and securities moved in or out of investment accounts, newest first, with the security, quantity, unit price, amount and fee; --from, --to, --since, --month, --finance-account, --finance-security, and --offset or --after for the next page, a note saying which rows of how many are shown. Trades are never spending; dividends, interest and fees are transactions |
teanode finance exchange-rate|convert-currency|reporting-currency|set-reporting-currency |
the ECB rate between two currencies on a day (the latest earlier one on a weekend, and it says which), an amount converted, and the currency your totals are shown in; set-reporting-currency --clear goes back to the default |
teanode finance net-worth|assets|asset-history|create-asset|update-asset|close-asset|delete-asset|record-valuation|delete-valuation |
net worth per day; everything you own or owe with its latest value, and for a holding its security, quantity, unit price and cost basis (in asset-history per day too); create-asset "Car" --kind vehicle --currency USD --value 18000 adds one with a first value; record-valuation <asset-id> 16500 --on 2026-09-30 records what it is worth; --is-estimate-allowed lets the agent estimate it from the web, which only you can allow |
teanode finance spending-categories|create-spending-category|update-spending-category|delete-spending-category |
your own list of what money goes on, and the built-in transfer and other categories (the transfer and other columns say which), which can be renamed or hidden but not deleted, made income or given a parent or children |
teanode finance spending-rules|create-spending-rule|update-spending-rule|delete-spending-rule |
rules that file transactions whose merchant or description contains some words; a new rule applies to earlier transactions too, except where you chose. create-spending-rule "online payment" --spending-category transfer marks what it matches as transfers |
teanode finance categorize-transaction <transaction-id>... <spending-category> |
change the spending category of one transaction, or of several at once (up to 500, all or none); --create-spending-rule files the merchant that way from now on, and for several saves exactly what propose-spending-rules lists, each placed ahead of the rule that would otherwise win, and prints what it saved and what was left out. categorize-transaction <id> transfer marks money moving between your own accounts as a transfer, neither spending nor income, and any other spending category takes that away. categorize-transaction <id> other files one that fits none of your spending categories under the built-in other category, whatever it is called; there is no none, since a transaction with no spending category is one still to be decided |
teanode finance propose-spending-rules <transaction-id>... <spending-category> |
the spending rules categorize-transaction --create-spending-rule would save for those transactions (up to 5000, at most 50 rules), saving nothing: one per merchant (or description) unless the rule tried first already files it there, with how many of them each matches, how many other transactions it would also change, and the existing rule it goes ahead of (zoomly eats → Dining); then how many were left out as too short or generic, or for holding a number that changes each time (a long number or a date) |
teanode finance count-transaction|undo-count-transaction <transaction-id> |
a mirrored copy is the same charge reported again on another investment account of the same Plaid connection (a brokerage's account-level fee reported on every account, say), listed but left out of every total; count-transaction says this one is a real charge of its own and counts it, and mirror detection leaves it alone from then on; undo-count-transaction takes that back, and detection decides again at once. Counting a transaction that is not a duplicate is refused |
teanode finance annotate-transaction <transaction-id> <annotation> |
writes what a transaction was for, or --clear takes it away; your agent replaces yours only when you ask it to in a conversation |
teanode finance receipts |
your receipts, the newest purchase first and those that print no day last, with each one's check and what it is matched to; --from, --to, --since, --month, --finance-transaction, --is-unmatched, --is-undated (only those that print no day; not with a range), --limit, and --offset or --after for the next page, a note saying which rows of how many are shown |
teanode finance read-tax-document <file>... |
hands paystubs or W-2s (PDFs or photos) to your agent, which reads each in the background and records it as whichever it is; only the last four digits of your taxpayer number are kept, and the file's text is never stored; --mailbox-item reads each PDF and picture a message carries instead |
teanode finance paystubs|paystub|record-paystub|delete-paystub |
your paystubs, the latest pay date first, with each one's check (adds up, or off by how much); --tax-year or --from, --to, --since, --month; paystub <id> reads one line by line; record-paystub <file.json> records one you read yourself; delete-paystub deletes one with its file |
teanode finance tax-forms|tax-form|record-tax-form|delete-tax-form |
your W-2s, the latest year first, with whether each agrees with itself (Social Security and Medicare against their wages); tax-form <id> reads one box by box with those checks |
teanode finance tax-year-setting|set-tax-year-setting |
what a year's estimate takes that no document says: children, dependent care paid, other household income, charitable gifts, property tax, state tax paid besides withholding, and gains realized so far (--short-term-gain, --long-term-gain, --clear-gains) |
teanode finance tax-document-address|regenerate-tax-document-address |
the address to mail or forward paystubs and W-2s to, where each PDF or picture is read and recorded; regenerate-tax-document-address ends the old one |
teanode finance tax-year [year], set-tax-filing-status <status> |
a tax year from your paystubs and W-2s, per person and employer: wages and withholding so far and by December 31, each W-2 box beside your paystubs, the tax owed on those wages beside what was withheld (paid so far, still to be withheld, owing or refunded at filing, remaining income) for the filing status you keep (set-tax-filing-status, --clear to forget it) or --filing-status, and what is worth knowing (a paystub missing between two others, a W-2 not yet in, Social Security withheld beyond the year's maximum); this year when no year is given |
teanode finance budgets|set-budget|budget-status|spending-by-day|cash-flow |
monthly budgets per spending category, and on an income category the income you expect each month (budgets says which kind each is); budget-status is this month against each budget, with where the month is heading and its pace (under, on track, at risk, over), then each income category against what was expected by today (behind, on track, ahead), and with --year 2026 a calendar year instead, each month at the budget it had then, with the budget to date, the months budgeted and where the year is heading; spending day by day against last month; income and spending by month |
teanode finance saving-summary |
the month's saving in the reporting currency: income budgets less spending budgets, against income less spending so far and where the month is heading, with the difference and its pace (behind, on track, ahead); --month for another month, --year for a calendar year (the year to date for this one), counting only the months with a budget and saying which, or with no budget that year its income, spending and what was left, --currency to convert into another currency |
teanode finance savings-targets|create-savings-target|update-savings-target|close-savings-target |
amounts to save by a day, with what they need a month from now on, measured by --measure cash_flow (money not spent, the default), net_worth (net worth gained since --started-on, recorded for you unless --starting-amount says otherwise) or asset_value (what --finance-account and --asset are worth; a whole finance account counts its cash and every holding, those bought later too) |
Your own computer, attached to your agent. While the program runs, the
agent has two more tools — shell, which runs a command here, and
filesystem, which reads, edits, writes, copies, lists, searches and greps your files —
as you, anywhere on the machine, the way a terminal of yours would. A
goal and the nightly run use them too, with nobody
watching; what would ask you first is refused then. The runs that read mail
from strangers (sorting, drafting, research) only read and never see it. A command runs as you
typed it: nothing here reads it first and decides whether it looks
dangerous. A file moved or deleted asks you first, on the card in the
drawer or on the terminal, because that is the action you asked for rather
than a guess about it. Nothing is refused on your behalf — your yes is the
last word. The card is the server's: the program runs what
the server sends, so it trusts the server the way a terminal trusts the
person at it. The program signs in as you, with the active profile's
token, never as the server. Several computers can be attached at once,
told apart by name. A command runs under /bin/sh -c (cmd /C on
Windows), not your login shell, so your aliases are not in scope. The
program answers every request as it comes, however many are running.
| Command | What it does |
|---|---|
teanode computer start [--name NAME] |
run the program in the background; --name is what to call this computer (the host name by default). Its log is ~/.config/teanode/computer.log |
teanode computer status |
whether the program runs here, and which computers of yours the server sees |
teanode computer stop |
end the program |
teanode computer daemon [--name NAME] |
the same program in the foreground, reconnecting when the connection drops, until interrupted — for a terminal, or a service manager |
teanode computer background list [--conversation ID] |
the commands the agent's shell left running in the background on your computers, and the ones that ended lately, newest first: one line each with its id, the computer, where it stands (running, exit N, stopped), when it started in your local time, and the command. --conversation keeps to the ones one conversation started |
teanode computer background read <computer> <id> [--tail BYTES] [--stream stdout|stderr --offset BYTES] |
the last of what one of them wrote: its output on standard output, then its errors on standard error, with a line saying when either was cut and a last line saying where it stands. --tail is how much of the end of each stream to print, 64 KiB by default and 256 KiB at most; --stream stdout|stderr --offset BYTES [--length BYTES] reads all of one stream from any byte on, and says where to read on |
teanode computer background stop <computer> <id> |
end one of them. The agent that started it hears that it ended, as it does of any ending it did not ask for |
teanode computer herdr list [--computer NAME] |
the Claude Code and Codex sessions in herdr on your computers: each pane's name as herdr shows it (the workspace, the tab when there are several, and the agent when a tab holds more than one, such as website › review › Codex), which every other command takes as <pane> as well as its id, then its state (idle, working, asking, unknown, as the program on the computer decides it), the directory and the title. Sessions are grouped under a line for each workspace and computer, in workspace order and tab order, and the tab herdr shows on the computer's screen is marked (on screen). Each question waiting with its fingerprint and numbered options |
teanode computer herdr read <pane> [--computer NAME] [--turns N] [--offset N] |
a session's last turns from its history file, whole, 10 by default; --offset skips the newest turns to read the older ones |
teanode computer herdr subagents <pane> [--computer NAME] [--offset N] |
the agents a Claude Code session started for its current request, as a tree: the session, then each agent on a line with its state (running, done, stopped), kind, task, model and how long it ran, indented under the agent that started it. A Codex session has none |
teanode computer herdr screen <pane> [--computer NAME] [--lines N] |
what the pane shows now, or its last --lines lines |
teanode computer herdr send <pane> <text> [--attach FILE]... [--computer NAME] |
type the text into the pane and press enter; a session at work reads it as a message in its turn. --attach hands it a file (a picture, a document): uploaded, written on the session's computer, and its path typed before the text; repeatable, and enough without text. Refused while the session asks a question |
teanode computer herdr wait <pane> [--computer NAME] [--seconds N] |
wait for the session to stop working, 30 seconds by default and 600 at most |
teanode computer herdr answer <pane> --fingerprint F --option N [--option N] [--text TEXT] |
answer the question the session waits on, with the options' numbers, or --text for the option that takes text. Refused when the question is no longer the one with that fingerprint. Without --fingerprint it prints the question and its fingerprint |
teanode computer herdr watch <pane> --conversation ID |
wake that conversation when the session next finishes its turn |
| `teanode computer herdr open [claude | codex] [directory] [--pane PANE] [--computer NAME] [--name NAME] [--skip-permissions]` |
teanode computer herdr focus <pane> [--computer NAME] |
bring the session's tab forward in herdr on its computer, so whoever sits there sees it |
teanode computer herdr close <pane> [--computer NAME] |
end the session's coding agent and close its pane; refused while it works. What it said stays in its history |
teanode computer herdr setup [--computer NAME] [--remove] |
put TeaNode's reporting hooks into Claude Code's settings on that computer, beside the ones there, or take them out |
The operator can keep computers off for the whole server with
agent.features.computer.
Every document is also plain markdown, listed in /llms.txt.