See Your AI

Install, update, uninstall

The short version is in the README.

Requirements

  Tested with Notes
macOS 26.5, Apple Silicon where it is developed and run daily
Linux not tested for this release has run on Ubuntu; the systemd files and installer have had little use. See LINUX.md
Windows no  
Bun 1.4.5 older versions untested; the lockfile format needs 1.2
tmux 3.6a every bot lives in a tmux session
Claude Code 2.1.333 signed in (the dashboard’s setup does that), or bots run on Ollama. The message channels need 2.1.80 or newer and are a research preview
git 2.50 to install; only needed afterwards for bots whose folder is a git repo

Also used: cron (schedules), curl and lsof (the installer, when it starts the service). Optional: Tailscale (reach the dashboard from other devices, HTTPS); ffmpeg, whisper.cpp and a speech model (voice in the Talk tab; set up from there, you need not install them first).

A bot uses your plan whenever it works: each message, each schedule, and everything already in its conversation, again, every time. An idle bot sends nothing to the model. (A bot on Ollama uses none of it.)

With Homebrew on macOS: brew install tmux bun.

Install

git clone https://github.com/seeyourai/seeyourai
cd seeyourai
./install.sh

This installs the dependencies inside the checkout, links the seeyourai command into ~/.seeyourai/bin, and adds that directory to your shell’s startup file (SEEYOURAI_NO_PATH=1 ./install.sh leaves the file alone and prints the line). Open a new terminal afterwards, or run export PATH="$HOME/.seeyourai/bin:$PATH". The checkout is the program, so keep it where it is.

It does not touch cron or start anything at boot. Two flags do (choose now: with a dashboard already running, --with-daemon asks you to end it first):

Check it:

seeyourai version
seeyourai --help

First bot, with the details

  Dashboard Terminal
Sign in or get a model, first bot, hello Set up this machine on Fleet (/setup) seeyourai setup
Is this machine ready This machine, on the New bot page seeyourai doctor
Make one and start it New bot on Fleet seeyourai bot new mybot
Start at login Start at login, under Advanced seeyourai bot new mybot --service
Start, stop its page seeyourai bot start mybot, stop mybot
Restart its page seeyourai bot restart mybot
Remove its page seeyourai bot remove mybot --stop

Both run the same code, with the same checks. A bot made this way has Mail and Talk set up. Success means its session is up and its channels are connected; otherwise you are told what it is stuck on. Creating that fails leaves nothing behind; a bot that was made but does not come up stays, and new exits 2. A CLAUDE.md that is already in the folder is never changed. Without a terminal new asks nothing: give it everything, with --yes for “it runs with permission prompts off”.

Over SSH macOS keeps the login keychain shut, so Claude Code looks logged out and a bot whose tmux server is made there may come up signed out. doctor then asks your dashboard, or says it can’t tell; start and new have the dashboard start the bot, or its service. Bots find programs on the PATH their watchdog gives them, which is not your shell’s: doctor checks that one, and EXTRA_PATH in a bot’s declaration adds to it.

Setup keeps no state of its own: each step is done when the machine says so (claude auth status, the models Ollama has, the bots declared), so a refresh or another day goes on from there. Without a terminal seeyourai setup prints what is missing and exits 1.

The rest of this section is the same by hand.

1. Get Claude Code’s own questions out of the way. A bot has nobody at its keyboard, so do this once per machine:

mkdir -p ~/bots/mybot
cd ~/bots/mybot
claude --dangerously-skip-permissions

Log in, pick a theme, trust the folder, and accept the bypass-permissions warning after reading it. Then /exit. (What that flag means is under Security. To run a bot with permission prompts instead, see Permission prompts.)

2. Give it a mission. CLAUDE.md is loaded in every session. One sentence is enough to start; templates/CLAUDE.md.example is a fuller outline, and bots/samplebot is a complete example.

echo 'You are mybot. Keep answers short. Save durable facts to memory/.' > CLAUDE.md

3. Declare it and start it.

seeyourai bot add mybot --dir ~/bots/mybot  # writes ~/.seeyourai/bots/mybot.env

The launch command it writes includes --remote-control (drive the bot from the Claude app), which needs a Claude subscription login. If you use an API key, take it out now:

seeyourai bot config mybot set "BOT_CMD=claude --dangerously-skip-permissions"

Then:

seeyourai mail setup mybot             # lets the dashboard send it messages
seeyourai bot run mybot                    # starts it and shows you its terminal

run attaches you to the live session. Ctrl-b then d leaves it running; closing it with Ctrl-c or /exit ends that session and the watchdog starts another. Later, seeyourai bot run mybot, or just mybot, brings you back.

On each start seeyourai writes hooks and links its skills into the bot’s .claude/ folder, and with --remote-control it names the session after the bot and this computer.

4. If it looks stuck:

