Ana içeriğe geç

CLI

Her tau alt komutu bir bileşendir: tau-core; chat, components, doctor, hub, init, remote, setup, spend, telegram ve version komutlarıyla gelir; tau-tui tui komutunu, tau-guard guard komutunu (Sahip koruması), tau-net net komutunu, tau-cloud cloud komutunu (bkz. tau ağına katıl), tau-sub da sub komutunu ekler. Kurulu herhangi bir dağıtım, tau.commands entry point grubu (Python paketlerinin eklenti kayıt noktası) üzerinden başka komutlar da ekleyebilir. Bu sayfa her birinin --help çıktısını aynen verir.

Bir depo checkout'unun (deponun yerel kopyası) içindeysen her komutun başına uv run ekle.

tau

Usage: tau [OPTIONS] COMMAND [ARGS]...

  tau — a personal smart-body agent.

  Subcommands come from plugins (the tau.commands entry point group).

Options:
  -h, --help      Show this help and exit.
  --profile NAME  Active profile, e.g. home | travel | sport (default:
                  TAU_PROFILE, else 'home').
  --home DIR      Configuration root: tau.toml, persona/, tools/ (default:
                  TAU_HOME).
  --lang LANG     UI language, en | tr (default: TAU_LANG, else [ui] in
                  tau.toml).
  -v, --verbose   Verbose log output.

Commands:
  chat        Chat with tau in the terminal.
  cloud       Cloud mode: sync config and persona with the spine, run the
              brain.
  components  List installed components and their state.
  doctor      Check the installation.
  guard       The owner guard (setup, verify, status, lock, log).
  hub         Run and manage tau as a long-lived service in the hub role.
  init        Create tau.toml and the persona files.
  net         Talk to other taus (identity, contacts, messages).
  remote      Check remote access: Tailscale, SSH, mosh, the phone.
  setup       Pick, install and set up tau's features.
  spend       Show the spend per model role.
  sub         Specialists of your tau (/coach, /landing, ...).
  telegram    Pair your Telegram chat and show the channel's state.
  tui         Open tau in the Textual interface.
  version     Show the versions of the installed tau packages.

Üç global seçenek alt komuttan önce gelir: tau --home ~/other --lang tr chat. --profile ve --lang, çalıştırma boyunca TAU_PROFILE ve TAU_LANG olarak export edilir; böylece başka bir paketteki alt komut da onları görür. -v, yalnızca WARNING yerine INFO seviyesini de stderr'e gönderir.

tau setup

Usage: tau setup [OPTIONS] [COMMAND] [ARGS]...

  Pick tau's features, install their packages and set them up: an interactive
  checklist, then one `uv tool install` pinned to this tau-core, then `tau
  init` when there is no configuration, a short 'about you', each chosen
  feature's steps and `tau doctor`. Run it again to add a feature; what is set
  up is never asked again. --yes --features tui,sub asks nothing. `tau setup
  status|install|run --json` is the line protocol of the Mac app
  (docs/reference/setup.md).

Options:
  -h, --help        Show this help and exit.
  --features IDS    Comma-separated feature ids to set up (see `tau setup
                    status`); skips the checklist.
  -y, --yes         Ask nothing: defaults, no optional steps.
  --no-install      Install nothing; set up what is installed.
  --remove FEATURE  Uninstall a feature's package (its settings and data
                    stay).
  --upgrade         Reinstall tau-core and the installed feature packages at
                    their newest releases.

Commands:
  install  Install the packages of features.
  run      Run the steps of one feature.
  status   Show the features and their state.
Usage: tau setup status [OPTIONS]

  Show every feature: whether this platform has it, whether its package is
  installed and whether it is set up. --json prints the object the Mac app
  reads.

Options:
  -h, --help  Show this help and exit.
  --json      Print one JSON object.
Usage: tau setup install [OPTIONS]

  Install the packages of the given features with one `uv tool install`
  (pinned to this tau-core) and configure nothing. --json streams JSON lines.

Options:
  -h, --help      Show this help and exit.
  --features IDS  Comma-separated feature ids; what they require is added.
                  [required]
  --json          Stream JSON lines.
Usage: tau setup run [OPTIONS] FEATURE

  Run the steps of one feature, or of init, about or doctor. With --json the
  inputs come as one JSON object on stdin ({"steps": [...], "inputs": {...}}),
  never in argv, and a step that needs its own UI is reported as needs_ui
  instead of run. Without --json the wizard's steps run for that feature.

Options:
  -h, --help  Show this help and exit.
  --json      JSON input on stdin, JSON lines out.

Sihirbaz, özellik kataloğu ve Mac uygulamasının kullandığı JSON protokolü tau setup ve JSON protokolü sayfasında tanımlıdır. Tek satırlık kurucu, curl -fsSL https://tau.getporti.com/install.sh | sh, uv'yi ve tau'yu kurar, sonra tau setup'ı başlatır.

tau init

Usage: tau init [OPTIONS]

  Set up a configuration root: tau.toml from the shipped template,
  persona/persona.md, persona/user.example.md, persona/user.md (from the
  example, unless it exists) and .env.example (the variable names). The
  provider is picked from the credentials present in the environment or
  <home>/.env (anthropic, openai, gemini, bedrock). Without any, tau init asks
  for a provider (anthropic, openai or gemini) and its key with hidden input,
  checks the key with one small request to the provider (--no-check skips it)
  and appends it to <home>/.env, which is kept at mode 0600; a key the
  provider refuses writes nothing. --yes asks nothing and falls back to the
  scripted 'fake' provider. Existing files are kept unless --force is given;
  user.md and .env.example are never overwritten.

