See Your AI

Using seeyourai

seeyourai (these docs also call it “the harness”) is a command you install once; each bot is its own folder that it runs. Installing and a first bot are in the README. This page is the reference for the rest.

Everything machine-local lives under ~/.seeyourai/ (SEEYOURAI_HOME moves it):

~/.seeyourai/
  bin/seeyourai          the command (a link to the checkout you installed from)
  bin/<bot>              join shortcuts made by `add`
  bots/<name>.env        bot declarations (non-git config)
  config                 machine-wide settings, e.g. TELEGRAM_ADMIN_CHAT_ID
  checkouts/<name>/      cloned bot brains (when BOT_DIR isn't set)
  channels/ mesh/ auth/  chat threads and channel state, bot-mesh mailboxes, dashboard login

Create a bot

New bot in the dashboard, or:

seeyourai bot new mybot                                          # at a terminal: asks the rest
seeyourai bot new mybot --purpose 'Keeps the notes tidy.' --yes  # ~/bots/mybot
seeyourai bot new mybot --dir ~/notes --purpose-file - --yes < mission.txt
seeyourai bot new mybot --repo git@github.com:you/mybot-brain.git --git-sync on --yes

It writes the declaration and the channels for Messages and Talk, starts the bot in the background, and waits until it can be reached. Exit 0 = it can, 1 = nothing was made, 2 = made, but not up (it says why). A folder that another bot uses, or that is inside the harness checkout, is refused; a CLAUDE.md that is there is kept.

In an existing folder or a cloned repository nothing is committed unless you say so (--git-sync on, or the box in the form): then everything in the folder is committed and pushed every minute. In a new folder that happens once it is in a git repository, as for every bot; --git-sync off prevents it. Both are GIT_SYNC in the bot’s config.

Then, on its dashboard page or here:

seeyourai bot start mybot          # in the background; waits like new, exit 2 = not up
seeyourai bot stop mybot           # its services are unloaded, its watchdog ends; exit 2 = it came back
seeyourai bot remove mybot --stop  # and forget it; its folder stays
seeyourai doctor                   # what this machine lacks, with the fix; --json

stop leaves a service’s file in place, so it is back after a reboot, start or restart; and restart --all starts stopped bots too. remove, with or without --stop, unloads what launches the bot. A service is found by what it runs (seeyourai launch mybot, for this SEEYOURAI_HOME); when that is not clear, nothing is done, and a session another home started is left alone. One thing is done to a bot at a time, from the dashboard or a terminal. Bots made for an app’s users can’t be stopped or removed here, only with seeyourai provision remove.

remove renames the bot’s service file to <file>.removed (one that new wrote is deleted); to use it again after add, put it back and load it. stop watches for 12 seconds and exits 2 if the bot is running again by then.

To only declare a bot:

seeyourai bot add mybot --repo git@github.com:you/mybot-brain.git

This scaffolds ~/.seeyourai/bots/mybot.env and a mybot shortcut on PATH (--no-alias skips it). Edit the file to set the launch command, model, channel config, etc. Then:

seeyourai bot run mybot        # clones the brain (if missing) + attaches/starts

To run it on a local model instead of your Claude login, add --provider ollama: OLLAMA.md.

Cloning uses your own git credentials, and so do the automatic commits: set git config --global user.name and user.email first. Without them git either refuses (the commit is skipped) or invents them from your account and computer name.

A brain repo has: CLAUDE.md (mission/voice/rules — the bot’s identity, loaded every session), memory/ (facts + personas), schedules/*.md, .claude/skills/. Start from templates/CLAUDE.md.example.

Non-git bots

A brain doesn’t have to be a git repo. Use --dir (a folder that already exists) instead of --repo: the bot runs from it and the harness skips git sync. If that folder sits inside some other git repo, set GIT_SYNC=off, or the harness will commit and push the bot’s folder there.

A git folder with no origin is committed and not pushed; the log says so once.

The declaration (~/.seeyourai/bots/<name>.env)

The non-git config home — keep tokens/IDs here, separate from the git brain. Common fields (see config/bot.env.example):

Field Meaning
BOT_REPO git URL to clone the brain from (omit for a non-git bot)
BOT_DIR brain checkout path (default ~/.seeyourai/checkouts/<name>)
BOT_CMD launch command, on one line; --model and --effort go here (below)
TMUX_SESSION session name (default = bot name)
SEEYOURAI_DIR run a specific harness for this bot (a dev checkout)
SEEYOURAI_VERSION pin the harness to a tag
EXTRA_PATH extra directories for this bot’s PATH
NOTIFY_CMD a command run with each operator alert, instead of Telegram
TELEGRAM_BOT_TOKEN, TELEGRAM_CHAT_ID see TELEGRAM.md
PLAN_LIMIT_CONTEXT session (default) / on / off: tell the bot how much of the Claude plan is left
GIT_SYNC auto (default) or off
SEEYOURAI_AUTO_UPDATE off (default) / notify / latest

Reasoning effort per bot

--effort low|medium|high|xhigh|max in BOT_CMD sets how much thinking each turn is allowed to spend. It is the other half of what a bot costs: the model sets the price per token, effort sets how many thinking tokens are burned reaching the same answer.

Left unset, a bot inherits whatever the interactive session default is — which is invisible and unrecorded, so a bot whose every turn says “nothing to report” can quietly run at the same effort as one debugging a live failure.

Set it per bot, not fleet-wide:

effort for
low heartbeats, ticks, reconcile checks, mailbox drains
medium ordinary work
high+ judging work, debugging live failures
BOT_CMD='claude --dangerously-skip-permissions --model haiku --effort low'

Turning it down on a bot that judges or debugs degrades output slowly and without any error to notice — that is the failure mode to avoid, not the spend. The Fleet page and each bot’s page show the effort in force, and session-default where none is set. A change takes effect at the bot’s next restart, since BOT_CMD is read when the watchdog relaunches the agent.

Which harness a bot runs

By default a bot uses the installed harness. To dogfood a source you develop, or pin a version per bot:

SEEYOURAI_DIR=~/dev/seeyourai       # this bot runs your live source checkout
SEEYOURAI_VERSION=<tag>             # …and pin it to a git tag

The CLI just dispatches — it delegates the actual run to whichever harness the bot selected, so version skew between the installed CLI and a bot’s harness is fine.

Multiple bots on one machine

Fully supported — e.g. a personal bot and a dev bot. Each bot needs a distinct TMUX_SESSION (auto, = its name), its own channel token (two bots sharing one Telegram token → 409s), and its own service. They share one signed-in Chrome if several use --chrome (browser-heavy bots serialize).

seeyourai bot add mybot     --repo …
seeyourai bot add devbot    --repo …  --harness ~/dev/seeyourai
seeyourai bot list
seeyourai bot restart devbot

Scheduling is machine-wide: one cron line (seeyourai tick, installed by ./install.sh --with-cron or seeyourai install-cron; off until you do) walks every declared bot each minute and fires its due schedules. Adding/removing bots never touches the crontab.

Always-on service

A per-bot service just runs seeyourai bot launch <bot> — it’s addressed entirely through the CLI, never an internal script path, so the service files never change if the harness is reimplemented. seeyourai bot new --service (Start at login, in the dashboard) writes and loads one; remove deletes it, or renames it (.removed) if it was changed. By hand:

The templates run ~/.seeyourai/bin/seeyourai. If you installed with --bindir or SEEYOURAI_HOME, put your launcher’s path there and add SEEYOURAI_HOME to the service’s environment, as the template’s comment says; ./install.sh prints both.

Without one, a bot started with seeyourai bot start or run keeps running in tmux until the machine restarts, and you start it again by hand. seeyourai bot restart <bot> works either way.

Cron, launchd and systemd all start with a minimal PATH. The launcher adds the usual places for bun (/opt/homebrew/bin, /usr/local/bin, ~/.bun/bin), and EXTRA_PATH in the declaration is added for claude and tmux. If a log says exec: bun: not found, that is what to look at.

The Talk tab

Talk (and the threaded chat in it) reaches a bot through the web channel. New bot and seeyourai bot new set it up. For a bot made with add, do it by hand, after mesh provision:

  1. In the bot’s .mcp.json, next to bot-mesh, add (with the path of your checkout):
    "web": { "command": "bun", "args": ["/path/to/seeyourai/channels/web/server.ts"] }
    
  2. Add server:web right after server:bot-mesh in BOT_CMD, keeping the rest of the line. Print it, then set the new one:
    seeyourai bot config mybot get BOT_CMD
    seeyourai bot config mybot set "BOT_CMD=claude --dangerously-skip-permissions --remote-control --dangerously-load-development-channels server:bot-mesh server:web"
    seeyourai bot restart mybot
    

Voice needs ffmpeg, whisper-cli (whisper.cpp) and a model file on the machine that serves the page, whichever machine the bot is on. Where they are missing, the microphone offers to set them up; seeyourai speech setup does the same (what it does), and seeyourai speech says what is missing. The programs are looked for in /opt/homebrew/bin (Apple Silicon), /usr/local/bin, on Linux also /usr/bin and ~/.local/bin, then on the daemon’s PATH; the model is ~/.local/share/whisper/ggml-small.en.bin. SEEYOURAI_FFMPEG, SEEYOURAI_WHISPER and SEEYOURAI_WHISPER_MODEL in the daemon’s environment say otherwise, and what they name is used as it is: setup installs nothing in its place. Answers are spoken by Kokoro or Piper if installed, else by the browser. A browser only gives a page the microphone on localhost or over HTTPS (seeyourai tls setup).

The mic in the Messages compose box uses the same local transcription (hold it and talk): the words are added to the box and never sent by themselves. No page uses the browser’s own speech recognition, which would upload the audio.

Signing in

Off by default. seeyourai auth pin, then auth require watch and auth require on, ask every device but this machine for a PIN, once per browser for 90 days. Other hosts running seeyourai cannot type one: on each, seeyourai auth hosts add <the other> or their mail is refused, and with --chat their chats work too (what that lets in). Access in the dashboard shows the state and the signed-in browsers. Details: SECURITY.

Skills

Harness-provided skills (e.g. restart) are symlinked into each bot’s .claude/skills/ at launch (and gitignored), so a bot gets them plus its own skills. A bot’s own real skill of the same name always wins.

Updating the harness

seeyourai update

It checks the new code in a temporary worktree, then fast-forwards the checkout, restarts the dashboard (if its service runs this checkout) and rolls back if the dashboard does not come back on the new commit (INSTALL); the dashboard’s Mesh page has the same as an Update button. Bots are not restarted: each picks the new code up on its next restart (seeyourai bot restart <bot>). --latest (the newest vYYYY.M.N tag, never a beta) or a tag goes to a release instead, detached, and never backwards without --force; today there are no releases, and it says so.

Opt into automatic updates per bot with SEEYOURAI_AUTO_UPDATE=notify|latest in its declaration (default off). On an applied update the watchdog re-execs itself so it never runs half-rewritten code.

Advanced: pin a version inside a bot’s repo

To make one bot self-contained, add seeyourai to its repo as a git submodule at .harness/ and set SEEYOURAI_DIR=<bot>/.harness. Update it by bumping the submodule and committing. Most bots don’t need this: they use the shared install and their own .env.