seeyourai bot status mybot    # is it up, are its channels connected
seeyourai mail doctor mybot   # send it a test message and watch it arrive
seeyourai bot peek mybot      # what is on its screen; leads with any prompt it is stuck on
seeyourai bot answer mybot 1  # answer that prompt
seeyourai bot logs mybot      # follow its log; Ctrl-C to stop

Bots start at least 15 seconds apart, so a start or restart can take a moment.

First message through the dashboard

Open http://localhost:4300 on the same machine. seeyourai daemon status says whether it is running.

From a phone or another computer, use this machine’s Tailscale name. To ask every device for a PIN first (off by default), on this machine:

seeyourai auth pin
seeyourai auth require watch     # a day of this shows who would be refused
seeyourai auth require on

SECURITY says what that covers, and what to do about a forgotten PIN.

The rest of the dashboard shows the fleet, what each bot is doing, its schedules, token use, and bot-to-bot mail. You can edit a bot’s settings there too.

Speech

For the microphone in Talk, the machine the dashboard runs on needs ffmpeg, whisper-cli (whisper.cpp) and a 488 MB speech model. Tap the microphone and press Set up speech on this machine, or:

seeyourai speech                   # what is there, what is missing
seeyourai speech setup             # says what it will do and how big, asks, does it, tries it
seeyourai speech setup --yes       # without asking

On macOS the programs come from Homebrew (brew install, only what is missing; Homebrew may update libraries these need). Homebrew itself, and packages on Linux, it does not install: it shows you the command. The model is one fixed file from huggingface.co, checked against its known size and SHA-256 before it is put in place; a model that is already there is used, whichever it is, and never overwritten. At the end a test tone goes through it; only then does it say that it works, and it remembers how the last try ended (~/.local/share/whisper/.speech-setup.result.json). It can be stopped: a download goes on where it was next time, and Homebrew is never killed, so Stop waits until it is done finishing or undoing. Nothing has to be restarted. To remove it: brew uninstall whisper-cpp ffmpeg (if nothing else of yours uses them) and delete ~/.local/share/whisper/ggml-small.en.bin.

Memory and git

A bot writes what it learns to memory/ in its folder. A plain folder works. If the folder is a git repository, seeyourai commits and pushes it for you every minute something changed (once cron is on) and rebases when the remote moved. Use a private repository, set your git name and email, and read PRIVACY.md and SYNC.md first.

seeyourai bot add otherbot --repo git@github.com:you/otherbot-brain.git
seeyourai bot run otherbot           # clones it to ~/.seeyourai/checkouts/otherbot
seeyourai mail setup otherbot    # then restart it

mail setup writes this machine’s path into the folder’s .mcp.json; run it again on each machine you clone to.

Keep it running

A watchdog restarts a bot whose session ends. It runs in tmux, so it does not survive a reboot by itself: start bots again with seeyourai bot run, or install a service per bot: new --service, or the templates in init/, described in USING.md.

To stop a bot: seeyourai bot stop mybot, or Stop on its page. That unloads its service if it has one and ends its session, watchdog included. It stays stopped until it is started, the machine restarts (a service), or restart --all. To restart it: seeyourai bot restart mybot. To remove it: stop it, then seeyourai bot remove mybot (its folder stays). On Linux, units from before KillMode=process need one line: LINUX.md.

On a laptop: while it sleeps, its bots, schedules and dashboard don’t run. On macOS, caffeinate -s keeps it awake while it is plugged in and that command runs.

Move a bot to another machine

Run a bot on one machine at a time, so stop it on the old one first.

  1. Old machine: stop it, push its folder, copy ~/.seeyourai/bots/mybot.env somewhere private (it can hold tokens), and only then seeyourai bot remove mybot, which deletes it.
  2. New machine: seeyourai bot add mybot --repo <its repository>, then put the settings it needs into the new .env (paths may differ), seeyourai bot run mybot, seeyourai mail setup mybot, and restart it. If its folder is encrypted with git-crypt, clone it yourself, unlock it with the key (PRIVACY), and use add mybot --dir <that clone> instead: a bot started on a locked folder reads noise.

Its memory and schedules come with the repository. Chat history, mail and Claude Code’s own transcripts stay on the old machine.

Update

seeyourai update --check         # what would change (exit 10 = there is an update)
seeyourai update                 # do it (asks first; --yes when there is no terminal)
seeyourai bot restart mybot      # each bot, when it suits you

Or press Update under This harness on the dashboard’s Machines page: it runs the same command for the commit the page showed (if the remote moved meanwhile, it refuses and asks you to look again), and waits for the dashboard to come back.

