TeaNode · Documentation · Source
Circles and chats
A server usually has people on it who know each other: a household, a few
friends, a team. A circle says who belongs together. On its own it shares
nothing; it is the list that chats, calendars, albums, memory, skills and
location ask when somebody wants to share with "my family".
Everyone keeps their own account, their own mailbox and their own agent. A
circle never lets one person read another's mail or conversations, an
operator included. What crosses between people is only what its owner chose
to share, and leaving a circle ends every share that depended on it at once.
Making a circle
Open Circles from the account menu at the foot of the rail, or in the
phone app's side menu, and make one with a name and a kind: family, friends
or colleagues. The kind is only how screens describe it.
- Somebody with an account is invited by username, and joins when they
accept. The invitation waits on their Circles page, in their agent's
conversation and on their phone, and expires after thirty days.
- Somebody with no account yet is added with Make an account for
someone, by an operator: a username, a name and a first password, and they
are in the circle at once.
Each member is an admin or a member. Admins rename the circle, invite and
remove people, and decide who else is an admin; a circle always keeps one.
Anybody may leave. A role never decides what anybody sees of anybody else:
that is always the owner's choice.
From the command line:
teanode circle create --kind family Family
teanode circle invite <circle-id> sam
teanode user create --circle <circle-id> alex
Chats
Once two people share a circle they can message each other. Chats live in the
same drawer as your agent, and in the phone app's Chats: start one with
New conversation, then Message someone or New group. Every circle
also has a chat of its own, whose members follow the circle's.
A chat works with no model at all: messages, pictures and files, replies,
reactions, read marks and notifications on the phone. Agents join only when
somebody asks:
- Your own agent answers in a chat when you mention it with
@ or reply
to something it said. What it reads and does there is shown only to you.
- Somebody else's agent answers you only if its owner allowed it in that
chat, and then only from the chat and the web, never from its owner's mail,
calendar or memory.
- Under your own name, when you ask: your agent, a program you connected
over MCP, or
teanode agent conversation say can write in a chat as you,
mentioning people with @. In your own conversations it asks first, and
the card says whose name the words go under.
Calls
Anyone in a chat can call it, as a voice call or a video call, from the
telephone at the top of the chat. Everybody else in it is rung: a phone
rings as for any call, even when it is locked, and so does any dashboard they
have open. Somebody who set the chat's notifications to off is not rung. In a
group you can choose who is rung instead, and the others can still join from
the banner the chat shows while the call goes.
Each person turns their own camera on and off, and whoever has muted their
microphone is marked beside their name. From five people, or once you tap
somebody, one person is shown large above a row of the rest: whoever is
speaking, or the one you chose. Only that picture comes to you at full size,
so a big video call uses little data.
Anyone on the call can turn on a transcript, which then covers everybody and
says who turned it on; the transcript and a summary go into the chat when the
call ends. The server carries the call's sound and pictures itself, with no
outside service, so its call port has to be reachable from the internet: see
calls in the configuration.
Voice messages
The waveform button beside the message box switches it to voice. Hold Hold
to talk, let go to send, or slide up to cancel; a message is up to two
minutes long. Everybody in the chat can play it, and its words appear under
it, written by the sender's agent. When the sender has no agent, anyone in the
chat can press Transcribe, and their own agent writes the words for
everybody. The microphone in the message box is dictation instead: what you
say is typed into the box, and nothing is sent until you send it.
Sharing
Each kind of thing is shared with one person in a circle, or with a whole
circle, at a level its owner picks.
- Calendars, at busy, titles, details or edit. A circle can also keep a
calendar of its own, and Find a time looks across everyone's. An event
marked private stays busy whatever the level.
- Albums, to look at or to add to, with or without where the photos were
taken. See Photos.
- Where you are, now or now and where you have been. See
Location.
- Finance, one account at a time or all of it at once, at the spending or
the transactions level. See Finance.
- Pages of memory, read only, with or without the words each fact came
from.
- A skill that costs money, with a limit per payment and per month;
anything above the limit waits for the owner, who approves it on the
dashboard or in the phone app.
Who is who
In a circle you can say what somebody is to you: Sam is my father. Sam sees
the other side at once (you are Sam's son, daughter or child) and is told.
Either of you can change it or take it away, and only the two of you see it.
On your profile you can say how you are described, he, she or they; until you
do, the words for you are neutral.
Your agent knows these, so "ask my father whether Sunday works" or "where is
my wife" reaches the right account, and it never guesses a relationship or a
pronoun. On the command line they are teanode circle relate,
teanode circle unrelate and teanode user update --pronoun.
Documentation
Getting started
- What is TeaNode: Send and receive mail at your own domains: mailboxes read here or over IMAP, forwarding, what it does, and what you need to run it.
- Quick start: TeaNode running with docker compose in a few minutes: the assistant first, with no domain, then mail at your own domain if you want it.
- Getting started: Standing up a mail server for one domain, from nothing to mail arriving in a mailbox you can read in a mail program, including the DNS records and the port 25 problem.
Running it
- Deploying: The container image and the compose file, what runs beside the server, how it upgrades itself, and what to back up.
- Configuration: Where the settings live, the environment variables that say how to reach them, and every field an operator can set.
- Agents: The personal agent: what it needs, what it does with a mailbox, and what to weigh before turning it on.
- Memory: What your agent keeps between conversations: a graph of pages it writes without being asked, the places it reads from, and what it does with all of it in its dreams.
- Voice: Call your agent from the chat drawer: say what you want, hear the answer as it is written, and cut in when you like. On a laptop or a phone.
- Coding sessions: Your Claude Code and Codex sessions in herdr, on every computer you attached: your agent reads them, types into them where you can see, and brings you their questions to answer from anywhere.
- Memory in coding sessions: Claude Code and Codex shown what your agent knows about the checkout they run in: the project page and the last session when one starts, recall kept to the project before each prompt, and the transcript read within a minute.
- Model Context Protocol: TeaNode on both ends of the protocol: answering it, so your editor can use your agent's tools and ask it questions, and connecting out to servers of your own.
- Finance: Your banks, cards and brokerages linked through Plaid or SimpleFIN: transactions in your own categories, budgets that say where the month is heading, savings targets, net worth, and a tax year put together from your paystubs, W-2s, 1099s and 1098s, all kept in your own database.
- Circles and chats: The people on one server in circles: chats with each other in the drawer and the app, with voice messages and voice and video calls, with or without their agents, and calendars, albums, memory pages, skills, finance and location shared at the level each owner picks.
- Photos: Photos and videos on your own server: backed up from the phone in the background, found by place, date or what is in them, faces grouped into people you name, and albums shared with your circle.
- Location: Visits to named places recorded by the phone app, the trips between them and how you traveled, a map of your day, where you are shared with the people in your circle, and what leaves the server to name a place.
- Passwords: Logins, passkeys, one-time codes, cards and notes, encrypted on your own devices: filled in Chrome and on iPhone and Android, shared with your circle, and used by your agent only on the logins you turn on.
- Journal: A page for each day that links everything that happened, with your words, your mood and the weather, and the story your agent writes of it; weeks, months and years above the days.
- Shopping lists: Lists shared with your circle, shopped store by store and aisle by aisle, checked off live and by the receipt, with pictures, prices and a reminder at the store.
- The command line: The two programs: the server and the few things only its host can do, and the client that administers it from anywhere through the API.
Security
- Reporting a security problem: Where to report something exploitable, what is in scope, and what is not.
- Security review: A review of the whole program: what was examined, what was found, what was fixed, and what is still open.
Contributing
- Contributing: Naming, comments, the invariants that bite, tests, commits and the changelog that cuts a release.
- Local development: Getting a working build and a database to point it at, a development server that cannot send mail, and the optional scanners.
- Project structure: What each package is for and which way the dependencies point.
Every document is also plain markdown, listed in /llms.txt.