Options:
  -h, --help       Show this help and exit.
  --home DIR       Configuration root to create (default: TAU_HOME, else
                   ~/.tau).
  --provider NAME  Provider for the brain and fast roles (default: the first
                   with credentials, else asked).
  --language LANG  UI language, en | tr (asked when not given, unless --yes).
  --profile NAME   Write TAU_PROFILE=NAME into <home>/.env (appended; an
                   existing value is kept).
  --no-check       Do not check a typed key with a request to the provider.
  -y, --yes        Ask nothing; use defaults for what is not given (no key).
  --force          Overwrite an existing tau.toml and persona.md.

--provider; anthropic, openai, gemini, bedrock ya da fake değerlerini kabul eder. Yazdığı model id'leri paketle birlikte gelen bir tablodan gelir; böylece tau-core'un Python kodu hiçbir modelin adını anmaz. --provider verilmezse ANTHROPIC_API_KEY ayarlıysa anthropic seçilir, sonra openai (OPENAI_API_KEY), sonra gemini (GEMINI_API_KEY ya da GOOGLE_API_KEY), sonra bedrock (AWS kimlik bilgileri). Hiçbiri yoksa --yes fake seçer; --yes yoksa sorar.

  • Yalnızca brain ve fast rollerinin provider ve model_id değerlerini yeniden yazar; anthropic şablonu geldiği gibi yazar.
  • budget tabloları kalır (tau onları her sağlayıcı için uygular) ve local Ollama'da kalır (qwen3.5:9b, failover = "fast").
Provider: anthropic. ANTHROPIC_API_KEY was found in the environment or ~/.tau/.env. tau.toml caps brain and fast with budgets tau enforces itself (`tau spend` shows them), and local uses Ollama on this machine, falling back to fast when it is not running.

Sağlayıcı anahtarı (ADR 0013 §7). Kimlik bilgisi olmayan bir makinede etkileşimli çalıştırma önce arayüz dilini, sonra sağlayıcıyı (anthropic, openai ya da gemini; varsayılan anthropic) ve onun anahtarını gizli girişle sorar. Anahtarı olmayan bir --provider anthropic|openai|gemini yalnızca anahtarı sorar.

  • Anahtar, sağlayıcının model listesine tek bir GET ile denenir; anahtar URL'de değil, bir istek başlığında gider ve yönlendirmeler izlenmez. --no-check denemeyi atlar.
  • Reddedilen bir anahtar (401/403), başka bir durum kodu ya da yanıtsızlık stderr'de açıklanır; hiçbir şey yazılmaz ve çıkış kodu 1'dir.
  • Anahtar <home>/.env dosyasına ANTHROPIC_API_KEY, OPENAI_API_KEY ya da GEMINI_API_KEY olarak yazılır: yeni dosya 0600 izniyle oluşturulur; var olan dosya 0600 iznine çekilir ve satır, diğerlerine dokunulmadan sona eklenir. Zaten değeri olan bir ad korunur.
  • Boş bırakılan anahtar atlanır: tau.toml o sağlayıcı için yazılır ve bir not, sonra eklenecek değişkenin adını verir.
  • Sorular ve notlar seçilen arayüz dilini izler (mesaj tablosunun init.* anahtarları); anahtar asla çıktıda, argv'de ya da bir logda görünmez.

Başarıda çıkış kodu 0'dır; var olan her dosyayı olduğu gibi bıraktığında da.

tau doctor

Usage: tau doctor [OPTIONS]

  Check the installation: tau.toml, each role's provider and credentials (no
  model client is built), the session store, the persona files, .env against
  .env.example, component load errors, [components] names nothing provides and
  whether a hub answers on the control API. Exit 1 when a check fails.

Options:
  -h, --help  Show this help and exit.
  --json      Print the checks as JSON.

Her kontrol satırı ok, warn, info ya da fail ile başlar, ardından kontrolün adı ve bir ayrıntı gelir. Çıkış kodu yalnızca fail durumunda 1'dir. --json, {"ok": bool, "checks": [{"name", "status", "detail"}, …]} yazdırır. Kök, global --home seçeneğidir: tau --home DIR doctor. Her satırın anlamı için bkz. İlk çalıştırma.

Bir rolün bütçesi varsa doctor, her rolün harcama defterindeki (ledger) harcamasını içeren bir budget satırı ekler (ok budget: brain $0.00 of $15.00 this month (resets 01.10.2026 00:00); fast $0.00 of $1.00 today (resets 01.10.2026 00:00)); defter okunamıyorsa bir fail ekler. Bütçesi olan ama modelinin fiyatı olmayan bir rol, kendi rol satırında bir warn alır (has a budget, but model 'my-model' has no price, so its calls count as $0; add [models.prices."my-model"] to tau.toml).

tau components

Usage: tau components [OPTIONS]

  List every component tau can see: tools, commands, providers, session
  backends, context sources and hub services, with their distribution,
  version, whether [components] enables them and any load error.

Options:
  -h, --help  Show this help and exit.
  --json      Print the listing as JSON.

Her entry point grubu için bir blok, her bileşen için bir satır: ad, dağıtım ve sürüm, enabled ya da disabled ve bir not (araçlar için tier N, sağlayıcılar için in use: brain, fast ya da available, oturum arka ucu için in use, komutlar için tau <name>, varsa bir yükleme hatası). Eksiksiz bir liste için bkz. Bileşenler ve eklentiler.

tau chat

Usage: tau chat [OPTIONS]

  Chat with tau in the terminal.