update follows the branch the checkout is on (normally main). It refuses, and changes nothing, when there are uncommitted changes to tracked files, commits the remote does not have, or a file (untracked, ignored, or marked skip-worktree) where the update would write one. One update runs at a time, from the command line or the dashboard: from the confirm to the end it holds a lock for the harness home (~/.seeyourai/.watchdog/update.lock) and one for the checkout (.git/seeyourai-update.lock, for two homes on one checkout). A refusal names the lock file. A lock whose process has ended, or whose pid now belongs to another process (after a reboot: its start time is compared), counts as stale and is cleared by the next run. A run refreshes its lock at each step; only when its process’s start time cannot be read does a lock not refreshed for 30 minutes count as stale. A lock held by a live run is never taken from it, however long it runs. The refusal names the pid that holds it. If that run is hung: a SIGTERM only stops it between steps, so end it with kill -9 <pid>, then run the restore command its record holds (the refusal prints it when the record has one; otherwise the next update does).

In order:

  1. The new commit is checked out into a temporary worktree, never this checkout: bun install --frozen-lockfile there if package.json or bun.lock changed, then the checks: the new CLI starts and the dashboard page builds. If they fail, nothing was changed (exit 1).
  2. Only then is this checkout fast-forwarded, and bun install --frozen-lockfile run in it if the dependencies changed. This is the window to know about: cron’s tick, a bot relaunch, and the bots’ channel servers start from this checkout and its node_modules, so from the fast-forward on they get the new code, before the dashboard has proved it. It lasts the fast-forward, that install (fast: the packages are in bun’s cache from step 1), and the restart below — seconds, not the minute the checks take.
  3. The dashboard is restarted if it is this home’s service and runs this checkout. update reads the service file (the plist’s ProgramArguments, the unit’s ExecStart and WorkingDirectory, through a symlinked launcher such as ~/.seeyourai/bin/seeyourai): run from a worktree or a second checkout, it updates that one and does not restart the service, and says so. It then waits up to 30 seconds (SEEYOURAI_UPDATE_HEALTH_SECONDS in the environment, 5 to 600) for the dashboard to answer with this home’s proof, from a new process, on the new commit. A dashboard that is slow to start (a cold disk, a busy machine) can miss that window: the update is then rolled back, safely, and can be run again with a longer one.

If step 2 or 3 fails it puts the old commit back with git reset --keep (or git checkout), never --hard: an edit made to a tracked file meanwhile is kept, or the rollback stops and says the checkout was not restored, with the command that restores it. Then it reinstalls the old dependencies if they had changed and restarts the dashboard on the old code. Exit 2 = rolled back; exit 3 = not fully, and the output says whether the checkout was restored.

Stopping it (Ctrl-C, launchctl bootout, systemctl stop) does the same: before step 2 nothing is changed; after it, the step under way finishes and the old code is put back the same way, before it exits. Only a process killed outright (kill -9) cannot do that; the next update and the dashboard then say the run was ended part way, with the command that puts the checkout back.

--latest (the newest vYYYY.M.N tag; betas only by name) or a tag goes to a release instead: checked out detached (only the branch’s own upstream moves the branch), and refused if it is older than what is checked out unless --force. Each run is a line in ~/.seeyourai/.watchdog/update.log; the last run’s output is update-run.log beside it.

Bots are never restarted: a running process keeps the code it started with, so each bot picks up the update on its next restart. A dashboard that is not a service is restarted by ending it (lsof -ti tcp:4300 -sTCP:LISTEN prints its process id); the next command starts a new one.

Uninstall

There is no uninstaller. In this order:

# 1. schedules: remove the block between the SEEYOURAI TICK lines
crontab -e

# 2. the services, if you installed them
seeyourai provision list                                        # bots made for an app's users:
seeyourai provision remove --bot <bot>                          #   each one
launchctl unload ~/Library/LaunchAgents/ai.seeyour.*.plist     # macOS: the dashboard and each bot
rm -f ~/Library/LaunchAgents/ai.seeyour.*.plist
grep -l seeyourai ~/Library/LaunchAgents/*.plist                # any left: unload and delete those too
systemctl --user disable --now seeyourai-daemon                 # Linux, and each seeyourai-<bot>
rm -f ~/.config/systemd/user/seeyourai*.service

# 3. the bots, one by one, and a dashboard that is not a service
seeyourai bot stop mybot
kill $(lsof -ti tcp:4300 -sTCP:LISTEN)

# 4. the command, all declarations, tokens, mail and chat history, checkouts/
#    (the bots added with --repo), provisioned/ (an app's users: their bots and
#    chats) and providers/ (Ollama bots' transcripts). Push or move what you want to keep first. With SEEYOURAI_HOME set,
#    this is that folder; with --bindir, the command and the shortcuts are there
rm -rf ~/.seeyourai

Then delete the line marked added by seeyourai install and the export PATH line under it from your shell’s startup file, and the checkout. Bot folders you made yourself stay. In each one seeyourai made .watchdog/, .claude/settings.local.json, .claude/.gitignore, links under .claude/skills/, and mail and web entries in .mcp.json. Service logs are /tmp/seeyourai.*.log.