TeaNode · Documentation · Source
Photos
Your photos and videos are kept on your server, beside your mail, contacts and
calendars. The phone app, on an iPhone or on Android, backs up its library
in the background; the
dashboard's Photos page, the app and the command line browse, upload and
organize it; and your agent finds, looks at and files photos for you. Photos
are on from the first start, also on a server that runs only the assistant,
and an operator can turn them off under Manage → Server → Setup.
Getting them in
- From the phone. Turn on Photo backup in the Photos screen's
More menu. The library goes to the server in the background, over
Wi-Fi unless you allow mobile data and without the Hidden album unless you
include it, Live Photos and edits included (an edit is kept beside the
original, never over it). An upload the network cut off carries
on where it stopped, and a photo you delete on the phone stays on TeaNode.
The app signs in over HTTPS only, so a server reached at a local address
needs an HTTPS address in front of it first.
- From the dashboard. Upload files from the Photos page.
- From the command line.
teanode photo upload <folder> walks a folder
and sends every picture and video in it.
- From a conversation. A picture sent to your agent can be kept in the
library from its card.
The same picture is stored once however many times or ways it arrives, so a
photo kept from a chat and then backed up from the phone takes no extra room.
Pictures can be JPEG, PNG, GIF, WebP or HEIC, and videos are given a version
every browser can play.
Finding them
The library is shown by year, by month or all at once, with favorites,
albums, people and a Trash that empties itself after thirty days (the
operator's photos.trashRetention). Search by
place, date, camera, file name or what is in the photo, or ask your agent for
"the pictures from the lake last summer".
Each new picture or video taken in the last 30 days is read as it arrives:
described in a few words, so a search finds it by what is in it. A video is
read from up to six frames cut evenly across the clip. A receipt in one is
recorded in Finance and matched to its charge, unless the same
purchase is recorded already from its mail; a statement's transactions go
into the account you imported its statements into before; a paystub or a W-2
is kept with your tax documents. A photo's details say what it was read as.
Turn this off with Read new photos in your preferences.
Older photos are looked at only when needed: when you ask about one, or when
narrowing by date and place is not enough, and what was seen is kept the same
way. A photo that is read is sent to the model service your server uses.
People
Faces are found on your server itself, by a small program that ships with
it, and grouped by likeness. A group is nobody until you name it by choosing
a contact from your address book, and your agent never names a face by
guessing. Merge two groups that are one person, take out a face that is
somebody else, or hide a group. Find faces in my photos switches it off,
which deletes the faces and names found so far and leaves the photos alone.
Where a photo was taken
The place comes from the photo itself, named from a table of cities that
ships with the server, so naming needs no map service. A photo from a camera
with no GPS, or one placed in the wrong town, is corrected with Change
location in its details or in Select, for one photo or up to 500 at
once; removing a place is for good, and copies already shared keep it.
Albums and sharing
Make albums by hand, or take one of the trips and events the server
suggests from photos that are in no album yet. An album can be shared with
somebody you share a circle with, or with the whole circle:
- View lets them see the photos and save them to their own library.
- Contribute also lets them add photos of their own, and take out the
ones they added.
Each share says whether it includes where the photos were taken. A circle can
also keep albums of its own, which every member reads and adds to.
Storage
The originals go to the server's storage (storage.directory, or an S3
bucket), not the database. A library grows large, so put that storage on a
disk with room for it, and back it up as well as the database: a backup of
the database alone is not a backup of the photos. The operator sets how much
each person may keep.
Every action here is also a command: teanode photo --help lists them, and
the command line reference has the details.
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.