Options:
  -h, --help     Show this help and exit.
  --role ROLE    Model role to use (default: brain, or the role a resumed
                 session remembers from /model).
  --resume [ID]  Resume an earlier session (same as /resume).
  --session ID   Start with this session id.
  • Tek başına --resume, mesaj içeren en son önceki oturumu sürdürür; --resume ID o oturumu sürdürür.
  • --session ID, o id'ye sahip bir oturumu açar (ya da oluşturur); id'ler düz adlar olmalı (harfler, rakamlar, ., _, -).
  • --role, rolü bütün çalıştırma boyunca sabitler ve sürdürülen bir oturumun hatırladığı role üstün gelir.
  • Kimlik bilgileri eksikse, yapılandırma geçersizse ya da oturum açılamıyorsa komut, istem görünmeden önce 2 çıkış koduyla biter. Ctrl-D ve /quit 0 ile çıkar.
  • Sahip koruması etkinken tau chat ekranı ve kaydırma geçmişini temizler, locked> istemiyle açılır; Enter bir yüz kontrolü başlatır. Kontrol geçene kadar yalnızca /help, /lang, /guard ve /quit çalışır.

tau tui

Usage: tau tui [OPTIONS]

  Open tau in the Textual interface.

Options:
  -h, --help      Show this help and exit.
  --profile NAME  Active profile (default: TAU_PROFILE, else 'home').
  --resume [ID]   Resume an earlier session (the most recent one when ID is
                  omitted).

Buradaki --profile, global seçenekle aynı ayardır; ikisinden birini kullanabilirsin. Bozuk bir yapılandırma ya da bilinmeyen bir oturum id'si, arayüz açılmadan önce komutu düz İngilizce bir mesajla ve 2 çıkış koduyla bitirir. Hiç tau.toml yoksa önce kurulum ekranı açılır ve bir tane oluşturur (tau init ile aynı kod; oradaki Esc de 2 çıkış kodudur). Bir rolünün kimlik bilgileri olmayan bir yapılandırmayla arayüz ayarlar ekranında açılır ve bir anahtar kaydedilince sohbet başlar (İlk çalıştırma). Çalıştığı sürece loglar yalnızca <TAU_DATA_DIR>/logs/tau.log dosyasına gider.

Sahip koruması etkinken arayüz, hiçbir oturum yüklenmeden önce opak bir kilit ekranıyla açılır; kurulum ve ayarlar ekranları bir yüz kontrolü geçene kadar açılmaz (Enter kontrolü başlatır, Esc iptal eder, ctrl+q çıkar). tau uygulamasının sohbet pencereleri bu komutun aynısını çalıştırır.

tau guard

Usage: tau guard [OPTIONS] COMMAND [ARGS]...

  The owner guard: face setup and checks, its state as the hub reports it,
  locking tau, the audit log.

Options:
  -h, --help  Show this help and exit.

Commands:
  doctor  Check everything the face guard depends on.
  enroll  Enroll your face again (behind Touch ID or your password).
  forget  Remove your face template, the marker and the Keychain key...
  lock    Lock tau now (every guarded channel, until you unlock at the Mac).
  log     Show the guard's audit log (checks, locks, cooldowns).
  setup   Set up the face guard at the Mac: the face model, your...
  status  Show the guard's state as the running hub reports it.
  verify  Run one face check with the head-turn challenge.
  window  Say whether the guard window can open here; --demo plays a...

tau-guard ekler, yalnızca macOS'ta çalışır (diğer platformlar yüz komutlarını reddeder). Kurulum, günlük kullanım ve kurtarma Sahip koruması rehberinde; anahtarlar, route'lar, durumlar ve denetim kaydı koruma referansında.

Komut Ne yapar
tau guard setup [--model-file FILE] [--no-window] SFace modelini kurar (indirir ve sabitlenmiş sha256 ile doğrular, ya da FILE'dan), yüzünü Touch ID ya da Mac parolanın arkasında kaydeder, bir kontrol çalıştırır ve tau.toml'a [component.guard] enabled = true yazar. Yalnızca Mac'in başında: SSH üzerinden reddedilir
tau guard enroll [--add] [--no-window] Touch ID ya da Mac parolanın arkasında yeniden kaydeder; --add şablona başka bir ışıkta örnekler ekler. Yalnızca Mac'in başında
tau guard verify [--explain[=all]] [--no-window] Baş çevirme sınamasıyla tek bir yüz kontrolü. Korumalı bir hub çalışıyorsa hub üzerinden (geçen kontrol tau'nun kilidini açar), yoksa yerel bir worker'da; --explain her zaman yerelde çalışır, her istemi vurgulu bir satır olarak gösterir ve her üç kareden birinin sayılarını yazar (=all: her kare), hiçbir kareyi kaydetmez ve başarısız bir kontrolün geçemediği canlılık kuralını söyler. Başarısızsa 1 ile çıkar
tau guard forget Şablonu, kayıt işaretini ve Keychain anahtarını Touch ID ya da Mac parolanın arkasında siler ve enabled = false yazar. Keychain anahtarı tuttuysa 1 ile çıkar: yeniden çalıştır. Yalnızca Mac'in başında
tau guard doctor Yüz korumasının dayandığı her şeyi denetler; hub'ın kamera iznini hangi uygulamanın tuttuğu da dahil. fail varsa 1 ile çıkar
tau guard status [--json] Çalışan hub'ın bildirdiği durum. Etkin koruma yoksa off; hub çalışmıyorsa 0, hub hatasında 1 ile çıkar
tau guard lock Korunan her kanalı hemen kilitler (tetikleyici command). SSH üzerinden de çalışır
tau guard log [--since WHEN] [--json] Denetim kaydı; WHEN bir süre (30m, 2h, 7d) ya da ISO tarih veya saattir
tau guard window [--demo] Koruma penceresinin açık olup olmadığını ve buradan açılıp açılamayacağını söyler; --demo içinde sentetik bir görüntüyle senaryolu bir kontrol oynatır (kamera yok; Esc kapatır)

Bir kontrol sürerken worker koruma penceresini gösterir ([component.guard] window, varsayılan olarak açık); --no-window komutun kendi çalıştırdığı bir kontrol için onu kapalı tutar, hub üzerinden giden bir kontrol ise hub'ın ayarını izler.

setup ya da forget sonrasında hub'ı ve açık her tau chat, tau tui ya da tau uygulamasının sohbet penceresini yeniden başlat.

tau hub

Usage: tau hub [OPTIONS] COMMAND [ARGS]...

  Run and manage tau as a long-lived service in the hub role.

Options:
  -h, --help  Show this help and exit.

Commands:
  install       Install and start the launchd agent (macOS).
  run           Run the hub in the foreground.
  status        Show the hub's status and the reason of its last crash.
  stop          Stop the running hub (SIGTERM, clean shutdown).
  systemd-unit  Print the systemd unit file (for the RPi5 hub).
  uninstall     Remove the launchd agent (macOS).

tau hub run

Usage: tau hub run [OPTIONS]

  Run the hub in the foreground (launchd and systemd run this too).

Options:
  -h, --help  Show this help and exit.

Kilit tutuluyorsa tau hub is already running (pid N)… mesajıyla ve 1 çıkış koduyla biter. Ctrl-C ya da tau hub stop onu temiz biçimde durdurur.

tau hub status

Usage: tau hub status [OPTIONS]

  Show the hub's status and the reason of its last crash.

Options:
  -h, --help  Show this help and exit.
  --json      Print the status as JSON.

Hub'ın (tau'nun çalıştığı, sana ait makinedeki uzun ömürlü servis) çalışıp çalışmadığını (pid, çalışma süresi, heartbeat), son çökmeyi ve launchd durumunu yazdırır. Bir hub çalışsa da çalışmasa da çıkış kodu 0'dır.

tau hub stop

Usage: tau hub stop [OPTIONS]

  Stop the running hub (SIGTERM, clean shutdown).

Options:
  -h, --help         Show this help and exit.
  --timeout SECONDS  Wait at most this long for the hub to stop.  [default:
                     15.0]

Önce Stop signal sent (pid N)., sonra tau hub stopped. yazdırır; ya da stderr'e tau hub did not stop within N s. yazıp 1 çıkış koduyla biter.

tau hub install / tau hub uninstall

Usage: tau hub install [OPTIONS]

  Install and start the hub as a launchd user agent (macOS).

Options:
  -h, --help  Show this help and exit.
Usage: tau hub uninstall [OPTIONS]

  Stop and remove the launchd user agent (macOS).

Options:
  -h, --help  Show this help and exit.

Yalnızca macOS; Linux'ta ikisi de bir mesaj yazdırır ve 1 çıkış koduyla biter. install idempotent'tir (tekrar çalıştırmak aynı sonucu verir) ve grafik arayüzlü bir oturum gerektirir. Bkz. tau'yu servis olarak çalıştır.

tau hub systemd-unit

Usage: tau hub systemd-unit [OPTIONS]

  Print the systemd unit file (for the RPi5 hub).

Options:
  -h, --help     Show this help and exit.
  --python PATH  The Python the service runs (default: the current
                 interpreter).

Unit dosyasını bu makinenin mutlak yollarıyla stdout'a yazdırır; çıktıyı ~/.config/systemd/user/tau-hub.service dosyasına yönlendir.

tau spend

Usage: tau spend [OPTIONS]

  Show what every model role spent in its budget period (from the ledger under
  TAU_DATA_DIR) next to its budget in tau.toml.

Options:
  --json      Print the spend as JSON.
  -h, --help  Show this message and exit.
  brain    anthropic $0.42 of $15.00 this month, resets 01.10.2026 00:00
  fast     anthropic $1.01 of $1.00 today, resets 01.10.2026 00:00 · SPENT
  local    ollama    $0.00 this month, no budget

Sütunlar: rol, sağlayıcı, rolün mevcut dönemde harcadığı, üst sınırı, dönem (today, this week, this month) ve bir sonraki sıfırlanma (Europe/Istanbul). · SPENT, üst sınırına ulaşmış bir rolü işaretler (degrade_to varsa , fast answers instead eklenir); · N calls without a price for <model id>, fiyatı olmayan bir modeldeki çağrıları sayar. Bütçesi olmayan bir rol no budget (its calls are not counted) gösterir; bir failover (ulaşılamayan rolün çağrısını başka bir role devretme) onu ölçülür hâle getirdiyse bu ayki harcamasını gösterir. tau.toml dosyasını ve TAU_DATA_DIR/spend.sqlite3 defterini doğrudan okur; bu yüzden çalışan bir hub gerektirmez ve değişen bir üst sınırı hemen gösterir. Çıktı, tau doctor gibi düz İngilizcedir.

--json, rol başına bir nesne yazdırır; hub'ın GET /spend yanıtındaki nesnelerin aynısı, yalnızca roles sarmalayıcısı olmadan:

{
  "brain": {
    "provider": "anthropic",
    "model_id": "claude-sonnet-5",
    "spent_usd": 0.42,
    "cap_usd": 15.0,
    "period": "month",
    "since": "2026-09-01T00:00:00+03:00",
    "reset_at": "2026-10-01T00:00:00+03:00",
    "exhausted": false,
    "degrade_to": "fast",
    "unpriced_calls": 0,
    "metered": true
  }
}

Bkz. Modeller ve bütçeler.

tau telegram

Usage: tau telegram [OPTIONS] COMMAND [ARGS]...

  The Telegram channel: pair your chat with the bot and show the channel's
  state. The hub polls the Bot API itself; no server sits in between (ADR
  0006).

Options:
  -h, --help  Show this help and exit.

Commands:
  pair    Pair your Telegram chat with the bot.
  status  Show the Telegram channel's state.

Kurulum Telegram sayfasında.

tau telegram pair

Usage: tau telegram pair [OPTIONS]

  Pair your Telegram chat with the bot, without looking up a chat id. Asks for
  the bot token from @BotFather with hidden input (Enter keeps the one in
  <home>/.env), checks it with one getMe and writes it to <home>/.env (mode
  0600). Then it shows a one-time code, valid 10 minutes: send /start <code>
  to the bot, or open the link it prints. The running hub takes the code;
  without a hub this command polls Telegram itself. The chat that sends the
  code becomes TELEGRAM_ALLOWED_CHAT_IDS; wrong or expired codes get no
  answer. With the owner guard on, tau must be unlocked. Exit 0 once paired, 1
  otherwise.

Options:
  -h, --help  Show this help and exit.
  --json      Read {"token": "..."} as one JSON line on stdin instead of
              prompting (null or "" keeps the current token) and print one
              JSON event per line (for the app's wizard).
  • Token, bir şey yazılmadan önce tek bir getMe ile doğrulanır, sonra <home>/.env içinde TELEGRAM_BOT_TOKEN olarak ayarlanır: o satır değiştirilir ya da eklenir, diğer satırlar korunur, dosya 0600 kalır. Argv'de, çıktıda ya da bir logda asla görünmez.
  • Kod, birbirine benzeyen karakterler olmadan 8 karakterdir; 10 dakika geçerlidir, bir kez kullanılır ve komut beklerken yalnızca tuzlanmış bir PBKDF2 özeti olarak TAU_DATA_DIR/telegram/pairing.json içinde saklanır. Özel bir sohbetten gelen /start <code> eşleştirir (https://t.me/<bot>?start=<code> bağlantısı bunu tek dokunuşla gönderir); o sohbet TELEGRAM_ALLOWED_CHAT_IDS'in tek girdisi olur. Bir grup, yanlış ya da süresi dolmuş bir kod yanıt almaz; 10 yanlış kod kodu geçersiz kılar; Ctrl-C kodu geri çeker.
  • Tek bir yoklayıcı. Hub çalışıyorsa komut hub'ın imzalı POST /telegram/reload rotasını çağırır: Telegram servisi token'ı, izin listesini (önce .env) ve kodu yeniden okur ve kodu kendi poll döngüsünde kabul eder; bir kod beklerken izin listesi boş olsa da yoklar. Hub yoksa komut getUpdates'i hub'ın kaydettiği offset'ten kendisi yoklar, offset'i geri yazar ve eşleştiren güncellemenin hemen ardından durur; izinli kalan sohbetlerin mesajları, hub'ın bir sonraki başlangıcında çalıştırdığı inflight.json dosyasına gider. Telegram'dan gelen bir 409 (başka bir yoklayıcı), komutun arada başlamış bir hub'ı aramasına yol açar.
  • Sahip koruması etkinse önce korumadan giriş izni ister (kanal etiketi telegram-pair) ve tau kilitliyse hiçbir şey sormadan durur: eşleşmiş bir sohbet korumayı atlayan, tanınan bir kanaldır.

--json, uygulama sihirbazının protokolüdür. Girdi, stdin'de tek satır:

{"token": "123456789:AA..."}

null, "" ya da token alanının olmaması .env'deki token'ı korur. Çıktı, satır başına bir nesne, bu sırayla:

{"event": "note", "message": "Note: TELEGRAM_BOT_TOKEN is also set in this shell's environment. ..."}
{"event": "bot", "bot": "deniz_tau_bot", "token": "written"}
{"event": "code", "code": "K7QM-X2PA", "link": "https://t.me/deniz_tau_bot?start=K7QM-X2PA", "bot": "deniz_tau_bot", "expires_at": "2026-10-01T11:32:00+00:00"}
{"event": "waiting", "via": "hub"}
{"event": "paired", "name": "Deniz @deniz", "dropped": 0, "hub": true}
  • note satırları isteğe bağlıdır ve herhangi bir noktada gelebilir (kabuğun dışa aktardığı ve .env'i gölgeleyen bir değişken; botu yoklayan başka bir süreç).
  • token, written ya da kept olur; via, hub (çalışan hub yoklar) ya da cli (komut yoklar) olur; dropped erişimini kaybeden sohbetleri sayar; hub kodu çalışan bir hub'ın alıp almadığını söyler.
  • Bir hata akışı {"event": "error", "reason": "...", "message": "..."} ile ve çıkış kodu 1 ile bitirir (config için 2, Ctrl-C'den sonra 130). message arayüz dilindedir; reason şunlardan biridir: config, locked, bad_json, no_token, token_invalid, token_refused, unreachable, env_write, hub_conflict, hub_mismatch, hub_error, expired, void, cancelled.

tau telegram status

Usage: tau telegram status [OPTIONS]

  Show whether a bot token is set (and the bot's name, from one getMe),
  whether an owner chat is paired, whether a pairing code waits and what the
  running hub's Telegram channel does. Never prints the token or a chat id.

Options:
  -h, --help  Show this help and exit.
  --json      Print the state as JSON.
Bot token'ı: tanımlı (@deniz_tau_bot)
Sahip sohbeti: eşleşmiş (1 izinli)
Hub: çalışıyor; @deniz_tau_bot olarak yokluyor

--json, {"token", "bot", "bot_error", "token_refused", "paired", "allowed_chats", "pairing": {"expires_at"} | null, "hub": {"running", "telegram"}} yazdırır; hub.telegram, hub'ın /status çıktısındaki telegram anahtarıdır. Her iki durumda da çıkış kodu 0'dır.

tau remote

Usage: tau remote [OPTIONS] COMMAND [ARGS]...

  Remote access: reach this machine from your phone over Tailscale, SSH, mosh
  and tmux. These commands check it and say what to do; the one command that
  needs sudo is shown for you to run, never run by tau. `tau setup` → Remote
  access walks through them.

Options:
  -h, --help  Show this help and exit.

Commands:
  phone      What to enter in Termius on the phone.
  ssh        Check SSH and mosh; show the one command to fix them.
  status     Check everything; exit 0 when remote access is ready.
  tailscale  Check Tailscale.

Kurulum Telefondan tau'ya ulaş sayfasında. tailscale, ssh ve phone, tau setup → Uzaktan erişim'in denetim adımlarıdır. --json ile her biri tek bir denetim nesnesi yazdırır (denetim adımları). Buradaki hiçbir şey sudo ya da bir betik çalıştırmaz; canlı değerler (host adı, adres, kullanıcı) yalnızca yazdırılır, hiçbir dosyaya yazılmaz.

tau remote status

Usage: tau remote status [OPTIONS]

  Every remote access check: Tailscale, sshd with tau's drop-in, a password
  login probe, mosh, tmux and the phone's key. Exit 0 when remote access is
  ready, else 1. It changes nothing.

Options:
  -h, --help  Show this help and exit.
  --json      Print one check object (docs/reference/setup.md).
Bu makinede Tailscale
  ✓ Tailscale kurulu: /Applications/Tailscale.app/Contents/MacOS/Tailscale
  ✓ Oturum açık ve bağlı: my-mac.tailXXXXXX.ts.net · 100.x.y.z

SSH ve mosh
  ✓ SSH sunucusu: 22 numaralı portta yanıt veriyor
  ✓ Sıkılaştırma /etc/ssh/sshd_config.d/010-tau.conf: yalnızca anahtar; yalnızca alice, yalnızca tailnet'ten ve localhost'tan
  ✓ sshd, sshd_config.d dizinini okuyor
  ✓ Parolayla giriş: reddediliyor, yalnızca anahtar
  ✓ mosh: /opt/homebrew/bin/mosh
  ✓ mosh-server: /opt/homebrew/bin/mosh-server
  ✓ tmux: /opt/homebrew/bin/tmux
  ✓ ~/.zshenv bloğu (SSH'ta PATH üzerinde mosh-server): var
  ✓ ~/.tmux.conf bloğu (tau'nun tmux ayarları): var

Telefonun (Termius)
  · Adres (Address): my-mac.tailXXXXXX.ts.net
  · MagicDNS olmadan adres: 100.x.y.z
  · Kullanıcı adı (Username): alice
  · Port: 22
  ✓ Anahtar (Key): Termius'ta oluşturduğun ED25519 anahtarı; bu makinede 1 anahtar var
  · Mosh: açık
  · Başlangıç komutu (Startup Snippet): tau-attach
  · Telefondaki Tailscale: açık, aynı hesapla oturum açılmış

✓ Uzaktan erişim hazır: ssh alice@my-mac.tailXXXXXX.ts.net

✓ geçer, ✗ başarısız olur, ! yalnızca uyarır (tau'nun şablonundan farklı ama güvenli bir drop-in, karar veremeyen bir deneme) ve · bilgidir. Parola denemesi, infra/remote/doctor.sh'teki gibi ssh -o BatchMode=yes -o PubkeyAuthentication=no … <sen>@127.0.0.1 true komutudur; yalnızca 22 numaralı port yanıt verdiğinde ve drop-in yerindeyken çalışır. tau setup status, uzaktan erişimin kurulu olup olmadığını öğrenmek için bu komutu çalıştırır; bu yüzden hiçbir eylem göstermez ve hiçbir şey yazmaz. --json, üç denetimin satırlarını ssh.dropin gibi kimliklerle, values değerlerini de adım adım verir.

tau remote tailscale

Usage: tau remote tailscale [OPTIONS]

  Check that Tailscale is installed and logged in, with this machine's
  MagicDNS name and 100.x address; otherwise say how to install it or log in.
  Exit 0 when it is connected, else 1.

Options:
  -h, --help  Show this help and exit.
  --json      Print one check object (docs/reference/setup.md).

CLI, PATH üzerindeki tailscale'dir; yoksa macOS'ta /Applications/Tailscale.app içindeki. macOS'ta kurulu değilse Mac App Store'u ya da https://tailscale.com/download/mac adresini gösterir; Linux'ta curl -fsSL https://tailscale.com/install.sh | sh && sudo tailscale up komutunu senin çalıştırman için gösterir.

tau remote ssh

Usage: tau remote ssh [OPTIONS]

  Check sshd, tau's drop-in (keys only, only you from the tailnet and
  localhost), password login, mosh and tmux. Otherwise show the one command to
  run in your own terminal (it asks for your password with sudo) and what it
  changes; tau never runs it. Without a checkout it first writes the scripts
  to $TAU_DATA_DIR/remote. Exit 0 when everything holds, else 1.

Options:
  -h, --help  Show this help and exit.
  --json      Print one check object (docs/reference/setup.md).
SSH ve mosh
  ✗ SSH sunucusu: kapalı (Uzaktan Giriş / Remote Login)
  ✗ Sıkılaştırma /etc/ssh/sshd_config.d/010-tau.conf: yok
  ✓ mosh: /opt/homebrew/bin/mosh
  …

  → Bunu kendi terminalinde, sudo olmadan kendi kullanıcınla çalıştır: parolanı (sudo) yalnızca root gerektiren adımlar için sorar. tau onu hiçbir zaman çalıştırmaz.

      bash ~/.local/share/tau/remote/setup-all.sh

    Neleri değiştirir:
      • tmux ve mosh'u Homebrew ile kurar
      • …
      • sudo ile: /etc/ssh/sshd_config.d/010-tau.conf dosyasını yazar: yalnızca anahtar (parola ve keyboard-interactive giriş kapalı), yalnızca tailnet'ten ve localhost'tan senin kullanıcın (AllowUsers), agent yönlendirme yok; sshd -t ile dener, deneme başarısız olursa geri alır
      • sudo ile: eksik SSH host anahtarlarını oluşturur (ssh-keygen -A) ve Uzaktan Girişi (Remote Login) açar ya da nereden açacağını söyler
    İstersen önce oku: ~/.local/share/tau/remote/setup-all.sh

✗ SSH, mosh ya da tmux ile ilgili 2 sorun

Bir checkout'ta komut bash <checkout>/infra/remote/setup-all.sh olur. Kurulu bir tau, taşıdığı infra/remote kopyasını önce $TAU_DATA_DIR/remote/ altına yazar; oradaki config.local.env'e dokunmaz.

tau remote phone

Usage: tau remote phone [OPTIONS]

  Print what to enter in Termius: this machine's MagicDNS name, your user,
  port 22, mosh and the tau-attach startup snippet, from the live Tailscale
  state (printed only, never written). Exit 0 when Tailscale is connected and
  a key is in ~/.ssh/authorized_keys, else 1 with how to add one.

Options:
  -h, --help  Show this help and exit.
  --json      Print one check object (docs/reference/setup.md).

Anahtar yoksa Termius'un oluşturduğu açık anahtar için bash <kit>/add-key.sh komutunu (sudo olmadan) gösterir.

tau net

Usage: tau net [OPTIONS] COMMAND [ARGS]...

  The tau network: your tau's identity, card and contacts, and messages to
  other taus.

Options:
  -h, --help  Show this help and exit.

Commands:
  accept    Accept a contact request.
  add       Ask another tau to become a contact.
  block     Block an address.
  card      Print the card.
  contacts  List contacts.
  init      Create the network identity.
  log       Show the network log.
  name      Set the card's display name.
  poll      Handle queued envelopes once.
  publish   Publish the card.
  remove    Forget a contact.
  send      Send a message to a contact.
  spine     Set up and deploy your spine Worker.
  status    Show the network status.
  universe  Join or leave the tau universe.

tau-net tarafından eklenir. Spine (tau'nun ağdaki adresi ve posta kutusu olan Cloudflare Worker'ı) TAU_SPINE_URL ve TAU_SPINE_TOKEN değerlerinden, kimlik TAU_DATA_DIR/net/identity.json dosyasından ya da TAU_NET_IDENTITY değerinden, ayarlar da [component.net] tablosundan gelir. Kurulum Kendi tau'nu kur ve tau ağına katıl sayfalarında; protokoller tau ağı referansında ve tau evreni referansında.

Komut Ne yapar
tau net init [--name NAME] Kimliği oluşturur (bir Ed25519 imza anahtarı ve bir X25519 kutu anahtarı); var olan bir kimliğin üzerine asla yazmaz. --name, kartın görünen adını tau.toml içinde değil, her zaman TAU_DATA_DIR/net altındaki ağ profilinde ayarlar
tau net name NAME... Kartın görünen adını (1 ile 80 karakter arası) ağ profilinde ayarlar; [component.net] name değerine üstün gelir. tau net publish ile yayımla
tau net status Kimlik, spine sağlığı, yayımlanan kartın eşleşip eşleşmediği, duruma göre kişiler (contact) ve ağ durumunun nerede saklandığı
tau net card / tau net publish Sunulan kartı yazdırır / onu PUT /hub/card ile yayımlar (hub servisi de başlarken yayımlar)
tau net contacts Kişiler ve bekleyen istekler
tau net add ADDRESS [--note TEXT] Kartı alır, adresi bekleyen olarak hatırlar ve bir kişi isteği gönderir; karşı taraf zaten istemişse hemen kabul eder. ADDRESS bir host (tau.example.com) ya da barındırılan bir tau'dur (tau.example.com/@alice)
tau net accept ADDRESS Bekleyen bir isteği kabul eder: anahtarları sabitler ve bir contact_accept gönderir
tau net block ADDRESS / tau net remove ADDRESS O adresten gelen hiçbir şey artık okunmaz ya da yanıtlanmaz / kişiyi unutur (logu ve oturumu kalır)
tau net send ADDRESS[/NAME] TEXT... Kabul edilmiş bir kişiye senin adınla bir mesaj gönderir (en fazla 8 000 karakter). ADDRESS/NAME, o tau'nun açık sub-tau'su /NAME'e yazar (tau.example.com/coach, tau.example.com/@alice/coach); yanıt /NAME'den gelir. Senin kendi komutun olduğu için onay gerekmez; ajanın net_send aracı ise tier 2'dir (her zaman onay isteyen izin seviyesi)
tau net log [--address ADDRESS] [-n N] Ağ logu, en eskiden başlayarak (varsayılan 20 kayıt)
tau net poll --once Spine'ın o anda tuttuğu her şeyi, ağ turları dahil, çalışan bir hub olmadan işler. Hub poll yaparken bunu çalıştırma
tau net spine init DIR [--address HOST] tau-net içindeki kit'ten deploy edilmeye hazır bir spine projesini yeni ya da boş bir DIR dizinine yazar. --address, ADDRESS değerini ve özel alan adı (custom domain) rotasını ayarlar; o olmadan adres tau-spine.<subdomain>.workers.dev olur
tau net spine deploy DIR [--address HOST] [--account-id ID] [--json] Projeyi Node.js olmadan, Cloudflare API'si üzerinden deploy eder (yayına alır): API token'ı CLOUDFLARE_API_TOKEN değeridir (ortam ya da .env); yoksa doğru izinlerle token oluşturan bağlantıyı yazdırır, token'ı gizli bir istemde sorar ve .env içine kaydeder. worker.js dosyasını wrangler.jsonc içindeki bağlamalar, geçişler ve cron ile yükler, KV namespace'ini oluşturur, hesap ve namespace kimliklerini wrangler.jsonc içine kaydeder, Worker'ın HUB_TOKEN secret'ını hub'ın .env dosyasındaki TAU_SPINE_TOKEN değerine ayarlar (eksikse üretilir, asla yazdırılmaz), workers.dev adresini açar ya da özel alan adını bağlar, TAU_SPINE_URL değerini yazar ve spine'ın sağlığını kontrol eder. --json, stdin'den {"token", "account_id"} okur ve JSON satırları yazdırır (evren referansı §4)
tau net spine deploy DIR --wrangler [--address HOST] Bunun yerine Wrangler ile deploy eder (Node.js 22+, önce wrangler login): aynı secret'ı stdin üzerinden ayarlar ve TAU_SPINE_URL değerini yazar
tau net universe join [--owner NAME] [--about TEXT] [--links \| --no-links] Bu tau'yu [component.net] universe evreninde (universe; varsayılan tau.getporti.com) listeler: profili yazar, gerekirse kartı yayımlar, imzalı bir katılma isteği ve bir rapor gönderir, tau'nun sayfasını yazdırır
tau net universe status / tau net universe leave Profilin katılmış görünüp görünmediği ve evrenin bu tau'yu tanıtıcısı (handle), görünür bağlantıları ve açık sub-tau'larıyla (web sayfası olanlar bugünkü ziyaretçi turlarıyla) listeleyip listelemediği / imzalı bir ayrılma isteği gönderir, hub'ın raporlarını durdurur ve evrenin sabitlenmiş anahtarlarını unutur; böylece ziyaret gelmez
tau net universe claim Bu tau'nun imzaladığı, bir saat geçerli bir talep olan https://<universe>/claim#… bağlantısını yazdırır. Bağlantıyı aç ve orada GitHub ile giriş yap: evren GitHub kullanıcı adını bu tau'nun tanıtıcısı (/@login) olarak bağlar. Gerekirse önce kartı yayımlar; hiçbir şey göndermez. Bağlantıyı paylaşma

tau cloud

Usage: tau cloud [OPTIONS] COMMAND [ARGS]...

  Cloud mode: your tau's hub runs as a container in your own Cloudflare
  account and keeps sessions, config and persona in the spine (ADR 0007).

Options:
  -h, --help  Show this help and exit.

Commands:
  pull    Download tau.toml and the persona files from the spine.
  push    Upload tau.toml and the persona files to the spine.
  run     Run the hub as the brain container (entrypoint).
  status  Show the spine, its files and the brain.

tau-cloud tarafından eklenir; kurulum tau'yu Cloudflare'de çalıştır sayfasında. Her alt komut TAU_SPINE_URL ve TAU_SPINE_TOKEN gerektirir.

Komut Ne yapar
tau cloud push [--include-user] [-y] tau.toml, persona/persona.md, persona/net.md ve sub-tau dosyalarını (persona/subs/*.md, düz adlı olanlar; o dizindeki başka girdiler, alt dizinler ve sembolik bağlantılar atlanır ve adları yazılır) yükler. persona/subs/ varsa, burada artık olmayan sub-tau dosyaları spine'dan silinir. persona/user.md yalnızca --include-user ile ya da kendi sorusuna "evet" denirse yüklenir; .env asla yüklenmez
tau cloud pull [--force] Aynı dosyaları TAU_HOME içine indirir; farklı olan yerel bir dosya --force verilmedikçe korunur, yerelde hiçbir şey silinmez ve dosya kümesi dışında listelenen bir ad atlanır
tau cloud status Spine'ın sağlığı ve modu, tuttuğu dosyalar, brain Container'ının (Cloudflare'de çalışan konteyner) /health durumu
tau cloud run Konteynerin giriş noktası: dosyaları (sub-tau dosyaları dahil) çeker, [sessions] backend ve [component.net] store değerlerini spine yapar, 0.0.0.0:8080 üzerinde GET /health sunar (TAU_CLOUD_HEALTH_HOST/_PORT bunu ezer) ve SIGTERM gelene kadar hub'ı çalıştırır. tau.toml dosyasını kendisinin yazmadığı bir TAU_HOME dizinini reddeder

tau version

Usage: tau version [OPTIONS]

  Show the versions of the installed tau packages.

Options:
  -h, --help  Show this help and exit.
tau-core 0.3.1
tau-tui 0.3.1

Kurulu her tau-* dağıtımı için bir satır. Hiçbir sağlayıcı SDK'sını içe aktarmaz; bu yüzden bozuk bir kurulumda da güvenle çalıştırılabilir.

Çıkış kodları

Kod Anlamı
0 başarı; tau doctor için hiç fail yok
1 tau doctor ya da tau guard doctor başarısız bir kontrol buldu; tau hub run çalışan bir hub buldu; bir hub komutu işini yapamadı; bir tau guard kontrolü, kaydı ya da silmesi başarılı olmadı; tau telegram pair bir sohbet eşleştiremedi; bir tau remote denetimi geçmedi
2 tau chat / tau tui: hiçbir şey açılmadan önce eksik kimlik bilgileri, geçersiz yapılandırma ya da bilinmeyen oturum; macOS dışındaki bir platformda ya da SSH üzerinden tau guard yüz komutları; yüklenebilir bir yapılandırma olmadan tau telegram; ayrıca Click'in kendi kullanım hataları
130 tau chat, bir onay istemi hâlâ stdin'i beklerken Ctrl-C ile bırakıldı; tau telegram pair Ctrl-C ile iptal edildi

Ortam

Her komut TAU_HOME, TAU_DATA_DIR, TAU_PROFILE, TAU_ROLE, TAU_HUB_PORT ve TAU_LANG değerlerine uyar ve <TAU_HOME>/.env dosyasını, zaten ayarlı değişkenleri ezmeden okur. Kanallar ayrıca rollerinin model kimlik bilgilerini ve TAU_OLLAMA_URL değerini okur; tau spend ve bütçeler TAU_DATA_DIR altındaki harcama defterini kullanır. Bkz. Ortam değişkenleri.